diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 00000000..e69de29b diff --git a/catalog.json b/catalog.json new file mode 100644 index 00000000..fb667998 --- /dev/null +++ b/catalog.json @@ -0,0 +1 @@ +{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/catalog/v1.json", "dbt_version": "1.8.5", "generated_at": "2024-08-13T21:26:04.369200Z", "invocation_id": "7acd4e94-8d2f-4261-b197-0931428af2be", "env": {}}, "nodes": {"model.synthetix.fct_core_account_delegation_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_core_account_delegation_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "amount_delegated": {"type": "numeric", "index": 5, "name": "amount_delegated", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet"}, "model.synthetix.fct_core_apr_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_core_apr_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "cumulative_pnl": {"type": "numeric", "index": 8, "name": "cumulative_pnl", "comment": null}, "cumulative_issuance": {"type": "numeric", "index": 9, "name": "cumulative_issuance", "comment": null}, "rewards_usd": {"type": "numeric", "index": 10, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 11, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 12, "name": "hourly_rewards_pct", "comment": null}, "apr_24h": {"type": "numeric", "index": 13, "name": "apr_24h", "comment": null}, "apy_24h": {"type": "numeric", "index": 14, "name": "apy_24h", "comment": null}, "apr_7d": {"type": "numeric", "index": 15, "name": "apr_7d", "comment": null}, "apy_7d": {"type": "numeric", "index": 16, "name": "apy_7d", "comment": null}, "apr_28d": {"type": "numeric", "index": 17, "name": "apr_28d", "comment": null}, "apy_28d": {"type": "numeric", "index": 18, "name": "apy_28d", "comment": null}, "apr_24h_pnl": {"type": "numeric", "index": 19, "name": "apr_24h_pnl", "comment": null}, "apy_24h_pnl": {"type": "numeric", "index": 20, "name": "apy_24h_pnl", "comment": null}, "apr_7d_pnl": {"type": "numeric", "index": 21, "name": "apr_7d_pnl", "comment": null}, "apy_7d_pnl": {"type": "numeric", "index": 22, "name": "apy_7d_pnl", "comment": null}, "apr_28d_pnl": {"type": "numeric", "index": 23, "name": "apr_28d_pnl", "comment": null}, "apy_28d_pnl": {"type": "numeric", "index": 24, "name": "apy_28d_pnl", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 25, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 26, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 27, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 28, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 29, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 30, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_arbitrum_mainnet"}, "model.synthetix.fct_core_apr_rewards_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_core_apr_rewards_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "reward_token": {"type": "text", "index": 4, "name": "reward_token", "comment": null}, "collateral_value": {"type": "numeric", "index": 5, "name": "collateral_value", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 8, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 9, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 10, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 11, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 12, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 13, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_rewards_arbitrum_mainnet"}, "model.synthetix.fct_core_market_updated_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_core_market_updated_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 7, "name": "credit_capacity", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_market_updated_arbitrum_mainnet"}, "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_core_pool_collateral_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "amount_deposited": {"type": "numeric", "index": 3, "name": "amount_deposited", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet"}, "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_core_pool_delegation_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "amount_delegated": {"type": "numeric", "index": 4, "name": "amount_delegated", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet"}, "model.synthetix.fct_core_pools_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_core_pools_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "owner": {"type": "text", "index": 4, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pools_arbitrum_mainnet"}, "model.synthetix.fct_pool_debt_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_debt_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}, "pool_id": {"type": "integer", "index": 3, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 4, "name": "collateral_type", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_debt_arbitrum_mainnet"}, "model.synthetix.fct_pool_issuance_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_issuance_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_issuance_arbitrum_mainnet"}, "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_issuance_hourly_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 4, "name": "hourly_issuance", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet"}, "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet": {"metadata": {"type": "BASE TABLE", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_pnl_hourly_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "rewards_usd": {"type": "numeric", "index": 8, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 9, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 10, "name": "hourly_rewards_pct", "comment": null}, "hourly_total_pct": {"type": "numeric", "index": 11, "name": "hourly_total_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"}, "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet": {"metadata": {"type": "BASE TABLE", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_pnl_hourly_reward_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "reward_token": {"type": "text", "index": 5, "name": "reward_token", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet"}, "model.synthetix.fct_pool_rewards_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_rewards_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "token_symbol": {"type": "text", "index": 5, "name": "token_symbol", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "ts_start": {"type": "timestamp with time zone", "index": 7, "name": "ts_start", "comment": null}, "duration": {"type": "numeric", "index": 8, "name": "duration", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_arbitrum_mainnet"}, "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_rewards_hourly_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "rewards_usd": {"type": "numeric", "index": 4, "name": "rewards_usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"}, "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "token_symbol": {"type": "text", "index": 5, "name": "token_symbol", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "hourly_amount": {"type": "numeric", "index": 7, "name": "hourly_amount", "comment": null}, "amount_distributed": {"type": "numeric", "index": 8, "name": "amount_distributed", "comment": null}, "rewards_usd": {"type": "numeric", "index": 9, "name": "rewards_usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"}, "model.synthetix.fct_prices_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_prices_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_address": {"type": "character varying", "index": 2, "name": "market_address", "comment": null}, "market_symbol": {"type": "text", "index": 3, "name": "market_symbol", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_prices_arbitrum_mainnet"}, "model.synthetix.fct_prices_hourly_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_prices_hourly_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_prices_hourly_arbitrum_mainnet"}, "model.synthetix.fct_spot_atomics_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_spot_atomics_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tx_hash": {"type": "text", "index": 4, "name": "tx_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_atomics_arbitrum_mainnet"}, "model.synthetix.fct_spot_markets_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_spot_markets_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "token_address": {"type": "text", "index": 4, "name": "token_address", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_markets_arbitrum_mainnet"}, "model.synthetix.fct_spot_wrapper_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_spot_wrapper_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tx_hash": {"type": "text", "index": 4, "name": "tx_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 6, "name": "amount_wrapped", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet"}, "model.synthetix.fct_synth_supply_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_synth_supply_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 3, "name": "synth_market_id", "comment": null}, "supply": {"type": "numeric", "index": 4, "name": "supply", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_synth_supply_arbitrum_mainnet"}, "model.synthetix.fct_core_apr_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_core_apr_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "cumulative_pnl": {"type": "numeric", "index": 8, "name": "cumulative_pnl", "comment": null}, "cumulative_issuance": {"type": "numeric", "index": 9, "name": "cumulative_issuance", "comment": null}, "rewards_usd": {"type": "numeric", "index": 10, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 11, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 12, "name": "hourly_rewards_pct", "comment": null}, "apr_24h": {"type": "numeric", "index": 13, "name": "apr_24h", "comment": null}, "apy_24h": {"type": "numeric", "index": 14, "name": "apy_24h", "comment": null}, "apr_7d": {"type": "numeric", "index": 15, "name": "apr_7d", "comment": null}, "apy_7d": {"type": "numeric", "index": 16, "name": "apy_7d", "comment": null}, "apr_28d": {"type": "numeric", "index": 17, "name": "apr_28d", "comment": null}, "apy_28d": {"type": "numeric", "index": 18, "name": "apy_28d", "comment": null}, "apr_24h_pnl": {"type": "numeric", "index": 19, "name": "apr_24h_pnl", "comment": null}, "apy_24h_pnl": {"type": "numeric", "index": 20, "name": "apy_24h_pnl", "comment": null}, "apr_7d_pnl": {"type": "numeric", "index": 21, "name": "apr_7d_pnl", "comment": null}, "apy_7d_pnl": {"type": "numeric", "index": 22, "name": "apy_7d_pnl", "comment": null}, "apr_28d_pnl": {"type": "numeric", "index": 23, "name": "apr_28d_pnl", "comment": null}, "apy_28d_pnl": {"type": "numeric", "index": 24, "name": "apy_28d_pnl", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 25, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 26, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 27, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 28, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 29, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 30, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_arbitrum_sepolia"}, "model.synthetix.fct_core_apr_rewards_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_core_apr_rewards_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "reward_token": {"type": "text", "index": 4, "name": "reward_token", "comment": null}, "collateral_value": {"type": "numeric", "index": 5, "name": "collateral_value", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 8, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 9, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 10, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 11, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 12, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 13, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_rewards_arbitrum_sepolia"}, "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia": {"metadata": {"type": "BASE TABLE", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_pnl_hourly_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "rewards_usd": {"type": "numeric", "index": 8, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 9, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 10, "name": "hourly_rewards_pct", "comment": null}, "hourly_total_pct": {"type": "numeric", "index": 11, "name": "hourly_total_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"}, "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia": {"metadata": {"type": "BASE TABLE", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_pnl_hourly_reward_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "reward_token": {"type": "text", "index": 5, "name": "reward_token", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia"}, "model.synthetix.fct_buyback_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_buyback_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "buyer": {"type": "text", "index": 3, "name": "buyer", "comment": null}, "snx": {"type": "numeric", "index": 4, "name": "snx", "comment": null}, "usd": {"type": "numeric", "index": 5, "name": "usd", "comment": null}, "snx_price": {"type": "numeric", "index": 6, "name": "snx_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_buyback_base_mainnet"}, "model.synthetix.fct_buyback_daily_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_buyback_daily_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "snx_amount": {"type": "numeric", "index": 2, "name": "snx_amount", "comment": null}, "usd_amount": {"type": "numeric", "index": 3, "name": "usd_amount", "comment": null}, "cumulative_snx_amount": {"type": "numeric", "index": 4, "name": "cumulative_snx_amount", "comment": null}, "cumulative_usd_amount": {"type": "numeric", "index": 5, "name": "cumulative_usd_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_buyback_daily_base_mainnet"}, "model.synthetix.fct_buyback_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_buyback_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "snx_amount": {"type": "numeric", "index": 2, "name": "snx_amount", "comment": null}, "usd_amount": {"type": "numeric", "index": 3, "name": "usd_amount", "comment": null}, "cumulative_snx_amount": {"type": "numeric", "index": 4, "name": "cumulative_snx_amount", "comment": null}, "cumulative_usd_amount": {"type": "numeric", "index": 5, "name": "cumulative_usd_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_buyback_hourly_base_mainnet"}, "model.synthetix.fct_core_account_delegation_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_account_delegation_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "amount_delegated": {"type": "numeric", "index": 5, "name": "amount_delegated", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_account_delegation_base_mainnet"}, "model.synthetix.fct_core_apr_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_apr_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "cumulative_pnl": {"type": "numeric", "index": 8, "name": "cumulative_pnl", "comment": null}, "cumulative_issuance": {"type": "numeric", "index": 9, "name": "cumulative_issuance", "comment": null}, "rewards_usd": {"type": "numeric", "index": 10, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 11, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 12, "name": "hourly_rewards_pct", "comment": null}, "apr_24h": {"type": "numeric", "index": 13, "name": "apr_24h", "comment": null}, "apy_24h": {"type": "numeric", "index": 14, "name": "apy_24h", "comment": null}, "apr_7d": {"type": "numeric", "index": 15, "name": "apr_7d", "comment": null}, "apy_7d": {"type": "numeric", "index": 16, "name": "apy_7d", "comment": null}, "apr_28d": {"type": "numeric", "index": 17, "name": "apr_28d", "comment": null}, "apy_28d": {"type": "numeric", "index": 18, "name": "apy_28d", "comment": null}, "apr_24h_pnl": {"type": "numeric", "index": 19, "name": "apr_24h_pnl", "comment": null}, "apy_24h_pnl": {"type": "numeric", "index": 20, "name": "apy_24h_pnl", "comment": null}, "apr_7d_pnl": {"type": "numeric", "index": 21, "name": "apr_7d_pnl", "comment": null}, "apy_7d_pnl": {"type": "numeric", "index": 22, "name": "apy_7d_pnl", "comment": null}, "apr_28d_pnl": {"type": "numeric", "index": 23, "name": "apr_28d_pnl", "comment": null}, "apy_28d_pnl": {"type": "numeric", "index": 24, "name": "apy_28d_pnl", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 25, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 26, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 27, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 28, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 29, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 30, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_base_mainnet"}, "model.synthetix.fct_core_apr_rewards_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_apr_rewards_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "reward_token": {"type": "text", "index": 4, "name": "reward_token", "comment": null}, "collateral_value": {"type": "numeric", "index": 5, "name": "collateral_value", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 8, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 9, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 10, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 11, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 12, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 13, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_rewards_base_mainnet"}, "model.synthetix.fct_core_market_updated_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_market_updated_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 7, "name": "credit_capacity", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_market_updated_base_mainnet"}, "model.synthetix.fct_core_pool_collateral_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_pool_collateral_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "amount_deposited": {"type": "numeric", "index": 3, "name": "amount_deposited", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pool_collateral_base_mainnet"}, "model.synthetix.fct_core_pool_delegation_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_pool_delegation_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "amount_delegated": {"type": "numeric", "index": 4, "name": "amount_delegated", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pool_delegation_base_mainnet"}, "model.synthetix.fct_core_pools_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_pools_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "owner": {"type": "text", "index": 4, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pools_base_mainnet"}, "model.synthetix.fct_core_vault_collateral_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_vault_collateral_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 3, "name": "contract_address", "comment": null}, "pool_id": {"type": "integer", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "collateral_value": {"type": "numeric", "index": 7, "name": "collateral_value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_vault_collateral_base_mainnet"}, "model.synthetix.fct_perp_account_stats_daily_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_account_stats_daily_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "fees": {"type": "numeric", "index": 3, "name": "fees", "comment": null}, "volume": {"type": "numeric", "index": 4, "name": "volume", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 5, "name": "amount_liquidated", "comment": null}, "liquidations": {"type": "numeric", "index": 6, "name": "liquidations", "comment": null}, "cumulative_fees": {"type": "numeric", "index": 7, "name": "cumulative_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 8, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_account_stats_daily_base_mainnet"}, "model.synthetix.fct_perp_account_stats_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_account_stats_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "trades": {"type": "bigint", "index": 3, "name": "trades", "comment": null}, "fees": {"type": "numeric", "index": 4, "name": "fees", "comment": null}, "volume": {"type": "numeric", "index": 5, "name": "volume", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 6, "name": "amount_liquidated", "comment": null}, "liquidations": {"type": "bigint", "index": 7, "name": "liquidations", "comment": null}, "cumulative_fees": {"type": "numeric", "index": 8, "name": "cumulative_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 9, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_account_stats_hourly_base_mainnet"}, "model.synthetix.fct_perp_accounts_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_accounts_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "owner": {"type": "text", "index": 3, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_accounts_base_mainnet"}, "model.synthetix.fct_perp_collateral_modified_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_collateral_modified_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "synth_market_id": {"type": "numeric", "index": 8, "name": "synth_market_id", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "amount_delta": {"type": "numeric", "index": 10, "name": "amount_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_collateral_modified_base_mainnet"}, "model.synthetix.fct_perp_interest_charged_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_interest_charged_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "interest": {"type": "numeric", "index": 8, "name": "interest", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_interest_charged_base_mainnet"}, "model.synthetix.fct_perp_keeper_stats_daily_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_keeper_stats_daily_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "keeper": {"type": "text", "index": 2, "name": "keeper", "comment": null}, "trades": {"type": "numeric", "index": 3, "name": "trades", "comment": null}, "settlement_rewards": {"type": "numeric", "index": 4, "name": "settlement_rewards", "comment": null}, "amount_settled": {"type": "numeric", "index": 5, "name": "amount_settled", "comment": null}, "trades_pct": {"type": "numeric", "index": 6, "name": "trades_pct", "comment": null}, "settlement_rewards_pct": {"type": "numeric", "index": 7, "name": "settlement_rewards_pct", "comment": null}, "amount_settled_pct": {"type": "numeric", "index": 8, "name": "amount_settled_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_keeper_stats_daily_base_mainnet"}, "model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_keeper_stats_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "keeper": {"type": "text", "index": 2, "name": "keeper", "comment": null}, "trades": {"type": "bigint", "index": 3, "name": "trades", "comment": null}, "settlement_rewards": {"type": "numeric", "index": 4, "name": "settlement_rewards", "comment": null}, "amount_settled": {"type": "numeric", "index": 5, "name": "amount_settled", "comment": null}, "trades_pct": {"type": "bigint", "index": 6, "name": "trades_pct", "comment": null}, "settlement_rewards_pct": {"type": "numeric", "index": 7, "name": "settlement_rewards_pct", "comment": null}, "amount_settled_pct": {"type": "numeric", "index": 8, "name": "amount_settled_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet"}, "model.synthetix.fct_perp_liq_account_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_liq_account_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "text", "index": 1, "name": "account_id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "total_reward": {"type": "numeric", "index": 3, "name": "total_reward", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_liq_account_base_mainnet"}, "model.synthetix.fct_perp_liq_position_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_liq_position_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account_id": {"type": "text", "index": 5, "name": "account_id", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "market_symbol": {"type": "text", "index": 7, "name": "market_symbol", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 8, "name": "amount_liquidated", "comment": null}, "position_size": {"type": "numeric", "index": 9, "name": "position_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_liq_position_base_mainnet"}, "model.synthetix.fct_perp_market_history_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_market_history_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "market_symbol": {"type": "text", "index": 6, "name": "market_symbol", "comment": null}, "price": {"type": "numeric", "index": 7, "name": "price", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "funding_rate": {"type": "numeric", "index": 11, "name": "funding_rate", "comment": null}, "funding_velocity": {"type": "numeric", "index": 12, "name": "funding_velocity", "comment": null}, "interest_rate": {"type": "numeric", "index": 13, "name": "interest_rate", "comment": null}, "funding_rate_apr": {"type": "numeric", "index": 14, "name": "funding_rate_apr", "comment": null}, "long_rate_apr": {"type": "numeric", "index": 15, "name": "long_rate_apr", "comment": null}, "short_rate_apr": {"type": "numeric", "index": 16, "name": "short_rate_apr", "comment": null}, "size_usd": {"type": "numeric", "index": 17, "name": "size_usd", "comment": null}, "long_oi": {"type": "numeric", "index": 18, "name": "long_oi", "comment": null}, "short_oi": {"type": "numeric", "index": 19, "name": "short_oi", "comment": null}, "long_oi_pct": {"type": "numeric", "index": 20, "name": "long_oi_pct", "comment": null}, "short_oi_pct": {"type": "numeric", "index": 21, "name": "short_oi_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_market_history_base_mainnet"}, "model.synthetix.fct_perp_market_stats_daily_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_market_stats_daily_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "trades": {"type": "numeric", "index": 3, "name": "trades", "comment": null}, "exchange_fees": {"type": "numeric", "index": 4, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 5, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 6, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 7, "name": "volume", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 8, "name": "amount_liquidated", "comment": null}, "liquidations": {"type": "numeric", "index": 9, "name": "liquidations", "comment": null}, "cumulative_exchange_fees": {"type": "numeric", "index": 10, "name": "cumulative_exchange_fees", "comment": null}, "cumulative_referral_fees": {"type": "numeric", "index": 11, "name": "cumulative_referral_fees", "comment": null}, "cumulative_collected_fees": {"type": "numeric", "index": 12, "name": "cumulative_collected_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 13, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_market_stats_daily_base_mainnet"}, "model.synthetix.fct_perp_market_stats_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_market_stats_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "trades": {"type": "bigint", "index": 3, "name": "trades", "comment": null}, "exchange_fees": {"type": "numeric", "index": 4, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 5, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 6, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 7, "name": "volume", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 8, "name": "amount_liquidated", "comment": null}, "liquidations": {"type": "bigint", "index": 9, "name": "liquidations", "comment": null}, "cumulative_exchange_fees": {"type": "numeric", "index": 10, "name": "cumulative_exchange_fees", "comment": null}, "cumulative_referral_fees": {"type": "numeric", "index": 11, "name": "cumulative_referral_fees", "comment": null}, "cumulative_collected_fees": {"type": "numeric", "index": 12, "name": "cumulative_collected_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 13, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_market_stats_hourly_base_mainnet"}, "model.synthetix.fct_perp_markets_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_markets_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "market_symbol": {"type": "text", "index": 4, "name": "market_symbol", "comment": null}, "market_name": {"type": "text", "index": 5, "name": "market_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_markets_base_mainnet"}, "model.synthetix.fct_perp_orders_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_orders_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "market_symbol": {"type": "text", "index": 7, "name": "market_symbol", "comment": null}, "account_id": {"type": "text", "index": 8, "name": "account_id", "comment": null}, "order_type": {"type": "integer", "index": 9, "name": "order_type", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "acceptable_price": {"type": "numeric", "index": 11, "name": "acceptable_price", "comment": null}, "settlement_time": {"type": "numeric", "index": 12, "name": "settlement_time", "comment": null}, "expiration_time": {"type": "numeric", "index": 13, "name": "expiration_time", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "sender": {"type": "text", "index": 15, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_orders_base_mainnet"}, "model.synthetix.fct_perp_pnl_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_pnl_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_id": {"type": "integer", "index": 2, "name": "market_id", "comment": null}, "market_pnl": {"type": "numeric", "index": 3, "name": "market_pnl", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_pnl_base_mainnet"}, "model.synthetix.fct_perp_previous_order_expired_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_previous_order_expired_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "commitment_time": {"type": "numeric", "index": 9, "name": "commitment_time", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "acceptable_price": {"type": "numeric", "index": 11, "name": "acceptable_price", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_previous_order_expired_base_mainnet"}, "model.synthetix.fct_perp_stats_daily_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_stats_daily_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "trades": {"type": "numeric", "index": 2, "name": "trades", "comment": null}, "exchange_fees": {"type": "numeric", "index": 3, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 6, "name": "volume", "comment": null}, "liquidation_rewards": {"type": "numeric", "index": 7, "name": "liquidation_rewards", "comment": null}, "liquidated_accounts": {"type": "numeric", "index": 8, "name": "liquidated_accounts", "comment": null}, "cumulative_exchange_fees": {"type": "numeric", "index": 9, "name": "cumulative_exchange_fees", "comment": null}, "cumulative_referral_fees": {"type": "numeric", "index": 10, "name": "cumulative_referral_fees", "comment": null}, "cumulative_collected_fees": {"type": "numeric", "index": 11, "name": "cumulative_collected_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 12, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_stats_daily_base_mainnet"}, "model.synthetix.fct_perp_stats_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_stats_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "trades": {"type": "numeric", "index": 2, "name": "trades", "comment": null}, "exchange_fees": {"type": "numeric", "index": 3, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 6, "name": "volume", "comment": null}, "liquidation_rewards": {"type": "numeric", "index": 7, "name": "liquidation_rewards", "comment": null}, "liquidated_accounts": {"type": "bigint", "index": 8, "name": "liquidated_accounts", "comment": null}, "cumulative_exchange_fees": {"type": "numeric", "index": 9, "name": "cumulative_exchange_fees", "comment": null}, "cumulative_referral_fees": {"type": "numeric", "index": 10, "name": "cumulative_referral_fees", "comment": null}, "cumulative_collected_fees": {"type": "numeric", "index": 11, "name": "cumulative_collected_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 12, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_stats_hourly_base_mainnet"}, "model.synthetix.fct_perp_tracking_stats_daily_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_tracking_stats_daily_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "exchange_fees": {"type": "numeric", "index": 3, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 6, "name": "volume", "comment": null}, "trades": {"type": "numeric", "index": 7, "name": "trades", "comment": null}, "accounts": {"type": "bigint", "index": 8, "name": "accounts", "comment": null}, "exchange_fees_share": {"type": "numeric", "index": 9, "name": "exchange_fees_share", "comment": null}, "referral_fees_share": {"type": "numeric", "index": 10, "name": "referral_fees_share", "comment": null}, "collected_fees_share": {"type": "numeric", "index": 11, "name": "collected_fees_share", "comment": null}, "volume_share": {"type": "numeric", "index": 12, "name": "volume_share", "comment": null}, "trades_share": {"type": "numeric", "index": 13, "name": "trades_share", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_tracking_stats_daily_base_mainnet"}, "model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_tracking_stats_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "exchange_fees": {"type": "numeric", "index": 3, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 6, "name": "volume", "comment": null}, "trades": {"type": "bigint", "index": 7, "name": "trades", "comment": null}, "accounts": {"type": "bigint", "index": 8, "name": "accounts", "comment": null}, "exchange_fees_share": {"type": "numeric", "index": 9, "name": "exchange_fees_share", "comment": null}, "referral_fees_share": {"type": "numeric", "index": 10, "name": "referral_fees_share", "comment": null}, "collected_fees_share": {"type": "numeric", "index": 11, "name": "collected_fees_share", "comment": null}, "volume_share": {"type": "numeric", "index": 12, "name": "volume_share", "comment": null}, "trades_share": {"type": "numeric", "index": 13, "name": "trades_share", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet"}, "model.synthetix.fct_perp_trades_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_trades_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "market_symbol": {"type": "text", "index": 7, "name": "market_symbol", "comment": null}, "account_id": {"type": "text", "index": 8, "name": "account_id", "comment": null}, "fill_price": {"type": "numeric", "index": 9, "name": "fill_price", "comment": null}, "pnl": {"type": "numeric", "index": 10, "name": "pnl", "comment": null}, "accrued_funding": {"type": "numeric", "index": 11, "name": "accrued_funding", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "position_size": {"type": "numeric", "index": 13, "name": "position_size", "comment": null}, "total_fees": {"type": "numeric", "index": 14, "name": "total_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 15, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 16, "name": "collected_fees", "comment": null}, "settlement_reward": {"type": "numeric", "index": 17, "name": "settlement_reward", "comment": null}, "tracking_code": {"type": "text", "index": 18, "name": "tracking_code", "comment": null}, "settler": {"type": "text", "index": 19, "name": "settler", "comment": null}, "notional_trade_size": {"type": "numeric", "index": 20, "name": "notional_trade_size", "comment": null}, "notional_position_size": {"type": "numeric", "index": 21, "name": "notional_position_size", "comment": null}, "lp_fees": {"type": "numeric", "index": 22, "name": "lp_fees", "comment": null}, "exchange_fees": {"type": "numeric", "index": 23, "name": "exchange_fees", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_trades_base_mainnet"}, "model.synthetix.fct_pool_debt_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_pool_debt_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}, "pool_id": {"type": "integer", "index": 3, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 4, "name": "collateral_type", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_debt_base_mainnet"}, "model.synthetix.fct_pool_issuance_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_pool_issuance_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_issuance_base_mainnet"}, "model.synthetix.fct_pool_issuance_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_pool_issuance_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 4, "name": "hourly_issuance", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_issuance_hourly_base_mainnet"}, "model.synthetix.fct_pool_pnl_hourly_base_mainnet": {"metadata": {"type": "BASE TABLE", "schema": "prod_base_mainnet", "name": "fct_pool_pnl_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "rewards_usd": {"type": "numeric", "index": 8, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 9, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 10, "name": "hourly_rewards_pct", "comment": null}, "hourly_total_pct": {"type": "numeric", "index": 11, "name": "hourly_total_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_base_mainnet"}, "model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet": {"metadata": {"type": "BASE TABLE", "schema": "prod_base_mainnet", "name": "fct_pool_pnl_hourly_reward_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "reward_token": {"type": "text", "index": 5, "name": "reward_token", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet"}, "model.synthetix.fct_pool_rewards_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_pool_rewards_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "token_symbol": {"type": "text", "index": 5, "name": "token_symbol", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "ts_start": {"type": "timestamp with time zone", "index": 7, "name": "ts_start", "comment": null}, "duration": {"type": "numeric", "index": 8, "name": "duration", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_base_mainnet"}, "model.synthetix.fct_pool_rewards_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_pool_rewards_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "rewards_usd": {"type": "numeric", "index": 4, "name": "rewards_usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_hourly_base_mainnet"}, "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_pool_rewards_token_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "token_symbol": {"type": "text", "index": 5, "name": "token_symbol", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "hourly_amount": {"type": "numeric", "index": 7, "name": "hourly_amount", "comment": null}, "amount_distributed": {"type": "numeric", "index": 8, "name": "amount_distributed", "comment": null}, "rewards_usd": {"type": "numeric", "index": 9, "name": "rewards_usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"}, "model.synthetix.fct_prices_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_prices_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_address": {"type": "text", "index": 2, "name": "market_address", "comment": null}, "market_symbol": {"type": "text", "index": 3, "name": "market_symbol", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_prices_base_mainnet"}, "model.synthetix.fct_prices_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_prices_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_prices_hourly_base_mainnet"}, "model.synthetix.fct_spot_atomics_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_spot_atomics_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tx_hash": {"type": "text", "index": 4, "name": "tx_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_atomics_base_mainnet"}, "model.synthetix.fct_spot_markets_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_spot_markets_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "token_address": {"type": "text", "index": 4, "name": "token_address", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_markets_base_mainnet"}, "model.synthetix.fct_spot_wrapper_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_spot_wrapper_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tx_hash": {"type": "text", "index": 4, "name": "tx_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 6, "name": "amount_wrapped", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_wrapper_base_mainnet"}, "model.synthetix.fct_synth_supply_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_synth_supply_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 3, "name": "synth_market_id", "comment": null}, "supply": {"type": "numeric", "index": 4, "name": "supply", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_synth_supply_base_mainnet"}, "model.synthetix.fct_core_apr_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_core_apr_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "cumulative_pnl": {"type": "numeric", "index": 8, "name": "cumulative_pnl", "comment": null}, "cumulative_issuance": {"type": "numeric", "index": 9, "name": "cumulative_issuance", "comment": null}, "rewards_usd": {"type": "numeric", "index": 10, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 11, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 12, "name": "hourly_rewards_pct", "comment": null}, "apr_24h": {"type": "numeric", "index": 13, "name": "apr_24h", "comment": null}, "apy_24h": {"type": "numeric", "index": 14, "name": "apy_24h", "comment": null}, "apr_7d": {"type": "numeric", "index": 15, "name": "apr_7d", "comment": null}, "apy_7d": {"type": "numeric", "index": 16, "name": "apy_7d", "comment": null}, "apr_28d": {"type": "numeric", "index": 17, "name": "apr_28d", "comment": null}, "apy_28d": {"type": "numeric", "index": 18, "name": "apy_28d", "comment": null}, "apr_24h_pnl": {"type": "numeric", "index": 19, "name": "apr_24h_pnl", "comment": null}, "apy_24h_pnl": {"type": "numeric", "index": 20, "name": "apy_24h_pnl", "comment": null}, "apr_7d_pnl": {"type": "numeric", "index": 21, "name": "apr_7d_pnl", "comment": null}, "apy_7d_pnl": {"type": "numeric", "index": 22, "name": "apy_7d_pnl", "comment": null}, "apr_28d_pnl": {"type": "numeric", "index": 23, "name": "apr_28d_pnl", "comment": null}, "apy_28d_pnl": {"type": "numeric", "index": 24, "name": "apy_28d_pnl", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 25, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 26, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 27, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 28, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 29, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 30, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_base_sepolia"}, "model.synthetix.fct_core_apr_rewards_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_core_apr_rewards_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "reward_token": {"type": "text", "index": 4, "name": "reward_token", "comment": null}, "collateral_value": {"type": "numeric", "index": 5, "name": "collateral_value", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 8, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 9, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 10, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 11, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 12, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 13, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_rewards_base_sepolia"}, "model.synthetix.fct_pool_pnl_hourly_base_sepolia": {"metadata": {"type": "BASE TABLE", "schema": "prod_base_sepolia", "name": "fct_pool_pnl_hourly_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "rewards_usd": {"type": "numeric", "index": 8, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 9, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 10, "name": "hourly_rewards_pct", "comment": null}, "hourly_total_pct": {"type": "numeric", "index": 11, "name": "hourly_total_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_base_sepolia"}, "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia": {"metadata": {"type": "BASE TABLE", "schema": "prod_base_sepolia", "name": "fct_pool_pnl_hourly_reward_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "reward_token": {"type": "text", "index": 5, "name": "reward_token", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia"}, "model.synthetix.blocks_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "blocks_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.blocks_arbitrum_mainnet"}, "model.synthetix.core_account_created_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_account_created_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "owner": {"type": "text", "index": 7, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_account_created_arbitrum_mainnet"}, "model.synthetix.core_delegation_updated_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_delegation_updated_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 5, "name": "pool_id", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "leverage": {"type": "numeric", "index": 12, "name": "leverage", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_delegation_updated_arbitrum_mainnet"}, "model.synthetix.core_deposited_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_deposited_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "token_amount": {"type": "numeric", "index": 6, "name": "token_amount", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_deposited_arbitrum_mainnet"}, "model.synthetix.core_liquidation_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_liquidation_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 5, "name": "liquidation_data", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_id", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 11, "name": "liquidate_as_account_id", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_liquidation_arbitrum_mainnet"}, "model.synthetix.core_market_registered_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_market_registered_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "market": {"type": "text", "index": 3, "name": "market", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_registered_arbitrum_mainnet"}, "model.synthetix.core_market_updated_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_market_updated_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 12, "name": "credit_capacity", "comment": null}, "token_amount": {"type": "numeric", "index": 13, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_updated_arbitrum_mainnet"}, "model.synthetix.core_pool_created_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_pool_created_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "owner": {"type": "text", "index": 6, "name": "owner", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_pool_created_arbitrum_mainnet"}, "model.synthetix.core_rewards_claimed_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_rewards_claimed_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 5, "name": "distributor", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_claimed_arbitrum_mainnet"}, "model.synthetix.core_rewards_distributed_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_rewards_distributed_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "start": {"type": "numeric", "index": 6, "name": "start", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "duration": {"type": "numeric", "index": 12, "name": "duration", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_distributed_arbitrum_mainnet"}, "model.synthetix.core_usd_burned_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_usd_burned_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_burned_arbitrum_mainnet"}, "model.synthetix.core_usd_minted_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_usd_minted_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_minted_arbitrum_mainnet"}, "model.synthetix.core_vault_collateral_arbitrum_mainnet": {"metadata": {"type": "BASE TABLE", "schema": "prod_raw_arbitrum_mainnet", "name": "core_vault_collateral_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 3, "name": "contract_address", "comment": null}, "pool_id": {"type": "integer", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "collateral_value": {"type": "numeric", "index": 7, "name": "collateral_value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_collateral_arbitrum_mainnet"}, "model.synthetix.core_vault_debt_arbitrum_mainnet": {"metadata": {"type": "BASE TABLE", "schema": "prod_raw_arbitrum_mainnet", "name": "core_vault_debt_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 3, "name": "contract_address", "comment": null}, "pool_id": {"type": "integer", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 5, "name": "collateral_type", "comment": null}, "debt": {"type": "numeric", "index": 6, "name": "debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_debt_arbitrum_mainnet"}, "model.synthetix.core_vault_liquidation_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_vault_liquidation_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 2, "name": "liquidation_data", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 7, "name": "liquidate_as_account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_liquidation_arbitrum_mainnet"}, "model.synthetix.core_withdrawn_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_withdrawn_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "token_amount": {"type": "numeric", "index": 5, "name": "token_amount", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_withdrawn_arbitrum_mainnet"}, "model.synthetix.spot_order_cancelled_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_order_cancelled_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"async_order_id": {"type": "numeric", "index": 1, "name": "async_order_id", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 2, "name": "async_order_claim", "comment": null}, "market_id": {"type": "numeric", "index": 3, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_cancelled_arbitrum_mainnet"}, "model.synthetix.spot_order_committed_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_order_committed_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "amount_provided": {"type": "numeric", "index": 2, "name": "amount_provided", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "async_order_id": {"type": "numeric", "index": 4, "name": "async_order_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "order_type": {"type": "integer", "index": 6, "name": "order_type", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "referrer": {"type": "text", "index": 9, "name": "referrer", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_committed_arbitrum_mainnet"}, "model.synthetix.spot_order_settled_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_order_settled_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "order_type": {"type": "integer", "index": 4, "name": "order_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "settler": {"type": "text", "index": 6, "name": "settler", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "fees": {"type": "jsonb", "index": 11, "name": "fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 12, "name": "collected_fees", "comment": null}, "final_order_amount": {"type": "numeric", "index": 13, "name": "final_order_amount", "comment": null}, "async_order_id": {"type": "numeric", "index": 14, "name": "async_order_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_settled_arbitrum_mainnet"}, "model.synthetix.spot_synth_bought_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_bought_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"synth_market_id": {"type": "numeric", "index": 1, "name": "synth_market_id", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "synth_returned": {"type": "numeric", "index": 9, "name": "synth_returned", "comment": null}, "referrer": {"type": "text", "index": 10, "name": "referrer", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_bought_arbitrum_mainnet"}, "model.synthetix.spot_synth_registered_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_registered_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"synth_token_address": {"type": "text", "index": 1, "name": "synth_token_address", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_registered_arbitrum_mainnet"}, "model.synthetix.spot_synth_sold_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_sold_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "comment": null}, "referrer": {"type": "text", "index": 4, "name": "referrer", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "collected_fees": {"type": "numeric", "index": 6, "name": "collected_fees", "comment": null}, "amount_returned": {"type": "numeric", "index": 7, "name": "amount_returned", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_sold_arbitrum_mainnet"}, "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_unwrapped_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"synth_market_id": {"type": "numeric", "index": 1, "name": "synth_market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 4, "name": "amount_unwrapped", "comment": null}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fees_collected": {"type": "numeric", "index": 10, "name": "fees_collected", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"}, "model.synthetix.spot_synth_wrapped_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_wrapped_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "fees_collected": {"type": "numeric", "index": 5, "name": "fees_collected", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 6, "name": "amount_wrapped", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fees": {"type": "jsonb", "index": 9, "name": "fees", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet"}, "model.synthetix.blocks_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "blocks_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.blocks_arbitrum_sepolia"}, "model.synthetix.core_account_created_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_account_created_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 8, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_account_created_arbitrum_sepolia"}, "model.synthetix.core_delegation_updated_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_delegation_updated_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 10, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}, "leverage": {"type": "numeric", "index": 12, "name": "leverage", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_delegation_updated_arbitrum_sepolia"}, "model.synthetix.core_deposited_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_deposited_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_deposited_arbitrum_sepolia"}, "model.synthetix.core_liquidation_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_liquidation_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 3, "name": "liquidation_data", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 4, "name": "liquidate_as_account_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_liquidation_arbitrum_sepolia"}, "model.synthetix.core_market_registered_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_market_registered_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "market": {"type": "text", "index": 6, "name": "market", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_registered_arbitrum_sepolia"}, "model.synthetix.core_market_updated_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_market_updated_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 12, "name": "credit_capacity", "comment": null}, "token_amount": {"type": "numeric", "index": 13, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_updated_arbitrum_sepolia"}, "model.synthetix.core_pool_created_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_pool_created_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 4, "name": "owner", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_pool_created_arbitrum_sepolia"}, "model.synthetix.core_rewards_claimed_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_rewards_claimed_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 5, "name": "distributor", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_claimed_arbitrum_sepolia"}, "model.synthetix.core_rewards_distributed_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_rewards_distributed_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "duration": {"type": "numeric", "index": 3, "name": "duration", "comment": null}, "start": {"type": "numeric", "index": 4, "name": "start", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "distributor": {"type": "text", "index": 9, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_distributed_arbitrum_sepolia"}, "model.synthetix.core_usd_burned_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_usd_burned_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_burned_arbitrum_sepolia"}, "model.synthetix.core_usd_minted_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_usd_minted_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_minted_arbitrum_sepolia"}, "model.synthetix.core_vault_liquidation_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_vault_liquidation_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 3, "name": "liquidate_as_account_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 11, "name": "liquidation_data", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_liquidation_arbitrum_sepolia"}, "model.synthetix.core_withdrawn_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_withdrawn_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "token_amount": {"type": "numeric", "index": 6, "name": "token_amount", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_withdrawn_arbitrum_sepolia"}, "model.synthetix.spot_order_cancelled_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_order_cancelled_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 5, "name": "async_order_claim", "comment": null}, "async_order_id": {"type": "numeric", "index": 6, "name": "async_order_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_cancelled_arbitrum_sepolia"}, "model.synthetix.spot_order_committed_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_order_committed_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "amount_provided": {"type": "numeric", "index": 4, "name": "amount_provided", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "order_type": {"type": "integer", "index": 6, "name": "order_type", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "referrer": {"type": "text", "index": 10, "name": "referrer", "comment": null}, "async_order_id": {"type": "numeric", "index": 11, "name": "async_order_id", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_committed_arbitrum_sepolia"}, "model.synthetix.spot_order_settled_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_order_settled_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "order_type": {"type": "integer", "index": 2, "name": "order_type", "comment": null}, "final_order_amount": {"type": "numeric", "index": 3, "name": "final_order_amount", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "async_order_id": {"type": "numeric", "index": 8, "name": "async_order_id", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "settler": {"type": "text", "index": 12, "name": "settler", "comment": null}, "fees": {"type": "jsonb", "index": 13, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_settled_arbitrum_sepolia"}, "model.synthetix.spot_synth_bought_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_bought_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "synth_returned": {"type": "numeric", "index": 2, "name": "synth_returned", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}, "collected_fees": {"type": "numeric", "index": 9, "name": "collected_fees", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_bought_arbitrum_sepolia"}, "model.synthetix.spot_synth_registered_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_registered_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "synth_token_address": {"type": "text", "index": 3, "name": "synth_token_address", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_registered_arbitrum_sepolia"}, "model.synthetix.spot_synth_sold_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_sold_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "amount_returned": {"type": "numeric", "index": 2, "name": "amount_returned", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_sold_arbitrum_sepolia"}, "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_unwrapped_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fees_collected": {"type": "numeric", "index": 1, "name": "fees_collected", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 4, "name": "amount_unwrapped", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 9, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"}, "model.synthetix.spot_synth_wrapped_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_wrapped_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "fees_collected": {"type": "numeric", "index": 2, "name": "fees_collected", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 5, "name": "amount_wrapped", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia"}, "model.synthetix.blocks_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "blocks_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.blocks_base_mainnet"}, "model.synthetix.buyback_processed_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "buyback_processed_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "buyer": {"type": "text", "index": 7, "name": "buyer", "comment": null}, "snx": {"type": "numeric", "index": 8, "name": "snx", "comment": null}, "usd": {"type": "numeric", "index": 9, "name": "usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.buyback_processed_base_mainnet"}, "model.synthetix.core_account_created_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_account_created_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "owner": {"type": "text", "index": 6, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_account_created_base_mainnet"}, "model.synthetix.core_delegation_updated_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_delegation_updated_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "leverage": {"type": "numeric", "index": 4, "name": "leverage", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 12, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_delegation_updated_base_mainnet"}, "model.synthetix.core_deposited_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_deposited_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "token_amount": {"type": "numeric", "index": 8, "name": "token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_deposited_base_mainnet"}, "model.synthetix.core_liquidation_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_liquidation_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 2, "name": "liquidate_as_account_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 8, "name": "liquidation_data", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_liquidation_base_mainnet"}, "model.synthetix.core_market_registered_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_market_registered_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "market": {"type": "text", "index": 2, "name": "market", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_registered_base_mainnet"}, "model.synthetix.core_market_updated_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_market_updated_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 12, "name": "credit_capacity", "comment": null}, "token_amount": {"type": "numeric", "index": 13, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_updated_base_mainnet"}, "model.synthetix.core_pool_created_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_pool_created_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_pool_created_base_mainnet"}, "model.synthetix.core_rewards_claimed_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_rewards_claimed_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "distributor": {"type": "text", "index": 11, "name": "distributor", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_claimed_base_mainnet"}, "model.synthetix.core_rewards_distributed_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_rewards_distributed_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 5, "name": "amount", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "duration": {"type": "numeric", "index": 8, "name": "duration", "comment": null}, "start": {"type": "numeric", "index": 9, "name": "start", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 11, "name": "distributor", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_distributed_base_mainnet"}, "model.synthetix.core_usd_burned_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_usd_burned_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 10, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_burned_base_mainnet"}, "model.synthetix.core_usd_minted_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_usd_minted_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_minted_base_mainnet"}, "model.synthetix.core_vault_collateral_base_mainnet": {"metadata": {"type": "BASE TABLE", "schema": "prod_raw_base_mainnet", "name": "core_vault_collateral_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 3, "name": "contract_address", "comment": null}, "pool_id": {"type": "integer", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "collateral_value": {"type": "numeric", "index": 7, "name": "collateral_value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_collateral_base_mainnet"}, "model.synthetix.core_vault_debt_base_mainnet": {"metadata": {"type": "BASE TABLE", "schema": "prod_raw_base_mainnet", "name": "core_vault_debt_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 3, "name": "contract_address", "comment": null}, "pool_id": {"type": "integer", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 5, "name": "collateral_type", "comment": null}, "debt": {"type": "numeric", "index": 6, "name": "debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_debt_base_mainnet"}, "model.synthetix.core_vault_liquidation_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_vault_liquidation_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 5, "name": "liquidation_data", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 9, "name": "liquidate_as_account_id", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_liquidation_base_mainnet"}, "model.synthetix.core_withdrawn_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_withdrawn_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"token_amount": {"type": "numeric", "index": 1, "name": "token_amount", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_withdrawn_base_mainnet"}, "model.synthetix.perp_account_created_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_account_created_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 8, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_account_created_base_mainnet"}, "model.synthetix.perp_account_liquidation_attempt_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_account_liquidation_attempt_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "reward": {"type": "numeric", "index": 5, "name": "reward", "comment": null}, "full_liquidation": {"type": "boolean", "index": 6, "name": "full_liquidation", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_account_liquidation_attempt_base_mainnet"}, "model.synthetix.perp_collateral_modified_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_collateral_modified_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 6, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "amount_delta": {"type": "numeric", "index": 9, "name": "amount_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_collateral_modified_base_mainnet"}, "model.synthetix.perp_interest_charged_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_interest_charged_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "interest": {"type": "numeric", "index": 3, "name": "interest", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_interest_charged_base_mainnet"}, "model.synthetix.perp_interest_rate_updated_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_interest_rate_updated_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "interest_rate": {"type": "numeric", "index": 4, "name": "interest_rate", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "super_market_id": {"type": "numeric", "index": 6, "name": "super_market_id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_interest_rate_updated_base_mainnet"}, "model.synthetix.perp_market_created_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_market_created_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "market_name": {"type": "text", "index": 3, "name": "market_name", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "perps_market_id": {"type": "numeric", "index": 6, "name": "perps_market_id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_market_created_base_mainnet"}, "model.synthetix.perp_market_updated_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_market_updated_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "skew": {"type": "numeric", "index": 9, "name": "skew", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "current_funding_rate": {"type": "numeric", "index": 12, "name": "current_funding_rate", "comment": null}, "current_funding_velocity": {"type": "numeric", "index": 13, "name": "current_funding_velocity", "comment": null}, "interest_rate": {"type": "numeric", "index": 14, "name": "interest_rate", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_market_updated_base_mainnet"}, "model.synthetix.perp_order_committed_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_order_committed_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "commitment_time": {"type": "numeric", "index": 9, "name": "commitment_time", "comment": null}, "expiration_time": {"type": "numeric", "index": 10, "name": "expiration_time", "comment": null}, "settlement_time": {"type": "numeric", "index": 11, "name": "settlement_time", "comment": null}, "expected_price_time": {"type": "numeric", "index": 12, "name": "expected_price_time", "comment": null}, "acceptable_price": {"type": "numeric", "index": 13, "name": "acceptable_price", "comment": null}, "order_type": {"type": "integer", "index": 14, "name": "order_type", "comment": null}, "size_delta": {"type": "numeric", "index": 15, "name": "size_delta", "comment": null}, "sender": {"type": "text", "index": 16, "name": "sender", "comment": null}, "tracking_code": {"type": "text", "index": 17, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_order_committed_base_mainnet"}, "model.synthetix.perp_order_settled_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_order_settled_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "settlement_reward": {"type": "numeric", "index": 3, "name": "settlement_reward", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "total_fees": {"type": "numeric", "index": 6, "name": "total_fees", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "accrued_funding": {"type": "numeric", "index": 8, "name": "accrued_funding", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "referral_fees": {"type": "numeric", "index": 10, "name": "referral_fees", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "settler": {"type": "text", "index": 12, "name": "settler", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "fill_price": {"type": "numeric", "index": 14, "name": "fill_price", "comment": null}, "new_size": {"type": "numeric", "index": 15, "name": "new_size", "comment": null}, "pnl": {"type": "numeric", "index": 16, "name": "pnl", "comment": null}, "collected_fees": {"type": "numeric", "index": 17, "name": "collected_fees", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 18, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 19, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_order_settled_base_mainnet"}, "model.synthetix.perp_position_liquidated_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_position_liquidated_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"amount_liquidated": {"type": "numeric", "index": 1, "name": "amount_liquidated", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "current_position_size": {"type": "numeric", "index": 8, "name": "current_position_size", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_position_liquidated_base_mainnet"}, "model.synthetix.perp_previous_order_expired_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_previous_order_expired_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "acceptable_price": {"type": "numeric", "index": 2, "name": "acceptable_price", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "commitment_time": {"type": "numeric", "index": 4, "name": "commitment_time", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "account_id": {"type": "numeric", "index": 10, "name": "account_id", "comment": null}, "market_id": {"type": "numeric", "index": 11, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_previous_order_expired_base_mainnet"}, "model.synthetix.spot_order_cancelled_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "spot_order_cancelled_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "async_order_id": {"type": "numeric", "index": 2, "name": "async_order_id", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 9, "name": "async_order_claim", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_cancelled_base_mainnet"}, "model.synthetix.spot_order_committed_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "spot_order_committed_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "async_order_id": {"type": "numeric", "index": 7, "name": "async_order_id", "comment": null}, "order_type": {"type": "integer", "index": 8, "name": "order_type", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "amount_provided": {"type": "numeric", "index": 10, "name": "amount_provided", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "referrer": {"type": "text", "index": 12, "name": "referrer", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_committed_base_mainnet"}, "model.synthetix.spot_order_settled_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "spot_order_settled_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "final_order_amount": {"type": "numeric", "index": 2, "name": "final_order_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "async_order_id": {"type": "numeric", "index": 6, "name": "async_order_id", "comment": null}, "fees": {"type": "jsonb", "index": 7, "name": "fees", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "settler": {"type": "text", "index": 11, "name": "settler", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 13, "name": "contract", "comment": null}, "order_type": {"type": "integer", "index": 14, "name": "order_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_settled_base_mainnet"}, "model.synthetix.spot_synth_bought_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "spot_synth_bought_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "collected_fees": {"type": "numeric", "index": 10, "name": "collected_fees", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "synth_returned": {"type": "numeric", "index": 12, "name": "synth_returned", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_bought_base_mainnet"}, "model.synthetix.spot_synth_registered_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "spot_synth_registered_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "synth_token_address": {"type": "text", "index": 5, "name": "synth_token_address", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_registered_base_mainnet"}, "model.synthetix.spot_synth_sold_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "spot_synth_sold_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"referrer": {"type": "text", "index": 1, "name": "referrer", "comment": null}, "fees": {"type": "jsonb", "index": 2, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "amount_returned": {"type": "numeric", "index": 7, "name": "amount_returned", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "collected_fees": {"type": "numeric", "index": 10, "name": "collected_fees", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_sold_base_mainnet"}, "model.synthetix.spot_synth_unwrapped_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "spot_synth_unwrapped_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 6, "name": "amount_unwrapped", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fees_collected": {"type": "numeric", "index": 9, "name": "fees_collected", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_unwrapped_base_mainnet"}, "model.synthetix.spot_synth_wrapped_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "spot_synth_wrapped_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"amount_wrapped": {"type": "numeric", "index": 1, "name": "amount_wrapped", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "fees_collected": {"type": "numeric", "index": 6, "name": "fees_collected", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_wrapped_base_mainnet"}, "model.synthetix.blocks_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "blocks_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.blocks_base_sepolia"}, "model.synthetix.buyback_processed_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "buyback_processed_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "buyer": {"type": "text", "index": 7, "name": "buyer", "comment": null}, "snx": {"type": "numeric", "index": 8, "name": "snx", "comment": null}, "usd": {"type": "numeric", "index": 9, "name": "usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.buyback_processed_base_sepolia"}, "model.synthetix.core_account_created_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_account_created_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_account_created_base_sepolia"}, "model.synthetix.core_delegation_updated_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_delegation_updated_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "leverage": {"type": "numeric", "index": 5, "name": "leverage", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 12, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_delegation_updated_base_sepolia"}, "model.synthetix.core_deposited_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_deposited_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_deposited_base_sepolia"}, "model.synthetix.core_liquidation_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_liquidation_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 8, "name": "liquidation_data", "comment": null}, "pool_id": {"type": "numeric", "index": 9, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 11, "name": "liquidate_as_account_id", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_liquidation_base_sepolia"}, "model.synthetix.core_market_registered_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_market_registered_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "market": {"type": "text", "index": 2, "name": "market", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_registered_base_sepolia"}, "model.synthetix.core_market_updated_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_market_updated_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 12, "name": "credit_capacity", "comment": null}, "token_amount": {"type": "numeric", "index": 13, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_updated_base_sepolia"}, "model.synthetix.core_pool_created_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_pool_created_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_pool_created_base_sepolia"}, "model.synthetix.core_rewards_claimed_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_rewards_claimed_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 6, "name": "distributor", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_claimed_base_sepolia"}, "model.synthetix.core_rewards_distributed_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_rewards_distributed_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"start": {"type": "numeric", "index": 1, "name": "start", "comment": null}, "duration": {"type": "numeric", "index": 2, "name": "duration", "comment": null}, "amount": {"type": "numeric", "index": 3, "name": "amount", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 6, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 12, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_distributed_base_sepolia"}, "model.synthetix.core_usd_burned_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_usd_burned_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_burned_base_sepolia"}, "model.synthetix.core_usd_minted_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_usd_minted_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_minted_base_sepolia"}, "model.synthetix.core_vault_liquidation_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_vault_liquidation_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 3, "name": "liquidation_data", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 8, "name": "liquidate_as_account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 9, "name": "pool_id", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_liquidation_base_sepolia"}, "model.synthetix.core_withdrawn_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_withdrawn_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "token_amount": {"type": "numeric", "index": 4, "name": "token_amount", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_withdrawn_base_sepolia"}, "model.synthetix.perp_account_created_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_account_created_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "owner": {"type": "text", "index": 5, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_account_created_base_sepolia"}, "model.synthetix.perp_account_liquidation_attempt_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_account_liquidation_attempt_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "reward": {"type": "numeric", "index": 5, "name": "reward", "comment": null}, "full_liquidation": {"type": "boolean", "index": 6, "name": "full_liquidation", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_account_liquidation_attempt_base_sepolia"}, "model.synthetix.perp_collateral_modified_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_collateral_modified_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 8, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "amount_delta": {"type": "numeric", "index": 10, "name": "amount_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_collateral_modified_base_sepolia"}, "model.synthetix.perp_interest_charged_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_interest_charged_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "interest": {"type": "numeric", "index": 5, "name": "interest", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_interest_charged_base_sepolia"}, "model.synthetix.perp_interest_rate_updated_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_interest_rate_updated_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "super_market_id": {"type": "numeric", "index": 2, "name": "super_market_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "interest_rate": {"type": "numeric", "index": 6, "name": "interest_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_interest_rate_updated_base_sepolia"}, "model.synthetix.perp_market_created_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_market_created_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"perps_market_id": {"type": "numeric", "index": 1, "name": "perps_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "market_symbol": {"type": "text", "index": 7, "name": "market_symbol", "comment": null}, "market_name": {"type": "text", "index": 8, "name": "market_name", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_market_created_base_sepolia"}, "model.synthetix.perp_market_updated_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_market_updated_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "skew": {"type": "numeric", "index": 9, "name": "skew", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "current_funding_rate": {"type": "numeric", "index": 12, "name": "current_funding_rate", "comment": null}, "current_funding_velocity": {"type": "numeric", "index": 13, "name": "current_funding_velocity", "comment": null}, "interest_rate": {"type": "numeric", "index": 14, "name": "interest_rate", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_market_updated_base_sepolia"}, "model.synthetix.perp_order_committed_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_order_committed_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "commitment_time": {"type": "numeric", "index": 9, "name": "commitment_time", "comment": null}, "expiration_time": {"type": "numeric", "index": 10, "name": "expiration_time", "comment": null}, "settlement_time": {"type": "numeric", "index": 11, "name": "settlement_time", "comment": null}, "expected_price_time": {"type": "numeric", "index": 12, "name": "expected_price_time", "comment": null}, "acceptable_price": {"type": "numeric", "index": 13, "name": "acceptable_price", "comment": null}, "order_type": {"type": "integer", "index": 14, "name": "order_type", "comment": null}, "size_delta": {"type": "numeric", "index": 15, "name": "size_delta", "comment": null}, "sender": {"type": "text", "index": 16, "name": "sender", "comment": null}, "tracking_code": {"type": "text", "index": 17, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_order_committed_base_sepolia"}, "model.synthetix.perp_order_settled_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_order_settled_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "total_fees": {"type": "numeric", "index": 8, "name": "total_fees", "comment": null}, "fill_price": {"type": "numeric", "index": 9, "name": "fill_price", "comment": null}, "settler": {"type": "text", "index": 10, "name": "settler", "comment": null}, "pnl": {"type": "numeric", "index": 11, "name": "pnl", "comment": null}, "accrued_funding": {"type": "numeric", "index": 12, "name": "accrued_funding", "comment": null}, "settlement_reward": {"type": "numeric", "index": 13, "name": "settlement_reward", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "size_delta": {"type": "numeric", "index": 15, "name": "size_delta", "comment": null}, "account_id": {"type": "numeric", "index": 16, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 17, "name": "block_number", "comment": null}, "new_size": {"type": "numeric", "index": 18, "name": "new_size", "comment": null}, "contract": {"type": "text", "index": 19, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_order_settled_base_sepolia"}, "model.synthetix.perp_position_liquidated_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_position_liquidated_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 4, "name": "amount_liquidated", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "current_position_size": {"type": "numeric", "index": 10, "name": "current_position_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_position_liquidated_base_sepolia"}, "model.synthetix.perp_previous_order_expired_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_previous_order_expired_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "acceptable_price": {"type": "numeric", "index": 2, "name": "acceptable_price", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "commitment_time": {"type": "numeric", "index": 8, "name": "commitment_time", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_previous_order_expired_base_sepolia"}, "model.synthetix.spot_order_cancelled_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_order_cancelled_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "async_order_id": {"type": "numeric", "index": 3, "name": "async_order_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 7, "name": "async_order_claim", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_cancelled_base_sepolia"}, "model.synthetix.spot_order_committed_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_order_committed_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "order_type": {"type": "integer", "index": 2, "name": "order_type", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "referrer": {"type": "text", "index": 7, "name": "referrer", "comment": null}, "async_order_id": {"type": "numeric", "index": 8, "name": "async_order_id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "amount_provided": {"type": "numeric", "index": 10, "name": "amount_provided", "comment": null}, "market_id": {"type": "numeric", "index": 11, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 12, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_committed_base_sepolia"}, "model.synthetix.spot_order_settled_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_order_settled_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fees": {"type": "jsonb", "index": 1, "name": "fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 2, "name": "collected_fees", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "order_type": {"type": "integer", "index": 7, "name": "order_type", "comment": null}, "final_order_amount": {"type": "numeric", "index": 8, "name": "final_order_amount", "comment": null}, "settler": {"type": "text", "index": 9, "name": "settler", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "async_order_id": {"type": "numeric", "index": 12, "name": "async_order_id", "comment": null}, "market_id": {"type": "numeric", "index": 13, "name": "market_id", "comment": null}, "price": {"type": "numeric", "index": 14, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_settled_base_sepolia"}, "model.synthetix.spot_synth_bought_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_synth_bought_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collected_fees": {"type": "numeric", "index": 1, "name": "collected_fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 7, "name": "referrer", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "synth_returned": {"type": "numeric", "index": 10, "name": "synth_returned", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_bought_base_sepolia"}, "model.synthetix.spot_synth_registered_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_synth_registered_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "synth_token_address": {"type": "text", "index": 8, "name": "synth_token_address", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_registered_base_sepolia"}, "model.synthetix.spot_synth_sold_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_synth_sold_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "fees": {"type": "jsonb", "index": 2, "name": "fees", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "amount_returned": {"type": "numeric", "index": 7, "name": "amount_returned", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "synth_market_id": {"type": "numeric", "index": 10, "name": "synth_market_id", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "referrer": {"type": "text", "index": 12, "name": "referrer", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_sold_base_sepolia"}, "model.synthetix.spot_synth_unwrapped_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_synth_unwrapped_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "fees_collected": {"type": "numeric", "index": 3, "name": "fees_collected", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 5, "name": "amount_unwrapped", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 10, "name": "synth_market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_unwrapped_base_sepolia"}, "model.synthetix.spot_synth_wrapped_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_synth_wrapped_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fees_collected": {"type": "numeric", "index": 1, "name": "fees_collected", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 9, "name": "amount_wrapped", "comment": null}, "synth_market_id": {"type": "numeric", "index": 10, "name": "synth_market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_wrapped_base_sepolia"}, "seed.synthetix.arbitrum_mainnet_reward_distributors": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "arbitrum_mainnet_reward_distributors", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"distributor_address": {"type": "text", "index": 1, "name": "distributor_address", "comment": null}, "token_symbol": {"type": "text", "index": 2, "name": "token_symbol", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.synthetix.arbitrum_mainnet_reward_distributors"}, "seed.synthetix.arbitrum_mainnet_tokens": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "arbitrum_mainnet_tokens", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"token_address": {"type": "text", "index": 1, "name": "token_address", "comment": null}, "token_symbol": {"type": "text", "index": 2, "name": "token_symbol", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.synthetix.arbitrum_mainnet_tokens"}, "seed.synthetix.arbitrum_sepolia_reward_distributors": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "arbitrum_sepolia_reward_distributors", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"distributor_address": {"type": "integer", "index": 1, "name": "distributor_address", "comment": null}, "token_symbol": {"type": "integer", "index": 2, "name": "token_symbol", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.synthetix.arbitrum_sepolia_reward_distributors"}, "seed.synthetix.arbitrum_sepolia_tokens": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "arbitrum_sepolia_tokens", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"token_address": {"type": "text", "index": 1, "name": "token_address", "comment": null}, "token_symbol": {"type": "text", "index": 2, "name": "token_symbol", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.synthetix.arbitrum_sepolia_tokens"}, "seed.synthetix.base_mainnet_reward_distributors": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "base_mainnet_reward_distributors", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"distributor_address": {"type": "text", "index": 1, "name": "distributor_address", "comment": null}, "token_symbol": {"type": "text", "index": 2, "name": "token_symbol", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.synthetix.base_mainnet_reward_distributors"}, "seed.synthetix.base_mainnet_tokens": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "base_mainnet_tokens", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"token_address": {"type": "text", "index": 1, "name": "token_address", "comment": null}, "token_symbol": {"type": "text", "index": 2, "name": "token_symbol", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.synthetix.base_mainnet_tokens"}, "seed.synthetix.base_sepolia_reward_distributors": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "base_sepolia_reward_distributors", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"distributor_address": {"type": "integer", "index": 1, "name": "distributor_address", "comment": null}, "token_symbol": {"type": "integer", "index": 2, "name": "token_symbol", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.synthetix.base_sepolia_reward_distributors"}, "seed.synthetix.base_sepolia_tokens": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "base_sepolia_tokens", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"token_address": {"type": "text", "index": 1, "name": "token_address", "comment": null}, "token_symbol": {"type": "text", "index": 2, "name": "token_symbol", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.synthetix.base_sepolia_tokens"}}, "sources": {"source.synthetix.raw_arbitrum_mainnet.block": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "block", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"number": {"type": "integer", "index": 1, "name": "number", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "timestamp": {"type": "timestamp with time zone", "index": 3, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.block"}, "source.synthetix.raw_arbitrum_mainnet.blocks_parquet": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "blocks_parquet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "bigint", "index": 1, "name": "timestamp", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.blocks_parquet"}, "source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_get_vault_collateral", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "text", "index": 6, "name": "amount", "comment": null}, "value": {"type": "text", "index": 7, "name": "value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral"}, "source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_get_vault_debt", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "value_1": {"type": "text", "index": 6, "name": "value_1", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_account_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "owner": {"type": "text", "index": 7, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_delegation_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_delegation_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 5, "name": "pool_id", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "leverage": {"type": "numeric", "index": 12, "name": "leverage", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_delegation_updated"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "token_amount": {"type": "numeric", "index": 6, "name": "token_amount", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_deposited"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 5, "name": "liquidation_data", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_id", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 11, "name": "liquidate_as_account_id", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_liquidation"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_collateral_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "credit_capacity": {"type": "numeric", "index": 9, "name": "credit_capacity", "comment": null}, "reported_debt": {"type": "numeric", "index": 10, "name": "reported_debt", "comment": null}, "market_id": {"type": "numeric", "index": 11, "name": "market_id", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 12, "name": "deposited_collateral_value", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "token_amount": {"type": "numeric", "index": 14, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_deposited"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_collateral_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"token_amount": {"type": "numeric", "index": 1, "name": "token_amount", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 2, "name": "deposited_collateral_value", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "credit_capacity": {"type": "numeric", "index": 7, "name": "credit_capacity", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "reported_debt": {"type": "numeric", "index": 11, "name": "reported_debt", "comment": null}, "net_issuance": {"type": "numeric", "index": 12, "name": "net_issuance", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_withdrawn"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "market": {"type": "text", "index": 3, "name": "market", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_usd_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"credit_capacity": {"type": "numeric", "index": 1, "name": "credit_capacity", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "amount": {"type": "numeric", "index": 3, "name": "amount", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "net_issuance": {"type": "numeric", "index": 7, "name": "net_issuance", "comment": null}, "market": {"type": "text", "index": 8, "name": "market", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 10, "name": "deposited_collateral_value", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "target": {"type": "text", "index": 12, "name": "target", "comment": null}, "market_id": {"type": "numeric", "index": 13, "name": "market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_deposited"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_usd_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "net_issuance": {"type": "numeric", "index": 2, "name": "net_issuance", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "market": {"type": "text", "index": 5, "name": "market", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 6, "name": "deposited_collateral_value", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "credit_capacity": {"type": "numeric", "index": 12, "name": "credit_capacity", "comment": null}, "target": {"type": "text", "index": 13, "name": "target", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_withdrawn"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_pool_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "owner": {"type": "text", "index": 6, "name": "owner", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_rewards_claimed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 5, "name": "distributor", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_distributed": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_rewards_distributed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "start": {"type": "numeric", "index": 6, "name": "start", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "duration": {"type": "numeric", "index": 12, "name": "duration", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_distributed"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_burned": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_usd_burned", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_burned"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_usd_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_minted"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_vault_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 2, "name": "liquidation_data", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 7, "name": "liquidate_as_account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "token_amount": {"type": "numeric", "index": 5, "name": "token_amount", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_cancelled": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_order_cancelled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"async_order_id": {"type": "numeric", "index": 1, "name": "async_order_id", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 2, "name": "async_order_claim", "comment": null}, "market_id": {"type": "numeric", "index": 3, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_cancelled"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "amount_provided": {"type": "numeric", "index": 2, "name": "amount_provided", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "async_order_id": {"type": "numeric", "index": 4, "name": "async_order_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "order_type": {"type": "integer", "index": 6, "name": "order_type", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "referrer": {"type": "text", "index": 9, "name": "referrer", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_committed"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_settled": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_order_settled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "order_type": {"type": "integer", "index": 4, "name": "order_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "settler": {"type": "text", "index": 6, "name": "settler", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "fees": {"type": "jsonb", "index": 11, "name": "fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 12, "name": "collected_fees", "comment": null}, "final_order_amount": {"type": "numeric", "index": 13, "name": "final_order_amount", "comment": null}, "async_order_id": {"type": "numeric", "index": 14, "name": "async_order_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_settled"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_bought": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_bought", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"synth_market_id": {"type": "numeric", "index": 1, "name": "synth_market_id", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "synth_returned": {"type": "numeric", "index": 9, "name": "synth_returned", "comment": null}, "referrer": {"type": "text", "index": 10, "name": "referrer", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_bought"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"synth_token_address": {"type": "text", "index": 1, "name": "synth_token_address", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_registered"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_sold": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_sold", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "comment": null}, "referrer": {"type": "text", "index": 4, "name": "referrer", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "collected_fees": {"type": "numeric", "index": 6, "name": "collected_fees", "comment": null}, "amount_returned": {"type": "numeric", "index": 7, "name": "amount_returned", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_sold"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_unwrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_unwrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"synth_market_id": {"type": "numeric", "index": 1, "name": "synth_market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 4, "name": "amount_unwrapped", "comment": null}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fees_collected": {"type": "numeric", "index": 10, "name": "fees_collected", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_unwrapped"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_wrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_wrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "fees_collected": {"type": "numeric", "index": 5, "name": "fees_collected", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 6, "name": "amount_wrapped", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fees": {"type": "jsonb", "index": 9, "name": "fees", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_wrapped"}, "source.synthetix.raw_arbitrum_sepolia.block": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "block", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "timestamp": {"type": "timestamp with time zone", "index": 2, "name": "timestamp", "comment": null}, "number": {"type": "integer", "index": 3, "name": "number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.block"}, "source.synthetix.raw_arbitrum_sepolia.blocks_parquet": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "blocks_parquet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "bigint", "index": 1, "name": "timestamp", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.blocks_parquet"}, "source.synthetix.raw_arbitrum_sepolia.core_get_vault_collateral": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_get_vault_collateral", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "text", "index": 6, "name": "amount", "comment": null}, "value": {"type": "text", "index": 7, "name": "value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_get_vault_collateral"}, "source.synthetix.raw_arbitrum_sepolia.core_get_vault_debt": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_get_vault_debt", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "value_1": {"type": "text", "index": 6, "name": "value_1", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_get_vault_debt"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_account_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 8, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_delegation_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 10, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}, "leverage": {"type": "numeric", "index": 12, "name": "leverage", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_deposited"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 3, "name": "liquidation_data", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 4, "name": "liquidate_as_account_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_liquidation"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_market_collateral_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "net_issuance": {"type": "numeric", "index": 2, "name": "net_issuance", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "credit_capacity": {"type": "numeric", "index": 4, "name": "credit_capacity", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 5, "name": "deposited_collateral_value", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "token_amount": {"type": "numeric", "index": 11, "name": "token_amount", "comment": null}, "market_id": {"type": "numeric", "index": 12, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "reported_debt": {"type": "numeric", "index": 14, "name": "reported_debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_deposited"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_market_collateral_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"credit_capacity": {"type": "numeric", "index": 1, "name": "credit_capacity", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "net_issuance": {"type": "numeric", "index": 3, "name": "net_issuance", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 6, "name": "deposited_collateral_value", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "reported_debt": {"type": "numeric", "index": 9, "name": "reported_debt", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "market_id": {"type": "numeric", "index": 11, "name": "market_id", "comment": null}, "token_amount": {"type": "numeric", "index": 12, "name": "token_amount", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_withdrawn"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_market_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "market": {"type": "text", "index": 6, "name": "market", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_registered"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_market_usd_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target": {"type": "text", "index": 1, "name": "target", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 5, "name": "amount", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "market": {"type": "text", "index": 8, "name": "market", "comment": null}, "net_issuance": {"type": "numeric", "index": 9, "name": "net_issuance", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "credit_capacity": {"type": "numeric", "index": 11, "name": "credit_capacity", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 12, "name": "deposited_collateral_value", "comment": null}, "contract": {"type": "text", "index": 13, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_deposited"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_market_usd_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "target": {"type": "text", "index": 2, "name": "target", "comment": null}, "market_id": {"type": "numeric", "index": 3, "name": "market_id", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "market": {"type": "text", "index": 9, "name": "market", "comment": null}, "net_issuance": {"type": "numeric", "index": 10, "name": "net_issuance", "comment": null}, "credit_capacity": {"type": "numeric", "index": 11, "name": "credit_capacity", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 13, "name": "deposited_collateral_value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_withdrawn"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_pool_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_pool_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 4, "name": "owner", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_pool_created"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_claimed": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_rewards_claimed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_claimed"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_distributed": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_rewards_distributed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "duration": {"type": "numeric", "index": 3, "name": "duration", "comment": null}, "start": {"type": "numeric", "index": 4, "name": "start", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "distributor": {"type": "text", "index": 9, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_distributed"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_burned": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_usd_burned", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_burned"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_usd_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_minted"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_vault_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_vault_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 3, "name": "liquidate_as_account_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 11, "name": "liquidation_data", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_vault_liquidation"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "token_amount": {"type": "numeric", "index": 6, "name": "token_amount", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_withdrawn"}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_cancelled": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_order_cancelled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 5, "name": "async_order_claim", "comment": null}, "async_order_id": {"type": "numeric", "index": 6, "name": "async_order_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_cancelled"}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "amount_provided": {"type": "numeric", "index": 4, "name": "amount_provided", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "order_type": {"type": "integer", "index": 6, "name": "order_type", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "referrer": {"type": "text", "index": 10, "name": "referrer", "comment": null}, "async_order_id": {"type": "numeric", "index": 11, "name": "async_order_id", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_committed"}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_settled": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_order_settled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "order_type": {"type": "integer", "index": 2, "name": "order_type", "comment": null}, "final_order_amount": {"type": "numeric", "index": 3, "name": "final_order_amount", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "async_order_id": {"type": "numeric", "index": 8, "name": "async_order_id", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "settler": {"type": "text", "index": 12, "name": "settler", "comment": null}, "fees": {"type": "jsonb", "index": 13, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_settled"}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_bought": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_synth_bought", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "synth_returned": {"type": "numeric", "index": 2, "name": "synth_returned", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}, "collected_fees": {"type": "numeric", "index": 9, "name": "collected_fees", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_bought"}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_synth_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "synth_token_address": {"type": "text", "index": 3, "name": "synth_token_address", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_registered"}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_sold": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_synth_sold", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "amount_returned": {"type": "numeric", "index": 2, "name": "amount_returned", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_sold"}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_unwrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_synth_unwrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fees_collected": {"type": "numeric", "index": 1, "name": "fees_collected", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 4, "name": "amount_unwrapped", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 9, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_unwrapped"}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_wrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_synth_wrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "fees_collected": {"type": "numeric", "index": 2, "name": "fees_collected", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 5, "name": "amount_wrapped", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_wrapped"}, "source.synthetix.raw_base_mainnet.block": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "block", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "timestamp with time zone", "index": 1, "name": "timestamp", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "number": {"type": "integer", "index": 3, "name": "number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.block"}, "source.synthetix.raw_base_mainnet.blocks_parquet": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "blocks_parquet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "bigint", "index": 1, "name": "timestamp", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.blocks_parquet"}, "source.synthetix.raw_base_mainnet.buyback_snx_event_buyback_processed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "buyback_snx_event_buyback_processed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "snx": {"type": "numeric", "index": 3, "name": "snx", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "usd": {"type": "numeric", "index": 5, "name": "usd", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "buyer": {"type": "text", "index": 8, "name": "buyer", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.buyback_snx_event_buyback_processed"}, "source.synthetix.raw_base_mainnet.buyback_snx_legacy_event_buyback_processed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "buyback_snx_legacy_event_buyback_processed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "snx": {"type": "numeric", "index": 6, "name": "snx", "comment": null}, "buyer": {"type": "text", "index": 7, "name": "buyer", "comment": null}, "usd": {"type": "numeric", "index": 8, "name": "usd", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.buyback_snx_legacy_event_buyback_processed"}, "source.synthetix.raw_base_mainnet.core_get_vault_collateral": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_get_vault_collateral", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "text", "index": 6, "name": "amount", "comment": null}, "value": {"type": "text", "index": 7, "name": "value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_get_vault_collateral"}, "source.synthetix.raw_base_mainnet.core_get_vault_debt": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_get_vault_debt", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "value_1": {"type": "text", "index": 6, "name": "value_1", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_get_vault_debt"}, "source.synthetix.raw_base_mainnet.core_proxy_event_account_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_account_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "owner": {"type": "text", "index": 6, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_account_created"}, "source.synthetix.raw_base_mainnet.core_proxy_event_delegation_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_delegation_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "leverage": {"type": "numeric", "index": 4, "name": "leverage", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 12, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_delegation_updated"}, "source.synthetix.raw_base_mainnet.core_proxy_event_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "token_amount": {"type": "numeric", "index": 8, "name": "token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_deposited"}, "source.synthetix.raw_base_mainnet.core_proxy_event_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 2, "name": "liquidate_as_account_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 8, "name": "liquidation_data", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_liquidation"}, "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_market_collateral_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"net_issuance": {"type": "numeric", "index": 1, "name": "net_issuance", "comment": null}, "token_amount": {"type": "numeric", "index": 2, "name": "token_amount", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "credit_capacity": {"type": "numeric", "index": 5, "name": "credit_capacity", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "reported_debt": {"type": "numeric", "index": 8, "name": "reported_debt", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_deposited"}, "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_market_collateral_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"token_amount": {"type": "numeric", "index": 1, "name": "token_amount", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 3, "name": "credit_capacity", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 4, "name": "deposited_collateral_value", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "market_id": {"type": "numeric", "index": 8, "name": "market_id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "net_issuance": {"type": "numeric", "index": 10, "name": "net_issuance", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "reported_debt": {"type": "numeric", "index": 13, "name": "reported_debt", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_withdrawn"}, "source.synthetix.raw_base_mainnet.core_proxy_event_market_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_market_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "market": {"type": "text", "index": 2, "name": "market", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_market_registered"}, "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_market_usd_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"credit_capacity": {"type": "numeric", "index": 1, "name": "credit_capacity", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "market": {"type": "text", "index": 4, "name": "market", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "net_issuance": {"type": "numeric", "index": 6, "name": "net_issuance", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}, "target": {"type": "text", "index": 8, "name": "target", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 10, "name": "deposited_collateral_value", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "market_id": {"type": "numeric", "index": 12, "name": "market_id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_deposited"}, "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_market_usd_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "net_issuance": {"type": "numeric", "index": 2, "name": "net_issuance", "comment": null}, "credit_capacity": {"type": "numeric", "index": 3, "name": "credit_capacity", "comment": null}, "market": {"type": "text", "index": 4, "name": "market", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "target": {"type": "text", "index": 10, "name": "target", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 12, "name": "amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_withdrawn"}, "source.synthetix.raw_base_mainnet.core_proxy_event_pool_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_pool_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_pool_created"}, "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_claimed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_rewards_claimed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "distributor": {"type": "text", "index": 11, "name": "distributor", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_claimed"}, "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_distributed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_rewards_distributed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 5, "name": "amount", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "duration": {"type": "numeric", "index": 8, "name": "duration", "comment": null}, "start": {"type": "numeric", "index": 9, "name": "start", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 11, "name": "distributor", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_distributed"}, "source.synthetix.raw_base_mainnet.core_proxy_event_usd_burned": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_usd_burned", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 10, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_usd_burned"}, "source.synthetix.raw_base_mainnet.core_proxy_event_usd_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_usd_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_usd_minted"}, "source.synthetix.raw_base_mainnet.core_proxy_event_vault_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_vault_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 5, "name": "liquidation_data", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 9, "name": "liquidate_as_account_id", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_vault_liquidation"}, "source.synthetix.raw_base_mainnet.core_proxy_event_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"token_amount": {"type": "numeric", "index": 1, "name": "token_amount", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_withdrawn"}, "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_legacy_event_market_usd_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market": {"type": "text", "index": 1, "name": "market", "comment": null}, "credit_capacity": {"type": "numeric", "index": 2, "name": "credit_capacity", "comment": null}, "net_issuance": {"type": "numeric", "index": 3, "name": "net_issuance", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "target": {"type": "text", "index": 10, "name": "target", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "reported_debt": {"type": "numeric", "index": 13, "name": "reported_debt", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_deposited"}, "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_legacy_event_market_usd_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "net_issuance": {"type": "numeric", "index": 2, "name": "net_issuance", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 5, "name": "deposited_collateral_value", "comment": null}, "target": {"type": "text", "index": 6, "name": "target", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "market": {"type": "text", "index": 8, "name": "market", "comment": null}, "credit_capacity": {"type": "numeric", "index": 9, "name": "credit_capacity", "comment": null}, "amount": {"type": "numeric", "index": 10, "name": "amount", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "reported_debt": {"type": "numeric", "index": 14, "name": "reported_debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_withdrawn"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_account_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 8, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_created"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_liquidation_attempt": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_account_liquidation_attempt", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "reward": {"type": "numeric", "index": 5, "name": "reward", "comment": null}, "full_liquidation": {"type": "boolean", "index": 6, "name": "full_liquidation", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_liquidation_attempt"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_collateral_modified": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_collateral_modified", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 6, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "amount_delta": {"type": "numeric", "index": 9, "name": "amount_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_collateral_modified"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_charged": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_interest_charged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "interest": {"type": "numeric", "index": 3, "name": "interest", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_charged"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_rate_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_interest_rate_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "interest_rate": {"type": "numeric", "index": 4, "name": "interest_rate", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "super_market_id": {"type": "numeric", "index": 6, "name": "super_market_id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_rate_updated"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_market_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "market_name": {"type": "text", "index": 3, "name": "market_name", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "perps_market_id": {"type": "numeric", "index": 6, "name": "perps_market_id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_created"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_market_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "current_funding_velocity": {"type": "numeric", "index": 3, "name": "current_funding_velocity", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "interest_rate": {"type": "numeric", "index": 9, "name": "interest_rate", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "price": {"type": "numeric", "index": 13, "name": "price", "comment": null}, "current_funding_rate": {"type": "numeric", "index": 14, "name": "current_funding_rate", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_updated"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"expected_price_time": {"type": "numeric", "index": 1, "name": "expected_price_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "settlement_time": {"type": "numeric", "index": 6, "name": "settlement_time", "comment": null}, "expiration_time": {"type": "numeric", "index": 7, "name": "expiration_time", "comment": null}, "commitment_time": {"type": "numeric", "index": 8, "name": "commitment_time", "comment": null}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "account_id": {"type": "numeric", "index": 11, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}, "acceptable_price": {"type": "numeric", "index": 16, "name": "acceptable_price", "comment": null}, "order_type": {"type": "integer", "index": 17, "name": "order_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_committed"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_settled": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_order_settled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "settlement_reward": {"type": "numeric", "index": 3, "name": "settlement_reward", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "total_fees": {"type": "numeric", "index": 6, "name": "total_fees", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "accrued_funding": {"type": "numeric", "index": 8, "name": "accrued_funding", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "referral_fees": {"type": "numeric", "index": 10, "name": "referral_fees", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "settler": {"type": "text", "index": 12, "name": "settler", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "fill_price": {"type": "numeric", "index": 14, "name": "fill_price", "comment": null}, "new_size": {"type": "numeric", "index": 15, "name": "new_size", "comment": null}, "pnl": {"type": "numeric", "index": 16, "name": "pnl", "comment": null}, "collected_fees": {"type": "numeric", "index": 17, "name": "collected_fees", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 18, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 19, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_settled"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_position_liquidated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_position_liquidated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"amount_liquidated": {"type": "numeric", "index": 1, "name": "amount_liquidated", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "current_position_size": {"type": "numeric", "index": 8, "name": "current_position_size", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_position_liquidated"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_previous_order_expired": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_previous_order_expired", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "acceptable_price": {"type": "numeric", "index": 2, "name": "acceptable_price", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "commitment_time": {"type": "numeric", "index": 4, "name": "commitment_time", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "account_id": {"type": "numeric", "index": 10, "name": "account_id", "comment": null}, "market_id": {"type": "numeric", "index": 11, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_previous_order_expired"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_market_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_legacy_event_market_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "skew": {"type": "numeric", "index": 3, "name": "skew", "comment": null}, "current_funding_rate": {"type": "numeric", "index": 4, "name": "current_funding_rate", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "current_funding_velocity": {"type": "numeric", "index": 10, "name": "current_funding_velocity", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_market_updated"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_legacy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "commitment_time": {"type": "numeric", "index": 4, "name": "commitment_time", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "expiration_time": {"type": "numeric", "index": 6, "name": "expiration_time", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 10, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "settlement_time": {"type": "numeric", "index": 13, "name": "settlement_time", "comment": null}, "order_type": {"type": "integer", "index": 14, "name": "order_type", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}, "acceptable_price": {"type": "numeric", "index": 16, "name": "acceptable_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_order_committed"}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_cancelled": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_order_cancelled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "async_order_id": {"type": "numeric", "index": 2, "name": "async_order_id", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 9, "name": "async_order_claim", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_cancelled"}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "async_order_id": {"type": "numeric", "index": 7, "name": "async_order_id", "comment": null}, "order_type": {"type": "integer", "index": 8, "name": "order_type", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "amount_provided": {"type": "numeric", "index": 10, "name": "amount_provided", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "referrer": {"type": "text", "index": 12, "name": "referrer", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_committed"}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_settled": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_order_settled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "final_order_amount": {"type": "numeric", "index": 2, "name": "final_order_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "async_order_id": {"type": "numeric", "index": 6, "name": "async_order_id", "comment": null}, "fees": {"type": "jsonb", "index": 7, "name": "fees", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "settler": {"type": "text", "index": 11, "name": "settler", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 13, "name": "contract", "comment": null}, "order_type": {"type": "integer", "index": 14, "name": "order_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_settled"}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_bought": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_synth_bought", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "collected_fees": {"type": "numeric", "index": 10, "name": "collected_fees", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "synth_returned": {"type": "numeric", "index": 12, "name": "synth_returned", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_bought"}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_synth_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "synth_token_address": {"type": "text", "index": 5, "name": "synth_token_address", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_registered"}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_sold": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_synth_sold", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"referrer": {"type": "text", "index": 1, "name": "referrer", "comment": null}, "fees": {"type": "jsonb", "index": 2, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "amount_returned": {"type": "numeric", "index": 7, "name": "amount_returned", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "collected_fees": {"type": "numeric", "index": 10, "name": "collected_fees", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_sold"}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_unwrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_synth_unwrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 6, "name": "amount_unwrapped", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fees_collected": {"type": "numeric", "index": 9, "name": "fees_collected", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_unwrapped"}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_wrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_synth_wrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"amount_wrapped": {"type": "numeric", "index": 1, "name": "amount_wrapped", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "fees_collected": {"type": "numeric", "index": 6, "name": "fees_collected", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_wrapped"}, "source.synthetix.raw_base_sepolia.block": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "block", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"number": {"type": "integer", "index": 1, "name": "number", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "timestamp": {"type": "timestamp with time zone", "index": 3, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.block"}, "source.synthetix.raw_base_sepolia.blocks_parquet": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "blocks_parquet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "bigint", "index": 1, "name": "timestamp", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.blocks_parquet"}, "source.synthetix.raw_base_sepolia.buyback_snx_event_buyback_processed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "buyback_snx_event_buyback_processed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "usd": {"type": "numeric", "index": 2, "name": "usd", "comment": null}, "buyer": {"type": "text", "index": 3, "name": "buyer", "comment": null}, "snx": {"type": "numeric", "index": 4, "name": "snx", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.buyback_snx_event_buyback_processed"}, "source.synthetix.raw_base_sepolia.core_get_vault_collateral": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_get_vault_collateral", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "text", "index": 6, "name": "amount", "comment": null}, "value": {"type": "text", "index": 7, "name": "value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_get_vault_collateral"}, "source.synthetix.raw_base_sepolia.core_get_vault_debt": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_get_vault_debt", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "value_1": {"type": "text", "index": 6, "name": "value_1", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_get_vault_debt"}, "source.synthetix.raw_base_sepolia.core_proxy_event_account_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_account_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_account_created"}, "source.synthetix.raw_base_sepolia.core_proxy_event_delegation_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_delegation_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "leverage": {"type": "numeric", "index": 5, "name": "leverage", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 12, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_delegation_updated"}, "source.synthetix.raw_base_sepolia.core_proxy_event_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_deposited"}, "source.synthetix.raw_base_sepolia.core_proxy_event_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 8, "name": "liquidation_data", "comment": null}, "pool_id": {"type": "numeric", "index": 9, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 11, "name": "liquidate_as_account_id", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_liquidation"}, "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_market_collateral_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "credit_capacity": {"type": "numeric", "index": 2, "name": "credit_capacity", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 3, "name": "deposited_collateral_value", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "reported_debt": {"type": "numeric", "index": 6, "name": "reported_debt", "comment": null}, "net_issuance": {"type": "numeric", "index": 7, "name": "net_issuance", "comment": null}, "token_amount": {"type": "numeric", "index": 8, "name": "token_amount", "comment": null}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_deposited"}, "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_market_collateral_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"reported_debt": {"type": "numeric", "index": 1, "name": "reported_debt", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "market_id": {"type": "numeric", "index": 3, "name": "market_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 6, "name": "deposited_collateral_value", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}, "credit_capacity": {"type": "numeric", "index": 10, "name": "credit_capacity", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "net_issuance": {"type": "numeric", "index": 12, "name": "net_issuance", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 14, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_withdrawn"}, "source.synthetix.raw_base_sepolia.core_proxy_event_market_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_market_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "market": {"type": "text", "index": 2, "name": "market", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_market_registered"}, "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_market_usd_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "net_issuance": {"type": "numeric", "index": 3, "name": "net_issuance", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "market": {"type": "text", "index": 5, "name": "market", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "credit_capacity": {"type": "numeric", "index": 7, "name": "credit_capacity", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 8, "name": "deposited_collateral_value", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "target": {"type": "text", "index": 10, "name": "target", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 12, "name": "market_id", "comment": null}, "amount": {"type": "numeric", "index": 13, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_deposited"}, "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_market_usd_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"credit_capacity": {"type": "numeric", "index": 1, "name": "credit_capacity", "comment": null}, "net_issuance": {"type": "numeric", "index": 2, "name": "net_issuance", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 4, "name": "deposited_collateral_value", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "target": {"type": "text", "index": 7, "name": "target", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market": {"type": "text", "index": 9, "name": "market", "comment": null}, "amount": {"type": "numeric", "index": 10, "name": "amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_withdrawn"}, "source.synthetix.raw_base_sepolia.core_proxy_event_pool_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_pool_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_pool_created"}, "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_claimed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_rewards_claimed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 6, "name": "distributor", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_claimed"}, "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_distributed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_rewards_distributed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"start": {"type": "numeric", "index": 1, "name": "start", "comment": null}, "duration": {"type": "numeric", "index": 2, "name": "duration", "comment": null}, "amount": {"type": "numeric", "index": 3, "name": "amount", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 6, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 12, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_distributed"}, "source.synthetix.raw_base_sepolia.core_proxy_event_usd_burned": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_usd_burned", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_usd_burned"}, "source.synthetix.raw_base_sepolia.core_proxy_event_usd_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_usd_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_usd_minted"}, "source.synthetix.raw_base_sepolia.core_proxy_event_vault_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_vault_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 3, "name": "liquidation_data", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 8, "name": "liquidate_as_account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 9, "name": "pool_id", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_vault_liquidation"}, "source.synthetix.raw_base_sepolia.core_proxy_event_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "token_amount": {"type": "numeric", "index": 4, "name": "token_amount", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_withdrawn"}, "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_legacy_event_market_usd_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "target": {"type": "text", "index": 2, "name": "target", "comment": null}, "reported_debt": {"type": "numeric", "index": 3, "name": "reported_debt", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "market": {"type": "text", "index": 6, "name": "market", "comment": null}, "net_issuance": {"type": "numeric", "index": 7, "name": "net_issuance", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "credit_capacity": {"type": "numeric", "index": 9, "name": "credit_capacity", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 13, "name": "deposited_collateral_value", "comment": null}, "market_id": {"type": "numeric", "index": 14, "name": "market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_deposited"}, "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_legacy_event_market_usd_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "net_issuance": {"type": "numeric", "index": 4, "name": "net_issuance", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "target": {"type": "text", "index": 6, "name": "target", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "credit_capacity": {"type": "numeric", "index": 8, "name": "credit_capacity", "comment": null}, "market": {"type": "text", "index": 9, "name": "market", "comment": null}, "reported_debt": {"type": "numeric", "index": 10, "name": "reported_debt", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "amount": {"type": "numeric", "index": 12, "name": "amount", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 14, "name": "deposited_collateral_value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_withdrawn"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_account_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "owner": {"type": "text", "index": 5, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_created"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_liquidation_attempt": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_account_liquidation_attempt", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "reward": {"type": "numeric", "index": 5, "name": "reward", "comment": null}, "full_liquidation": {"type": "boolean", "index": 6, "name": "full_liquidation", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_liquidation_attempt"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_collateral_modified": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_collateral_modified", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 8, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "amount_delta": {"type": "numeric", "index": 10, "name": "amount_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_collateral_modified"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_charged": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_interest_charged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "interest": {"type": "numeric", "index": 5, "name": "interest", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_charged"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_rate_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_interest_rate_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "super_market_id": {"type": "numeric", "index": 2, "name": "super_market_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "interest_rate": {"type": "numeric", "index": 6, "name": "interest_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_rate_updated"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_market_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"perps_market_id": {"type": "numeric", "index": 1, "name": "perps_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "market_symbol": {"type": "text", "index": 7, "name": "market_symbol", "comment": null}, "market_name": {"type": "text", "index": 8, "name": "market_name", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_created"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_market_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "current_funding_velocity": {"type": "numeric", "index": 2, "name": "current_funding_velocity", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "current_funding_rate": {"type": "numeric", "index": 7, "name": "current_funding_rate", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "interest_rate": {"type": "numeric", "index": 12, "name": "interest_rate", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_updated"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "order_type": {"type": "integer", "index": 9, "name": "order_type", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "expiration_time": {"type": "numeric", "index": 11, "name": "expiration_time", "comment": null}, "commitment_time": {"type": "numeric", "index": 12, "name": "commitment_time", "comment": null}, "expected_price_time": {"type": "numeric", "index": 13, "name": "expected_price_time", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}, "settlement_time": {"type": "numeric", "index": 15, "name": "settlement_time", "comment": null}, "acceptable_price": {"type": "numeric", "index": 16, "name": "acceptable_price", "comment": null}, "sender": {"type": "text", "index": 17, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_committed"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_settled": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_order_settled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "total_fees": {"type": "numeric", "index": 8, "name": "total_fees", "comment": null}, "fill_price": {"type": "numeric", "index": 9, "name": "fill_price", "comment": null}, "settler": {"type": "text", "index": 10, "name": "settler", "comment": null}, "pnl": {"type": "numeric", "index": 11, "name": "pnl", "comment": null}, "accrued_funding": {"type": "numeric", "index": 12, "name": "accrued_funding", "comment": null}, "settlement_reward": {"type": "numeric", "index": 13, "name": "settlement_reward", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "size_delta": {"type": "numeric", "index": 15, "name": "size_delta", "comment": null}, "account_id": {"type": "numeric", "index": 16, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 17, "name": "block_number", "comment": null}, "new_size": {"type": "numeric", "index": 18, "name": "new_size", "comment": null}, "contract": {"type": "text", "index": 19, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_settled"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_position_liquidated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_position_liquidated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 4, "name": "amount_liquidated", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "current_position_size": {"type": "numeric", "index": 10, "name": "current_position_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_position_liquidated"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_previous_order_expired": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_previous_order_expired", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "acceptable_price": {"type": "numeric", "index": 2, "name": "acceptable_price", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "commitment_time": {"type": "numeric", "index": 8, "name": "commitment_time", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_previous_order_expired"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_market_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_legacy_event_market_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 3, "name": "skew", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "current_funding_velocity": {"type": "numeric", "index": 5, "name": "current_funding_velocity", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "current_funding_rate": {"type": "numeric", "index": 11, "name": "current_funding_rate", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 13, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_market_updated"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_legacy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "expiration_time": {"type": "numeric", "index": 7, "name": "expiration_time", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "settlement_time": {"type": "numeric", "index": 10, "name": "settlement_time", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "acceptable_price": {"type": "numeric", "index": 12, "name": "acceptable_price", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "order_type": {"type": "integer", "index": 14, "name": "order_type", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}, "commitment_time": {"type": "numeric", "index": 16, "name": "commitment_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_order_committed"}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_cancelled": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_order_cancelled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "async_order_id": {"type": "numeric", "index": 3, "name": "async_order_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 7, "name": "async_order_claim", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_cancelled"}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "order_type": {"type": "integer", "index": 2, "name": "order_type", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "referrer": {"type": "text", "index": 7, "name": "referrer", "comment": null}, "async_order_id": {"type": "numeric", "index": 8, "name": "async_order_id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "amount_provided": {"type": "numeric", "index": 10, "name": "amount_provided", "comment": null}, "market_id": {"type": "numeric", "index": 11, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 12, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_committed"}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_settled": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_order_settled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fees": {"type": "jsonb", "index": 1, "name": "fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 2, "name": "collected_fees", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "order_type": {"type": "integer", "index": 7, "name": "order_type", "comment": null}, "final_order_amount": {"type": "numeric", "index": 8, "name": "final_order_amount", "comment": null}, "settler": {"type": "text", "index": 9, "name": "settler", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "async_order_id": {"type": "numeric", "index": 12, "name": "async_order_id", "comment": null}, "market_id": {"type": "numeric", "index": 13, "name": "market_id", "comment": null}, "price": {"type": "numeric", "index": 14, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_settled"}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_bought": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_synth_bought", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collected_fees": {"type": "numeric", "index": 1, "name": "collected_fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 7, "name": "referrer", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "synth_returned": {"type": "numeric", "index": 10, "name": "synth_returned", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_bought"}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_synth_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "synth_token_address": {"type": "text", "index": 8, "name": "synth_token_address", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_registered"}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_sold": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_synth_sold", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "fees": {"type": "jsonb", "index": 2, "name": "fees", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "amount_returned": {"type": "numeric", "index": 7, "name": "amount_returned", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "synth_market_id": {"type": "numeric", "index": 10, "name": "synth_market_id", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "referrer": {"type": "text", "index": 12, "name": "referrer", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_sold"}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_unwrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_synth_unwrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "fees_collected": {"type": "numeric", "index": 3, "name": "fees_collected", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 5, "name": "amount_unwrapped", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 10, "name": "synth_market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_unwrapped"}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_wrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_synth_wrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fees_collected": {"type": "numeric", "index": 1, "name": "fees_collected", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 9, "name": "amount_wrapped", "comment": null}, "synth_market_id": {"type": "numeric", "index": 10, "name": "synth_market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_wrapped"}, "source.synthetix.raw_optimism_mainnet.block": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "block", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "timestamp with time zone", "index": 1, "name": "timestamp", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "number": {"type": "integer", "index": 3, "name": "number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.block"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_account_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_account_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "owner": {"type": "text", "index": 3, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_account_created"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_delegation_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_delegation_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "leverage": {"type": "numeric", "index": 3, "name": "leverage", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 11, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_delegation_updated"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "token_amount": {"type": "numeric", "index": 3, "name": "token_amount", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_deposited"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 4, "name": "liquidate_as_account_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 6, "name": "liquidation_data", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_liquidation"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_market_collateral_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "token_amount": {"type": "numeric", "index": 3, "name": "token_amount", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_deposited"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_market_collateral_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "token_amount": {"type": "numeric", "index": 2, "name": "token_amount", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_withdrawn"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_market_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "market": {"type": "text", "index": 4, "name": "market", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_registered"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_pool_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_pool_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "owner": {"type": "text", "index": 5, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_pool_created"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_claimed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_rewards_claimed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "distributor": {"type": "text", "index": 7, "name": "distributor", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_claimed"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_distributed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_rewards_distributed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "duration": {"type": "numeric", "index": 7, "name": "duration", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "distributor": {"type": "text", "index": 9, "name": "distributor", "comment": null}, "start": {"type": "numeric", "index": 10, "name": "start", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "amount": {"type": "numeric", "index": 12, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_distributed"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_burned": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_usd_burned", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_burned"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_usd_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "amount": {"type": "numeric", "index": 10, "name": "amount", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_minted"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_vault_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_vault_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 9, "name": "liquidation_data", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 11, "name": "liquidate_as_account_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_vault_liquidation"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "token_amount": {"type": "numeric", "index": 2, "name": "token_amount", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_withdrawn"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "intention_time": {"type": "numeric", "index": 3, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 15, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 4, "name": "index", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 8, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 3, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 5, "name": "market_key", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 9, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 6, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 13, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 15, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 7, "name": "trade_size", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 7, "name": "funding", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 10, "name": "funding_rate", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "flagger": {"type": "text", "index": 7, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "flagger_fee": {"type": "numeric", "index": 8, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 13, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 2, "name": "skew", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 15, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "current_round_id": {"type": "numeric", "index": 8, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "intention_time": {"type": "numeric", "index": 3, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 7, "name": "target_round_id", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 15, "name": "is_offchain", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 14, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 8, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 13, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 15, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "funding": {"type": "numeric", "index": 8, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"margin_delta": {"type": "numeric", "index": 1, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"current_round_id": {"type": "numeric", "index": 1, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 7, "name": "target_round_id", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 15, "name": "is_offchain", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding": {"type": "numeric", "index": 1, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 4, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 10, "name": "index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 7, "name": "stakers_fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 7, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 15, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 3, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 6, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 7, "name": "target_round_id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 12, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 6, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "market_key": {"type": "text", "index": 2, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 11, "name": "base_asset", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 3, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "target_round_id": {"type": "numeric", "index": 8, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 9, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 10, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 13, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"margin_delta": {"type": "numeric", "index": 1, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "flagger_fee": {"type": "numeric", "index": 8, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 13, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"skew": {"type": "numeric", "index": 1, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 15, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "target_round_id": {"type": "numeric", "index": 8, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 9, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "flagger": {"type": "text", "index": 7, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 3, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "stakers_fee": {"type": "numeric", "index": 8, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 7, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 15, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 3, "name": "funding_rate", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "index": {"type": "numeric", "index": 7, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 11, "name": "base_asset", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 10, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 10, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 13, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "funding": {"type": "numeric", "index": 8, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 13, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 14, "name": "liquidator", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 5, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 2, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 13, "name": "stakers_fee", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "margin": {"type": "numeric", "index": 8, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"keeper_deposit": {"type": "numeric", "index": 1, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 3, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 10, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 14, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 15, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin_delta": {"type": "numeric", "index": 3, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator": {"type": "text", "index": 1, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 6, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 12, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 6, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 7, "name": "margin", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 15, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_key": {"type": "text", "index": 1, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 8, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 7, "name": "stakers_fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 2, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 15, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"intention_time": {"type": "numeric", "index": 1, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 6, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 14, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 15, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset": {"type": "text", "index": 1, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 8, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 9, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 10, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 6, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 13, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 15, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 6, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 7, "name": "margin", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 7, "name": "intention_time", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_rate": {"type": "numeric", "index": 1, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "funding": {"type": "numeric", "index": 4, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 6, "name": "margin_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 2, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 5, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 14, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 8, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 7, "name": "current_round_id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 12, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 3, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 5, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 6, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 15, "name": "keeper_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 14, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 5, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 13, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 14, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 7, "name": "intention_time", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_key": {"type": "text", "index": 1, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 8, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator": {"type": "text", "index": 1, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 6, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 13, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 8, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 9, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 6, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 2, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 2, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 12, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 5, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 8, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 7, "name": "target_round_id", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 15, "name": "is_offchain", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding": {"type": "numeric", "index": 1, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 4, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 10, "name": "index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 4, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 10, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 13, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 7, "name": "current_round_id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 12, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger": {"type": "text", "index": 1, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"trade_size": {"type": "numeric", "index": 1, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 5, "name": "current_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 2, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 5, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 6, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 15, "name": "keeper_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 8, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 2, "name": "skew", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 15, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 15, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"index": {"type": "numeric", "index": 1, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 7, "name": "funding_rate", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 10, "name": "funding", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 11, "name": "base_asset", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 6, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 3, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 8, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 15, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 3, "name": "funding", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "margin_delta": {"type": "numeric", "index": 6, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator_fee": {"type": "numeric", "index": 1, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 12, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 12, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 2, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 5, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "skew": {"type": "numeric", "index": 11, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 15, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "current_round_id": {"type": "numeric", "index": 10, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"margin_delta": {"type": "numeric", "index": 1, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 9, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 7, "name": "liquidator", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "price": {"type": "numeric", "index": 7, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 2, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 5, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "skew": {"type": "numeric", "index": 11, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 15, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"skew": {"type": "numeric", "index": 1, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 15, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 5, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 5, "name": "current_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "commit_deposit": {"type": "numeric", "index": 3, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 6, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding": {"type": "numeric", "index": 1, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 4, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 10, "name": "index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 3, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 4, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 11, "name": "market_key", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 4, "name": "flagger", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 2, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 15, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 10, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 15, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 13, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 14, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator": {"type": "text", "index": 1, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"skew": {"type": "numeric", "index": 1, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 15, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 14, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 15, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 4, "name": "index", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 8, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 7, "name": "liquidator", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 10, "name": "stakers_fee", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 14, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 6, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 7, "name": "margin", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 7, "name": "intention_time", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 11, "name": "base_asset", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator_fee": {"type": "numeric", "index": 1, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 3, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 5, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 6, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 5, "name": "current_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 10, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 14, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 15, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "margin_delta": {"type": "numeric", "index": 6, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 6, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 7, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 15, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"intention_time": {"type": "numeric", "index": 1, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 6, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 15, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 3, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "flagger_fee": {"type": "numeric", "index": 8, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 13, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 8, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 3, "name": "funding", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 3, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 7, "name": "trade_size", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 11, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 8, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 9, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "target_round_id": {"type": "numeric", "index": 8, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 9, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 3, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 5, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 6, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 15, "name": "keeper_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 3, "name": "funding_rate", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "index": {"type": "numeric", "index": 7, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"margin_delta": {"type": "numeric", "index": 1, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 4, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "flagger_fee": {"type": "numeric", "index": 8, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 14, "name": "liquidator_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 15, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "commit_deposit": {"type": "numeric", "index": 3, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 4, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 11, "name": "market_key", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 8, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 9, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 8, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 5, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 10, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 13, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 4, "name": "index", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 8, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 9, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "flagger": {"type": "text", "index": 7, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 10, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 13, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 15, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"trade_size": {"type": "numeric", "index": 1, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 14, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 15, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 3, "name": "funding_rate", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "index": {"type": "numeric", "index": 7, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 6, "name": "margin_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 3, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator_fee": {"type": "numeric", "index": 1, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 2, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 15, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 14, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 9, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 10, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 4, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "flagger_fee": {"type": "numeric", "index": 8, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 14, "name": "liquidator_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 14, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 15, "name": "trade_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"current_round_id": {"type": "numeric", "index": 1, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"margin_delta": {"type": "numeric", "index": 1, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "stakers_fee": {"type": "numeric", "index": 4, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 8, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 13, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 6, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "intention_time": {"type": "numeric", "index": 3, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 15, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 7, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 15, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 5, "name": "current_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 4, "name": "index", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 8, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "flagger": {"type": "text", "index": 7, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 9, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 15, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 4, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator_fee": {"type": "numeric", "index": 1, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 9, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 3, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "market_key": {"type": "text", "index": 7, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 7, "name": "price", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"trade_size": {"type": "numeric", "index": 1, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 15, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "intention_time": {"type": "numeric", "index": 9, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin_delta": {"type": "numeric", "index": 3, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 3, "name": "stakers_fee", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 13, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 14, "name": "liquidator", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator": {"type": "text", "index": 1, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "margin": {"type": "numeric", "index": 8, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 7, "name": "funding", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 10, "name": "funding_rate", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 6, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 12, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "price": {"type": "numeric", "index": 7, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 9, "name": "skew", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 15, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 3, "name": "current_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 10, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 14, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 15, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 3, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 4, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "flagger_fee": {"type": "numeric", "index": 8, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 12, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 14, "name": "liquidator_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "margin": {"type": "numeric", "index": 8, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 10, "name": "executable_at_time", "comment": null}, "commit_deposit": {"type": "numeric", "index": 11, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "intention_time": {"type": "numeric", "index": 13, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding": {"type": "numeric", "index": 1, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 4, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 10, "name": "index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 4, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "flagger_fee": {"type": "numeric", "index": 8, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 14, "name": "liquidator_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "funding_index": {"type": "numeric", "index": 9, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 15, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 7, "name": "current_round_id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 12, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 6, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 8, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 13, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 14, "name": "keeper_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 2, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 6, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 15, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 4, "name": "index", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 8, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 7, "name": "price", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 15, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 8, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 15, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "flagger": {"type": "text", "index": 7, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 6, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 12, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"trade_size": {"type": "numeric", "index": 1, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 15, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "current_round_id": {"type": "numeric", "index": 8, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 15, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "funding": {"type": "numeric", "index": 8, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "margin_delta": {"type": "numeric", "index": 6, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 4, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 8, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 6, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 7, "name": "margin", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 11, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 8, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"keeper_deposit": {"type": "numeric", "index": 1, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 3, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset": {"type": "text", "index": 1, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 8, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 6, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 7, "name": "margin", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 14, "name": "keeper_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 10, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 13, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 2, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 6, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 14, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 15, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 4, "name": "flagger", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 3, "name": "stakers_fee", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 13, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 14, "name": "liquidator", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "margin": {"type": "numeric", "index": 8, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 10, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 8, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 9, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 9, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 15, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 5, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 15, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 3, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 14, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 14, "name": "keeper_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "commit_deposit": {"type": "numeric", "index": 3, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 2, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "funding_index": {"type": "numeric", "index": 9, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 15, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 5, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 13, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 14, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 6, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "funding": {"type": "numeric", "index": 8, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 3, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "market_key": {"type": "text", "index": 7, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator_fee": {"type": "numeric", "index": 1, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"trade_size": {"type": "numeric", "index": 1, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "intention_time": {"type": "numeric", "index": 9, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 3, "name": "funding", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin_delta": {"type": "numeric", "index": 3, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 11, "name": "base_asset", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 13, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 14, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 9, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 15, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"trade_size": {"type": "numeric", "index": 1, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "current_round_id": {"type": "numeric", "index": 8, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 10, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_rate": {"type": "numeric", "index": 1, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "funding": {"type": "numeric", "index": 4, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 3, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 8, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 5, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 14, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 15, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 2, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 3, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "stakers_fee": {"type": "numeric", "index": 8, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 10, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 15, "name": "intention_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 3, "name": "funding_rate", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "index": {"type": "numeric", "index": 7, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 11, "name": "base_asset", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 10, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 2, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 15, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "current_round_id": {"type": "numeric", "index": 8, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"index": {"type": "numeric", "index": 1, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 7, "name": "funding_rate", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 10, "name": "funding", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin_delta": {"type": "numeric", "index": 3, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_key": {"type": "text", "index": 1, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 8, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 2, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 12, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 5, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "skew": {"type": "numeric", "index": 11, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 15, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 14, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 5, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "intention_time": {"type": "numeric", "index": 9, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 7, "name": "stakers_fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 5, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 14, "name": "current_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 9, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 2, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 12, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 12, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "current_round_id": {"type": "numeric", "index": 3, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 14, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 15, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 3, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "flagger_fee": {"type": "numeric", "index": 8, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 13, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"skew": {"type": "numeric", "index": 1, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 15, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "intention_time": {"type": "numeric", "index": 9, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 6, "name": "margin_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 2, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 5, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "target_round_id": {"type": "numeric", "index": 8, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 9, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 7, "name": "stakers_fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator": {"type": "text", "index": 1, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 14, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 15, "name": "trade_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 5, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 9, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 15, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"index": {"type": "numeric", "index": 1, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 7, "name": "funding_rate", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 10, "name": "funding", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 3, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 4, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 11, "name": "market_key", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 8, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"skew": {"type": "numeric", "index": 1, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 15, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 14, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 15, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 8, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 9, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"margin": {"type": "numeric", "index": 1, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 2, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 15, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 10, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 9, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 7, "name": "trade_size", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 11, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 5, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"keeper_deposit": {"type": "numeric", "index": 1, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 10, "name": "executable_at_time", "comment": null}, "commit_deposit": {"type": "numeric", "index": 11, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "intention_time": {"type": "numeric", "index": 13, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "margin_delta": {"type": "numeric", "index": 6, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 2, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 12, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator": {"type": "text", "index": 1, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 15, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "market_key": {"type": "text", "index": 2, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 11, "name": "base_asset", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 7, "name": "stakers_fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 14, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 8, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 13, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 5, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 14, "name": "current_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "flagger": {"type": "text", "index": 7, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 5, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 6, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 13, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "funding_index": {"type": "numeric", "index": 9, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 15, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 2, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 5, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "intention_time": {"type": "numeric", "index": 3, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 7, "name": "target_round_id", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 15, "name": "is_offchain", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"index": {"type": "numeric", "index": 1, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 7, "name": "funding_rate", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 10, "name": "funding", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"margin_delta": {"type": "numeric", "index": 1, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "market_key": {"type": "text", "index": 2, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 11, "name": "base_asset", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 6, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator": {"type": "text", "index": 1, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 5, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 14, "name": "current_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 6, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger": {"type": "text", "index": 1, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 8, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 9, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 12, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 14, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 14, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 15, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 6, "name": "margin_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 4, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator_fee": {"type": "numeric", "index": 1, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 2, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 15, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 8, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 4, "name": "flagger", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 2, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 13, "name": "stakers_fee", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 7, "name": "trade_size", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 11, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 10, "name": "current_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 4, "name": "index", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 8, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 3, "name": "stakers_fee", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 13, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 14, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 7, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 15, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "current_round_id": {"type": "numeric", "index": 10, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 10, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 9, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 10, "name": "executable_at_time", "comment": null}, "commit_deposit": {"type": "numeric", "index": 11, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "intention_time": {"type": "numeric", "index": 13, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 3, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "market_key": {"type": "text", "index": 7, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 8, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 3, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 5, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 6, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 2, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 5, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 13, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 6, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 3, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 4, "name": "flagger", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 6, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 14, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "flagger": {"type": "text", "index": 7, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 7, "name": "price", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 6, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 7, "name": "margin", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 11, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "current_round_id": {"type": "numeric", "index": 3, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 4, "name": "index", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 8, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset": {"type": "text", "index": 1, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 4, "name": "flagger", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "stakers_fee": {"type": "numeric", "index": 4, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 8, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"skew": {"type": "numeric", "index": 1, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 15, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 8, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 13, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 3, "name": "current_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 7, "name": "funding", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 10, "name": "funding_rate", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 13, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 14, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"trade_size": {"type": "numeric", "index": 1, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 15, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 10, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 10, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 3, "name": "funding", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 10, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 7, "name": "trade_size", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 14, "name": "keeper_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"keeper_deposit": {"type": "numeric", "index": 1, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 10, "name": "executable_at_time", "comment": null}, "commit_deposit": {"type": "numeric", "index": 11, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 14, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 7, "name": "funding", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 10, "name": "funding_rate", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 7, "name": "stakers_fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 3, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 13, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 4, "name": "index", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 8, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 5, "name": "market_key", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 9, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 13, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 14, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"skew": {"type": "numeric", "index": 1, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 15, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "target_round_id": {"type": "numeric", "index": 8, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 9, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 15, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding": {"type": "numeric", "index": 1, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 4, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 10, "name": "index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 2, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator_fee": {"type": "numeric", "index": 1, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"margin": {"type": "numeric", "index": 1, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 2, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 15, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 8, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 9, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_cancelled": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_order_cancelled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 2, "name": "async_order_claim", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "async_order_id": {"type": "numeric", "index": 6, "name": "async_order_id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_cancelled"}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"async_order_id": {"type": "numeric", "index": 1, "name": "async_order_id", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "amount_provided": {"type": "numeric", "index": 3, "name": "amount_provided", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "referrer": {"type": "text", "index": 6, "name": "referrer", "comment": null}, "order_type": {"type": "integer", "index": 7, "name": "order_type", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_committed"}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_settled": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_order_settled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "fees": {"type": "jsonb", "index": 2, "name": "fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 3, "name": "collected_fees", "comment": null}, "final_order_amount": {"type": "numeric", "index": 4, "name": "final_order_amount", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "settler": {"type": "text", "index": 7, "name": "settler", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "async_order_id": {"type": "numeric", "index": 9, "name": "async_order_id", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "order_type": {"type": "integer", "index": 11, "name": "order_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "market_id": {"type": "numeric", "index": 13, "name": "market_id", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_settled"}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_bought": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_synth_bought", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "synth_returned": {"type": "numeric", "index": 2, "name": "synth_returned", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "collected_fees": {"type": "numeric", "index": 7, "name": "collected_fees", "comment": null}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "referrer": {"type": "text", "index": 9, "name": "referrer", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 12, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_bought"}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_synth_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "synth_token_address": {"type": "text", "index": 2, "name": "synth_token_address", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_registered"}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_sold": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_synth_sold", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "collected_fees": {"type": "numeric", "index": 3, "name": "collected_fees", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "referrer": {"type": "text", "index": 6, "name": "referrer", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "amount_returned": {"type": "numeric", "index": 10, "name": "amount_returned", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_sold"}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_unwrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_synth_unwrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"amount_unwrapped": {"type": "numeric", "index": 1, "name": "amount_unwrapped", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "fees_collected": {"type": "numeric", "index": 7, "name": "fees_collected", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fees": {"type": "jsonb", "index": 9, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_unwrapped"}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_wrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_synth_wrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 3, "name": "amount_wrapped", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 6, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 7, "name": "fees", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fees_collected": {"type": "numeric", "index": 9, "name": "fees_collected", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_wrapped"}}, "errors": null} \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_account_delegation_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_account_delegation_arbitrum_mainnet.sql new file mode 100644 index 00000000..a87bab21 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_account_delegation_arbitrum_mainnet.sql @@ -0,0 +1,58 @@ +WITH delegation_changes AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + + amount / 1e18 + - LAG( + amount / 1e18 +, 1, 0) over ( + PARTITION BY account_id, + pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS change_in_amount + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet" +), +cumulative_delegation AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + SUM(change_in_amount) over ( + PARTITION BY pool_id, + account_id, + collateral_type + ORDER BY + block_timestamp + ) AS cumulative_amount_delegated, + ROW_NUMBER() over ( + PARTITION BY pool_id, + account_id, + collateral_type + ORDER BY + block_timestamp DESC + ) AS rn + FROM + delegation_changes +) +SELECT + block_timestamp AS ts, + CAST( + account_id AS text + ) AS account_id, + pool_id, + collateral_type, + cumulative_amount_delegated AS amount_delegated +FROM + cumulative_delegation +WHERE + rn = 1 +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_apr_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_apr_arbitrum_mainnet.sql new file mode 100644 index 00000000..8bc822a5 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_apr_arbitrum_mainnet.sql @@ -0,0 +1,209 @@ + + +WITH pnl_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_pnl, + hourly_issuance, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + hourly_total_pct, + SUM( + COALESCE( + hourly_issuance, + 0 + ) + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts + ) AS cumulative_issuance, + SUM( + hourly_pnl + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts + ) AS cumulative_pnl + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet" +), +avg_returns AS ( + SELECT + ts, + pool_id, + collateral_type, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_pnl_pct, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_pnl_pct, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_pnl_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_rewards_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_total_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_total_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_total_pct + FROM + pnl_hourly +), +apr_calculations AS ( + SELECT + pnl_hourly.ts AS ts, + pnl_hourly.pool_id AS pool_id, + pnl_hourly.collateral_type AS collateral_type, + pnl_hourly.collateral_value AS collateral_value, + pnl_hourly.debt AS debt, + pnl_hourly.hourly_pnl AS hourly_pnl, + pnl_hourly.cumulative_pnl AS cumulative_pnl, + pnl_hourly.hourly_issuance AS hourly_issuance, + pnl_hourly.cumulative_issuance AS cumulative_issuance, + pnl_hourly.rewards_usd AS rewards_usd, + pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct, + pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct, + -- total pnls + avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h, + avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d, + avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d, + -- pool pnls + avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl, + avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl, + avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl, + -- rewards pnls + avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards, + avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards, + avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards + FROM + pnl_hourly + JOIN avg_returns + ON pnl_hourly.ts = avg_returns.ts + AND pnl_hourly.pool_id = avg_returns.pool_id + AND pnl_hourly.collateral_type = avg_returns.collateral_type +), +apy_calculations AS ( + SELECT + *, + (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h, + (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d, + (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d, + (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl, + (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl, + (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl, + (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards, + (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards, + (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards + FROM + apr_calculations +) +SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_issuance, + hourly_pnl, + cumulative_pnl, + cumulative_issuance, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + apr_24h, + apy_24h, + apr_7d, + apy_7d, + apr_28d, + apy_28d, + apr_24h_pnl, + apy_24h_pnl, + apr_7d_pnl, + apy_7d_pnl, + apr_28d_pnl, + apy_28d_pnl, + apr_24h_rewards, + apy_24h_rewards, + apr_7d_rewards, + apy_7d_rewards, + apr_28d_rewards, + apy_28d_rewards +FROM + apy_calculations +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_apr_rewards_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_apr_rewards_arbitrum_mainnet.sql new file mode 100644 index 00000000..f1eec21f --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_apr_rewards_arbitrum_mainnet.sql @@ -0,0 +1,100 @@ + + +WITH pnl_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + reward_token, + collateral_value, + rewards_usd, + hourly_rewards_pct + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_reward_arbitrum_mainnet" +), +avg_returns AS ( + SELECT + ts, + pool_id, + collateral_type, + reward_token, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_rewards_pct + FROM + pnl_hourly +), +apr_calculations AS ( + SELECT + pnl_hourly.ts AS ts, + pnl_hourly.pool_id AS pool_id, + pnl_hourly.collateral_type AS collateral_type, + pnl_hourly.reward_token AS reward_token, + pnl_hourly.collateral_value AS collateral_value, + pnl_hourly.rewards_usd AS rewards_usd, + pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct, + avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards, + avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards, + avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards + FROM + pnl_hourly + JOIN avg_returns + ON pnl_hourly.ts = avg_returns.ts + AND pnl_hourly.pool_id = avg_returns.pool_id + AND pnl_hourly.collateral_type = avg_returns.collateral_type + AND pnl_hourly.reward_token = avg_returns.reward_token +), +apy_calculations AS ( + SELECT + *, + (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards, + (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards, + (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards + FROM + apr_calculations +) +SELECT + ts, + pool_id, + collateral_type, + reward_token, + collateral_value, + rewards_usd, + hourly_rewards_pct, + apr_24h_rewards, + apy_24h_rewards, + apr_7d_rewards, + apy_7d_rewards, + apr_28d_rewards, + apy_28d_rewards +FROM + apy_calculations +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_market_updated_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_market_updated_arbitrum_mainnet.sql new file mode 100644 index 00000000..ce941b93 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_market_updated_arbitrum_mainnet.sql @@ -0,0 +1,35 @@ +WITH market_updated AS ( + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet" +) +SELECT + id, + block_timestamp AS ts, + transaction_hash, + event_name, + market_id, + collateral_type, + + credit_capacity / 1e18 + AS credit_capacity, + + net_issuance / 1e18 + AS net_issuance, + + token_amount / 1e18 + AS token_amount +FROM + market_updated \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pool_collateral_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pool_collateral_arbitrum_mainnet.sql new file mode 100644 index 00000000..312c4974 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pool_collateral_arbitrum_mainnet.sql @@ -0,0 +1,39 @@ +WITH events AS ( + SELECT + block_timestamp, + + token_amount / 1e18 + AS token_amount, + collateral_type + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet" + UNION ALL + SELECT + block_timestamp,- + token_amount / 1e18 + AS token_amount, + collateral_type + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet" +), +ranked_events AS ( + SELECT + *, + SUM(token_amount) over ( + PARTITION BY collateral_type + ORDER BY + block_timestamp rows BETWEEN unbounded preceding + AND CURRENT ROW + ) AS amount_deposited + FROM + events +) +SELECT + block_timestamp AS ts, + collateral_type, + amount_deposited +FROM + ranked_events +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pool_delegation_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pool_delegation_arbitrum_mainnet.sql new file mode 100644 index 00000000..75d0976d --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pool_delegation_arbitrum_mainnet.sql @@ -0,0 +1,44 @@ +WITH delegation_changes AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + + amount / 1e18 + - LAG( + amount / 1e18 +, 1, 0) over ( + PARTITION BY account_id, + pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS change_in_amount + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet" +), +cumulative_delegation AS ( + SELECT + block_timestamp, + pool_id, + collateral_type, + SUM(change_in_amount) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS cumulative_amount_delegated + FROM + delegation_changes +) +SELECT + block_timestamp AS ts, + pool_id, + collateral_type, + cumulative_amount_delegated AS amount_delegated +FROM + cumulative_delegation +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pools_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pools_arbitrum_mainnet.sql new file mode 100644 index 00000000..f0040619 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pools_arbitrum_mainnet.sql @@ -0,0 +1,13 @@ +WITH base AS ( + SELECT + pool_id AS id, + block_timestamp AS created_ts, + block_number, + owner + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet" +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_debt_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_debt_arbitrum_mainnet.sql new file mode 100644 index 00000000..e656efb3 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_debt_arbitrum_mainnet.sql @@ -0,0 +1,10 @@ +SELECT + ts, + block_number, + pool_id, + collateral_type, + debt +FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_vault_debt_arbitrum_mainnet" +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_issuance_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_issuance_arbitrum_mainnet.sql new file mode 100644 index 00000000..01fc76ed --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_issuance_arbitrum_mainnet.sql @@ -0,0 +1,43 @@ +WITH burns AS ( + SELECT + block_timestamp AS ts, + block_number, + transaction_hash, + pool_id, + collateral_type, + account_id, + -1 * + amount / 1e18 + AS amount + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet" + ORDER BY + block_timestamp DESC +), +mints AS ( + SELECT + block_timestamp AS ts, + block_number, + transaction_hash, + pool_id, + collateral_type, + account_id, + + amount / 1e18 + AS amount + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet" + ORDER BY + block_timestamp DESC +) +SELECT + * +FROM + burns +UNION ALL +SELECT + * +FROM + mints +ORDER BY + ts DESC \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_issuance_hourly_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_issuance_hourly_arbitrum_mainnet.sql new file mode 100644 index 00000000..e1a1a324 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_issuance_hourly_arbitrum_mainnet.sql @@ -0,0 +1,110 @@ +WITH dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.pool_id, + m.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet" + ) AS m + GROUP BY + m.pool_id, + m.collateral_type +), +max_debt_block AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS HOUR, + pool_id, + collateral_type, + MAX(block_number) AS max_block_number + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet" + GROUP BY + DATE_TRUNC( + 'hour', + ts + ), + pool_id, + collateral_type +), +filt_issuance AS ( + SELECT + CASE + WHEN i.block_number <= d.max_block_number + OR d.max_block_number IS NULL THEN i.ts + ELSE i.ts + INTERVAL '1 hour' + END AS ts, + i.pool_id, + i.collateral_type, + i.amount + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet" + i + LEFT JOIN max_debt_block d + ON DATE_TRUNC( + 'hour', + i.ts + ) = d.hour + AND i.pool_id = d.pool_id + AND LOWER( + i.collateral_type + ) = LOWER( + d.collateral_type + ) + WHERE + i.block_number <= ( + SELECT + MAX( + max_block_number + ) + FROM + max_debt_block + ) +), +issuance AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + SUM(amount) AS hourly_issuance + FROM + filt_issuance + GROUP BY + 1, + 2, + 3 +) +SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + COALESCE( + i.hourly_issuance, + 0 + ) AS hourly_issuance +FROM + dim + LEFT JOIN issuance i + ON dim.pool_id = i.pool_id + AND LOWER( + dim.collateral_type + ) = LOWER( + i.collateral_type + ) + AND dim.ts = i.ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_arbitrum_mainnet.sql new file mode 100644 index 00000000..4c508169 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_arbitrum_mainnet.sql @@ -0,0 +1,210 @@ + + +WITH dim AS ( + + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + p.pool_id, + p.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet" + ) AS p +GROUP BY + p.pool_id, + p.collateral_type +), +issuance AS ( + SELECT + ts, + pool_id, + collateral_type, + hourly_issuance + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_hourly_arbitrum_mainnet" +), +debt AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS debt + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet" +), +collateral AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS collateral_value + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet" + WHERE + pool_id = 1 +), +ffill AS ( + SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + debt.debt, + collateral.collateral_value, + SUM( + CASE + WHEN debt.debt IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + ORDER BY + dim.ts + ) AS debt_id, + SUM( + CASE + WHEN collateral.collateral_value IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + ORDER BY + dim.ts + ) AS collateral_id + FROM + dim + LEFT JOIN debt + ON dim.ts = debt.ts + AND dim.pool_id = debt.pool_id + AND dim.collateral_type = debt.collateral_type + LEFT JOIN collateral + ON dim.ts = collateral.ts + AND dim.pool_id = collateral.pool_id + AND dim.collateral_type = collateral.collateral_type +), +hourly_index AS ( + SELECT + ts, + pool_id, + collateral_type, + FIRST_VALUE(COALESCE(debt, 0)) over ( + PARTITION BY debt_id, + pool_id, + collateral_type + ORDER BY + ts + ) AS debt, + FIRST_VALUE(COALESCE(collateral_value, 0)) over ( + PARTITION BY collateral_id, + pool_id, + collateral_type + ORDER BY + ts + ) AS collateral_value + FROM + ffill +), +hourly_pnl AS ( + SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type + ORDER BY + ts) - debt, 0) AS hourly_pnl + FROM + hourly_index +), +hourly_rewards AS ( + SELECT + ts, + pool_id, + collateral_type, + rewards_usd + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_hourly_arbitrum_mainnet" +), +hourly_returns AS ( + SELECT + pnl.ts, + pnl.pool_id, + pnl.collateral_type, + pnl.collateral_value, + pnl.debt, + COALESCE( + iss.hourly_issuance, + 0 + ) hourly_issuance, + pnl.hourly_pnl + COALESCE( + iss.hourly_issuance, + 0 + ) AS hourly_pnl, + COALESCE( + rewards.rewards_usd, + 0 + ) AS rewards_usd, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE COALESCE( + rewards.rewards_usd, + 0 + ) / pnl.collateral_value + END AS hourly_rewards_pct, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value + END AS hourly_pnl_pct, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value + END AS hourly_total_pct + FROM + hourly_pnl pnl + LEFT JOIN hourly_rewards rewards + ON pnl.ts = rewards.ts + AND pnl.pool_id = rewards.pool_id + AND pnl.collateral_type = rewards.collateral_type + LEFT JOIN issuance iss + ON pnl.ts = iss.ts + AND pnl.pool_id = iss.pool_id + AND LOWER( + pnl.collateral_type + ) = LOWER( + iss.collateral_type + ) +) +SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_issuance, + hourly_pnl, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + hourly_total_pct +FROM + hourly_returns \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_reward_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_reward_arbitrum_mainnet.sql new file mode 100644 index 00000000..fc06a2e6 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_reward_arbitrum_mainnet.sql @@ -0,0 +1,78 @@ + + +WITH dim AS ( + + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + t.pool_id, + t.collateral_type, + t.collateral_value, + p.token_symbol AS reward_token + FROM + ( + SELECT + ts, + collateral_type, + pool_id, + collateral_value + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet" + group by + ts, + collateral_type, + pool_id, + collateral_value + ) AS t + CROSS JOIN ( + SELECT + DISTINCT token_symbol + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet" + ) AS p + GROUP BY + t.pool_id, + t.collateral_type, + t.collateral_value, + p.token_symbol +), +reward_hourly_token AS ( + SELECT + ts, + pool_id, + collateral_type, + token_symbol AS reward_token, + SUM( + rewards_usd + ) AS rewards_usd + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet" + GROUP BY + ts, + pool_id, + collateral_type, + token_symbol +) +SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + dim.collateral_value, + dim.reward_token, + COALESCE( + reward_hourly_token.rewards_usd, + 0 + ) AS rewards_usd, + CASE + WHEN dim.collateral_value = 0 THEN 0 + ELSE COALESCE( + reward_hourly_token.rewards_usd, + 0 + ) / dim.collateral_value + END AS hourly_rewards_pct +FROM + dim + LEFT JOIN reward_hourly_token + ON dim.ts = reward_hourly_token.ts + AND dim.pool_id = reward_hourly_token.pool_id + AND dim.collateral_type = reward_hourly_token.collateral_type + and dim.reward_token = reward_hourly_token.reward_token \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_arbitrum_mainnet.sql new file mode 100644 index 00000000..856f19b5 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_arbitrum_mainnet.sql @@ -0,0 +1,37 @@ +WITH rewards_distributed AS ( + SELECT + block_timestamp AS ts, + CAST( + pool_id AS INTEGER + ) AS pool_id, + collateral_type, + distributor, + + amount / 1e18 + AS amount, + TO_TIMESTAMP("start") AS ts_start, + "duration" + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet" +), +distributors AS ( + SELECT + CAST(distributor_address AS TEXT) AS distributor_address, + CAST(token_symbol AS TEXT) AS token_symbol + FROM + "analytics"."prod_seeds"."arbitrum_mainnet_reward_distributors" +) +SELECT + rd.ts, + rd.pool_id, + rd.collateral_type, + rd.distributor, + distributors.token_symbol, + rd.amount, + rd.ts_start, + rd.duration +FROM + rewards_distributed rd + join distributors on rd.distributor = distributors.distributor_address +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_hourly_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_hourly_arbitrum_mainnet.sql new file mode 100644 index 00000000..19fe3417 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_hourly_arbitrum_mainnet.sql @@ -0,0 +1,20 @@ +WITH token_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + rewards_usd + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet" +) +SELECT + ts, + pool_id, + collateral_type, + SUM(rewards_usd) AS rewards_usd +FROM + token_hourly +GROUP BY + ts, + pool_id, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_token_hourly_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_token_hourly_arbitrum_mainnet.sql new file mode 100644 index 00000000..ecc4bc00 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_token_hourly_arbitrum_mainnet.sql @@ -0,0 +1,113 @@ +WITH dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.pool_id, + m.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet" + ) AS m + GROUP BY + m.pool_id, + m.collateral_type +), +rewards_distributed AS ( + SELECT + ts, + pool_id, + collateral_type, + distributor, + token_symbol, + amount, + ts_start, + "duration" + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_arbitrum_mainnet" +), +hourly_distributions AS ( + SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + r.distributor, + r.token_symbol, + r.amount, + r.ts_start, + r."duration", + ROW_NUMBER() over ( + PARTITION BY dim.ts, + dim.pool_id, + dim.collateral_type, + r.distributor + ORDER BY + r.ts_start DESC + ) AS distributor_index + FROM + dim + LEFT JOIN rewards_distributed r + ON dim.pool_id = r.pool_id + AND LOWER( + dim.collateral_type + ) = LOWER( + r.collateral_type + ) + AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start + AND dim.ts < r.ts_start + r."duration" * '1 second' :: INTERVAL +), +hourly_rewards AS ( + SELECT + d.ts, + d.pool_id, + d.collateral_type, + d.distributor, + d.token_symbol, + p.price, + -- get the hourly amount distributed + d.amount / ( + d."duration" / 3600 + ) AS hourly_amount, + -- get the amount of time distributed this hour + -- use the smaller of those two intervals + -- convert the interval to a number of hours + -- multiply the result by the hourly amount to get the amount distributed this hour + ( + EXTRACT( + epoch + FROM + LEAST( + d."duration" / 3600 * '1 hour' :: INTERVAL, + d.ts + '1 hour' :: INTERVAL - GREATEST( + d.ts, + d.ts_start + ) + ) + ) / 3600 + ) * d.amount / ( + d."duration" / 3600 + ) AS amount_distributed + FROM + hourly_distributions AS d + LEFT JOIN "analytics"."prod_arbitrum_mainnet"."fct_prices_hourly_arbitrum_mainnet" + p + ON d.ts = p.ts + AND d.token_symbol = p.market_symbol + WHERE + d.distributor_index = 1 +) +SELECT + *, + amount_distributed * price AS rewards_usd +FROM + hourly_rewards +WHERE + amount_distributed IS NOT NULL \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/accepted_values_fct_core_marke_f12327e7950a4c802d6132d27f7841dd.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/accepted_values_fct_core_marke_f12327e7950a4c802d6132d27f7841dd.sql new file mode 100644 index 00000000..60a8ac16 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/accepted_values_fct_core_marke_f12327e7950a4c802d6132d27f7841dd.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_arbitrum_mainnet"."fct_core_market_updated_arbitrum_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited' +) + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_1755c42adad4400728f2d291f52662f0.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_1755c42adad4400728f2d291f52662f0.sql new file mode 100644 index 00000000..6c30bc92 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_1755c42adad4400728f2d291f52662f0.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_335aca0e4bfdf700395d4d6e2861f70c.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_335aca0e4bfdf700395d4d6e2861f70c.sql new file mode 100644 index 00000000..02225fba --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_335aca0e4bfdf700395d4d6e2861f70c.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_core_account_delegation_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_483fd77f9e18a06eeee91a8e4f95404a.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_483fd77f9e18a06eeee91a8e4f95404a.sql new file mode 100644 index 00000000..32299d56 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_483fd77f9e18a06eeee91a8e4f95404a.sql @@ -0,0 +1,22 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_rewards_pct >= 0 + -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_rewards_pct <= 1 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_73ef4a8208eaef7723f7a2b1da192431.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_73ef4a8208eaef7723f7a2b1da192431.sql new file mode 100644 index 00000000..29d822ea --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_73ef4a8208eaef7723f7a2b1da192431.sql @@ -0,0 +1,22 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_pnl_pct >= -1 + -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_pnl_pct <= 1 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_7c412ba7c7ea7aef5e4e7db7c8fc5c75.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_7c412ba7c7ea7aef5e4e7db7c8fc5c75.sql new file mode 100644 index 00000000..cbb843e6 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_7c412ba7c7ea7aef5e4e7db7c8fc5c75.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_core_pool_delegation_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_85aa93ec24a82fd6c67a87038bee45c1.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_85aa93ec24a82fd6c67a87038bee45c1.sql new file mode 100644 index 00000000..39d3e312 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_85aa93ec24a82fd6c67a87038bee45c1.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not rewards_usd >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_ab6508955d3f808c1b270f9aa7a37b6d.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_ab6508955d3f808c1b270f9aa7a37b6d.sql new file mode 100644 index 00000000..1018d95f --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_ab6508955d3f808c1b270f9aa7a37b6d.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_core_market_updated_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_b1d60fed4955a4fc968b2378103deac3.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_b1d60fed4955a4fc968b2378103deac3.sql new file mode 100644 index 00000000..143bc00b --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_b1d60fed4955a4fc968b2378103deac3.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_core_pools_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_ebc9de3d45a12d255533021f88b74fed.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_ebc9de3d45a12d255533021f88b74fed.sql new file mode 100644 index 00000000..d57e8a7c --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_ebc9de3d45a12d255533021f88b74fed.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_core_account_delegation_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_delegated >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_f5658474e91a7efeefc846ada0723656.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_f5658474e91a7efeefc846ada0723656.sql new file mode 100644 index 00000000..65140710 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_f5658474e91a7efeefc846ada0723656.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collateral_value >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_0b54f6ee81adfb64e5d45509be471536.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_0b54f6ee81adfb64e5d45509be471536.sql new file mode 100644 index 00000000..23b271b5 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_0b54f6ee81adfb64e5d45509be471536.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_1f912620bb744a27954a74cab0fd1f0c.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_1f912620bb744a27954a74cab0fd1f0c.sql new file mode 100644 index 00000000..77491051 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_1f912620bb744a27954a74cab0fd1f0c.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2a59ca2beb6fa3013c573eb43e95ab48.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2a59ca2beb6fa3013c573eb43e95ab48.sql new file mode 100644 index 00000000..71813b80 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2a59ca2beb6fa3013c573eb43e95ab48.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2a92d0cd280c3cfef0baf61899429708.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2a92d0cd280c3cfef0baf61899429708.sql new file mode 100644 index 00000000..88871d8f --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2a92d0cd280c3cfef0baf61899429708.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2b0953c6036f08e2a591283eb5a67dcb.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2b0953c6036f08e2a591283eb5a67dcb.sql new file mode 100644 index 00000000..2b330615 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2b0953c6036f08e2a591283eb5a67dcb.sql @@ -0,0 +1,22 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_rewards_pct >= 0 + -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_rewards_pct <= 1 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_4531650c2e995988bfd3c93907803f02.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_4531650c2e995988bfd3c93907803f02.sql new file mode 100644 index 00000000..6b4cccc2 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_4531650c2e995988bfd3c93907803f02.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_distributed >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_60522e151e8e0e30d7da9ec6cf7c9bd3.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_60522e151e8e0e30d7da9ec6cf7c9bd3.sql new file mode 100644 index 00000000..491e8cbb --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_60522e151e8e0e30d7da9ec6cf7c9bd3.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_75eb21ed4adc24b56bbcdcebefd76286.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_75eb21ed4adc24b56bbcdcebefd76286.sql new file mode 100644 index 00000000..69773d46 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_75eb21ed4adc24b56bbcdcebefd76286.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collateral_value >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_763a1d68cea27da2cd6c7c90b0572cee.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_763a1d68cea27da2cd6c7c90b0572cee.sql new file mode 100644 index 00000000..640575c4 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_763a1d68cea27da2cd6c7c90b0572cee.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_808e4ad8c54952685268224b3ab2dc3f.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_808e4ad8c54952685268224b3ab2dc3f.sql new file mode 100644 index 00000000..fe066aa2 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_808e4ad8c54952685268224b3ab2dc3f.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_hourly_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_92e486da67fd4aa212c6fc7ead2ca990.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_92e486da67fd4aa212c6fc7ead2ca990.sql new file mode 100644 index 00000000..4f715357 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_92e486da67fd4aa212c6fc7ead2ca990.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_a117cda80e79c005af15ab4b519b300f.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_a117cda80e79c005af15ab4b519b300f.sql new file mode 100644 index 00000000..19b4e95e --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_a117cda80e79c005af15ab4b519b300f.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_ae8a634b24663cbeedd8622d73436da5.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_ae8a634b24663cbeedd8622d73436da5.sql new file mode 100644 index 00000000..7b4feb09 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_ae8a634b24663cbeedd8622d73436da5.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_hourly_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b767823a1421432f769ec197446aa019.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b767823a1421432f769ec197446aa019.sql new file mode 100644 index 00000000..7c6c1a65 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b767823a1421432f769ec197446aa019.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_hourly_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not rewards_usd >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_d399039b72aeb6695a12d8e3bbc21cc7.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_d399039b72aeb6695a12d8e3bbc21cc7.sql new file mode 100644 index 00000000..11f713f3 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_d399039b72aeb6695a12d8e3bbc21cc7.sql @@ -0,0 +1,22 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_pnl_pct >= -1 + -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_pnl_pct <= 1 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_df233af1f002dedfa1f71072df17c949.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_df233af1f002dedfa1f71072df17c949.sql new file mode 100644 index 00000000..e27eca55 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_df233af1f002dedfa1f71072df17c949.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not rewards_usd >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_fc2ea70c19f61eac92d253c82f8b6c86.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_fc2ea70c19f61eac92d253c82f8b6c86.sql new file mode 100644 index 00000000..b69584cc --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_fc2ea70c19f61eac92d253c82f8b6c86.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not rewards_usd >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_dele_31ff6ba6e6f978d07dd28e8ba6100164.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_dele_31ff6ba6e6f978d07dd28e8ba6100164.sql new file mode 100644 index 00000000..922b7850 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_dele_31ff6ba6e6f978d07dd28e8ba6100164.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_arbitrum_mainnet"."fct_core_account_delegation_arbitrum_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_dele_97b2ee4148e5bac1b0699fe3c6e63583.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_dele_97b2ee4148e5bac1b0699fe3c6e63583.sql new file mode 100644 index 00000000..86ad5a6a --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_dele_97b2ee4148e5bac1b0699fe3c6e63583.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_arbitrum_mainnet"."fct_core_account_delegation_arbitrum_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_dele_ee7cc0e1e999bee8d31dc50dc12bd488.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_dele_ee7cc0e1e999bee8d31dc50dc12bd488.sql new file mode 100644 index 00000000..5e32f962 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_dele_ee7cc0e1e999bee8d31dc50dc12bd488.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_delegated +from "analytics"."prod_arbitrum_mainnet"."fct_core_account_delegation_arbitrum_mainnet" +where amount_delegated is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id.sql new file mode 100644 index 00000000..85ce2f40 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_arbitrum_mainnet"."fct_core_account_delegation_arbitrum_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_mainnet_ts.sql new file mode 100644 index 00000000..23fcba26 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_mainnet"."fct_core_account_delegation_arbitrum_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apr_24h.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apr_24h.sql new file mode 100644 index 00000000..b38f0598 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apr_24h.sql @@ -0,0 +1,11 @@ + + + + + + +select apr_24h +from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet" +where apr_24h is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apr_28d.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apr_28d.sql new file mode 100644 index 00000000..467d2c30 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apr_28d.sql @@ -0,0 +1,11 @@ + + + + + + +select apr_28d +from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet" +where apr_28d is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apr_7d.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apr_7d.sql new file mode 100644 index 00000000..ba28af81 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apr_7d.sql @@ -0,0 +1,11 @@ + + + + + + +select apr_7d +from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet" +where apr_7d is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apy_24h.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apy_24h.sql new file mode 100644 index 00000000..90af8f37 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apy_24h.sql @@ -0,0 +1,11 @@ + + + + + + +select apy_24h +from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet" +where apy_24h is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apy_28d.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apy_28d.sql new file mode 100644 index 00000000..8c3a033e --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apy_28d.sql @@ -0,0 +1,11 @@ + + + + + + +select apy_28d +from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet" +where apy_28d is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apy_7d.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apy_7d.sql new file mode 100644 index 00000000..773a25c4 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apy_7d.sql @@ -0,0 +1,11 @@ + + + + + + +select apy_7d +from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet" +where apy_7d is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_collateral_type.sql new file mode 100644 index 00000000..58cdc0ec --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_collateral_value.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_collateral_value.sql new file mode 100644 index 00000000..58bb0d51 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_collateral_value.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_value +from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet" +where collateral_value is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance.sql new file mode 100644 index 00000000..fba1adfb --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select cumulative_issuance +from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet" +where cumulative_issuance is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl.sql new file mode 100644 index 00000000..8d1f0b14 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl.sql @@ -0,0 +1,11 @@ + + + + + + +select cumulative_pnl +from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet" +where cumulative_pnl is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_debt.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_debt.sql new file mode 100644 index 00000000..9dd0c3de --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_debt.sql @@ -0,0 +1,11 @@ + + + + + + +select debt +from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet" +where debt is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance.sql new file mode 100644 index 00000000..dac641cd --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_issuance +from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet" +where hourly_issuance is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl.sql new file mode 100644 index 00000000..a045bf3a --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_pnl +from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet" +where hourly_pnl is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct.sql new file mode 100644 index 00000000..7b4a04b0 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_pnl_pct +from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet" +where hourly_pnl_pct is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct.sql new file mode 100644 index 00000000..5dd9c563 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_rewards_pct +from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet" +where hourly_rewards_pct is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_pool_id.sql new file mode 100644 index 00000000..e383ef7c --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_rewards_usd.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_rewards_usd.sql new file mode 100644 index 00000000..bf84c115 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_rewards_usd.sql @@ -0,0 +1,11 @@ + + + + + + +select rewards_usd +from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet" +where rewards_usd is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_ts.sql new file mode 100644 index 00000000..68725a4e --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updat_4b643cda1c91c522d066b35480cce379.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updat_4b643cda1c91c522d066b35480cce379.sql new file mode 100644 index 00000000..0d25d547 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updat_4b643cda1c91c522d066b35480cce379.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_arbitrum_mainnet"."fct_core_market_updated_arbitrum_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updat_c100fcf44108d7ff35d65b9c6a7b25b1.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updat_c100fcf44108d7ff35d65b9c6a7b25b1.sql new file mode 100644 index 00000000..f9315121 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updat_c100fcf44108d7ff35d65b9c6a7b25b1.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_arbitrum_mainnet"."fct_core_market_updated_arbitrum_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updat_ec83a69c2d67a6b85fde509d3cc884a8.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updat_ec83a69c2d67a6b85fde509d3cc884a8.sql new file mode 100644 index 00000000..2b9a28ca --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updat_ec83a69c2d67a6b85fde509d3cc884a8.sql @@ -0,0 +1,11 @@ + + + + + + +select credit_capacity +from "analytics"."prod_arbitrum_mainnet"."fct_core_market_updated_arbitrum_mainnet" +where credit_capacity is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_event_name.sql new file mode 100644 index 00000000..f4df3f9b --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_arbitrum_mainnet"."fct_core_market_updated_arbitrum_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..9d80fe7e --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_arbitrum_mainnet"."fct_core_market_updated_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_market_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_market_id.sql new file mode 100644 index 00000000..317c006e --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_arbitrum_mainnet"."fct_core_market_updated_arbitrum_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance.sql new file mode 100644 index 00000000..093a9331 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select net_issuance +from "analytics"."prod_arbitrum_mainnet"."fct_core_market_updated_arbitrum_mainnet" +where net_issuance is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_token_amount.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_token_amount.sql new file mode 100644 index 00000000..5127005b --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_token_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select token_amount +from "analytics"."prod_arbitrum_mainnet"."fct_core_market_updated_arbitrum_mainnet" +where token_amount is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_ts.sql new file mode 100644 index 00000000..45502b9d --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_mainnet"."fct_core_market_updated_arbitrum_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_collate_093527c47d269f939c2c7d47d4c2a78f.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_collate_093527c47d269f939c2c7d47d4c2a78f.sql new file mode 100644 index 00000000..51885936 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_collate_093527c47d269f939c2c7d47d4c2a78f.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_arbitrum_mainnet"."fct_core_pool_collateral_arbitrum_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_collate_2430c0471eac1e889c6c004ff9132c39.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_collate_2430c0471eac1e889c6c004ff9132c39.sql new file mode 100644 index 00000000..3e8c46e6 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_collate_2430c0471eac1e889c6c004ff9132c39.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_deposited +from "analytics"."prod_arbitrum_mainnet"."fct_core_pool_collateral_arbitrum_mainnet" +where amount_deposited is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_arbitrum_mainnet_ts.sql new file mode 100644 index 00000000..85c04e47 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_arbitrum_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_mainnet"."fct_core_pool_collateral_arbitrum_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_delegat_b4282e52ccccdfed1d4b4c2355b7d655.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_delegat_b4282e52ccccdfed1d4b4c2355b7d655.sql new file mode 100644 index 00000000..503a5f58 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_delegat_b4282e52ccccdfed1d4b4c2355b7d655.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_arbitrum_mainnet"."fct_core_pool_delegation_arbitrum_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id.sql new file mode 100644 index 00000000..d67ad5d1 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_arbitrum_mainnet"."fct_core_pool_delegation_arbitrum_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_mainnet_ts.sql new file mode 100644 index 00000000..7141e06e --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_mainnet"."fct_core_pool_delegation_arbitrum_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..15dd5f12 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_arbitrum_mainnet"."fct_core_pools_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_created_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_created_ts.sql new file mode 100644 index 00000000..b36f1b4d --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_created_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select created_ts +from "analytics"."prod_arbitrum_mainnet"."fct_core_pools_arbitrum_mainnet" +where created_ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..ce118e30 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_arbitrum_mainnet"."fct_core_pools_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_owner.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_owner.sql new file mode 100644 index 00000000..37187ea1 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_owner.sql @@ -0,0 +1,11 @@ + + + + + + +select owner +from "analytics"."prod_arbitrum_mainnet"."fct_core_pools_arbitrum_mainnet" +where owner is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..c024f03c --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_collateral_type.sql new file mode 100644 index 00000000..d35ffbb3 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_debt.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_debt.sql new file mode 100644 index 00000000..8af820b9 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_debt.sql @@ -0,0 +1,11 @@ + + + + + + +select debt +from "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet" +where debt is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_pool_id.sql new file mode 100644 index 00000000..0c0f9079 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_ts.sql new file mode 100644 index 00000000..cb04ebe3 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_account_id.sql new file mode 100644 index 00000000..d5324392 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_amount.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_amount.sql new file mode 100644 index 00000000..dc01f78c --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..29a4a5e4 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type.sql new file mode 100644 index 00000000..72f03af0 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_pool_id.sql new file mode 100644 index 00000000..2e3f7222 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash.sql new file mode 100644 index 00000000..4033525a --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_ts.sql new file mode 100644 index 00000000..a4e3688a --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hou_65ed67157b891a8810704ee505558860.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hou_65ed67157b891a8810704ee505558860.sql new file mode 100644 index 00000000..97cfd5e1 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hou_65ed67157b891a8810704ee505558860.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_hourly_arbitrum_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hou_6846fca20e0573c8b636234f11940a78.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hou_6846fca20e0573c8b636234f11940a78.sql new file mode 100644 index 00000000..92634d6b --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hou_6846fca20e0573c8b636234f11940a78.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_issuance +from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_hourly_arbitrum_mainnet" +where hourly_issuance is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id.sql new file mode 100644 index 00000000..547141e9 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_hourly_arbitrum_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts.sql new file mode 100644 index 00000000..5f7565b2 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_hourly_arbitrum_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_a_7c866040c874169c1cad2287083652b9.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_a_7c866040c874169c1cad2287083652b9.sql new file mode 100644 index 00000000..a2658081 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_a_7c866040c874169c1cad2287083652b9.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_rewards_pct +from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet" +where hourly_rewards_pct is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type.sql new file mode 100644 index 00000000..a7ee6317 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value.sql new file mode 100644 index 00000000..84216f4c --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_value +from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet" +where collateral_value is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt.sql new file mode 100644 index 00000000..90bf934f --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt.sql @@ -0,0 +1,11 @@ + + + + + + +select debt +from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet" +where debt is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance.sql new file mode 100644 index 00000000..4476d2f1 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_issuance +from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet" +where hourly_issuance is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl.sql new file mode 100644 index 00000000..263b7200 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_pnl +from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet" +where hourly_pnl is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct.sql new file mode 100644 index 00000000..cb2aa628 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_pnl_pct +from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet" +where hourly_pnl_pct is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct.sql new file mode 100644 index 00000000..e62da7ce --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_total_pct +from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet" +where hourly_total_pct is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id.sql new file mode 100644 index 00000000..d877a18c --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd.sql new file mode 100644 index 00000000..f9e51e16 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd.sql @@ -0,0 +1,11 @@ + + + + + + +select rewards_usd +from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet" +where rewards_usd is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts.sql new file mode 100644 index 00000000..2b2c64aa --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_amount.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_amount.sql new file mode 100644 index 00000000..0d5c2b5a --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_arbitrum_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type.sql new file mode 100644 index 00000000..a1ef0e15 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_arbitrum_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_distributor.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_distributor.sql new file mode 100644 index 00000000..4a6dbbf5 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_distributor.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor +from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_arbitrum_mainnet" +where distributor is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_pool_id.sql new file mode 100644 index 00000000..c97fed06 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_arbitrum_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol.sql new file mode 100644 index 00000000..ad31ea44 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_arbitrum_mainnet" +where token_symbol is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_ts.sql new file mode 100644 index 00000000..073b94f7 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_arbitrum_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hour_6b64ee93647e66468d764cc3fc458ee1.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hour_6b64ee93647e66468d764cc3fc458ee1.sql new file mode 100644 index 00000000..1f0e8d60 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hour_6b64ee93647e66468d764cc3fc458ee1.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_hourly_arbitrum_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id.sql new file mode 100644 index 00000000..a9c51063 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_hourly_arbitrum_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd.sql new file mode 100644 index 00000000..f698e9b2 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd.sql @@ -0,0 +1,11 @@ + + + + + + +select rewards_usd +from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_hourly_arbitrum_mainnet" +where rewards_usd is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts.sql new file mode 100644 index 00000000..ad4a126f --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_hourly_arbitrum_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_090c93d2b78f3f33bc0bf584324abc24.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_090c93d2b78f3f33bc0bf584324abc24.sql new file mode 100644 index 00000000..0fd301f3 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_090c93d2b78f3f33bc0bf584324abc24.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet" +where token_symbol is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_155765ddde142e379951332067798d41.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_155765ddde142e379951332067798d41.sql new file mode 100644 index 00000000..26a8826f --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_155765ddde142e379951332067798d41.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_32d66eb63ddb1fa4ad4488d0be44060a.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_32d66eb63ddb1fa4ad4488d0be44060a.sql new file mode 100644 index 00000000..e87b734c --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_32d66eb63ddb1fa4ad4488d0be44060a.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor +from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet" +where distributor is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_3abff49d616142611160f813d5d63b81.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_3abff49d616142611160f813d5d63b81.sql new file mode 100644 index 00000000..daf9fe36 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_3abff49d616142611160f813d5d63b81.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_amount +from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet" +where hourly_amount is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_7680e416aa038a0209b5501bfe3565c3.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_7680e416aa038a0209b5501bfe3565c3.sql new file mode 100644 index 00000000..3635b304 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_7680e416aa038a0209b5501bfe3565c3.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_distributed +from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet" +where amount_distributed is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_e5018762223ef54a23a1f8e8015d80e9.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_e5018762223ef54a23a1f8e8015d80e9.sql new file mode 100644 index 00000000..5d4ee298 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_e5018762223ef54a23a1f8e8015d80e9.sql @@ -0,0 +1,11 @@ + + + + + + +select rewards_usd +from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet" +where rewards_usd is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id.sql new file mode 100644 index 00000000..248f55a7 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price.sql new file mode 100644 index 00000000..aadcd6f4 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet" +where price is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts.sql new file mode 100644 index 00000000..bf1591a2 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/unique_fct_core_market_updated_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/unique_fct_core_market_updated_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..04bfff7f --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/unique_fct_core_market_updated_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_arbitrum_mainnet"."fct_core_market_updated_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/prices/fct_prices_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/fct_prices_arbitrum_mainnet.sql new file mode 100644 index 00000000..b86d4a77 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/fct_prices_arbitrum_mainnet.sql @@ -0,0 +1,34 @@ +WITH all_prices AS ( + SELECT + ts, + collateral_type AS market_address, + NULL AS market_symbol, + collateral_value / amount AS price + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet" + WHERE + collateral_value > 0 +), +tokens AS ( + SELECT + token_address, + token_symbol + FROM + "analytics"."prod_seeds"."arbitrum_mainnet_tokens" +) +SELECT + p.ts, + p.market_address, + COALESCE( + t.token_symbol, + p.market_symbol + ) AS market_symbol, + p.price +FROM + all_prices p + LEFT JOIN tokens t + ON LOWER( + p.market_address + ) = LOWER( + t.token_address + ) \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/prices/fct_prices_hourly_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/fct_prices_hourly_arbitrum_mainnet.sql new file mode 100644 index 00000000..5ba78a95 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/fct_prices_hourly_arbitrum_mainnet.sql @@ -0,0 +1,74 @@ +WITH prices AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + market_symbol, + LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS price + FROM + "analytics"."prod_arbitrum_mainnet"."fct_prices_arbitrum_mainnet" +), +dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.market_symbol + FROM + ( + SELECT + ts + FROM + prices + ) AS t + CROSS JOIN ( + SELECT + DISTINCT market_symbol + FROM + prices + ) AS m + GROUP BY + m.market_symbol +), +ffill AS ( + SELECT + dim.ts, + dim.market_symbol, + prices.price, + SUM( + CASE + WHEN prices.price IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + PARTITION BY dim.market_symbol + ORDER BY + dim.ts + ) AS price_id + FROM + dim + LEFT JOIN prices + ON dim.ts = prices.ts + AND dim.market_symbol = prices.market_symbol +), +hourly_prices AS ( + SELECT + ts, + market_symbol, + FIRST_VALUE(price) over ( + PARTITION BY price_id, + market_symbol + ORDER BY + ts + ) AS price + FROM + ffill +) +SELECT + * +FROM + hourly_prices +WHERE + price IS NOT NULL \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_4644ad7c63d005ac54db98edb6c9c900.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_4644ad7c63d005ac54db98edb6c9c900.sql new file mode 100644 index 00000000..03a08823 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_4644ad7c63d005ac54db98edb6c9c900.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_prices_hourly_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_dcb09535be5469b9faf234ed6f43f02e.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_dcb09535be5469b9faf234ed6f43f02e.sql new file mode 100644 index 00000000..816b260b --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_dcb09535be5469b9faf234ed6f43f02e.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_prices_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_arbitrum_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_arbitrum_mainnet_market_symbol.sql new file mode 100644 index 00000000..48c1a043 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_arbitrum_mainnet_market_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select market_symbol +from "analytics"."prod_arbitrum_mainnet"."fct_prices_arbitrum_mainnet" +where market_symbol is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_arbitrum_mainnet_price.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_arbitrum_mainnet_price.sql new file mode 100644 index 00000000..21fc4cf9 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_arbitrum_mainnet_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_arbitrum_mainnet"."fct_prices_arbitrum_mainnet" +where price is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_arbitrum_mainnet_ts.sql new file mode 100644 index 00000000..663aff9c --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_arbitrum_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_mainnet"."fct_prices_arbitrum_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol.sql new file mode 100644 index 00000000..54ce9340 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select market_symbol +from "analytics"."prod_arbitrum_mainnet"."fct_prices_hourly_arbitrum_mainnet" +where market_symbol is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_mainnet_price.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_mainnet_price.sql new file mode 100644 index 00000000..b251b8ed --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_mainnet_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_arbitrum_mainnet"."fct_prices_hourly_arbitrum_mainnet" +where price is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_mainnet_ts.sql new file mode 100644 index 00000000..b9d59ad6 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_mainnet"."fct_prices_hourly_arbitrum_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_atomics_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_atomics_arbitrum_mainnet.sql new file mode 100644 index 00000000..77424cef --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_atomics_arbitrum_mainnet.sql @@ -0,0 +1,59 @@ +WITH bought AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + + price / 1e18 + AS price, + + synth_returned / 1e18 + AS amount, + referrer + FROM + "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet" +), +sold AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + + price / 1e18 + AS price, + -1 * + amount_returned / 1e18 + AS amount, + referrer + FROM + "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet" +) +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + price, + amount, + referrer +FROM + bought +UNION ALL +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + price, + amount, + referrer +FROM + sold +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_markets_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_markets_arbitrum_mainnet.sql new file mode 100644 index 00000000..8ff43dc9 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_markets_arbitrum_mainnet.sql @@ -0,0 +1,13 @@ +WITH base AS ( + SELECT + synth_market_id AS id, + block_timestamp AS created_ts, + block_number, + synth_token_address AS token_address + FROM + "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet" +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_wrapper_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_wrapper_arbitrum_mainnet.sql new file mode 100644 index 00000000..7a029953 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_wrapper_arbitrum_mainnet.sql @@ -0,0 +1,47 @@ +WITH wraps AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + + amount_wrapped / 1e18 + AS amount_wrapped + FROM + "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet" +), +unwraps AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + -1 * + amount_unwrapped / 1e18 + AS amount_wrapped + FROM + "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet" +) +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + amount_wrapped +FROM + wraps +UNION ALL +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + amount_wrapped +FROM + unwraps +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_synth_supply_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_synth_supply_arbitrum_mainnet.sql new file mode 100644 index 00000000..6907048e --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_synth_supply_arbitrum_mainnet.sql @@ -0,0 +1,75 @@ +WITH wrapper AS ( + SELECT + ts, + block_number, + synth_market_id, + amount_wrapped AS change_amount + FROM + "analytics"."prod_arbitrum_mainnet"."fct_spot_wrapper_arbitrum_mainnet" +), +atomics AS ( + SELECT + ts, + block_number, + synth_market_id, + amount AS change_amount + FROM + "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet" + UNION ALL + SELECT + ts, + block_number, + 0 AS synth_market_id, + amount * price * -1 AS change_amount + FROM + "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet" +), +usd_changes AS ( + SELECT + block_timestamp AS ts, + block_number, + 0 AS synth_market_id, + + amount / 1e18 + AS change_amount + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet" + UNION ALL + SELECT + block_timestamp AS ts, + block_number, + 0 AS synth_market_id, + -1 * + amount / 1e18 + AS change_amount + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet" +), +all_changes AS ( + SELECT + * + FROM + wrapper + UNION ALL + SELECT + * + FROM + atomics + UNION ALL + SELECT + * + FROM + usd_changes +) +SELECT + ts, + block_number, + synth_market_id, + SUM(change_amount) over ( + PARTITION BY synth_market_id + ORDER BY + ts, + block_number + ) AS supply +FROM + all_changes \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_0fab89b4df840dcd6d06f9fa6285b914.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_0fab89b4df840dcd6d06f9fa6285b914.sql new file mode 100644 index 00000000..52f77158 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_0fab89b4df840dcd6d06f9fa6285b914.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_spot_markets_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_40719b2c5c7462a9421a6076d2378e77.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_40719b2c5c7462a9421a6076d2378e77.sql new file mode 100644 index 00000000..8f1f5213 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_40719b2c5c7462a9421a6076d2378e77.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_spot_wrapper_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_75265e3f1113500b998d90fbb5de93fd.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_75265e3f1113500b998d90fbb5de93fd.sql new file mode 100644 index 00000000..897faa11 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_75265e3f1113500b998d90fbb5de93fd.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_ad07ecda7adc2e1174efae746b1e061f.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_ad07ecda7adc2e1174efae746b1e061f.sql new file mode 100644 index 00000000..ca777a67 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_ad07ecda7adc2e1174efae746b1e061f.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_mainnet"."fct_synth_supply_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_amount.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_amount.sql new file mode 100644 index 00000000..31376f60 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..87feb483 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..9b8070ae --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_price.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_price.sql new file mode 100644 index 00000000..23108413 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet" +where price is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_referrer.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_referrer.sql new file mode 100644 index 00000000..6627f7c3 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_referrer.sql @@ -0,0 +1,11 @@ + + + + + + +select referrer +from "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet" +where referrer is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id.sql new file mode 100644 index 00000000..77853ec9 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_ts.sql new file mode 100644 index 00000000..d89cd530 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash.sql new file mode 100644 index 00000000..9d84d272 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select tx_hash +from "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet" +where tx_hash is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..0825ab1d --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_arbitrum_mainnet"."fct_spot_markets_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_created_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_created_ts.sql new file mode 100644 index 00000000..f64909cc --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_created_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select created_ts +from "analytics"."prod_arbitrum_mainnet"."fct_spot_markets_arbitrum_mainnet" +where created_ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..ee82125e --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_arbitrum_mainnet"."fct_spot_markets_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_token_address.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_token_address.sql new file mode 100644 index 00000000..30303101 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_token_address.sql @@ -0,0 +1,11 @@ + + + + + + +select token_address +from "analytics"."prod_arbitrum_mainnet"."fct_spot_markets_arbitrum_mainnet" +where token_address is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped.sql new file mode 100644 index 00000000..961fb4a3 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_wrapped +from "analytics"."prod_arbitrum_mainnet"."fct_spot_wrapper_arbitrum_mainnet" +where amount_wrapped is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..dde50abc --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_arbitrum_mainnet"."fct_spot_wrapper_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..ed23b170 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_arbitrum_mainnet"."fct_spot_wrapper_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id.sql new file mode 100644 index 00000000..2695b43b --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_arbitrum_mainnet"."fct_spot_wrapper_arbitrum_mainnet" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_ts.sql new file mode 100644 index 00000000..76b3ab76 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_mainnet"."fct_spot_wrapper_arbitrum_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash.sql new file mode 100644 index 00000000..c2de72df --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select tx_hash +from "analytics"."prod_arbitrum_mainnet"."fct_spot_wrapper_arbitrum_mainnet" +where tx_hash is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..332c6686 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_arbitrum_mainnet"."fct_synth_supply_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_supply.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_supply.sql new file mode 100644 index 00000000..b801c3d1 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_supply.sql @@ -0,0 +1,11 @@ + + + + + + +select supply +from "analytics"."prod_arbitrum_mainnet"."fct_synth_supply_arbitrum_mainnet" +where supply is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id.sql new file mode 100644 index 00000000..616da104 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_arbitrum_mainnet"."fct_synth_supply_arbitrum_mainnet" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_ts.sql new file mode 100644 index 00000000..4c39da6b --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_mainnet"."fct_synth_supply_arbitrum_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/unique_fct_spot_atomics_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/unique_fct_spot_atomics_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..f3ec44ce --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/unique_fct_spot_atomics_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/unique_fct_spot_wrapper_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/unique_fct_spot_wrapper_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..17d65918 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/unique_fct_spot_wrapper_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_arbitrum_mainnet"."fct_spot_wrapper_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_account_delegation_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_account_delegation_arbitrum_sepolia.sql new file mode 100644 index 00000000..47b929f8 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_account_delegation_arbitrum_sepolia.sql @@ -0,0 +1,58 @@ +WITH delegation_changes AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + + amount / 1e18 + - LAG( + amount / 1e18 +, 1, 0) over ( + PARTITION BY account_id, + pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS change_in_amount + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia" +), +cumulative_delegation AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + SUM(change_in_amount) over ( + PARTITION BY pool_id, + account_id, + collateral_type + ORDER BY + block_timestamp + ) AS cumulative_amount_delegated, + ROW_NUMBER() over ( + PARTITION BY pool_id, + account_id, + collateral_type + ORDER BY + block_timestamp DESC + ) AS rn + FROM + delegation_changes +) +SELECT + block_timestamp AS ts, + CAST( + account_id AS text + ) AS account_id, + pool_id, + collateral_type, + cumulative_amount_delegated AS amount_delegated +FROM + cumulative_delegation +WHERE + rn = 1 +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_apr_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_apr_arbitrum_sepolia.sql new file mode 100644 index 00000000..4697a6ff --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_apr_arbitrum_sepolia.sql @@ -0,0 +1,209 @@ + + +WITH pnl_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_pnl, + hourly_issuance, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + hourly_total_pct, + SUM( + COALESCE( + hourly_issuance, + 0 + ) + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts + ) AS cumulative_issuance, + SUM( + hourly_pnl + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts + ) AS cumulative_pnl + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia" +), +avg_returns AS ( + SELECT + ts, + pool_id, + collateral_type, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_pnl_pct, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_pnl_pct, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_pnl_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_rewards_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_total_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_total_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_total_pct + FROM + pnl_hourly +), +apr_calculations AS ( + SELECT + pnl_hourly.ts AS ts, + pnl_hourly.pool_id AS pool_id, + pnl_hourly.collateral_type AS collateral_type, + pnl_hourly.collateral_value AS collateral_value, + pnl_hourly.debt AS debt, + pnl_hourly.hourly_pnl AS hourly_pnl, + pnl_hourly.cumulative_pnl AS cumulative_pnl, + pnl_hourly.hourly_issuance AS hourly_issuance, + pnl_hourly.cumulative_issuance AS cumulative_issuance, + pnl_hourly.rewards_usd AS rewards_usd, + pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct, + pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct, + -- total pnls + avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h, + avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d, + avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d, + -- pool pnls + avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl, + avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl, + avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl, + -- rewards pnls + avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards, + avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards, + avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards + FROM + pnl_hourly + JOIN avg_returns + ON pnl_hourly.ts = avg_returns.ts + AND pnl_hourly.pool_id = avg_returns.pool_id + AND pnl_hourly.collateral_type = avg_returns.collateral_type +), +apy_calculations AS ( + SELECT + *, + (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h, + (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d, + (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d, + (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl, + (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl, + (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl, + (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards, + (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards, + (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards + FROM + apr_calculations +) +SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_issuance, + hourly_pnl, + cumulative_pnl, + cumulative_issuance, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + apr_24h, + apy_24h, + apr_7d, + apy_7d, + apr_28d, + apy_28d, + apr_24h_pnl, + apy_24h_pnl, + apr_7d_pnl, + apy_7d_pnl, + apr_28d_pnl, + apy_28d_pnl, + apr_24h_rewards, + apy_24h_rewards, + apr_7d_rewards, + apy_7d_rewards, + apr_28d_rewards, + apy_28d_rewards +FROM + apy_calculations +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_apr_rewards_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_apr_rewards_arbitrum_sepolia.sql new file mode 100644 index 00000000..c43c1083 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_apr_rewards_arbitrum_sepolia.sql @@ -0,0 +1,100 @@ + + +WITH pnl_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + reward_token, + collateral_value, + rewards_usd, + hourly_rewards_pct + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_reward_arbitrum_sepolia" +), +avg_returns AS ( + SELECT + ts, + pool_id, + collateral_type, + reward_token, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_rewards_pct + FROM + pnl_hourly +), +apr_calculations AS ( + SELECT + pnl_hourly.ts AS ts, + pnl_hourly.pool_id AS pool_id, + pnl_hourly.collateral_type AS collateral_type, + pnl_hourly.reward_token AS reward_token, + pnl_hourly.collateral_value AS collateral_value, + pnl_hourly.rewards_usd AS rewards_usd, + pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct, + avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards, + avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards, + avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards + FROM + pnl_hourly + JOIN avg_returns + ON pnl_hourly.ts = avg_returns.ts + AND pnl_hourly.pool_id = avg_returns.pool_id + AND pnl_hourly.collateral_type = avg_returns.collateral_type + AND pnl_hourly.reward_token = avg_returns.reward_token +), +apy_calculations AS ( + SELECT + *, + (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards, + (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards, + (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards + FROM + apr_calculations +) +SELECT + ts, + pool_id, + collateral_type, + reward_token, + collateral_value, + rewards_usd, + hourly_rewards_pct, + apr_24h_rewards, + apy_24h_rewards, + apr_7d_rewards, + apy_7d_rewards, + apr_28d_rewards, + apy_28d_rewards +FROM + apy_calculations +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_market_updated_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_market_updated_arbitrum_sepolia.sql new file mode 100644 index 00000000..60be4e6a --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_market_updated_arbitrum_sepolia.sql @@ -0,0 +1,35 @@ +WITH market_updated AS ( + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia" +) +SELECT + id, + block_timestamp AS ts, + transaction_hash, + event_name, + market_id, + collateral_type, + + credit_capacity / 1e18 + AS credit_capacity, + + net_issuance / 1e18 + AS net_issuance, + + token_amount / 1e18 + AS token_amount +FROM + market_updated \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pool_collateral_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pool_collateral_arbitrum_sepolia.sql new file mode 100644 index 00000000..b34b8fec --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pool_collateral_arbitrum_sepolia.sql @@ -0,0 +1,39 @@ +WITH events AS ( + SELECT + block_timestamp, + + token_amount / 1e18 + AS token_amount, + collateral_type + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia" + UNION ALL + SELECT + block_timestamp,- + token_amount / 1e18 + AS token_amount, + collateral_type + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia" +), +ranked_events AS ( + SELECT + *, + SUM(token_amount) over ( + PARTITION BY collateral_type + ORDER BY + block_timestamp rows BETWEEN unbounded preceding + AND CURRENT ROW + ) AS amount_deposited + FROM + events +) +SELECT + block_timestamp AS ts, + collateral_type, + amount_deposited +FROM + ranked_events +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pool_delegation_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pool_delegation_arbitrum_sepolia.sql new file mode 100644 index 00000000..a4c432cd --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pool_delegation_arbitrum_sepolia.sql @@ -0,0 +1,44 @@ +WITH delegation_changes AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + + amount / 1e18 + - LAG( + amount / 1e18 +, 1, 0) over ( + PARTITION BY account_id, + pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS change_in_amount + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia" +), +cumulative_delegation AS ( + SELECT + block_timestamp, + pool_id, + collateral_type, + SUM(change_in_amount) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS cumulative_amount_delegated + FROM + delegation_changes +) +SELECT + block_timestamp AS ts, + pool_id, + collateral_type, + cumulative_amount_delegated AS amount_delegated +FROM + cumulative_delegation +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pools_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pools_arbitrum_sepolia.sql new file mode 100644 index 00000000..3c82b5b4 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pools_arbitrum_sepolia.sql @@ -0,0 +1,13 @@ +WITH base AS ( + SELECT + pool_id AS id, + block_timestamp AS created_ts, + block_number, + owner + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia" +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_debt_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_debt_arbitrum_sepolia.sql new file mode 100644 index 00000000..4b84c276 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_debt_arbitrum_sepolia.sql @@ -0,0 +1,10 @@ +SELECT + ts, + block_number, + pool_id, + collateral_type, + debt +FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_vault_debt_arbitrum_sepolia" +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_issuance_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_issuance_arbitrum_sepolia.sql new file mode 100644 index 00000000..71e407c1 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_issuance_arbitrum_sepolia.sql @@ -0,0 +1,43 @@ +WITH burns AS ( + SELECT + block_timestamp AS ts, + block_number, + transaction_hash, + pool_id, + collateral_type, + account_id, + -1 * + amount / 1e18 + AS amount + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia" + ORDER BY + block_timestamp DESC +), +mints AS ( + SELECT + block_timestamp AS ts, + block_number, + transaction_hash, + pool_id, + collateral_type, + account_id, + + amount / 1e18 + AS amount + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia" + ORDER BY + block_timestamp DESC +) +SELECT + * +FROM + burns +UNION ALL +SELECT + * +FROM + mints +ORDER BY + ts DESC \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_issuance_hourly_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_issuance_hourly_arbitrum_sepolia.sql new file mode 100644 index 00000000..2ed33974 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_issuance_hourly_arbitrum_sepolia.sql @@ -0,0 +1,110 @@ +WITH dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.pool_id, + m.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia" + ) AS m + GROUP BY + m.pool_id, + m.collateral_type +), +max_debt_block AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS HOUR, + pool_id, + collateral_type, + MAX(block_number) AS max_block_number + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia" + GROUP BY + DATE_TRUNC( + 'hour', + ts + ), + pool_id, + collateral_type +), +filt_issuance AS ( + SELECT + CASE + WHEN i.block_number <= d.max_block_number + OR d.max_block_number IS NULL THEN i.ts + ELSE i.ts + INTERVAL '1 hour' + END AS ts, + i.pool_id, + i.collateral_type, + i.amount + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia" + i + LEFT JOIN max_debt_block d + ON DATE_TRUNC( + 'hour', + i.ts + ) = d.hour + AND i.pool_id = d.pool_id + AND LOWER( + i.collateral_type + ) = LOWER( + d.collateral_type + ) + WHERE + i.block_number <= ( + SELECT + MAX( + max_block_number + ) + FROM + max_debt_block + ) +), +issuance AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + SUM(amount) AS hourly_issuance + FROM + filt_issuance + GROUP BY + 1, + 2, + 3 +) +SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + COALESCE( + i.hourly_issuance, + 0 + ) AS hourly_issuance +FROM + dim + LEFT JOIN issuance i + ON dim.pool_id = i.pool_id + AND LOWER( + dim.collateral_type + ) = LOWER( + i.collateral_type + ) + AND dim.ts = i.ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_arbitrum_sepolia.sql new file mode 100644 index 00000000..d05cf5fd --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_arbitrum_sepolia.sql @@ -0,0 +1,210 @@ + + +WITH dim AS ( + + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + p.pool_id, + p.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia" + ) AS p +GROUP BY + p.pool_id, + p.collateral_type +), +issuance AS ( + SELECT + ts, + pool_id, + collateral_type, + hourly_issuance + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_hourly_arbitrum_sepolia" +), +debt AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS debt + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia" +), +collateral AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS collateral_value + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia" + WHERE + pool_id = 1 +), +ffill AS ( + SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + debt.debt, + collateral.collateral_value, + SUM( + CASE + WHEN debt.debt IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + ORDER BY + dim.ts + ) AS debt_id, + SUM( + CASE + WHEN collateral.collateral_value IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + ORDER BY + dim.ts + ) AS collateral_id + FROM + dim + LEFT JOIN debt + ON dim.ts = debt.ts + AND dim.pool_id = debt.pool_id + AND dim.collateral_type = debt.collateral_type + LEFT JOIN collateral + ON dim.ts = collateral.ts + AND dim.pool_id = collateral.pool_id + AND dim.collateral_type = collateral.collateral_type +), +hourly_index AS ( + SELECT + ts, + pool_id, + collateral_type, + FIRST_VALUE(COALESCE(debt, 0)) over ( + PARTITION BY debt_id, + pool_id, + collateral_type + ORDER BY + ts + ) AS debt, + FIRST_VALUE(COALESCE(collateral_value, 0)) over ( + PARTITION BY collateral_id, + pool_id, + collateral_type + ORDER BY + ts + ) AS collateral_value + FROM + ffill +), +hourly_pnl AS ( + SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type + ORDER BY + ts) - debt, 0) AS hourly_pnl + FROM + hourly_index +), +hourly_rewards AS ( + SELECT + ts, + pool_id, + collateral_type, + rewards_usd + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_hourly_arbitrum_sepolia" +), +hourly_returns AS ( + SELECT + pnl.ts, + pnl.pool_id, + pnl.collateral_type, + pnl.collateral_value, + pnl.debt, + COALESCE( + iss.hourly_issuance, + 0 + ) hourly_issuance, + pnl.hourly_pnl + COALESCE( + iss.hourly_issuance, + 0 + ) AS hourly_pnl, + COALESCE( + rewards.rewards_usd, + 0 + ) AS rewards_usd, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE COALESCE( + rewards.rewards_usd, + 0 + ) / pnl.collateral_value + END AS hourly_rewards_pct, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value + END AS hourly_pnl_pct, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value + END AS hourly_total_pct + FROM + hourly_pnl pnl + LEFT JOIN hourly_rewards rewards + ON pnl.ts = rewards.ts + AND pnl.pool_id = rewards.pool_id + AND pnl.collateral_type = rewards.collateral_type + LEFT JOIN issuance iss + ON pnl.ts = iss.ts + AND pnl.pool_id = iss.pool_id + AND LOWER( + pnl.collateral_type + ) = LOWER( + iss.collateral_type + ) +) +SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_issuance, + hourly_pnl, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + hourly_total_pct +FROM + hourly_returns \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_reward_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_reward_arbitrum_sepolia.sql new file mode 100644 index 00000000..019d4c14 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_reward_arbitrum_sepolia.sql @@ -0,0 +1,78 @@ + + +WITH dim AS ( + + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + t.pool_id, + t.collateral_type, + t.collateral_value, + p.token_symbol AS reward_token + FROM + ( + SELECT + ts, + collateral_type, + pool_id, + collateral_value + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia" + group by + ts, + collateral_type, + pool_id, + collateral_value + ) AS t + CROSS JOIN ( + SELECT + DISTINCT token_symbol + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia" + ) AS p + GROUP BY + t.pool_id, + t.collateral_type, + t.collateral_value, + p.token_symbol +), +reward_hourly_token AS ( + SELECT + ts, + pool_id, + collateral_type, + token_symbol AS reward_token, + SUM( + rewards_usd + ) AS rewards_usd + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia" + GROUP BY + ts, + pool_id, + collateral_type, + token_symbol +) +SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + dim.collateral_value, + dim.reward_token, + COALESCE( + reward_hourly_token.rewards_usd, + 0 + ) AS rewards_usd, + CASE + WHEN dim.collateral_value = 0 THEN 0 + ELSE COALESCE( + reward_hourly_token.rewards_usd, + 0 + ) / dim.collateral_value + END AS hourly_rewards_pct +FROM + dim + LEFT JOIN reward_hourly_token + ON dim.ts = reward_hourly_token.ts + AND dim.pool_id = reward_hourly_token.pool_id + AND dim.collateral_type = reward_hourly_token.collateral_type + and dim.reward_token = reward_hourly_token.reward_token \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_arbitrum_sepolia.sql new file mode 100644 index 00000000..a866fac6 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_arbitrum_sepolia.sql @@ -0,0 +1,37 @@ +WITH rewards_distributed AS ( + SELECT + block_timestamp AS ts, + CAST( + pool_id AS INTEGER + ) AS pool_id, + collateral_type, + distributor, + + amount / 1e18 + AS amount, + TO_TIMESTAMP("start") AS ts_start, + "duration" + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia" +), +distributors AS ( + SELECT + CAST(distributor_address AS TEXT) AS distributor_address, + CAST(token_symbol AS TEXT) AS token_symbol + FROM + "analytics"."prod_seeds"."arbitrum_sepolia_reward_distributors" +) +SELECT + rd.ts, + rd.pool_id, + rd.collateral_type, + rd.distributor, + distributors.token_symbol, + rd.amount, + rd.ts_start, + rd.duration +FROM + rewards_distributed rd + join distributors on rd.distributor = distributors.distributor_address +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_hourly_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_hourly_arbitrum_sepolia.sql new file mode 100644 index 00000000..d9b7e00a --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_hourly_arbitrum_sepolia.sql @@ -0,0 +1,20 @@ +WITH token_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + rewards_usd + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia" +) +SELECT + ts, + pool_id, + collateral_type, + SUM(rewards_usd) AS rewards_usd +FROM + token_hourly +GROUP BY + ts, + pool_id, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_token_hourly_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_token_hourly_arbitrum_sepolia.sql new file mode 100644 index 00000000..eea01269 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_token_hourly_arbitrum_sepolia.sql @@ -0,0 +1,113 @@ +WITH dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.pool_id, + m.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia" + ) AS m + GROUP BY + m.pool_id, + m.collateral_type +), +rewards_distributed AS ( + SELECT + ts, + pool_id, + collateral_type, + distributor, + token_symbol, + amount, + ts_start, + "duration" + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_arbitrum_sepolia" +), +hourly_distributions AS ( + SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + r.distributor, + r.token_symbol, + r.amount, + r.ts_start, + r."duration", + ROW_NUMBER() over ( + PARTITION BY dim.ts, + dim.pool_id, + dim.collateral_type, + r.distributor + ORDER BY + r.ts_start DESC + ) AS distributor_index + FROM + dim + LEFT JOIN rewards_distributed r + ON dim.pool_id = r.pool_id + AND LOWER( + dim.collateral_type + ) = LOWER( + r.collateral_type + ) + AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start + AND dim.ts < r.ts_start + r."duration" * '1 second' :: INTERVAL +), +hourly_rewards AS ( + SELECT + d.ts, + d.pool_id, + d.collateral_type, + d.distributor, + d.token_symbol, + p.price, + -- get the hourly amount distributed + d.amount / ( + d."duration" / 3600 + ) AS hourly_amount, + -- get the amount of time distributed this hour + -- use the smaller of those two intervals + -- convert the interval to a number of hours + -- multiply the result by the hourly amount to get the amount distributed this hour + ( + EXTRACT( + epoch + FROM + LEAST( + d."duration" / 3600 * '1 hour' :: INTERVAL, + d.ts + '1 hour' :: INTERVAL - GREATEST( + d.ts, + d.ts_start + ) + ) + ) / 3600 + ) * d.amount / ( + d."duration" / 3600 + ) AS amount_distributed + FROM + hourly_distributions AS d + LEFT JOIN "analytics"."prod_arbitrum_sepolia"."fct_prices_hourly_arbitrum_sepolia" + p + ON d.ts = p.ts + AND d.token_symbol = p.market_symbol + WHERE + d.distributor_index = 1 +) +SELECT + *, + amount_distributed * price AS rewards_usd +FROM + hourly_rewards +WHERE + amount_distributed IS NOT NULL \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/accepted_values_fct_core_marke_8b90c2263185e692a28bc21c7c196d94.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/accepted_values_fct_core_marke_8b90c2263185e692a28bc21c7c196d94.sql new file mode 100644 index 00000000..bde434c9 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/accepted_values_fct_core_marke_8b90c2263185e692a28bc21c7c196d94.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_arbitrum_sepolia"."fct_core_market_updated_arbitrum_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited' +) + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_077f2defb2efb708f8c1e03f6d47b95a.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_077f2defb2efb708f8c1e03f6d47b95a.sql new file mode 100644 index 00000000..ec32b9af --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_077f2defb2efb708f8c1e03f6d47b95a.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not rewards_usd >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_0b44fd5cc8c2d1e04a3b7c9b915f2cc4.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_0b44fd5cc8c2d1e04a3b7c9b915f2cc4.sql new file mode 100644 index 00000000..d211f6f5 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_0b44fd5cc8c2d1e04a3b7c9b915f2cc4.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_core_pools_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_4f0191e29c5e221dd6a950c7ef37d747.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_4f0191e29c5e221dd6a950c7ef37d747.sql new file mode 100644 index 00000000..c77bc457 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_4f0191e29c5e221dd6a950c7ef37d747.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_core_account_delegation_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_delegated >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_7d6c69f2928c543037dd15ccc656a4e0.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_7d6c69f2928c543037dd15ccc656a4e0.sql new file mode 100644 index 00000000..10815b09 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_7d6c69f2928c543037dd15ccc656a4e0.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_884a51c573b5df3cbadc4cd5eb548c09.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_884a51c573b5df3cbadc4cd5eb548c09.sql new file mode 100644 index 00000000..d8cde2c8 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_884a51c573b5df3cbadc4cd5eb548c09.sql @@ -0,0 +1,22 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_pnl_pct >= -1 + -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_pnl_pct <= 1 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_b74906ac71cf090fed4cb09296e08ec9.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_b74906ac71cf090fed4cb09296e08ec9.sql new file mode 100644 index 00000000..86794c78 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_b74906ac71cf090fed4cb09296e08ec9.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_core_market_updated_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_de38f886e586adc0ef6de1c742aa1e21.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_de38f886e586adc0ef6de1c742aa1e21.sql new file mode 100644 index 00000000..47d17b7f --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_de38f886e586adc0ef6de1c742aa1e21.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_core_pool_delegation_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_f89936149b2f72282552911517871bed.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_f89936149b2f72282552911517871bed.sql new file mode 100644 index 00000000..a16985db --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_f89936149b2f72282552911517871bed.sql @@ -0,0 +1,22 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_rewards_pct >= 0 + -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_rewards_pct <= 1 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_f960bca5e9cfb9ebd3dd42290ee043a9.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_f960bca5e9cfb9ebd3dd42290ee043a9.sql new file mode 100644 index 00000000..ac044003 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_f960bca5e9cfb9ebd3dd42290ee043a9.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_core_account_delegation_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_ff2b6461c3de5a4c9eb8d709664fdf81.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_ff2b6461c3de5a4c9eb8d709664fdf81.sql new file mode 100644 index 00000000..f487b272 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_ff2b6461c3de5a4c9eb8d709664fdf81.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collateral_value >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_00419512556802607d34a13b2fae9fde.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_00419512556802607d34a13b2fae9fde.sql new file mode 100644 index 00000000..44bc6903 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_00419512556802607d34a13b2fae9fde.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not rewards_usd >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_0305974c50a0f1c684080082e2de1b91.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_0305974c50a0f1c684080082e2de1b91.sql new file mode 100644 index 00000000..d91ab33d --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_0305974c50a0f1c684080082e2de1b91.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_10ced893bba152248d018a8fc373d942.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_10ced893bba152248d018a8fc373d942.sql new file mode 100644 index 00000000..2969e102 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_10ced893bba152248d018a8fc373d942.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_hourly_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_2a63ee355e4d76f268537548f1f3d4cf.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_2a63ee355e4d76f268537548f1f3d4cf.sql new file mode 100644 index 00000000..4dd2c8c1 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_2a63ee355e4d76f268537548f1f3d4cf.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_hourly_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not rewards_usd >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_3a2f522b52f84f1fa4d5d261ac240762.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_3a2f522b52f84f1fa4d5d261ac240762.sql new file mode 100644 index 00000000..9775e65c --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_3a2f522b52f84f1fa4d5d261ac240762.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_5183b189cbc825148d4266891fd01da5.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_5183b189cbc825148d4266891fd01da5.sql new file mode 100644 index 00000000..0db68f76 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_5183b189cbc825148d4266891fd01da5.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_599de352b839feed51ad4f4eb17b420f.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_599de352b839feed51ad4f4eb17b420f.sql new file mode 100644 index 00000000..1cd970ca --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_599de352b839feed51ad4f4eb17b420f.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_6f0679969324f6c86528d62ed3e64658.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_6f0679969324f6c86528d62ed3e64658.sql new file mode 100644 index 00000000..bede6240 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_6f0679969324f6c86528d62ed3e64658.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_7117aa2f114d3eb896f9eea1201abd2a.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_7117aa2f114d3eb896f9eea1201abd2a.sql new file mode 100644 index 00000000..a2403ab3 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_7117aa2f114d3eb896f9eea1201abd2a.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_78d7856dd1e123f365011eee499b2f59.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_78d7856dd1e123f365011eee499b2f59.sql new file mode 100644 index 00000000..12cc2358 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_78d7856dd1e123f365011eee499b2f59.sql @@ -0,0 +1,22 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_rewards_pct >= 0 + -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_rewards_pct <= 1 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_7d080ad9810c6e54982f624954c1a8bd.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_7d080ad9810c6e54982f624954c1a8bd.sql new file mode 100644 index 00000000..34c4491e --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_7d080ad9810c6e54982f624954c1a8bd.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_a67d338a50f45b5e37135127818c33d1.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_a67d338a50f45b5e37135127818c33d1.sql new file mode 100644 index 00000000..94b06eca --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_a67d338a50f45b5e37135127818c33d1.sql @@ -0,0 +1,22 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_pnl_pct >= -1 + -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_pnl_pct <= 1 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_df9fa8946eec41700553434667916542.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_df9fa8946eec41700553434667916542.sql new file mode 100644 index 00000000..3bed4fae --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_df9fa8946eec41700553434667916542.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_hourly_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_e0a68b51993ab712ad96312726405859.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_e0a68b51993ab712ad96312726405859.sql new file mode 100644 index 00000000..fd32b4a5 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_e0a68b51993ab712ad96312726405859.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not rewards_usd >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_e12600eefd85fc7e692b201278046e4b.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_e12600eefd85fc7e692b201278046e4b.sql new file mode 100644 index 00000000..98eddedd --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_e12600eefd85fc7e692b201278046e4b.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collateral_value >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_fa22a1f51ca74ea96a04a23f52e6fd76.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_fa22a1f51ca74ea96a04a23f52e6fd76.sql new file mode 100644 index 00000000..c9a09481 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_fa22a1f51ca74ea96a04a23f52e6fd76.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_distributed >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_fa7cf2db846d1f7db6571286c827e475.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_fa7cf2db846d1f7db6571286c827e475.sql new file mode 100644 index 00000000..dae73fca --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_fa7cf2db846d1f7db6571286c827e475.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_dele_1d9726e98d7c252b953966d1ac40c406.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_dele_1d9726e98d7c252b953966d1ac40c406.sql new file mode 100644 index 00000000..b9c9268c --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_dele_1d9726e98d7c252b953966d1ac40c406.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_arbitrum_sepolia"."fct_core_account_delegation_arbitrum_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_dele_bacd513a0071b80c39a55744b53f1df2.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_dele_bacd513a0071b80c39a55744b53f1df2.sql new file mode 100644 index 00000000..a881849c --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_dele_bacd513a0071b80c39a55744b53f1df2.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_arbitrum_sepolia"."fct_core_account_delegation_arbitrum_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_dele_beb2c452623901a2f1cc75badf66ccbe.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_dele_beb2c452623901a2f1cc75badf66ccbe.sql new file mode 100644 index 00000000..69d7ddcd --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_dele_beb2c452623901a2f1cc75badf66ccbe.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_delegated +from "analytics"."prod_arbitrum_sepolia"."fct_core_account_delegation_arbitrum_sepolia" +where amount_delegated is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id.sql new file mode 100644 index 00000000..af727bdf --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_arbitrum_sepolia"."fct_core_account_delegation_arbitrum_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_sepolia_ts.sql new file mode 100644 index 00000000..5e6bff8a --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_sepolia"."fct_core_account_delegation_arbitrum_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apr_24h.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apr_24h.sql new file mode 100644 index 00000000..b4ecd4f1 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apr_24h.sql @@ -0,0 +1,11 @@ + + + + + + +select apr_24h +from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia" +where apr_24h is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apr_28d.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apr_28d.sql new file mode 100644 index 00000000..cb5b3f3a --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apr_28d.sql @@ -0,0 +1,11 @@ + + + + + + +select apr_28d +from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia" +where apr_28d is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apr_7d.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apr_7d.sql new file mode 100644 index 00000000..21017cdc --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apr_7d.sql @@ -0,0 +1,11 @@ + + + + + + +select apr_7d +from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia" +where apr_7d is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apy_24h.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apy_24h.sql new file mode 100644 index 00000000..00014a70 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apy_24h.sql @@ -0,0 +1,11 @@ + + + + + + +select apy_24h +from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia" +where apy_24h is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apy_28d.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apy_28d.sql new file mode 100644 index 00000000..5bac8a58 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apy_28d.sql @@ -0,0 +1,11 @@ + + + + + + +select apy_28d +from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia" +where apy_28d is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apy_7d.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apy_7d.sql new file mode 100644 index 00000000..badf0adb --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apy_7d.sql @@ -0,0 +1,11 @@ + + + + + + +select apy_7d +from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia" +where apy_7d is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_collateral_type.sql new file mode 100644 index 00000000..23d6793d --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_collateral_value.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_collateral_value.sql new file mode 100644 index 00000000..7222ca9f --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_collateral_value.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_value +from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia" +where collateral_value is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance.sql new file mode 100644 index 00000000..717a179a --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select cumulative_issuance +from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia" +where cumulative_issuance is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl.sql new file mode 100644 index 00000000..1f642d93 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl.sql @@ -0,0 +1,11 @@ + + + + + + +select cumulative_pnl +from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia" +where cumulative_pnl is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_debt.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_debt.sql new file mode 100644 index 00000000..0dc136c8 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_debt.sql @@ -0,0 +1,11 @@ + + + + + + +select debt +from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia" +where debt is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance.sql new file mode 100644 index 00000000..7981655a --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_issuance +from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia" +where hourly_issuance is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl.sql new file mode 100644 index 00000000..e50de65f --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_pnl +from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia" +where hourly_pnl is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct.sql new file mode 100644 index 00000000..ebd9959e --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_pnl_pct +from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia" +where hourly_pnl_pct is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct.sql new file mode 100644 index 00000000..3ed56e36 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_rewards_pct +from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia" +where hourly_rewards_pct is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_pool_id.sql new file mode 100644 index 00000000..47ce3611 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_rewards_usd.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_rewards_usd.sql new file mode 100644 index 00000000..e9a90a8b --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_rewards_usd.sql @@ -0,0 +1,11 @@ + + + + + + +select rewards_usd +from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia" +where rewards_usd is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_ts.sql new file mode 100644 index 00000000..45bdf0d0 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updat_36e0ca2a51356f2f21489599f00a450c.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updat_36e0ca2a51356f2f21489599f00a450c.sql new file mode 100644 index 00000000..43db937b --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updat_36e0ca2a51356f2f21489599f00a450c.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_arbitrum_sepolia"."fct_core_market_updated_arbitrum_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updat_deb18cd73203d572302c2f3a96563472.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updat_deb18cd73203d572302c2f3a96563472.sql new file mode 100644 index 00000000..0a733ea9 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updat_deb18cd73203d572302c2f3a96563472.sql @@ -0,0 +1,11 @@ + + + + + + +select credit_capacity +from "analytics"."prod_arbitrum_sepolia"."fct_core_market_updated_arbitrum_sepolia" +where credit_capacity is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updat_f2230a6a0d1758e98839bc6421b06fa7.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updat_f2230a6a0d1758e98839bc6421b06fa7.sql new file mode 100644 index 00000000..ce570331 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updat_f2230a6a0d1758e98839bc6421b06fa7.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_arbitrum_sepolia"."fct_core_market_updated_arbitrum_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_event_name.sql new file mode 100644 index 00000000..4a51dafc --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_arbitrum_sepolia"."fct_core_market_updated_arbitrum_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..d496ca41 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_arbitrum_sepolia"."fct_core_market_updated_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_market_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_market_id.sql new file mode 100644 index 00000000..a23c2bdb --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_arbitrum_sepolia"."fct_core_market_updated_arbitrum_sepolia" +where market_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance.sql new file mode 100644 index 00000000..e7fc26ca --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select net_issuance +from "analytics"."prod_arbitrum_sepolia"."fct_core_market_updated_arbitrum_sepolia" +where net_issuance is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_token_amount.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_token_amount.sql new file mode 100644 index 00000000..4acb5bcb --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_token_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select token_amount +from "analytics"."prod_arbitrum_sepolia"."fct_core_market_updated_arbitrum_sepolia" +where token_amount is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_ts.sql new file mode 100644 index 00000000..d32486d7 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_sepolia"."fct_core_market_updated_arbitrum_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_collate_0f92106980f19a00f3960ca4fc10318e.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_collate_0f92106980f19a00f3960ca4fc10318e.sql new file mode 100644 index 00000000..b547f1dd --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_collate_0f92106980f19a00f3960ca4fc10318e.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_deposited +from "analytics"."prod_arbitrum_sepolia"."fct_core_pool_collateral_arbitrum_sepolia" +where amount_deposited is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_collate_ee9fa342217d1818d740af9852d602da.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_collate_ee9fa342217d1818d740af9852d602da.sql new file mode 100644 index 00000000..317c8266 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_collate_ee9fa342217d1818d740af9852d602da.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_arbitrum_sepolia"."fct_core_pool_collateral_arbitrum_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_arbitrum_sepolia_ts.sql new file mode 100644 index 00000000..08d39234 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_arbitrum_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_sepolia"."fct_core_pool_collateral_arbitrum_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_delegat_60116e7971a6034dfb3bce7f65b82427.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_delegat_60116e7971a6034dfb3bce7f65b82427.sql new file mode 100644 index 00000000..d67df9a3 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_delegat_60116e7971a6034dfb3bce7f65b82427.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_arbitrum_sepolia"."fct_core_pool_delegation_arbitrum_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id.sql new file mode 100644 index 00000000..e447a474 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_arbitrum_sepolia"."fct_core_pool_delegation_arbitrum_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_sepolia_ts.sql new file mode 100644 index 00000000..86c9b42c --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_sepolia"."fct_core_pool_delegation_arbitrum_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..cc22615f --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_arbitrum_sepolia"."fct_core_pools_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_created_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_created_ts.sql new file mode 100644 index 00000000..7c8640bc --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_created_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select created_ts +from "analytics"."prod_arbitrum_sepolia"."fct_core_pools_arbitrum_sepolia" +where created_ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..7c0f034e --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_arbitrum_sepolia"."fct_core_pools_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_owner.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_owner.sql new file mode 100644 index 00000000..f114a127 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_owner.sql @@ -0,0 +1,11 @@ + + + + + + +select owner +from "analytics"."prod_arbitrum_sepolia"."fct_core_pools_arbitrum_sepolia" +where owner is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..fc2344df --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_collateral_type.sql new file mode 100644 index 00000000..3da3cf15 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_debt.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_debt.sql new file mode 100644 index 00000000..27622a8f --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_debt.sql @@ -0,0 +1,11 @@ + + + + + + +select debt +from "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia" +where debt is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_pool_id.sql new file mode 100644 index 00000000..6e0f2edb --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_ts.sql new file mode 100644 index 00000000..0c5fafae --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_account_id.sql new file mode 100644 index 00000000..4bfa9d70 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_amount.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_amount.sql new file mode 100644 index 00000000..d6c03cff --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia" +where amount is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..6120f10e --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type.sql new file mode 100644 index 00000000..482f8118 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_pool_id.sql new file mode 100644 index 00000000..1cb1ff25 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash.sql new file mode 100644 index 00000000..5488bc10 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_ts.sql new file mode 100644 index 00000000..3231c012 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hou_11cb916d75968dff8a34062a04135270.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hou_11cb916d75968dff8a34062a04135270.sql new file mode 100644 index 00000000..d1f13f63 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hou_11cb916d75968dff8a34062a04135270.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_issuance +from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_hourly_arbitrum_sepolia" +where hourly_issuance is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hou_ef4983c22214b01e693f4d2ae2d8d374.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hou_ef4983c22214b01e693f4d2ae2d8d374.sql new file mode 100644 index 00000000..fd141b68 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hou_ef4983c22214b01e693f4d2ae2d8d374.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_hourly_arbitrum_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id.sql new file mode 100644 index 00000000..e7dae77e --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_hourly_arbitrum_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts.sql new file mode 100644 index 00000000..d04bca6b --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_hourly_arbitrum_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_a_6c23c87583f2b0ac9bb0a2c0370497c4.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_a_6c23c87583f2b0ac9bb0a2c0370497c4.sql new file mode 100644 index 00000000..d79d63e0 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_a_6c23c87583f2b0ac9bb0a2c0370497c4.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_rewards_pct +from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia" +where hourly_rewards_pct is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type.sql new file mode 100644 index 00000000..e6c04993 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value.sql new file mode 100644 index 00000000..1c73401a --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_value +from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia" +where collateral_value is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt.sql new file mode 100644 index 00000000..8dce3d7b --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt.sql @@ -0,0 +1,11 @@ + + + + + + +select debt +from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia" +where debt is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance.sql new file mode 100644 index 00000000..cd958517 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_issuance +from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia" +where hourly_issuance is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl.sql new file mode 100644 index 00000000..20db083b --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_pnl +from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia" +where hourly_pnl is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct.sql new file mode 100644 index 00000000..e7e3c673 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_pnl_pct +from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia" +where hourly_pnl_pct is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct.sql new file mode 100644 index 00000000..0b2e6ea9 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_total_pct +from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia" +where hourly_total_pct is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id.sql new file mode 100644 index 00000000..131b6804 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd.sql new file mode 100644 index 00000000..91eb738b --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd.sql @@ -0,0 +1,11 @@ + + + + + + +select rewards_usd +from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia" +where rewards_usd is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts.sql new file mode 100644 index 00000000..cc098cb0 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_amount.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_amount.sql new file mode 100644 index 00000000..e0dc1f48 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_arbitrum_sepolia" +where amount is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type.sql new file mode 100644 index 00000000..e3a24610 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_arbitrum_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_distributor.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_distributor.sql new file mode 100644 index 00000000..45e3e7e8 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_distributor.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor +from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_arbitrum_sepolia" +where distributor is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_pool_id.sql new file mode 100644 index 00000000..fef13e13 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_arbitrum_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol.sql new file mode 100644 index 00000000..fc52b290 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_arbitrum_sepolia" +where token_symbol is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_ts.sql new file mode 100644 index 00000000..24774dd2 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_arbitrum_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hour_635c87ae2557e9395da988d2e1e4a097.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hour_635c87ae2557e9395da988d2e1e4a097.sql new file mode 100644 index 00000000..560edabd --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hour_635c87ae2557e9395da988d2e1e4a097.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_hourly_arbitrum_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id.sql new file mode 100644 index 00000000..25ac0087 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_hourly_arbitrum_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd.sql new file mode 100644 index 00000000..98debeff --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd.sql @@ -0,0 +1,11 @@ + + + + + + +select rewards_usd +from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_hourly_arbitrum_sepolia" +where rewards_usd is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts.sql new file mode 100644 index 00000000..fa56e159 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_hourly_arbitrum_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_101f33e1d7acd1e7a935048c8eeed72a.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_101f33e1d7acd1e7a935048c8eeed72a.sql new file mode 100644 index 00000000..67ec93a1 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_101f33e1d7acd1e7a935048c8eeed72a.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia" +where token_symbol is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_8dfb621ad95873be69842e7a52568e36.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_8dfb621ad95873be69842e7a52568e36.sql new file mode 100644 index 00000000..c842d1cc --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_8dfb621ad95873be69842e7a52568e36.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_a8c2669f0d6479c019d59a25fa7f3128.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_a8c2669f0d6479c019d59a25fa7f3128.sql new file mode 100644 index 00000000..8e1c62fc --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_a8c2669f0d6479c019d59a25fa7f3128.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_amount +from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia" +where hourly_amount is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_c3520f755c3280ff3dbb2008a3c8df69.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_c3520f755c3280ff3dbb2008a3c8df69.sql new file mode 100644 index 00000000..9c63b83c --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_c3520f755c3280ff3dbb2008a3c8df69.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor +from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia" +where distributor is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_d66933481f7af1019863db2047abc6b6.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_d66933481f7af1019863db2047abc6b6.sql new file mode 100644 index 00000000..f3e3c4a2 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_d66933481f7af1019863db2047abc6b6.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_distributed +from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia" +where amount_distributed is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_db7f25a9d30e870ff1966e415088dd18.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_db7f25a9d30e870ff1966e415088dd18.sql new file mode 100644 index 00000000..d45d4b6d --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_db7f25a9d30e870ff1966e415088dd18.sql @@ -0,0 +1,11 @@ + + + + + + +select rewards_usd +from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia" +where rewards_usd is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id.sql new file mode 100644 index 00000000..95bef6ab --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price.sql new file mode 100644 index 00000000..899325c8 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia" +where price is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts.sql new file mode 100644 index 00000000..d20d146d --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/unique_fct_core_market_updated_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/unique_fct_core_market_updated_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..830e826f --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/unique_fct_core_market_updated_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_arbitrum_sepolia"."fct_core_market_updated_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/prices/fct_prices_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/fct_prices_arbitrum_sepolia.sql new file mode 100644 index 00000000..1af3f057 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/fct_prices_arbitrum_sepolia.sql @@ -0,0 +1,34 @@ +WITH all_prices AS ( + SELECT + ts, + collateral_type AS market_address, + NULL AS market_symbol, + collateral_value / amount AS price + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia" + WHERE + collateral_value > 0 +), +tokens AS ( + SELECT + token_address, + token_symbol + FROM + "analytics"."prod_seeds"."arbitrum_sepolia_tokens" +) +SELECT + p.ts, + p.market_address, + COALESCE( + t.token_symbol, + p.market_symbol + ) AS market_symbol, + p.price +FROM + all_prices p + LEFT JOIN tokens t + ON LOWER( + p.market_address + ) = LOWER( + t.token_address + ) \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/prices/fct_prices_hourly_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/fct_prices_hourly_arbitrum_sepolia.sql new file mode 100644 index 00000000..902b8ce4 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/fct_prices_hourly_arbitrum_sepolia.sql @@ -0,0 +1,74 @@ +WITH prices AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + market_symbol, + LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS price + FROM + "analytics"."prod_arbitrum_sepolia"."fct_prices_arbitrum_sepolia" +), +dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.market_symbol + FROM + ( + SELECT + ts + FROM + prices + ) AS t + CROSS JOIN ( + SELECT + DISTINCT market_symbol + FROM + prices + ) AS m + GROUP BY + m.market_symbol +), +ffill AS ( + SELECT + dim.ts, + dim.market_symbol, + prices.price, + SUM( + CASE + WHEN prices.price IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + PARTITION BY dim.market_symbol + ORDER BY + dim.ts + ) AS price_id + FROM + dim + LEFT JOIN prices + ON dim.ts = prices.ts + AND dim.market_symbol = prices.market_symbol +), +hourly_prices AS ( + SELECT + ts, + market_symbol, + FIRST_VALUE(price) over ( + PARTITION BY price_id, + market_symbol + ORDER BY + ts + ) AS price + FROM + ffill +) +SELECT + * +FROM + hourly_prices +WHERE + price IS NOT NULL \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_p_1793757a7745263cb1ae50328ac71095.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_p_1793757a7745263cb1ae50328ac71095.sql new file mode 100644 index 00000000..887f592c --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_p_1793757a7745263cb1ae50328ac71095.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_prices_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_p_c389955785804dcaf9bd1c3182ae345a.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_p_c389955785804dcaf9bd1c3182ae345a.sql new file mode 100644 index 00000000..3e59e458 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_p_c389955785804dcaf9bd1c3182ae345a.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_prices_hourly_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_arbitrum_sepolia_market_symbol.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_arbitrum_sepolia_market_symbol.sql new file mode 100644 index 00000000..9103a069 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_arbitrum_sepolia_market_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select market_symbol +from "analytics"."prod_arbitrum_sepolia"."fct_prices_arbitrum_sepolia" +where market_symbol is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_arbitrum_sepolia_price.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_arbitrum_sepolia_price.sql new file mode 100644 index 00000000..ab6b7a03 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_arbitrum_sepolia_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_arbitrum_sepolia"."fct_prices_arbitrum_sepolia" +where price is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_arbitrum_sepolia_ts.sql new file mode 100644 index 00000000..8dd869d3 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_arbitrum_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_sepolia"."fct_prices_arbitrum_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol.sql new file mode 100644 index 00000000..484efe96 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select market_symbol +from "analytics"."prod_arbitrum_sepolia"."fct_prices_hourly_arbitrum_sepolia" +where market_symbol is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_sepolia_price.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_sepolia_price.sql new file mode 100644 index 00000000..3b6ae9b6 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_sepolia_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_arbitrum_sepolia"."fct_prices_hourly_arbitrum_sepolia" +where price is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_sepolia_ts.sql new file mode 100644 index 00000000..110e1869 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_sepolia"."fct_prices_hourly_arbitrum_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_atomics_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_atomics_arbitrum_sepolia.sql new file mode 100644 index 00000000..7871b359 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_atomics_arbitrum_sepolia.sql @@ -0,0 +1,59 @@ +WITH bought AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + + price / 1e18 + AS price, + + synth_returned / 1e18 + AS amount, + referrer + FROM + "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia" +), +sold AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + + price / 1e18 + AS price, + -1 * + amount_returned / 1e18 + AS amount, + referrer + FROM + "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia" +) +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + price, + amount, + referrer +FROM + bought +UNION ALL +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + price, + amount, + referrer +FROM + sold +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_markets_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_markets_arbitrum_sepolia.sql new file mode 100644 index 00000000..581e1818 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_markets_arbitrum_sepolia.sql @@ -0,0 +1,13 @@ +WITH base AS ( + SELECT + synth_market_id AS id, + block_timestamp AS created_ts, + block_number, + synth_token_address AS token_address + FROM + "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia" +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_wrapper_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_wrapper_arbitrum_sepolia.sql new file mode 100644 index 00000000..41d3b40a --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_wrapper_arbitrum_sepolia.sql @@ -0,0 +1,47 @@ +WITH wraps AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + + amount_wrapped / 1e18 + AS amount_wrapped + FROM + "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia" +), +unwraps AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + -1 * + amount_unwrapped / 1e18 + AS amount_wrapped + FROM + "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia" +) +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + amount_wrapped +FROM + wraps +UNION ALL +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + amount_wrapped +FROM + unwraps +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_synth_supply_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_synth_supply_arbitrum_sepolia.sql new file mode 100644 index 00000000..53a922b1 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_synth_supply_arbitrum_sepolia.sql @@ -0,0 +1,75 @@ +WITH wrapper AS ( + SELECT + ts, + block_number, + synth_market_id, + amount_wrapped AS change_amount + FROM + "analytics"."prod_arbitrum_sepolia"."fct_spot_wrapper_arbitrum_sepolia" +), +atomics AS ( + SELECT + ts, + block_number, + synth_market_id, + amount AS change_amount + FROM + "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia" + UNION ALL + SELECT + ts, + block_number, + 0 AS synth_market_id, + amount * price * -1 AS change_amount + FROM + "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia" +), +usd_changes AS ( + SELECT + block_timestamp AS ts, + block_number, + 0 AS synth_market_id, + + amount / 1e18 + AS change_amount + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia" + UNION ALL + SELECT + block_timestamp AS ts, + block_number, + 0 AS synth_market_id, + -1 * + amount / 1e18 + AS change_amount + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia" +), +all_changes AS ( + SELECT + * + FROM + wrapper + UNION ALL + SELECT + * + FROM + atomics + UNION ALL + SELECT + * + FROM + usd_changes +) +SELECT + ts, + block_number, + synth_market_id, + SUM(change_amount) over ( + PARTITION BY synth_market_id + ORDER BY + ts, + block_number + ) AS supply +FROM + all_changes \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_13b1cd7a747e4342600b693999e3edc5.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_13b1cd7a747e4342600b693999e3edc5.sql new file mode 100644 index 00000000..073f526a --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_13b1cd7a747e4342600b693999e3edc5.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_synth_supply_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_4c31ac9727349bc48034259abf6855e8.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_4c31ac9727349bc48034259abf6855e8.sql new file mode 100644 index 00000000..430a14a6 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_4c31ac9727349bc48034259abf6855e8.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_7ae3fe9b5ae9f2521f5ef9e747468675.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_7ae3fe9b5ae9f2521f5ef9e747468675.sql new file mode 100644 index 00000000..d947f2c8 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_7ae3fe9b5ae9f2521f5ef9e747468675.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_spot_markets_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_f7215907bd80967a19c7b75cb2c62c2d.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_f7215907bd80967a19c7b75cb2c62c2d.sql new file mode 100644 index 00000000..ad83e2b4 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_f7215907bd80967a19c7b75cb2c62c2d.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_arbitrum_sepolia"."fct_spot_wrapper_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_amount.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_amount.sql new file mode 100644 index 00000000..f3d66e31 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia" +where amount is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..ce43f263 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..2c434d7e --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_price.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_price.sql new file mode 100644 index 00000000..f5ecd8ba --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia" +where price is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_referrer.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_referrer.sql new file mode 100644 index 00000000..e35fadfb --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_referrer.sql @@ -0,0 +1,11 @@ + + + + + + +select referrer +from "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia" +where referrer is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id.sql new file mode 100644 index 00000000..fde0a453 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_ts.sql new file mode 100644 index 00000000..ff6b7c48 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash.sql new file mode 100644 index 00000000..08bc026a --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select tx_hash +from "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia" +where tx_hash is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..856d523d --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_arbitrum_sepolia"."fct_spot_markets_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_created_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_created_ts.sql new file mode 100644 index 00000000..768cbef3 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_created_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select created_ts +from "analytics"."prod_arbitrum_sepolia"."fct_spot_markets_arbitrum_sepolia" +where created_ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..7bb571eb --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_arbitrum_sepolia"."fct_spot_markets_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_token_address.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_token_address.sql new file mode 100644 index 00000000..9ad444e4 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_token_address.sql @@ -0,0 +1,11 @@ + + + + + + +select token_address +from "analytics"."prod_arbitrum_sepolia"."fct_spot_markets_arbitrum_sepolia" +where token_address is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped.sql new file mode 100644 index 00000000..ec9cc968 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_wrapped +from "analytics"."prod_arbitrum_sepolia"."fct_spot_wrapper_arbitrum_sepolia" +where amount_wrapped is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..93adb3a9 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_arbitrum_sepolia"."fct_spot_wrapper_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..7753107e --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_arbitrum_sepolia"."fct_spot_wrapper_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id.sql new file mode 100644 index 00000000..4dd77c53 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_arbitrum_sepolia"."fct_spot_wrapper_arbitrum_sepolia" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_ts.sql new file mode 100644 index 00000000..e383e2de --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_sepolia"."fct_spot_wrapper_arbitrum_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash.sql new file mode 100644 index 00000000..24126f0b --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select tx_hash +from "analytics"."prod_arbitrum_sepolia"."fct_spot_wrapper_arbitrum_sepolia" +where tx_hash is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..0ee39650 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_arbitrum_sepolia"."fct_synth_supply_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_supply.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_supply.sql new file mode 100644 index 00000000..06086479 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_supply.sql @@ -0,0 +1,11 @@ + + + + + + +select supply +from "analytics"."prod_arbitrum_sepolia"."fct_synth_supply_arbitrum_sepolia" +where supply is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id.sql new file mode 100644 index 00000000..1da3e6ac --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_arbitrum_sepolia"."fct_synth_supply_arbitrum_sepolia" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_ts.sql new file mode 100644 index 00000000..70c2d61b --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_arbitrum_sepolia"."fct_synth_supply_arbitrum_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/unique_fct_spot_atomics_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/unique_fct_spot_atomics_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..6d0def49 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/unique_fct_spot_atomics_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/unique_fct_spot_wrapper_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/unique_fct_spot_wrapper_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..def76a01 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/unique_fct_spot_wrapper_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_arbitrum_sepolia"."fct_spot_wrapper_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_base_mainnet.sql new file mode 100644 index 00000000..f30e933b --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_base_mainnet.sql @@ -0,0 +1,17 @@ +SELECT + id, + block_timestamp AS ts, + buyer, + + snx / 1e18 + AS snx, + + usd / 1e18 + AS usd, + ( + usd / 1e18 +) / ( + snx / 1e18 +) AS snx_price +FROM + "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet" \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_daily_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_daily_base_mainnet.sql new file mode 100644 index 00000000..6204522d --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_daily_base_mainnet.sql @@ -0,0 +1,27 @@ +WITH agg AS ( + SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + SUM(snx) AS snx_amount, + SUM(usd) AS usd_amount + FROM + "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet" + GROUP BY + 1 +) -- add cumulative amounts +SELECT + ts, + snx_amount, + usd_amount, + SUM(snx_amount) over ( + ORDER BY + ts + ) AS cumulative_snx_amount, + SUM(usd_amount) over ( + ORDER BY + ts + ) AS cumulative_usd_amount +FROM + agg \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_hourly_base_mainnet.sql new file mode 100644 index 00000000..48c227c4 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_hourly_base_mainnet.sql @@ -0,0 +1,27 @@ +WITH agg AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + SUM(snx) AS snx_amount, + SUM(usd) AS usd_amount + FROM + "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet" + GROUP BY + 1 +) -- add cumulative amounts +SELECT + ts, + snx_amount, + usd_amount, + SUM(snx_amount) over ( + ORDER BY + ts + ) AS cumulative_snx_amount, + SUM(usd_amount) over ( + ORDER BY + ts + ) AS cumulative_usd_amount +FROM + agg \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_2357e6e1b2389bbacb74d4d9d107012d.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_2357e6e1b2389bbacb74d4d9d107012d.sql new file mode 100644 index 00000000..eb455215 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_2357e6e1b2389bbacb74d4d9d107012d.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_buyback_daily_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not cumulative_snx_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_295f5e76c7f32780fd03a191ca4a34ca.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_295f5e76c7f32780fd03a191ca4a34ca.sql new file mode 100644 index 00000000..1eed88b3 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_295f5e76c7f32780fd03a191ca4a34ca.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_buyback_hourly_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not usd_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_3a016e5ad8a0adae03db8e6dc5263b6a.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_3a016e5ad8a0adae03db8e6dc5263b6a.sql new file mode 100644 index 00000000..1bcfd137 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_3a016e5ad8a0adae03db8e6dc5263b6a.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not snx_price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_8da69f2dfdaa37b8628e825930fc5b81.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_8da69f2dfdaa37b8628e825930fc5b81.sql new file mode 100644 index 00000000..fb143b74 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_8da69f2dfdaa37b8628e825930fc5b81.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_buyback_daily_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not cumulative_usd_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_95b025ed4566a6c327e2a1b54a635a45.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_95b025ed4566a6c327e2a1b54a635a45.sql new file mode 100644 index 00000000..a97e148d --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_95b025ed4566a6c327e2a1b54a635a45.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_buyback_daily_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not snx_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_ae7e9da2aec9085f88f390a9eab8c08b.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_ae7e9da2aec9085f88f390a9eab8c08b.sql new file mode 100644 index 00000000..70abb0d0 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_ae7e9da2aec9085f88f390a9eab8c08b.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_buyback_hourly_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not cumulative_snx_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_ed497ddd2101ddfffc53a477a0be3c56.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_ed497ddd2101ddfffc53a477a0be3c56.sql new file mode 100644 index 00000000..675b0411 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_ed497ddd2101ddfffc53a477a0be3c56.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_buyback_daily_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not usd_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_ee13dfd755b5a6ec766632efc82a0f72.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_ee13dfd755b5a6ec766632efc82a0f72.sql new file mode 100644 index 00000000..00e7f882 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_ee13dfd755b5a6ec766632efc82a0f72.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_buyback_hourly_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not cumulative_usd_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_f29cb83636bed8e0f60f2530445a2fa1.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_f29cb83636bed8e0f60f2530445a2fa1.sql new file mode 100644 index 00000000..b6400b94 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_f29cb83636bed8e0f60f2530445a2fa1.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_buyback_hourly_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not snx_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0.sql new file mode 100644 index 00000000..b2326368 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not snx >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0.sql new file mode 100644 index 00000000..efe69eea --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not usd >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_buyer.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_buyer.sql new file mode 100644 index 00000000..c1609790 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_buyer.sql @@ -0,0 +1,11 @@ + + + + + + +select buyer +from "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet" +where buyer is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_id.sql new file mode 100644 index 00000000..f7ba6c05 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_snx.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_snx.sql new file mode 100644 index 00000000..023a8f89 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_snx.sql @@ -0,0 +1,11 @@ + + + + + + +select snx +from "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet" +where snx is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_snx_price.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_snx_price.sql new file mode 100644 index 00000000..82565332 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_snx_price.sql @@ -0,0 +1,11 @@ + + + + + + +select snx_price +from "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet" +where snx_price is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_ts.sql new file mode 100644 index 00000000..75468468 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_usd.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_usd.sql new file mode 100644 index 00000000..d9cad6ef --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_usd.sql @@ -0,0 +1,11 @@ + + + + + + +select usd +from "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet" +where usd is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount.sql new file mode 100644 index 00000000..df0720cf --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select cumulative_snx_amount +from "analytics"."prod_base_mainnet"."fct_buyback_daily_base_mainnet" +where cumulative_snx_amount is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount.sql new file mode 100644 index 00000000..153594eb --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select cumulative_usd_amount +from "analytics"."prod_base_mainnet"."fct_buyback_daily_base_mainnet" +where cumulative_usd_amount is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_snx_amount.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_snx_amount.sql new file mode 100644 index 00000000..68e07b1e --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_snx_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select snx_amount +from "analytics"."prod_base_mainnet"."fct_buyback_daily_base_mainnet" +where snx_amount is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_ts.sql new file mode 100644 index 00000000..1788515e --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_buyback_daily_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_usd_amount.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_usd_amount.sql new file mode 100644 index 00000000..f41db7a6 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_usd_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select usd_amount +from "analytics"."prod_base_mainnet"."fct_buyback_daily_base_mainnet" +where usd_amount is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount.sql new file mode 100644 index 00000000..fd9ec1ca --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select cumulative_snx_amount +from "analytics"."prod_base_mainnet"."fct_buyback_hourly_base_mainnet" +where cumulative_snx_amount is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount.sql new file mode 100644 index 00000000..399df4c4 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select cumulative_usd_amount +from "analytics"."prod_base_mainnet"."fct_buyback_hourly_base_mainnet" +where cumulative_usd_amount is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_snx_amount.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_snx_amount.sql new file mode 100644 index 00000000..a80e0b7a --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_snx_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select snx_amount +from "analytics"."prod_base_mainnet"."fct_buyback_hourly_base_mainnet" +where snx_amount is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_ts.sql new file mode 100644 index 00000000..452866ac --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_buyback_hourly_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_usd_amount.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_usd_amount.sql new file mode 100644 index 00000000..eee57904 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_usd_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select usd_amount +from "analytics"."prod_base_mainnet"."fct_buyback_hourly_base_mainnet" +where usd_amount is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/unique_fct_buyback_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/unique_fct_buyback_base_mainnet_id.sql new file mode 100644 index 00000000..bdbc56ca --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/unique_fct_buyback_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_core_account_delegation_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_account_delegation_base_mainnet.sql new file mode 100644 index 00000000..94739c69 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_account_delegation_base_mainnet.sql @@ -0,0 +1,58 @@ +WITH delegation_changes AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + + amount / 1e18 + - LAG( + amount / 1e18 +, 1, 0) over ( + PARTITION BY account_id, + pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS change_in_amount + FROM + "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet" +), +cumulative_delegation AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + SUM(change_in_amount) over ( + PARTITION BY pool_id, + account_id, + collateral_type + ORDER BY + block_timestamp + ) AS cumulative_amount_delegated, + ROW_NUMBER() over ( + PARTITION BY pool_id, + account_id, + collateral_type + ORDER BY + block_timestamp DESC + ) AS rn + FROM + delegation_changes +) +SELECT + block_timestamp AS ts, + CAST( + account_id AS text + ) AS account_id, + pool_id, + collateral_type, + cumulative_amount_delegated AS amount_delegated +FROM + cumulative_delegation +WHERE + rn = 1 +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_core_apr_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_apr_base_mainnet.sql new file mode 100644 index 00000000..9ac80eb7 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_apr_base_mainnet.sql @@ -0,0 +1,209 @@ + + +WITH pnl_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_pnl, + hourly_issuance, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + hourly_total_pct, + SUM( + COALESCE( + hourly_issuance, + 0 + ) + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts + ) AS cumulative_issuance, + SUM( + hourly_pnl + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts + ) AS cumulative_pnl + FROM + "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet" +), +avg_returns AS ( + SELECT + ts, + pool_id, + collateral_type, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_pnl_pct, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_pnl_pct, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_pnl_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_rewards_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_total_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_total_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_total_pct + FROM + pnl_hourly +), +apr_calculations AS ( + SELECT + pnl_hourly.ts AS ts, + pnl_hourly.pool_id AS pool_id, + pnl_hourly.collateral_type AS collateral_type, + pnl_hourly.collateral_value AS collateral_value, + pnl_hourly.debt AS debt, + pnl_hourly.hourly_pnl AS hourly_pnl, + pnl_hourly.cumulative_pnl AS cumulative_pnl, + pnl_hourly.hourly_issuance AS hourly_issuance, + pnl_hourly.cumulative_issuance AS cumulative_issuance, + pnl_hourly.rewards_usd AS rewards_usd, + pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct, + pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct, + -- total pnls + avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h, + avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d, + avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d, + -- pool pnls + avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl, + avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl, + avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl, + -- rewards pnls + avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards, + avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards, + avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards + FROM + pnl_hourly + JOIN avg_returns + ON pnl_hourly.ts = avg_returns.ts + AND pnl_hourly.pool_id = avg_returns.pool_id + AND pnl_hourly.collateral_type = avg_returns.collateral_type +), +apy_calculations AS ( + SELECT + *, + (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h, + (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d, + (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d, + (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl, + (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl, + (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl, + (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards, + (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards, + (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards + FROM + apr_calculations +) +SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_issuance, + hourly_pnl, + cumulative_pnl, + cumulative_issuance, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + apr_24h, + apy_24h, + apr_7d, + apy_7d, + apr_28d, + apy_28d, + apr_24h_pnl, + apy_24h_pnl, + apr_7d_pnl, + apy_7d_pnl, + apr_28d_pnl, + apy_28d_pnl, + apr_24h_rewards, + apy_24h_rewards, + apr_7d_rewards, + apy_7d_rewards, + apr_28d_rewards, + apy_28d_rewards +FROM + apy_calculations +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_core_apr_rewards_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_apr_rewards_base_mainnet.sql new file mode 100644 index 00000000..f4c3c502 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_apr_rewards_base_mainnet.sql @@ -0,0 +1,100 @@ + + +WITH pnl_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + reward_token, + collateral_value, + rewards_usd, + hourly_rewards_pct + FROM + "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_reward_base_mainnet" +), +avg_returns AS ( + SELECT + ts, + pool_id, + collateral_type, + reward_token, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_rewards_pct + FROM + pnl_hourly +), +apr_calculations AS ( + SELECT + pnl_hourly.ts AS ts, + pnl_hourly.pool_id AS pool_id, + pnl_hourly.collateral_type AS collateral_type, + pnl_hourly.reward_token AS reward_token, + pnl_hourly.collateral_value AS collateral_value, + pnl_hourly.rewards_usd AS rewards_usd, + pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct, + avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards, + avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards, + avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards + FROM + pnl_hourly + JOIN avg_returns + ON pnl_hourly.ts = avg_returns.ts + AND pnl_hourly.pool_id = avg_returns.pool_id + AND pnl_hourly.collateral_type = avg_returns.collateral_type + AND pnl_hourly.reward_token = avg_returns.reward_token +), +apy_calculations AS ( + SELECT + *, + (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards, + (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards, + (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards + FROM + apr_calculations +) +SELECT + ts, + pool_id, + collateral_type, + reward_token, + collateral_value, + rewards_usd, + hourly_rewards_pct, + apr_24h_rewards, + apy_24h_rewards, + apr_7d_rewards, + apy_7d_rewards, + apr_28d_rewards, + apy_28d_rewards +FROM + apy_calculations +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_core_market_updated_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_market_updated_base_mainnet.sql new file mode 100644 index 00000000..9aaf3b7a --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_market_updated_base_mainnet.sql @@ -0,0 +1,35 @@ +WITH market_updated AS ( + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet" +) +SELECT + id, + block_timestamp AS ts, + transaction_hash, + event_name, + market_id, + collateral_type, + + credit_capacity / 1e18 + AS credit_capacity, + + net_issuance / 1e18 + AS net_issuance, + + token_amount / 1e18 + AS token_amount +FROM + market_updated \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pool_collateral_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pool_collateral_base_mainnet.sql new file mode 100644 index 00000000..fea3f1a9 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pool_collateral_base_mainnet.sql @@ -0,0 +1,39 @@ +WITH events AS ( + SELECT + block_timestamp, + + token_amount / 1e18 + AS token_amount, + collateral_type + FROM + "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet" + UNION ALL + SELECT + block_timestamp,- + token_amount / 1e18 + AS token_amount, + collateral_type + FROM + "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet" +), +ranked_events AS ( + SELECT + *, + SUM(token_amount) over ( + PARTITION BY collateral_type + ORDER BY + block_timestamp rows BETWEEN unbounded preceding + AND CURRENT ROW + ) AS amount_deposited + FROM + events +) +SELECT + block_timestamp AS ts, + collateral_type, + amount_deposited +FROM + ranked_events +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pool_delegation_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pool_delegation_base_mainnet.sql new file mode 100644 index 00000000..9eb60ecc --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pool_delegation_base_mainnet.sql @@ -0,0 +1,44 @@ +WITH delegation_changes AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + + amount / 1e18 + - LAG( + amount / 1e18 +, 1, 0) over ( + PARTITION BY account_id, + pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS change_in_amount + FROM + "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet" +), +cumulative_delegation AS ( + SELECT + block_timestamp, + pool_id, + collateral_type, + SUM(change_in_amount) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS cumulative_amount_delegated + FROM + delegation_changes +) +SELECT + block_timestamp AS ts, + pool_id, + collateral_type, + cumulative_amount_delegated AS amount_delegated +FROM + cumulative_delegation +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pools_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pools_base_mainnet.sql new file mode 100644 index 00000000..808b8dea --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pools_base_mainnet.sql @@ -0,0 +1,13 @@ +WITH base AS ( + SELECT + pool_id AS id, + block_timestamp AS created_ts, + block_number, + owner + FROM + "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet" +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_core_vault_collateral_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_vault_collateral_base_mainnet.sql new file mode 100644 index 00000000..c623dc32 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_vault_collateral_base_mainnet.sql @@ -0,0 +1,10 @@ +SELECT + ts, + block_number, + contract_address, + pool_id, + collateral_type, + amount, + collateral_value +FROM + "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet" \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_debt_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_debt_base_mainnet.sql new file mode 100644 index 00000000..2713fad8 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_debt_base_mainnet.sql @@ -0,0 +1,10 @@ +SELECT + ts, + block_number, + pool_id, + collateral_type, + debt +FROM + "analytics"."prod_raw_base_mainnet"."core_vault_debt_base_mainnet" +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_issuance_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_issuance_base_mainnet.sql new file mode 100644 index 00000000..309c7bfd --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_issuance_base_mainnet.sql @@ -0,0 +1,43 @@ +WITH burns AS ( + SELECT + block_timestamp AS ts, + block_number, + transaction_hash, + pool_id, + collateral_type, + account_id, + -1 * + amount / 1e18 + AS amount + FROM + "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet" + ORDER BY + block_timestamp DESC +), +mints AS ( + SELECT + block_timestamp AS ts, + block_number, + transaction_hash, + pool_id, + collateral_type, + account_id, + + amount / 1e18 + AS amount + FROM + "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet" + ORDER BY + block_timestamp DESC +) +SELECT + * +FROM + burns +UNION ALL +SELECT + * +FROM + mints +ORDER BY + ts DESC \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_issuance_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_issuance_hourly_base_mainnet.sql new file mode 100644 index 00000000..de4fdaa3 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_issuance_hourly_base_mainnet.sql @@ -0,0 +1,110 @@ +WITH dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.pool_id, + m.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet" + ) AS m + GROUP BY + m.pool_id, + m.collateral_type +), +max_debt_block AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS HOUR, + pool_id, + collateral_type, + MAX(block_number) AS max_block_number + FROM + "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet" + GROUP BY + DATE_TRUNC( + 'hour', + ts + ), + pool_id, + collateral_type +), +filt_issuance AS ( + SELECT + CASE + WHEN i.block_number <= d.max_block_number + OR d.max_block_number IS NULL THEN i.ts + ELSE i.ts + INTERVAL '1 hour' + END AS ts, + i.pool_id, + i.collateral_type, + i.amount + FROM + "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet" + i + LEFT JOIN max_debt_block d + ON DATE_TRUNC( + 'hour', + i.ts + ) = d.hour + AND i.pool_id = d.pool_id + AND LOWER( + i.collateral_type + ) = LOWER( + d.collateral_type + ) + WHERE + i.block_number <= ( + SELECT + MAX( + max_block_number + ) + FROM + max_debt_block + ) +), +issuance AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + SUM(amount) AS hourly_issuance + FROM + filt_issuance + GROUP BY + 1, + 2, + 3 +) +SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + COALESCE( + i.hourly_issuance, + 0 + ) AS hourly_issuance +FROM + dim + LEFT JOIN issuance i + ON dim.pool_id = i.pool_id + AND LOWER( + dim.collateral_type + ) = LOWER( + i.collateral_type + ) + AND dim.ts = i.ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_base_mainnet.sql new file mode 100644 index 00000000..6346c974 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_base_mainnet.sql @@ -0,0 +1,210 @@ + + +WITH dim AS ( + + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + p.pool_id, + p.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet" + ) AS p +GROUP BY + p.pool_id, + p.collateral_type +), +issuance AS ( + SELECT + ts, + pool_id, + collateral_type, + hourly_issuance + FROM + "analytics"."prod_base_mainnet"."fct_pool_issuance_hourly_base_mainnet" +), +debt AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS debt + FROM + "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet" +), +collateral AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS collateral_value + FROM + "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet" + WHERE + pool_id = 1 +), +ffill AS ( + SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + debt.debt, + collateral.collateral_value, + SUM( + CASE + WHEN debt.debt IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + ORDER BY + dim.ts + ) AS debt_id, + SUM( + CASE + WHEN collateral.collateral_value IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + ORDER BY + dim.ts + ) AS collateral_id + FROM + dim + LEFT JOIN debt + ON dim.ts = debt.ts + AND dim.pool_id = debt.pool_id + AND dim.collateral_type = debt.collateral_type + LEFT JOIN collateral + ON dim.ts = collateral.ts + AND dim.pool_id = collateral.pool_id + AND dim.collateral_type = collateral.collateral_type +), +hourly_index AS ( + SELECT + ts, + pool_id, + collateral_type, + FIRST_VALUE(COALESCE(debt, 0)) over ( + PARTITION BY debt_id, + pool_id, + collateral_type + ORDER BY + ts + ) AS debt, + FIRST_VALUE(COALESCE(collateral_value, 0)) over ( + PARTITION BY collateral_id, + pool_id, + collateral_type + ORDER BY + ts + ) AS collateral_value + FROM + ffill +), +hourly_pnl AS ( + SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type + ORDER BY + ts) - debt, 0) AS hourly_pnl + FROM + hourly_index +), +hourly_rewards AS ( + SELECT + ts, + pool_id, + collateral_type, + rewards_usd + FROM + "analytics"."prod_base_mainnet"."fct_pool_rewards_hourly_base_mainnet" +), +hourly_returns AS ( + SELECT + pnl.ts, + pnl.pool_id, + pnl.collateral_type, + pnl.collateral_value, + pnl.debt, + COALESCE( + iss.hourly_issuance, + 0 + ) hourly_issuance, + pnl.hourly_pnl + COALESCE( + iss.hourly_issuance, + 0 + ) AS hourly_pnl, + COALESCE( + rewards.rewards_usd, + 0 + ) AS rewards_usd, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE COALESCE( + rewards.rewards_usd, + 0 + ) / pnl.collateral_value + END AS hourly_rewards_pct, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value + END AS hourly_pnl_pct, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value + END AS hourly_total_pct + FROM + hourly_pnl pnl + LEFT JOIN hourly_rewards rewards + ON pnl.ts = rewards.ts + AND pnl.pool_id = rewards.pool_id + AND pnl.collateral_type = rewards.collateral_type + LEFT JOIN issuance iss + ON pnl.ts = iss.ts + AND pnl.pool_id = iss.pool_id + AND LOWER( + pnl.collateral_type + ) = LOWER( + iss.collateral_type + ) +) +SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_issuance, + hourly_pnl, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + hourly_total_pct +FROM + hourly_returns \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_reward_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_reward_base_mainnet.sql new file mode 100644 index 00000000..a38f901a --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_reward_base_mainnet.sql @@ -0,0 +1,78 @@ + + +WITH dim AS ( + + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + t.pool_id, + t.collateral_type, + t.collateral_value, + p.token_symbol AS reward_token + FROM + ( + SELECT + ts, + collateral_type, + pool_id, + collateral_value + FROM + "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet" + group by + ts, + collateral_type, + pool_id, + collateral_value + ) AS t + CROSS JOIN ( + SELECT + DISTINCT token_symbol + FROM + "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet" + ) AS p + GROUP BY + t.pool_id, + t.collateral_type, + t.collateral_value, + p.token_symbol +), +reward_hourly_token AS ( + SELECT + ts, + pool_id, + collateral_type, + token_symbol AS reward_token, + SUM( + rewards_usd + ) AS rewards_usd + FROM + "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet" + GROUP BY + ts, + pool_id, + collateral_type, + token_symbol +) +SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + dim.collateral_value, + dim.reward_token, + COALESCE( + reward_hourly_token.rewards_usd, + 0 + ) AS rewards_usd, + CASE + WHEN dim.collateral_value = 0 THEN 0 + ELSE COALESCE( + reward_hourly_token.rewards_usd, + 0 + ) / dim.collateral_value + END AS hourly_rewards_pct +FROM + dim + LEFT JOIN reward_hourly_token + ON dim.ts = reward_hourly_token.ts + AND dim.pool_id = reward_hourly_token.pool_id + AND dim.collateral_type = reward_hourly_token.collateral_type + and dim.reward_token = reward_hourly_token.reward_token \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_base_mainnet.sql new file mode 100644 index 00000000..1aa87e95 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_base_mainnet.sql @@ -0,0 +1,37 @@ +WITH rewards_distributed AS ( + SELECT + block_timestamp AS ts, + CAST( + pool_id AS INTEGER + ) AS pool_id, + collateral_type, + distributor, + + amount / 1e18 + AS amount, + TO_TIMESTAMP("start") AS ts_start, + "duration" + FROM + "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet" +), +distributors AS ( + SELECT + CAST(distributor_address AS TEXT) AS distributor_address, + CAST(token_symbol AS TEXT) AS token_symbol + FROM + "analytics"."prod_seeds"."base_mainnet_reward_distributors" +) +SELECT + rd.ts, + rd.pool_id, + rd.collateral_type, + rd.distributor, + distributors.token_symbol, + rd.amount, + rd.ts_start, + rd.duration +FROM + rewards_distributed rd + join distributors on rd.distributor = distributors.distributor_address +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_hourly_base_mainnet.sql new file mode 100644 index 00000000..9d84db08 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_hourly_base_mainnet.sql @@ -0,0 +1,20 @@ +WITH token_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + rewards_usd + FROM + "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet" +) +SELECT + ts, + pool_id, + collateral_type, + SUM(rewards_usd) AS rewards_usd +FROM + token_hourly +GROUP BY + ts, + pool_id, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_token_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_token_hourly_base_mainnet.sql new file mode 100644 index 00000000..4c22420e --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_token_hourly_base_mainnet.sql @@ -0,0 +1,113 @@ +WITH dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.pool_id, + m.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet" + ) AS m + GROUP BY + m.pool_id, + m.collateral_type +), +rewards_distributed AS ( + SELECT + ts, + pool_id, + collateral_type, + distributor, + token_symbol, + amount, + ts_start, + "duration" + FROM + "analytics"."prod_base_mainnet"."fct_pool_rewards_base_mainnet" +), +hourly_distributions AS ( + SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + r.distributor, + r.token_symbol, + r.amount, + r.ts_start, + r."duration", + ROW_NUMBER() over ( + PARTITION BY dim.ts, + dim.pool_id, + dim.collateral_type, + r.distributor + ORDER BY + r.ts_start DESC + ) AS distributor_index + FROM + dim + LEFT JOIN rewards_distributed r + ON dim.pool_id = r.pool_id + AND LOWER( + dim.collateral_type + ) = LOWER( + r.collateral_type + ) + AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start + AND dim.ts < r.ts_start + r."duration" * '1 second' :: INTERVAL +), +hourly_rewards AS ( + SELECT + d.ts, + d.pool_id, + d.collateral_type, + d.distributor, + d.token_symbol, + p.price, + -- get the hourly amount distributed + d.amount / ( + d."duration" / 3600 + ) AS hourly_amount, + -- get the amount of time distributed this hour + -- use the smaller of those two intervals + -- convert the interval to a number of hours + -- multiply the result by the hourly amount to get the amount distributed this hour + ( + EXTRACT( + epoch + FROM + LEAST( + d."duration" / 3600 * '1 hour' :: INTERVAL, + d.ts + '1 hour' :: INTERVAL - GREATEST( + d.ts, + d.ts_start + ) + ) + ) / 3600 + ) * d.amount / ( + d."duration" / 3600 + ) AS amount_distributed + FROM + hourly_distributions AS d + LEFT JOIN "analytics"."prod_base_mainnet"."fct_prices_hourly_base_mainnet" + p + ON d.ts = p.ts + AND d.token_symbol = p.market_symbol + WHERE + d.distributor_index = 1 +) +SELECT + *, + amount_distributed * price AS rewards_usd +FROM + hourly_rewards +WHERE + amount_distributed IS NOT NULL \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/accepted_values_fct_core_marke_fbcb06123ff64c40081372c459987d0d.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/accepted_values_fct_core_marke_fbcb06123ff64c40081372c459987d0d.sql new file mode 100644 index 00000000..03969eb0 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/accepted_values_fct_core_marke_fbcb06123ff64c40081372c459987d0d.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_base_mainnet"."fct_core_market_updated_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited' +) + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_07e7b3d012c319772ee6dbea8ff50ee4.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_07e7b3d012c319772ee6dbea8ff50ee4.sql new file mode 100644 index 00000000..51673b4b --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_07e7b3d012c319772ee6dbea8ff50ee4.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_core_market_updated_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_0c3a3ad4b2605e67c43089afd856b412.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_0c3a3ad4b2605e67c43089afd856b412.sql new file mode 100644 index 00000000..5bc0617b --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_0c3a3ad4b2605e67c43089afd856b412.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_core_account_delegation_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_34905ccfa7f104f9e681258d06bbb98a.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_34905ccfa7f104f9e681258d06bbb98a.sql new file mode 100644 index 00000000..75104247 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_34905ccfa7f104f9e681258d06bbb98a.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_60527a0769f89a89a2519580069dce39.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_60527a0769f89a89a2519580069dce39.sql new file mode 100644 index 00000000..b4d0ee98 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_60527a0769f89a89a2519580069dce39.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collateral_value >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_63d34731f192f581c7d937dba2a57268.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_63d34731f192f581c7d937dba2a57268.sql new file mode 100644 index 00000000..c2e86297 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_63d34731f192f581c7d937dba2a57268.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_core_account_delegation_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_delegated >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_6bba595374bdcb2cb46d98f292bf7d2e.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_6bba595374bdcb2cb46d98f292bf7d2e.sql new file mode 100644 index 00000000..bf03723e --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_6bba595374bdcb2cb46d98f292bf7d2e.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_core_vault_collateral_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_8363e9f5a95fe0d37cdd21e63a723d71.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_8363e9f5a95fe0d37cdd21e63a723d71.sql new file mode 100644 index 00000000..7d678481 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_8363e9f5a95fe0d37cdd21e63a723d71.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_core_pool_delegation_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_bc0bc65ef31ab43c72fcc31503f71ffe.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_bc0bc65ef31ab43c72fcc31503f71ffe.sql new file mode 100644 index 00000000..ff64ea54 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_bc0bc65ef31ab43c72fcc31503f71ffe.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_core_vault_collateral_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collateral_value >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_c7fff98d755af95adeb25c2a02c7ec5b.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_c7fff98d755af95adeb25c2a02c7ec5b.sql new file mode 100644 index 00000000..d80db44e --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_c7fff98d755af95adeb25c2a02c7ec5b.sql @@ -0,0 +1,22 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_rewards_pct >= 0 + -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_rewards_pct <= 1 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_ce1e0f8e6a0c289e7cea14e7e56d78c3.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_ce1e0f8e6a0c289e7cea14e7e56d78c3.sql new file mode 100644 index 00000000..f91e0202 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_ce1e0f8e6a0c289e7cea14e7e56d78c3.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_core_pools_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_eb7cb32edc5d4a16284e415551837739.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_eb7cb32edc5d4a16284e415551837739.sql new file mode 100644 index 00000000..ab9ed5b1 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_eb7cb32edc5d4a16284e415551837739.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not rewards_usd >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_f526b54502b4e6439215a8bf4203c4d6.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_f526b54502b4e6439215a8bf4203c4d6.sql new file mode 100644 index 00000000..7dcd3103 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_f526b54502b4e6439215a8bf4203c4d6.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_core_vault_collateral_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_048616a286b6b20003e0208bc4988898.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_048616a286b6b20003e0208bc4988898.sql new file mode 100644 index 00000000..2799832c --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_048616a286b6b20003e0208bc4988898.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collateral_value >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_0e087cdd72bd8bdcbf1772c6c9878495.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_0e087cdd72bd8bdcbf1772c6c9878495.sql new file mode 100644 index 00000000..8f9a221e --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_0e087cdd72bd8bdcbf1772c6c9878495.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_pool_rewards_hourly_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_54a5030c1cac11053a9d40471504b3d0.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_54a5030c1cac11053a9d40471504b3d0.sql new file mode 100644 index 00000000..3c6fbcb8 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_54a5030c1cac11053a9d40471504b3d0.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_5a84c17d2e40b25469e8ab6da0ee109b.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_5a84c17d2e40b25469e8ab6da0ee109b.sql new file mode 100644 index 00000000..273bc17e --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_5a84c17d2e40b25469e8ab6da0ee109b.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_distributed >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_5cf4e436c9332cc81f82b43178d99e31.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_5cf4e436c9332cc81f82b43178d99e31.sql new file mode 100644 index 00000000..fdb1c2c5 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_5cf4e436c9332cc81f82b43178d99e31.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_6c23fd35e9750661beb2f99f2da17a26.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_6c23fd35e9750661beb2f99f2da17a26.sql new file mode 100644 index 00000000..57ce3b5e --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_6c23fd35e9750661beb2f99f2da17a26.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_7e3fc9ae86c53feede790ebba8bf36a1.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_7e3fc9ae86c53feede790ebba8bf36a1.sql new file mode 100644 index 00000000..270f4762 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_7e3fc9ae86c53feede790ebba8bf36a1.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_8833ef70b7da77b967939559ebb4d53c.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_8833ef70b7da77b967939559ebb4d53c.sql new file mode 100644 index 00000000..5e033de6 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_8833ef70b7da77b967939559ebb4d53c.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not rewards_usd >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_a06acbcee374592e1c21556ac5125493.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_a06acbcee374592e1c21556ac5125493.sql new file mode 100644 index 00000000..288e5bf7 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_a06acbcee374592e1c21556ac5125493.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_pool_rewards_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b35ccf3d0c5fa66dfdb25a7ce0612dcf.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b35ccf3d0c5fa66dfdb25a7ce0612dcf.sql new file mode 100644 index 00000000..09a385c2 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b35ccf3d0c5fa66dfdb25a7ce0612dcf.sql @@ -0,0 +1,22 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_rewards_pct >= 0 + -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_rewards_pct <= 1 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b3687991e20ace156bbe4d1a9c005842.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b3687991e20ace156bbe4d1a9c005842.sql new file mode 100644 index 00000000..4f2f6cbc --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b3687991e20ace156bbe4d1a9c005842.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_pool_rewards_hourly_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not rewards_usd >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c137a38ff4a39d7919875eddf9e580b2.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c137a38ff4a39d7919875eddf9e580b2.sql new file mode 100644 index 00000000..2f19791c --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c137a38ff4a39d7919875eddf9e580b2.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not rewards_usd >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c22d916041b12ca4d7d00f7a19978894.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c22d916041b12ca4d7d00f7a19978894.sql new file mode 100644 index 00000000..a7766fe5 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c22d916041b12ca4d7d00f7a19978894.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c6a9d6cdf38f5a5f7e8ab2f8af3e7400.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c6a9d6cdf38f5a5f7e8ab2f8af3e7400.sql new file mode 100644 index 00000000..141e5975 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c6a9d6cdf38f5a5f7e8ab2f8af3e7400.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_pool_rewards_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_d6c292de7d152cb498976697520f85e3.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_d6c292de7d152cb498976697520f85e3.sql new file mode 100644 index 00000000..16f8dd12 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_d6c292de7d152cb498976697520f85e3.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_pool_issuance_hourly_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_f423f7a2f7a6eaf1e34fa2608b7f20a9.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_f423f7a2f7a6eaf1e34fa2608b7f20a9.sql new file mode 100644 index 00000000..90373540 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_f423f7a2f7a6eaf1e34fa2608b7f20a9.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_dele_48ede5ea58c83e85f0c9b34275d541ce.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_dele_48ede5ea58c83e85f0c9b34275d541ce.sql new file mode 100644 index 00000000..7b5db820 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_dele_48ede5ea58c83e85f0c9b34275d541ce.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_base_mainnet"."fct_core_account_delegation_base_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_dele_5c6ae4e230c42e179a94f3c08c406b4f.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_dele_5c6ae4e230c42e179a94f3c08c406b4f.sql new file mode 100644 index 00000000..6afcc33a --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_dele_5c6ae4e230c42e179a94f3c08c406b4f.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_delegated +from "analytics"."prod_base_mainnet"."fct_core_account_delegation_base_mainnet" +where amount_delegated is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_delegation_base_mainnet_account_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_delegation_base_mainnet_account_id.sql new file mode 100644 index 00000000..acb350cd --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_delegation_base_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_base_mainnet"."fct_core_account_delegation_base_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_delegation_base_mainnet_pool_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_delegation_base_mainnet_pool_id.sql new file mode 100644 index 00000000..80a0e892 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_delegation_base_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_base_mainnet"."fct_core_account_delegation_base_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_delegation_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_delegation_base_mainnet_ts.sql new file mode 100644 index 00000000..acee339a --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_delegation_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_core_account_delegation_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apr_24h.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apr_24h.sql new file mode 100644 index 00000000..cccf6702 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apr_24h.sql @@ -0,0 +1,11 @@ + + + + + + +select apr_24h +from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet" +where apr_24h is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apr_28d.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apr_28d.sql new file mode 100644 index 00000000..72039182 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apr_28d.sql @@ -0,0 +1,11 @@ + + + + + + +select apr_28d +from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet" +where apr_28d is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apr_7d.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apr_7d.sql new file mode 100644 index 00000000..d61e2dcd --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apr_7d.sql @@ -0,0 +1,11 @@ + + + + + + +select apr_7d +from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet" +where apr_7d is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apy_24h.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apy_24h.sql new file mode 100644 index 00000000..839c5c42 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apy_24h.sql @@ -0,0 +1,11 @@ + + + + + + +select apy_24h +from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet" +where apy_24h is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apy_28d.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apy_28d.sql new file mode 100644 index 00000000..af0976a8 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apy_28d.sql @@ -0,0 +1,11 @@ + + + + + + +select apy_28d +from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet" +where apy_28d is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apy_7d.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apy_7d.sql new file mode 100644 index 00000000..2ff371c1 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apy_7d.sql @@ -0,0 +1,11 @@ + + + + + + +select apy_7d +from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet" +where apy_7d is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_collateral_type.sql new file mode 100644 index 00000000..087a95a9 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_collateral_value.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_collateral_value.sql new file mode 100644 index 00000000..d8fe29ad --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_collateral_value.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_value +from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet" +where collateral_value is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_cumulative_issuance.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_cumulative_issuance.sql new file mode 100644 index 00000000..f420b7fd --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_cumulative_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select cumulative_issuance +from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet" +where cumulative_issuance is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_cumulative_pnl.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_cumulative_pnl.sql new file mode 100644 index 00000000..67b0308f --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_cumulative_pnl.sql @@ -0,0 +1,11 @@ + + + + + + +select cumulative_pnl +from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet" +where cumulative_pnl is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_debt.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_debt.sql new file mode 100644 index 00000000..3b7901e0 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_debt.sql @@ -0,0 +1,11 @@ + + + + + + +select debt +from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet" +where debt is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_issuance.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_issuance.sql new file mode 100644 index 00000000..c5e8e011 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_issuance +from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet" +where hourly_issuance is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_pnl.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_pnl.sql new file mode 100644 index 00000000..2bde7757 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_pnl.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_pnl +from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet" +where hourly_pnl is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_pnl_pct.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_pnl_pct.sql new file mode 100644 index 00000000..f51cb146 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_pnl_pct.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_pnl_pct +from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet" +where hourly_pnl_pct is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_rewards_pct.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_rewards_pct.sql new file mode 100644 index 00000000..6bdd8293 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_rewards_pct.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_rewards_pct +from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet" +where hourly_rewards_pct is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_pool_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_pool_id.sql new file mode 100644 index 00000000..58884bfa --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_rewards_usd.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_rewards_usd.sql new file mode 100644 index 00000000..37816dd8 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_rewards_usd.sql @@ -0,0 +1,11 @@ + + + + + + +select rewards_usd +from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet" +where rewards_usd is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_ts.sql new file mode 100644 index 00000000..1901dfb4 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_collateral_type.sql new file mode 100644 index 00000000..4831b66f --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_base_mainnet"."fct_core_market_updated_base_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_credit_capacity.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_credit_capacity.sql new file mode 100644 index 00000000..ddcd099c --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_credit_capacity.sql @@ -0,0 +1,11 @@ + + + + + + +select credit_capacity +from "analytics"."prod_base_mainnet"."fct_core_market_updated_base_mainnet" +where credit_capacity is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_event_name.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_event_name.sql new file mode 100644 index 00000000..2d95166b --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_base_mainnet"."fct_core_market_updated_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_id.sql new file mode 100644 index 00000000..0796d469 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_mainnet"."fct_core_market_updated_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_market_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_market_id.sql new file mode 100644 index 00000000..8c91d2b6 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_base_mainnet"."fct_core_market_updated_base_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_net_issuance.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_net_issuance.sql new file mode 100644 index 00000000..d697a268 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_net_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select net_issuance +from "analytics"."prod_base_mainnet"."fct_core_market_updated_base_mainnet" +where net_issuance is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_token_amount.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_token_amount.sql new file mode 100644 index 00000000..90db8ea9 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_token_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select token_amount +from "analytics"."prod_base_mainnet"."fct_core_market_updated_base_mainnet" +where token_amount is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..e0e780be --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_base_mainnet"."fct_core_market_updated_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_ts.sql new file mode 100644 index 00000000..e2167b8d --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_core_market_updated_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_base_mainnet_amount_deposited.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_base_mainnet_amount_deposited.sql new file mode 100644 index 00000000..b0b29fe7 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_base_mainnet_amount_deposited.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_deposited +from "analytics"."prod_base_mainnet"."fct_core_pool_collateral_base_mainnet" +where amount_deposited is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_base_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_base_mainnet_collateral_type.sql new file mode 100644 index 00000000..6d471dbb --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_base_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_base_mainnet"."fct_core_pool_collateral_base_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_base_mainnet_ts.sql new file mode 100644 index 00000000..07538488 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_core_pool_collateral_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_base_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_base_mainnet_collateral_type.sql new file mode 100644 index 00000000..83c38f76 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_base_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_base_mainnet"."fct_core_pool_delegation_base_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_base_mainnet_pool_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_base_mainnet_pool_id.sql new file mode 100644 index 00000000..9a387898 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_base_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_base_mainnet"."fct_core_pool_delegation_base_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_base_mainnet_ts.sql new file mode 100644 index 00000000..b311b93f --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_core_pool_delegation_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_block_number.sql new file mode 100644 index 00000000..6df1c5a6 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_mainnet"."fct_core_pools_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_created_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_created_ts.sql new file mode 100644 index 00000000..94d32f3c --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_created_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select created_ts +from "analytics"."prod_base_mainnet"."fct_core_pools_base_mainnet" +where created_ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_id.sql new file mode 100644 index 00000000..08c4a318 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_mainnet"."fct_core_pools_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_owner.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_owner.sql new file mode 100644 index 00000000..1017a816 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_owner.sql @@ -0,0 +1,11 @@ + + + + + + +select owner +from "analytics"."prod_base_mainnet"."fct_core_pools_base_mainnet" +where owner is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collat_37b597cf8c32469a1d69c9aadfe682da.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collat_37b597cf8c32469a1d69c9aadfe682da.sql new file mode 100644 index 00000000..1a5ebff4 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collat_37b597cf8c32469a1d69c9aadfe682da.sql @@ -0,0 +1,11 @@ + + + + + + +select contract_address +from "analytics"."prod_base_mainnet"."fct_core_vault_collateral_base_mainnet" +where contract_address is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collat_42b07f2d712f8f2546dd07342c489ad5.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collat_42b07f2d712f8f2546dd07342c489ad5.sql new file mode 100644 index 00000000..21b98b1c --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collat_42b07f2d712f8f2546dd07342c489ad5.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_value +from "analytics"."prod_base_mainnet"."fct_core_vault_collateral_base_mainnet" +where collateral_value is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_amount.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_amount.sql new file mode 100644 index 00000000..8c8f20ca --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_base_mainnet"."fct_core_vault_collateral_base_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_block_number.sql new file mode 100644 index 00000000..e557551c --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_mainnet"."fct_core_vault_collateral_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_collateral_type.sql new file mode 100644 index 00000000..700bfecb --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_base_mainnet"."fct_core_vault_collateral_base_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_pool_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_pool_id.sql new file mode 100644 index 00000000..68be1711 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_base_mainnet"."fct_core_vault_collateral_base_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_ts.sql new file mode 100644 index 00000000..6a5b3894 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_core_vault_collateral_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_block_number.sql new file mode 100644 index 00000000..ac7d7c9b --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_collateral_type.sql new file mode 100644 index 00000000..6f36ccd2 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_debt.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_debt.sql new file mode 100644 index 00000000..f8a18e7b --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_debt.sql @@ -0,0 +1,11 @@ + + + + + + +select debt +from "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet" +where debt is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_pool_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_pool_id.sql new file mode 100644 index 00000000..a295cb7b --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_ts.sql new file mode 100644 index 00000000..230fbbba --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_account_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_account_id.sql new file mode 100644 index 00000000..f6cd160c --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_amount.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_amount.sql new file mode 100644 index 00000000..6cb835f9 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_block_number.sql new file mode 100644 index 00000000..6cbb98b9 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_collateral_type.sql new file mode 100644 index 00000000..a0a4970b --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_pool_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_pool_id.sql new file mode 100644 index 00000000..7a550990 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..c287ba72 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_ts.sql new file mode 100644 index 00000000..48bb91cc --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type.sql new file mode 100644 index 00000000..fdd3d025 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_base_mainnet"."fct_pool_issuance_hourly_base_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance.sql new file mode 100644 index 00000000..581e04ca --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_issuance +from "analytics"."prod_base_mainnet"."fct_pool_issuance_hourly_base_mainnet" +where hourly_issuance is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_pool_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_pool_id.sql new file mode 100644 index 00000000..c986f16b --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_base_mainnet"."fct_pool_issuance_hourly_base_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_ts.sql new file mode 100644 index 00000000..6203c746 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_pool_issuance_hourly_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type.sql new file mode 100644 index 00000000..ff7fceb6 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value.sql new file mode 100644 index 00000000..9ddc2432 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_value +from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet" +where collateral_value is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_debt.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_debt.sql new file mode 100644 index 00000000..091383b0 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_debt.sql @@ -0,0 +1,11 @@ + + + + + + +select debt +from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet" +where debt is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance.sql new file mode 100644 index 00000000..d956f6a3 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_issuance +from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet" +where hourly_issuance is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl.sql new file mode 100644 index 00000000..e1330e6a --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_pnl +from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet" +where hourly_pnl is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct.sql new file mode 100644 index 00000000..99a6914f --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_pnl_pct +from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet" +where hourly_pnl_pct is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct.sql new file mode 100644 index 00000000..d4f280fc --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_rewards_pct +from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet" +where hourly_rewards_pct is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct.sql new file mode 100644 index 00000000..11892cf3 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_total_pct +from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet" +where hourly_total_pct is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_pool_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_pool_id.sql new file mode 100644 index 00000000..c6541a54 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd.sql new file mode 100644 index 00000000..9e01a318 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd.sql @@ -0,0 +1,11 @@ + + + + + + +select rewards_usd +from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet" +where rewards_usd is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_ts.sql new file mode 100644 index 00000000..cf06467b --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_amount.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_amount.sql new file mode 100644 index 00000000..09b13f45 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_base_mainnet"."fct_pool_rewards_base_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_collateral_type.sql new file mode 100644 index 00000000..ddf2f20b --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_base_mainnet"."fct_pool_rewards_base_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_distributor.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_distributor.sql new file mode 100644 index 00000000..5cff74da --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_distributor.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor +from "analytics"."prod_base_mainnet"."fct_pool_rewards_base_mainnet" +where distributor is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_pool_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_pool_id.sql new file mode 100644 index 00000000..ad7957d3 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_base_mainnet"."fct_pool_rewards_base_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_token_symbol.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_token_symbol.sql new file mode 100644 index 00000000..5e9dd212 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_token_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_base_mainnet"."fct_pool_rewards_base_mainnet" +where token_symbol is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_ts.sql new file mode 100644 index 00000000..183d54ad --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_pool_rewards_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type.sql new file mode 100644 index 00000000..8d18786e --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_base_mainnet"."fct_pool_rewards_hourly_base_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_pool_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_pool_id.sql new file mode 100644 index 00000000..37fd4481 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_base_mainnet"."fct_pool_rewards_hourly_base_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd.sql new file mode 100644 index 00000000..ca98c4de --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd.sql @@ -0,0 +1,11 @@ + + + + + + +select rewards_usd +from "analytics"."prod_base_mainnet"."fct_pool_rewards_hourly_base_mainnet" +where rewards_usd is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_ts.sql new file mode 100644 index 00000000..64a9ef94 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_pool_rewards_hourly_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_54efb5f87a8fd4c56ab82f2223e2abd1.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_54efb5f87a8fd4c56ab82f2223e2abd1.sql new file mode 100644 index 00000000..1e27d74e --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_54efb5f87a8fd4c56ab82f2223e2abd1.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_amount +from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet" +where hourly_amount is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_7008c8122c0653b7fce3ba812710fc46.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_7008c8122c0653b7fce3ba812710fc46.sql new file mode 100644 index 00000000..37f96a4b --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_7008c8122c0653b7fce3ba812710fc46.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_distributed +from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet" +where amount_distributed is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_83b8118cf5e5602eedb7113c200b50c6.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_83b8118cf5e5602eedb7113c200b50c6.sql new file mode 100644 index 00000000..178ccb11 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_83b8118cf5e5602eedb7113c200b50c6.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_8dc8b105c8db5e51214fe0eec0157073.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_8dc8b105c8db5e51214fe0eec0157073.sql new file mode 100644 index 00000000..cf441cbf --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_8dc8b105c8db5e51214fe0eec0157073.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet" +where token_symbol is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor.sql new file mode 100644 index 00000000..0f8d41ce --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor +from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet" +where distributor is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id.sql new file mode 100644 index 00000000..579d40ef --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_price.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_price.sql new file mode 100644 index 00000000..2cdff559 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet" +where price is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd.sql new file mode 100644 index 00000000..87f2552e --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd.sql @@ -0,0 +1,11 @@ + + + + + + +select rewards_usd +from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet" +where rewards_usd is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_ts.sql new file mode 100644 index 00000000..3e1a4a33 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/unique_fct_core_market_updated_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/unique_fct_core_market_updated_base_mainnet_id.sql new file mode 100644 index 00000000..965329e7 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/unique_fct_core_market_updated_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_base_mainnet"."fct_core_market_updated_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_accounts_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_accounts_base_mainnet.sql new file mode 100644 index 00000000..853aeadb --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_accounts_base_mainnet.sql @@ -0,0 +1,14 @@ +WITH base AS ( + SELECT + CAST( + account_id AS VARCHAR + ) AS id, + block_timestamp AS created_ts, + "owner" + FROM + "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet" +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_collateral_modified_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_collateral_modified_base_mainnet.sql new file mode 100644 index 00000000..4a1dfb95 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_collateral_modified_base_mainnet.sql @@ -0,0 +1,15 @@ +SELECT + id, + block_timestamp, + account_id, + block_number, + transaction_hash, + contract, + event_name, + synth_market_id, + sender, + + amount_delta / 1e18 + AS amount_delta +FROM + "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet" \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_interest_charged_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_interest_charged_base_mainnet.sql new file mode 100644 index 00000000..33789660 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_interest_charged_base_mainnet.sql @@ -0,0 +1,13 @@ +SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + account_id, + + interest / 1e18 + AS interest +FROM + "analytics"."prod_raw_base_mainnet"."perp_interest_charged_base_mainnet" \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_liq_account_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_liq_account_base_mainnet.sql new file mode 100644 index 00000000..1f31f965 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_liq_account_base_mainnet.sql @@ -0,0 +1,56 @@ +WITH liquidation_events AS ( + SELECT + account_id, + reward, + block_timestamp, + full_liquidation, + SUM( + CASE + WHEN full_liquidation THEN 1 + ELSE 0 + END + ) over ( + PARTITION BY account_id + ORDER BY + block_timestamp rows BETWEEN unbounded preceding + AND CURRENT ROW + ) AS liquidation_id + FROM + "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet" +), +cumulative_rewards AS ( + SELECT + CAST( + le.account_id AS text + ) AS account_id, + le.block_timestamp, + le.reward, + le.full_liquidation, + le.liquidation_id, + SUM( + reward / 1e18 +) over ( + PARTITION BY le.account_id, + le.liquidation_id + ORDER BY + le.block_timestamp + ) AS cumulative_reward, + ROW_NUMBER() over ( + PARTITION BY le.account_id, + le.liquidation_id + ORDER BY + le.block_timestamp DESC + ) AS rn + FROM + liquidation_events le + ORDER BY + block_timestamp +) +SELECT + account_id, + block_timestamp AS ts, + cumulative_reward AS total_reward +FROM + cumulative_rewards +WHERE + rn = 1 \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_liq_position_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_liq_position_base_mainnet.sql new file mode 100644 index 00000000..cc7d0ea5 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_liq_position_base_mainnet.sql @@ -0,0 +1,40 @@ +WITH liquidations AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash, + account_id, + market_id, + + amount_liquidated / 1e18 + AS amount_liquidated, + + current_position_size / 1e18 + AS position_size + FROM + "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet" +), +markets AS ( + SELECT + id, + market_symbol + FROM + "analytics"."prod_base_mainnet"."fct_perp_markets_base_mainnet" +) +SELECT + l.id, + l.ts, + l.block_number, + l.transaction_hash, + CAST( + l.account_id AS text + ) AS account_id, + l.market_id, + m.market_symbol, + l.amount_liquidated, + l.position_size +FROM + liquidations l + LEFT JOIN markets m + ON l.market_id = m.id \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_market_history_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_market_history_base_mainnet.sql new file mode 100644 index 00000000..939c260f --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_market_history_base_mainnet.sql @@ -0,0 +1,72 @@ +WITH base AS ( + SELECT + mu.id, + mu.block_timestamp AS ts, + mu.block_number, + mu.transaction_hash, + m.id AS market_id, + m.market_symbol, + + price / 1e18 + AS price, + + skew / 1e18 + AS skew, + + size / 1e18 + AS SIZE, + + size_delta / 1e18 + AS size_delta, + + current_funding_rate / 1e18 + AS funding_rate, + + current_funding_velocity / 1e18 + AS funding_velocity, + + interest_rate / 1e18 + AS interest_rate, + + current_funding_rate / 1e18 + * 365.25 AS funding_rate_apr, + + current_funding_rate / 1e18 + * 365.25 + + interest_rate / 1e18 + AS long_rate_apr, + + current_funding_rate / 1e18 + * -1 * 365.25 + + interest_rate / 1e18 + AS short_rate_apr + FROM + "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet" + mu + LEFT JOIN "analytics"."prod_base_mainnet"."fct_perp_markets_base_mainnet" + m + ON mu.market_id = m.id +) +SELECT + *, + SIZE * price AS size_usd, + ( + SIZE + skew + ) * price / 2 AS long_oi, + ( + SIZE - skew + ) * price / 2 AS short_oi, + CASE + WHEN SIZE * price = 0 THEN NULL + ELSE ((SIZE + skew) * price / 2) / ( + SIZE * price + ) + END AS long_oi_pct, + CASE + WHEN SIZE * price = 0 THEN NULL + ELSE ((SIZE - skew) * price / 2) / ( + SIZE * price + ) + END AS short_oi_pct +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_markets_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_markets_base_mainnet.sql new file mode 100644 index 00000000..44596ac1 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_markets_base_mainnet.sql @@ -0,0 +1,14 @@ +WITH base AS ( + SELECT + perps_market_id AS id, + block_timestamp AS created_ts, + block_number, + market_symbol, + market_name + FROM + "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet" +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_orders_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_orders_base_mainnet.sql new file mode 100644 index 00000000..655ebf94 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_orders_base_mainnet.sql @@ -0,0 +1,46 @@ +WITH base AS ( + SELECT + oc.id, + oc.block_timestamp AS ts, + oc.block_number, + oc.transaction_hash, + oc.contract, + oc.market_id, + markets.market_symbol, + CAST( + oc.account_id AS text + ) AS account_id, + oc.order_type, + + oc.size_delta / 1e18 + AS SIZE, + + oc.acceptable_price / 1e18 + AS acceptable_price, + oc.settlement_time, + oc.expiration_time, + + LEFT( + REGEXP_REPLACE( + encode( + DECODE(REPLACE(oc.tracking_code, '0x', ''), 'hex'), + 'escape' + ) :: text, + '\\000', + '', + 'g' + ), + 20 + ) + AS tracking_code, + oc.sender + FROM + "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet" + oc + LEFT JOIN "analytics"."prod_base_mainnet"."fct_perp_markets_base_mainnet" AS markets + ON oc.market_id = markets.id +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_pnl_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_pnl_base_mainnet.sql new file mode 100644 index 00000000..8ea899eb --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_pnl_base_mainnet.sql @@ -0,0 +1,17 @@ + +WITH debt AS ( + SELECT + ts, + 2 AS market_id, + debt * -1 AS market_pnl + FROM + "analytics"."prod_raw_base_mainnet"."core_vault_debt_base_mainnet" +) +SELECT + ts, + market_id, + market_pnl +FROM + debt +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_previous_order_expired_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_previous_order_expired_base_mainnet.sql new file mode 100644 index 00000000..06b64957 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_previous_order_expired_base_mainnet.sql @@ -0,0 +1,19 @@ +SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + account_id, + commitment_time, + tracking_code, + + acceptable_price / 1e18 + AS acceptable_price, + + size_delta / 1e18 + AS size_delta +FROM + "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet" \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_trades_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_trades_base_mainnet.sql new file mode 100644 index 00000000..edaf80fb --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_trades_base_mainnet.sql @@ -0,0 +1,69 @@ +WITH base AS ( + SELECT + pos.id, + pos.block_timestamp AS ts, + pos.block_number, + pos.transaction_hash, + pos.contract, + pos.market_id, + markets.market_symbol, + CAST( + pos.account_id AS text + ) AS account_id, + + fill_price / 1e18 + AS fill_price, + + pnl / 1e18 + AS pnl, + + accrued_funding / 1e18 + AS accrued_funding, + + size_delta / 1e18 + AS trade_size, + + new_size / 1e18 + AS position_size, + + total_fees / 1e18 + AS total_fees, + + referral_fees / 1e18 + AS referral_fees, + + collected_fees / 1e18 + AS collected_fees, + + settlement_reward / 1e18 + AS settlement_reward, + + LEFT( + REGEXP_REPLACE( + encode( + DECODE(REPLACE(tracking_code, '0x', ''), 'hex'), + 'escape' + ) :: text, + '\\000', + '', + 'g' + ), + 20 + ) + AS tracking_code, + pos.settler + FROM + "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet" AS pos + LEFT JOIN "analytics"."prod_base_mainnet"."fct_perp_markets_base_mainnet" AS markets + ON pos.market_id = markets.id +) +SELECT + *, + ABS( + fill_price * trade_size + ) AS notional_trade_size, + fill_price * position_size AS notional_position_size, + total_fees - referral_fees - collected_fees - settlement_reward AS lp_fees, + total_fees - settlement_reward AS exchange_fees +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/accepted_values_fct_perp_colla_c44093d110551810dda33a327b32dcf1.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/accepted_values_fct_perp_colla_c44093d110551810dda33a327b32dcf1.sql new file mode 100644 index 00000000..8d0ccfe4 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/accepted_values_fct_perp_colla_c44093d110551810dda33a327b32dcf1.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_base_mainnet"."fct_perp_collateral_modified_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'CollateralModified' +) + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/accepted_values_fct_perp_inter_c4347b3b9694ac10aceed0143cedea56.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/accepted_values_fct_perp_inter_c4347b3b9694ac10aceed0143cedea56.sql new file mode 100644 index 00000000..c70ed2fc --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/accepted_values_fct_perp_inter_c4347b3b9694ac10aceed0143cedea56.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_base_mainnet"."fct_perp_interest_charged_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'InterestCharged' +) + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/accepted_values_fct_perp_previ_530e813c897a8fb37891d6ee5ba0c5cd.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/accepted_values_fct_perp_previ_530e813c897a8fb37891d6ee5ba0c5cd.sql new file mode 100644 index 00000000..c1aaa09f --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/accepted_values_fct_perp_previ_530e813c897a8fb37891d6ee5ba0c5cd.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_base_mainnet"."fct_perp_previous_order_expired_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'PreviousOrderExpired' +) + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_0e7c1984c4aa39f6fd4b55bb77bb0799.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_0e7c1984c4aa39f6fd4b55bb77bb0799.sql new file mode 100644 index 00000000..a4084d4b --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_0e7c1984c4aa39f6fd4b55bb77bb0799.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_perp_previous_order_expired_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_0f2a5a910989f8011f80a42e87ac0347.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_0f2a5a910989f8011f80a42e87ac0347.sql new file mode 100644 index 00000000..b716da01 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_0f2a5a910989f8011f80a42e87ac0347.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_107d1ece6a234baa81ddaf7ec7bc2586.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_107d1ece6a234baa81ddaf7ec7bc2586.sql new file mode 100644 index 00000000..09d4f7fd --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_107d1ece6a234baa81ddaf7ec7bc2586.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not settlement_reward >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_20bd9be4bbd3c73d6fe50263ec1a1772.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_20bd9be4bbd3c73d6fe50263ec1a1772.sql new file mode 100644 index 00000000..06d13c7e --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_20bd9be4bbd3c73d6fe50263ec1a1772.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_perp_interest_charged_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not interest >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_30bfdb62856d2d46d9bb2e59b4ef38ec.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_30bfdb62856d2d46d9bb2e59b4ef38ec.sql new file mode 100644 index 00000000..44cf893a --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_30bfdb62856d2d46d9bb2e59b4ef38ec.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_perp_pnl_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_3750d789cef78e79b6772ee1c31b416d.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_3750d789cef78e79b6772ee1c31b416d.sql new file mode 100644 index 00000000..e41ba75d --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_3750d789cef78e79b6772ee1c31b416d.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_46aa73378e6d97a17fcd11f7168dd382.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_46aa73378e6d97a17fcd11f7168dd382.sql new file mode 100644 index 00000000..ec5182c7 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_46aa73378e6d97a17fcd11f7168dd382.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not referral_fees >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_635979f89ac1fc82c0d353f5e0c85107.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_635979f89ac1fc82c0d353f5e0c85107.sql new file mode 100644 index 00000000..14f68038 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_635979f89ac1fc82c0d353f5e0c85107.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_liquidated >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_706d881e642b0b44990f6900137dfeab.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_706d881e642b0b44990f6900137dfeab.sql new file mode 100644 index 00000000..3590faa5 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_706d881e642b0b44990f6900137dfeab.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not total_fees >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_74c6652efc26b3f786970051f82d187d.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_74c6652efc26b3f786970051f82d187d.sql new file mode 100644 index 00000000..1538532a --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_74c6652efc26b3f786970051f82d187d.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not position_size >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_79500ffafcda43bd106402b84a9c0006.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_79500ffafcda43bd106402b84a9c0006.sql new file mode 100644 index 00000000..d5637ef2 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_79500ffafcda43bd106402b84a9c0006.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not lp_fees >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_7f989292ebdd85696258f50e8e944d80.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_7f989292ebdd85696258f50e8e944d80.sql new file mode 100644 index 00000000..e01dfc30 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_7f989292ebdd85696258f50e8e944d80.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collected_fees >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_8a97ba250d4e9efa339d8da28a0c27ac.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_8a97ba250d4e9efa339d8da28a0c27ac.sql new file mode 100644 index 00000000..4d15dfb5 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_8a97ba250d4e9efa339d8da28a0c27ac.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_perp_liq_account_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not total_reward >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_8db4ca1659461866db19178ab65e09c0.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_8db4ca1659461866db19178ab65e09c0.sql new file mode 100644 index 00000000..38663d61 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_8db4ca1659461866db19178ab65e09c0.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_perp_collateral_modified_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_a2dd2d32440dc91fc4794c2d669f8f75.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_a2dd2d32440dc91fc4794c2d669f8f75.sql new file mode 100644 index 00000000..00f8e8e8 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_a2dd2d32440dc91fc4794c2d669f8f75.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_a5e90bb9a47c86be90778297ee732a5c.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_a5e90bb9a47c86be90778297ee732a5c.sql new file mode 100644 index 00000000..2fc12a1e --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_a5e90bb9a47c86be90778297ee732a5c.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_perp_orders_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_da1cde36dcb965e4569d28886fb327bf.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_da1cde36dcb965e4569d28886fb327bf.sql new file mode 100644 index 00000000..7cee146e --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_da1cde36dcb965e4569d28886fb327bf.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_perp_markets_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_de17968e136591e8bdebfe1ebeb97386.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_de17968e136591e8bdebfe1ebeb97386.sql new file mode 100644 index 00000000..629d79f9 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_de17968e136591e8bdebfe1ebeb97386.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not exchange_fees >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_defc59e01d010d8997dbab10fd9ba035.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_defc59e01d010d8997dbab10fd9ba035.sql new file mode 100644 index 00000000..f6e3ddcd --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_defc59e01d010d8997dbab10fd9ba035.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not fill_price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_faf7be524f227ba063ac311acf719633.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_faf7be524f227ba063ac311acf719633.sql new file mode 100644 index 00000000..4a78fa97 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_faf7be524f227ba063ac311acf719633.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_perp_previous_order_expired_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ff10b4f2a56e4cdea1b5bcb928b28cbf.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ff10b4f2a56e4cdea1b5bcb928b28cbf.sql new file mode 100644 index 00000000..538b873f --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ff10b4f2a56e4cdea1b5bcb928b28cbf.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_perp_interest_charged_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_accounts_base_mainnet_created_ts.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_accounts_base_mainnet_created_ts.sql new file mode 100644 index 00000000..264ed2b5 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_accounts_base_mainnet_created_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select created_ts +from "analytics"."prod_base_mainnet"."fct_perp_accounts_base_mainnet" +where created_ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_accounts_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_accounts_base_mainnet_id.sql new file mode 100644 index 00000000..1c02a12c --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_accounts_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_mainnet"."fct_perp_accounts_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_accounts_base_mainnet_owner.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_accounts_base_mainnet_owner.sql new file mode 100644 index 00000000..6b6ed098 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_accounts_base_mainnet_owner.sql @@ -0,0 +1,11 @@ + + + + + + +select owner +from "analytics"."prod_base_mainnet"."fct_perp_accounts_base_mainnet" +where owner is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_480f0628000298ef433bca3cc91c2d4d.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_480f0628000298ef433bca3cc91c2d4d.sql new file mode 100644 index 00000000..767366c7 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_480f0628000298ef433bca3cc91c2d4d.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_base_mainnet"."fct_perp_collateral_modified_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_6aaf08a0cc0ebf1ec2552467131d9042.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_6aaf08a0cc0ebf1ec2552467131d9042.sql new file mode 100644 index 00000000..5b552f81 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_6aaf08a0cc0ebf1ec2552467131d9042.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_base_mainnet"."fct_perp_collateral_modified_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_e720fe048f24fc979d195abef2b1e5f2.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_e720fe048f24fc979d195abef2b1e5f2.sql new file mode 100644 index 00000000..994d0833 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_e720fe048f24fc979d195abef2b1e5f2.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_base_mainnet"."fct_perp_collateral_modified_base_mainnet" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_block_number.sql new file mode 100644 index 00000000..c2d3e25b --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_mainnet"."fct_perp_collateral_modified_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_contract.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_contract.sql new file mode 100644 index 00000000..4064060f --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_base_mainnet"."fct_perp_collateral_modified_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_event_name.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_event_name.sql new file mode 100644 index 00000000..a1843fbd --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_base_mainnet"."fct_perp_collateral_modified_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_id.sql new file mode 100644 index 00000000..78e4c477 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_mainnet"."fct_perp_collateral_modified_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_sender.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_sender.sql new file mode 100644 index 00000000..14afa397 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_base_mainnet"."fct_perp_collateral_modified_base_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_cha_58e811f195886e33ea96ae96495917e8.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_cha_58e811f195886e33ea96ae96495917e8.sql new file mode 100644 index 00000000..e566144b --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_cha_58e811f195886e33ea96ae96495917e8.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_base_mainnet"."fct_perp_interest_charged_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_account_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_account_id.sql new file mode 100644 index 00000000..ca3e0652 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_base_mainnet"."fct_perp_interest_charged_base_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_block_number.sql new file mode 100644 index 00000000..a9c0767d --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_mainnet"."fct_perp_interest_charged_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..a561c18f --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_base_mainnet"."fct_perp_interest_charged_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_contract.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_contract.sql new file mode 100644 index 00000000..6a3af1a5 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_base_mainnet"."fct_perp_interest_charged_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_event_name.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_event_name.sql new file mode 100644 index 00000000..eb875312 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_base_mainnet"."fct_perp_interest_charged_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_id.sql new file mode 100644 index 00000000..7ff2aa6d --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_mainnet"."fct_perp_interest_charged_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_interest.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_interest.sql new file mode 100644 index 00000000..f1a9bdc8 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_interest.sql @@ -0,0 +1,11 @@ + + + + + + +select interest +from "analytics"."prod_base_mainnet"."fct_perp_interest_charged_base_mainnet" +where interest is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_base_mainnet_account_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_base_mainnet_account_id.sql new file mode 100644 index 00000000..0f5c312e --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_base_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_base_mainnet"."fct_perp_liq_account_base_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_base_mainnet_total_reward.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_base_mainnet_total_reward.sql new file mode 100644 index 00000000..6f1c3d34 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_base_mainnet_total_reward.sql @@ -0,0 +1,11 @@ + + + + + + +select total_reward +from "analytics"."prod_base_mainnet"."fct_perp_liq_account_base_mainnet" +where total_reward is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_base_mainnet_ts.sql new file mode 100644 index 00000000..0d1690e3 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_perp_liq_account_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_account_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_account_id.sql new file mode 100644 index 00000000..60732263 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_amount_liquidated.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_amount_liquidated.sql new file mode 100644 index 00000000..227d5887 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_amount_liquidated.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_liquidated +from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet" +where amount_liquidated is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_block_number.sql new file mode 100644 index 00000000..ecf5a79d --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_id.sql new file mode 100644 index 00000000..b8449f83 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_market_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_market_id.sql new file mode 100644 index 00000000..d9f69cc4 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_market_symbol.sql new file mode 100644 index 00000000..4630be9a --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_market_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select market_symbol +from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet" +where market_symbol is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_position_size.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_position_size.sql new file mode 100644 index 00000000..4820ec77 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_position_size.sql @@ -0,0 +1,11 @@ + + + + + + +select position_size +from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet" +where position_size is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..491f0df6 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_ts.sql new file mode 100644 index 00000000..98a8f9eb --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_block_number.sql new file mode 100644 index 00000000..2a831370 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_funding_rate.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_funding_rate.sql new file mode 100644 index 00000000..81a9520e --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_funding_rate.sql @@ -0,0 +1,11 @@ + + + + + + +select funding_rate +from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet" +where funding_rate is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_funding_rate_apr.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_funding_rate_apr.sql new file mode 100644 index 00000000..d9ee0e42 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_funding_rate_apr.sql @@ -0,0 +1,11 @@ + + + + + + +select funding_rate_apr +from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet" +where funding_rate_apr is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_funding_velocity.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_funding_velocity.sql new file mode 100644 index 00000000..c8dbdc83 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_funding_velocity.sql @@ -0,0 +1,11 @@ + + + + + + +select funding_velocity +from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet" +where funding_velocity is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_id.sql new file mode 100644 index 00000000..94fe90d8 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_interest_rate.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_interest_rate.sql new file mode 100644 index 00000000..82789397 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_interest_rate.sql @@ -0,0 +1,11 @@ + + + + + + +select interest_rate +from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet" +where interest_rate is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_long_rate_apr.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_long_rate_apr.sql new file mode 100644 index 00000000..a3ebe028 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_long_rate_apr.sql @@ -0,0 +1,11 @@ + + + + + + +select long_rate_apr +from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet" +where long_rate_apr is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_market_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_market_id.sql new file mode 100644 index 00000000..1fcfba7d --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_market_symbol.sql new file mode 100644 index 00000000..20d349b4 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_market_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select market_symbol +from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet" +where market_symbol is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_price.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_price.sql new file mode 100644 index 00000000..94df13c8 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet" +where price is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_short_rate_apr.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_short_rate_apr.sql new file mode 100644 index 00000000..301f4340 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_short_rate_apr.sql @@ -0,0 +1,11 @@ + + + + + + +select short_rate_apr +from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet" +where short_rate_apr is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_size.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_size.sql new file mode 100644 index 00000000..29f2b510 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_size.sql @@ -0,0 +1,11 @@ + + + + + + +select size +from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet" +where size is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_size_delta.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_size_delta.sql new file mode 100644 index 00000000..7213448d --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_size_delta.sql @@ -0,0 +1,11 @@ + + + + + + +select size_delta +from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet" +where size_delta is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_size_usd.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_size_usd.sql new file mode 100644 index 00000000..b93247ac --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_size_usd.sql @@ -0,0 +1,11 @@ + + + + + + +select size_usd +from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet" +where size_usd is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_skew.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_skew.sql new file mode 100644 index 00000000..506b1b62 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_skew.sql @@ -0,0 +1,11 @@ + + + + + + +select skew +from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet" +where skew is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..ce390ba0 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_ts.sql new file mode 100644 index 00000000..1d13bc89 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_block_number.sql new file mode 100644 index 00000000..db52b4cf --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_mainnet"."fct_perp_markets_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_created_ts.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_created_ts.sql new file mode 100644 index 00000000..8acf722a --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_created_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select created_ts +from "analytics"."prod_base_mainnet"."fct_perp_markets_base_mainnet" +where created_ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_id.sql new file mode 100644 index 00000000..0947c62b --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_mainnet"."fct_perp_markets_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_market_name.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_market_name.sql new file mode 100644 index 00000000..d5a8254a --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_market_name.sql @@ -0,0 +1,11 @@ + + + + + + +select market_name +from "analytics"."prod_base_mainnet"."fct_perp_markets_base_mainnet" +where market_name is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_market_symbol.sql new file mode 100644 index 00000000..e1d1bf8b --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_market_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select market_symbol +from "analytics"."prod_base_mainnet"."fct_perp_markets_base_mainnet" +where market_symbol is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_account_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_account_id.sql new file mode 100644 index 00000000..9aeadd7f --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_base_mainnet"."fct_perp_orders_base_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_block_number.sql new file mode 100644 index 00000000..7a7cf93f --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_mainnet"."fct_perp_orders_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_contract.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_contract.sql new file mode 100644 index 00000000..e1bd15db --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_base_mainnet"."fct_perp_orders_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_id.sql new file mode 100644 index 00000000..6deb0a1a --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_mainnet"."fct_perp_orders_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_market_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_market_id.sql new file mode 100644 index 00000000..bf00f79a --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_base_mainnet"."fct_perp_orders_base_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_market_symbol.sql new file mode 100644 index 00000000..59c8b7a5 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_market_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select market_symbol +from "analytics"."prod_base_mainnet"."fct_perp_orders_base_mainnet" +where market_symbol is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..e491c9e9 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_base_mainnet"."fct_perp_orders_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_ts.sql new file mode 100644 index 00000000..0bd0b49c --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_perp_orders_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_pnl_base_mainnet_market_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_pnl_base_mainnet_market_id.sql new file mode 100644 index 00000000..f454cdc3 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_pnl_base_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_base_mainnet"."fct_perp_pnl_base_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_pnl_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_pnl_base_mainnet_ts.sql new file mode 100644 index 00000000..10f0020a --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_pnl_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_perp_pnl_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_03fbb8f4256d615fd7d5e4f848963002.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_03fbb8f4256d615fd7d5e4f848963002.sql new file mode 100644 index 00000000..f77ae32f --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_03fbb8f4256d615fd7d5e4f848963002.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_base_mainnet"."fct_perp_previous_order_expired_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_47e60611f9f74b7743817ce63b11a05c.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_47e60611f9f74b7743817ce63b11a05c.sql new file mode 100644 index 00000000..2bc47419 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_47e60611f9f74b7743817ce63b11a05c.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_base_mainnet"."fct_perp_previous_order_expired_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_80cc469e6d2e81f1497a39d556777112.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_80cc469e6d2e81f1497a39d556777112.sql new file mode 100644 index 00000000..a2fb39be --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_80cc469e6d2e81f1497a39d556777112.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_mainnet"."fct_perp_previous_order_expired_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_ad18888485efae9a1e81172a3cc23d47.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_ad18888485efae9a1e81172a3cc23d47.sql new file mode 100644 index 00000000..9f0602a9 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_ad18888485efae9a1e81172a3cc23d47.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_base_mainnet"."fct_perp_previous_order_expired_base_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_e4a087722f5fd0da2240b158c1565b09.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_e4a087722f5fd0da2240b158c1565b09.sql new file mode 100644 index 00000000..1831e044 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_e4a087722f5fd0da2240b158c1565b09.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_base_mainnet"."fct_perp_previous_order_expired_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_mainnet_contract.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_mainnet_contract.sql new file mode 100644 index 00000000..4a55cb76 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_base_mainnet"."fct_perp_previous_order_expired_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_mainnet_id.sql new file mode 100644 index 00000000..30a0592b --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_mainnet"."fct_perp_previous_order_expired_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_mainnet_market_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_mainnet_market_id.sql new file mode 100644 index 00000000..29db4789 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_base_mainnet"."fct_perp_previous_order_expired_base_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_account_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_account_id.sql new file mode 100644 index 00000000..9790f929 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_accrued_funding.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_accrued_funding.sql new file mode 100644 index 00000000..5bbc96aa --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_accrued_funding.sql @@ -0,0 +1,11 @@ + + + + + + +select accrued_funding +from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +where accrued_funding is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_block_number.sql new file mode 100644 index 00000000..4fa75dae --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_collected_fees.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_collected_fees.sql new file mode 100644 index 00000000..f51e7eb3 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_collected_fees.sql @@ -0,0 +1,11 @@ + + + + + + +select collected_fees +from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +where collected_fees is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_contract.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_contract.sql new file mode 100644 index 00000000..8592e53c --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_exchange_fees.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_exchange_fees.sql new file mode 100644 index 00000000..f2f451b6 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_exchange_fees.sql @@ -0,0 +1,11 @@ + + + + + + +select exchange_fees +from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +where exchange_fees is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_fill_price.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_fill_price.sql new file mode 100644 index 00000000..414cb781 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_fill_price.sql @@ -0,0 +1,11 @@ + + + + + + +select fill_price +from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +where fill_price is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_id.sql new file mode 100644 index 00000000..4a2f25aa --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_lp_fees.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_lp_fees.sql new file mode 100644 index 00000000..b738aee5 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_lp_fees.sql @@ -0,0 +1,11 @@ + + + + + + +select lp_fees +from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +where lp_fees is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_market_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_market_id.sql new file mode 100644 index 00000000..f003ecec --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_market_symbol.sql new file mode 100644 index 00000000..ea355ae7 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_market_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select market_symbol +from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +where market_symbol is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_notional_position_size.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_notional_position_size.sql new file mode 100644 index 00000000..001ff430 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_notional_position_size.sql @@ -0,0 +1,11 @@ + + + + + + +select notional_position_size +from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +where notional_position_size is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_notional_trade_size.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_notional_trade_size.sql new file mode 100644 index 00000000..e81d6a18 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_notional_trade_size.sql @@ -0,0 +1,11 @@ + + + + + + +select notional_trade_size +from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +where notional_trade_size is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_pnl.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_pnl.sql new file mode 100644 index 00000000..0b9ff6aa --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_pnl.sql @@ -0,0 +1,11 @@ + + + + + + +select pnl +from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +where pnl is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_position_size.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_position_size.sql new file mode 100644 index 00000000..386e9285 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_position_size.sql @@ -0,0 +1,11 @@ + + + + + + +select position_size +from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +where position_size is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_referral_fees.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_referral_fees.sql new file mode 100644 index 00000000..91fbe22f --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_referral_fees.sql @@ -0,0 +1,11 @@ + + + + + + +select referral_fees +from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +where referral_fees is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_settlement_reward.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_settlement_reward.sql new file mode 100644 index 00000000..d0cabc8c --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_settlement_reward.sql @@ -0,0 +1,11 @@ + + + + + + +select settlement_reward +from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +where settlement_reward is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_settler.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_settler.sql new file mode 100644 index 00000000..0d92f106 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_settler.sql @@ -0,0 +1,11 @@ + + + + + + +select settler +from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +where settler is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_total_fees.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_total_fees.sql new file mode 100644 index 00000000..b1497c8e --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_total_fees.sql @@ -0,0 +1,11 @@ + + + + + + +select total_fees +from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +where total_fees is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_tracking_code.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_tracking_code.sql new file mode 100644 index 00000000..610bf552 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_tracking_code.sql @@ -0,0 +1,11 @@ + + + + + + +select tracking_code +from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +where tracking_code is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_trade_size.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_trade_size.sql new file mode 100644 index 00000000..cb24b08e --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_trade_size.sql @@ -0,0 +1,11 @@ + + + + + + +select trade_size +from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +where trade_size is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..6028f0a0 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_ts.sql new file mode 100644 index 00000000..0f1ae55d --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_accounts_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_accounts_base_mainnet_id.sql new file mode 100644 index 00000000..44d229df --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_accounts_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_base_mainnet"."fct_perp_accounts_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_collateral_modified_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_collateral_modified_base_mainnet_id.sql new file mode 100644 index 00000000..034c0b1a --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_collateral_modified_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_base_mainnet"."fct_perp_collateral_modified_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_interest_charged_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_interest_charged_base_mainnet_id.sql new file mode 100644 index 00000000..468d19ef --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_interest_charged_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_base_mainnet"."fct_perp_interest_charged_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_liq_position_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_liq_position_base_mainnet_id.sql new file mode 100644 index 00000000..dc69c894 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_liq_position_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_market_history_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_market_history_base_mainnet_id.sql new file mode 100644 index 00000000..33609a56 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_market_history_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_orders_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_orders_base_mainnet_id.sql new file mode 100644 index 00000000..340523d1 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_orders_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_base_mainnet"."fct_perp_orders_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_previous_order_expired_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_previous_order_expired_base_mainnet_id.sql new file mode 100644 index 00000000..be4c6aa3 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_previous_order_expired_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_base_mainnet"."fct_perp_previous_order_expired_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_trades_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_trades_base_mainnet_id.sql new file mode 100644 index 00000000..4cf6733d --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_trades_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_account_stats_daily_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_account_stats_daily_base_mainnet.sql new file mode 100644 index 00000000..8fd7f284 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_account_stats_daily_base_mainnet.sql @@ -0,0 +1,39 @@ +WITH daily AS ( + SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + account_id, + SUM(fees) AS fees, + SUM(volume) AS volume, + SUM(amount_liquidated) AS amount_liquidated, + SUM(liquidations) AS liquidations + FROM + "analytics"."prod_base_mainnet"."fct_perp_account_stats_hourly_base_mainnet" + GROUP BY + 1, + 2 +), +stats AS ( + SELECT + daily.*, + SUM(fees) over ( + PARTITION BY account_id + ORDER BY + ts RANGE BETWEEN unbounded preceding + AND CURRENT ROW + ) AS cumulative_fees, + SUM(volume) over ( + PARTITION BY account_id + ORDER BY + ts RANGE BETWEEN unbounded preceding + AND CURRENT ROW + ) AS cumulative_volume + FROM + daily +) +SELECT + * +FROM + stats \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_account_stats_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_account_stats_hourly_base_mainnet.sql new file mode 100644 index 00000000..cd451bf3 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_account_stats_hourly_base_mainnet.sql @@ -0,0 +1,108 @@ +WITH trades AS ( + SELECT + ts, + account_id, + total_fees, + notional_trade_size, + 1 AS trades, + SUM( + total_fees + ) over ( + PARTITION BY account_id + ORDER BY + ts + ) AS cumulative_fees, + SUM( + notional_trade_size + ) over ( + PARTITION BY account_id + ORDER BY + ts + ) AS cumulative_volume + FROM + "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +), +liq AS ( + SELECT + ts, + account_id, + amount_liquidated, + 1 AS liquidations + FROM + "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet" +), +inc_trades AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + account_id, + SUM(trades) AS trades, + SUM(total_fees) AS fees, + SUM(notional_trade_size) AS volume, + MAX(cumulative_fees) AS cumulative_fees, + MAX(cumulative_volume) AS cumulative_volume + FROM + trades + GROUP BY + 1, + 2 +), +inc_liq AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + account_id, + SUM(amount_liquidated) AS amount_liquidated, + SUM(liquidations) AS liquidations + FROM + liq + GROUP BY + 1, + 2 +), +inc AS ( + SELECT + h.ts, + h.account_id, + COALESCE( + h.trades, + 0 + ) AS trades, + COALESCE( + h.fees, + 0 + ) AS fees, + COALESCE( + h.volume, + 0 + ) AS volume, + COALESCE( + l.amount_liquidated, + 0 + ) AS amount_liquidated, + COALESCE( + l.liquidations, + 0 + ) AS liquidations, + COALESCE( + h.cumulative_fees, + 0 + ) AS cumulative_fees, + COALESCE( + h.cumulative_volume, + 0 + ) AS cumulative_volume + FROM + inc_trades h + LEFT JOIN inc_liq l + ON h.ts = l.ts + AND h.account_id = l.account_id +) +SELECT + * +FROM + inc \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_daily_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_daily_base_mainnet.sql new file mode 100644 index 00000000..b13c6d1f --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_daily_base_mainnet.sql @@ -0,0 +1,40 @@ +WITH hourly AS ( + SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + keeper, + settlement_rewards, + amount_settled, + trades + FROM + "analytics"."prod_base_mainnet"."fct_perp_keeper_stats_hourly_base_mainnet" +), +total AS ( + SELECT + ts, + SUM(trades) AS trades_total, + SUM(settlement_rewards) AS settlement_reward_total, + SUM(amount_settled) AS amount_settled_total + FROM + hourly + GROUP BY + 1 +) +SELECT + hourly.ts, + keeper, + SUM(trades) AS trades, + SUM(settlement_rewards) AS settlement_rewards, + SUM(amount_settled) AS amount_settled, + SUM(trades) / MAX(trades_total) AS trades_pct, + SUM(settlement_rewards) / MAX(settlement_reward_total) AS settlement_rewards_pct, + SUM(amount_settled) / MAX(amount_settled_total) AS amount_settled_pct +FROM + hourly + JOIN total + ON hourly.ts = total.ts +GROUP BY + 1, + 2 \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_hourly_base_mainnet.sql new file mode 100644 index 00000000..627ecf9f --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_hourly_base_mainnet.sql @@ -0,0 +1,40 @@ +WITH trades AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + settler, + settlement_reward, + notional_trade_size, + 1 AS trades + FROM + "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +), +total AS ( + SELECT + ts, + SUM(trades) AS trades_total, + SUM(settlement_reward) AS settlement_reward_total, + SUM(notional_trade_size) AS notional_trade_size_total + FROM + trades + GROUP BY + 1 +) +SELECT + trades.ts, + settler AS keeper, + SUM(trades) AS trades, + SUM(settlement_reward) AS settlement_rewards, + SUM(notional_trade_size) AS amount_settled, + SUM(trades) / MAX(trades_total) AS trades_pct, + SUM(settlement_reward) / MAX(settlement_reward_total) AS settlement_rewards_pct, + SUM(notional_trade_size) / MAX(notional_trade_size_total) AS amount_settled_pct +FROM + trades + JOIN total + ON trades.ts = total.ts +GROUP BY + 1, + 2 \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_market_stats_daily_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_market_stats_daily_base_mainnet.sql new file mode 100644 index 00000000..870f2a67 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_market_stats_daily_base_mainnet.sql @@ -0,0 +1,22 @@ +SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + market_symbol, + SUM(trades) AS trades, + SUM(exchange_fees) AS exchange_fees, + SUM(referral_fees) AS referral_fees, + SUM(collected_fees) AS collected_fees, + SUM(volume) AS volume, + SUM(amount_liquidated) AS amount_liquidated, + SUM(liquidations) AS liquidations, + MAX(cumulative_exchange_fees) AS cumulative_exchange_fees, + MAX(cumulative_referral_fees) AS cumulative_referral_fees, + MAX(cumulative_collected_fees) AS cumulative_collected_fees, + MAX(cumulative_volume) AS cumulative_volume +FROM + "analytics"."prod_base_mainnet"."fct_perp_market_stats_hourly_base_mainnet" +GROUP BY + 1, + 2 \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_market_stats_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_market_stats_hourly_base_mainnet.sql new file mode 100644 index 00000000..34a5bef9 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_market_stats_hourly_base_mainnet.sql @@ -0,0 +1,147 @@ +WITH trades AS ( + SELECT + ts, + market_symbol, + exchange_fees, + referral_fees, + collected_fees, + notional_trade_size, + 1 AS trades + FROM + "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +), +liq AS ( + SELECT + ts, + market_symbol, + amount_liquidated, + 1 AS liquidations + FROM + "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet" +), +inc_trades AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + market_symbol, + SUM(trades) AS trades, + SUM(exchange_fees) AS exchange_fees, + SUM(referral_fees) AS referral_fees, + SUM(collected_fees) AS collected_fees, + SUM(notional_trade_size) AS volume + FROM + trades + GROUP BY + 1, + 2 +), +inc_liq AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + market_symbol, + SUM(amount_liquidated) AS amount_liquidated, + SUM(liquidations) AS liquidations + FROM + liq + GROUP BY + 1, + 2 +), +dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.market_symbol + FROM + ( + SELECT + ts + FROM + trades + ) AS t + CROSS JOIN ( + SELECT + DISTINCT market_symbol + FROM + trades + ) AS m + GROUP BY + m.market_symbol +), +inc AS ( + SELECT + dim.ts, + dim.market_symbol, + COALESCE( + h.trades, + 0 + ) AS trades, + COALESCE( + h.exchange_fees, + 0 + ) AS exchange_fees, + COALESCE( + h.referral_fees, + 0 + ) AS referral_fees, + COALESCE( + h.collected_fees, + 0 + ) AS collected_fees, + COALESCE( + h.volume, + 0 + ) AS volume, + COALESCE( + l.amount_liquidated, + 0 + ) AS amount_liquidated, + COALESCE( + l.liquidations, + 0 + ) AS liquidations, + SUM( + h.exchange_fees + ) over ( + PARTITION BY dim.market_symbol + ORDER BY + dim.ts + ) AS cumulative_exchange_fees, + SUM( + h.referral_fees + ) over ( + PARTITION BY dim.market_symbol + ORDER BY + dim.ts + ) AS cumulative_referral_fees, + SUM( + h.collected_fees + ) over ( + PARTITION BY dim.market_symbol + ORDER BY + dim.ts + ) AS cumulative_collected_fees, + SUM( + h.volume + ) over ( + PARTITION BY dim.market_symbol + ORDER BY + dim.ts + ) AS cumulative_volume + FROM + dim + LEFT JOIN inc_trades h + ON dim.ts = h.ts + AND dim.market_symbol = h.market_symbol + LEFT JOIN inc_liq l + ON dim.ts = l.ts + AND dim.market_symbol = l.market_symbol +) +SELECT + * +FROM + inc \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_stats_daily_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_stats_daily_base_mainnet.sql new file mode 100644 index 00000000..728462b7 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_stats_daily_base_mainnet.sql @@ -0,0 +1,20 @@ +SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + SUM(trades) AS trades, + SUM(exchange_fees) AS exchange_fees, + SUM(referral_fees) AS referral_fees, + SUM(collected_fees) AS collected_fees, + SUM(volume) AS volume, + SUM(liquidation_rewards) AS liquidation_rewards, + SUM(liquidated_accounts) AS liquidated_accounts, + MAX(cumulative_exchange_fees) AS cumulative_exchange_fees, + MAX(cumulative_referral_fees) AS cumulative_referral_fees, + MAX(cumulative_collected_fees) AS cumulative_collected_fees, + MAX(cumulative_volume) AS cumulative_volume +FROM + "analytics"."prod_base_mainnet"."fct_perp_stats_hourly_base_mainnet" +GROUP BY + 1 \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_stats_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_stats_hourly_base_mainnet.sql new file mode 100644 index 00000000..aa4a0265 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_stats_hourly_base_mainnet.sql @@ -0,0 +1,84 @@ +WITH inc_market AS ( + SELECT + ts, + market_symbol, + trades, + exchange_fees, + referral_fees, + collected_fees, + volume, + liquidations, + cumulative_exchange_fees, + cumulative_referral_fees, + cumulative_collected_fees, + cumulative_volume + FROM + "analytics"."prod_base_mainnet"."fct_perp_market_stats_hourly_base_mainnet" +), +liq AS ( + SELECT + ts, + total_reward, + 1 AS liquidated_accounts + FROM + "analytics"."prod_base_mainnet"."fct_perp_liq_account_base_mainnet" +), +inc_liq AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + SUM(total_reward) AS liquidation_rewards, + SUM(liquidated_accounts) AS liquidated_accounts + FROM + liq + GROUP BY + 1 +), +inc_trade AS ( + SELECT + ts, + SUM(trades) AS trades, + SUM(exchange_fees) AS exchange_fees, + SUM(referral_fees) AS referral_fees, + SUM(collected_fees) AS collected_fees, + SUM(volume) AS volume, + SUM(cumulative_exchange_fees) AS cumulative_exchange_fees, + SUM(cumulative_referral_fees) AS cumulative_referral_fees, + SUM(cumulative_collected_fees) AS cumulative_collected_fees, + SUM(cumulative_volume) AS cumulative_volume + FROM + inc_market + GROUP BY + 1 +), +inc AS ( + SELECT + h.ts, + h.trades, + h.exchange_fees, + h.referral_fees, + h.collected_fees, + h.volume, + COALESCE( + l.liquidation_rewards, + 0 + ) AS liquidation_rewards, + COALESCE( + l.liquidated_accounts, + 0 + ) AS liquidated_accounts, + h.cumulative_exchange_fees, + h.cumulative_referral_fees, + h.cumulative_collected_fees, + h.cumulative_volume + FROM + inc_trade h + LEFT JOIN inc_liq l + ON h.ts = l.ts +) +SELECT + * +FROM + inc \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_daily_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_daily_base_mainnet.sql new file mode 100644 index 00000000..bdc156ff --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_daily_base_mainnet.sql @@ -0,0 +1,83 @@ +WITH trades AS ( + SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + tracking_code, + SUM(exchange_fees) AS exchange_fees, + SUM(referral_fees) AS referral_fees, + SUM(collected_fees) AS collected_fees, + SUM(volume) AS volume, + SUM(trades) AS trades + FROM + "analytics"."prod_base_mainnet"."fct_perp_tracking_stats_hourly_base_mainnet" + GROUP BY + 1, + 2 +), +accounts AS ( + SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + tracking_code, + COUNT( + DISTINCT account_id + ) AS accounts + FROM + "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" + GROUP BY + 1, + 2 +), +total AS ( + SELECT + ts, + SUM(exchange_fees) AS exchange_fees_total, + SUM(referral_fees) AS referral_fees_total, + SUM(collected_fees) AS collected_fees_total, + SUM(volume) AS volume_total, + SUM(trades) AS trades_total + FROM + trades + GROUP BY + 1 +) +SELECT + trades.ts, + trades.tracking_code, + trades.exchange_fees, + trades.referral_fees, + trades.collected_fees, + trades.volume, + trades.trades, + accounts.accounts, + CASE + WHEN total.exchange_fees_total = 0 THEN 0 + ELSE trades.exchange_fees / total.exchange_fees_total + END AS exchange_fees_share, + CASE + WHEN total.referral_fees_total = 0 THEN 0 + ELSE trades.referral_fees / total.referral_fees_total + END AS referral_fees_share, + CASE + WHEN total.collected_fees_total = 0 THEN 0 + ELSE trades.collected_fees / total.collected_fees_total + END AS collected_fees_share, + CASE + WHEN total.volume_total = 0 THEN 0 + ELSE trades.volume / total.volume_total + END AS volume_share, + CASE + WHEN total.trades_total = 0 THEN 0 + ELSE trades.trades / total.trades_total + END AS trades_share +FROM + trades + JOIN accounts + ON trades.ts = accounts.ts + AND trades.tracking_code = accounts.tracking_code + JOIN total + ON trades.ts = total.ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_hourly_base_mainnet.sql new file mode 100644 index 00000000..197d8c73 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_hourly_base_mainnet.sql @@ -0,0 +1,83 @@ +WITH trades AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + tracking_code, + SUM(exchange_fees) AS exchange_fees, + SUM(referral_fees) AS referral_fees, + SUM(collected_fees) AS collected_fees, + SUM(notional_trade_size) AS volume, + SUM(1) AS trades + FROM + "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" + GROUP BY + 1, + 2 +), +accounts AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + tracking_code, + COUNT( + DISTINCT account_id + ) AS accounts + FROM + "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" + GROUP BY + 1, + 2 +), +total AS ( + SELECT + ts, + SUM(trades) AS trades_total, + SUM(exchange_fees) AS exchange_fees_total, + SUM(referral_fees) AS referral_fees_total, + SUM(collected_fees) AS collected_fees_total, + SUM(volume) AS volume_total + FROM + trades + GROUP BY + 1 +) +SELECT + trades.ts, + trades.tracking_code, + trades.exchange_fees, + trades.referral_fees, + trades.collected_fees, + trades.volume, + trades.trades, + accounts.accounts, + CASE + WHEN total.exchange_fees_total = 0 THEN 0 + ELSE trades.exchange_fees / total.exchange_fees_total + END AS exchange_fees_share, + CASE + WHEN total.referral_fees_total = 0 THEN 0 + ELSE trades.referral_fees / total.referral_fees_total + END AS referral_fees_share, + CASE + WHEN total.collected_fees_total = 0 THEN 0 + ELSE trades.collected_fees / total.collected_fees_total + END AS collected_fees_share, + CASE + WHEN total.volume_total = 0 THEN 0 + ELSE trades.volume / total.volume_total + END AS volume_share, + CASE + WHEN total.trades_total = 0 THEN 0 + ELSE trades.trades / total.trades_total + END AS trades_share +FROM + trades + JOIN accounts + ON trades.ts = accounts.ts + AND trades.tracking_code = accounts.tracking_code + JOIN total + ON trades.ts = total.ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/prices/fct_prices_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/prices/fct_prices_base_mainnet.sql new file mode 100644 index 00000000..b6517f5c --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/prices/fct_prices_base_mainnet.sql @@ -0,0 +1,52 @@ +WITH all_prices AS ( + SELECT + ts, + NULL AS market_address, + market_symbol, + price + FROM + "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet" + UNION ALL + SELECT + ts, + NULL AS market_address, + 'SNX' AS market_symbol, + snx_price AS price + FROM + "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet" + WHERE + snx_price > 0 + UNION ALL + SELECT + ts, + collateral_type AS market_address, + NULL AS market_symbol, + collateral_value / amount AS price + FROM + "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet" + WHERE + collateral_value > 0 +), +tokens AS ( + SELECT + token_address, + token_symbol + FROM + "analytics"."prod_seeds"."base_mainnet_tokens" +) +SELECT + p.ts, + p.market_address, + COALESCE( + t.token_symbol, + p.market_symbol + ) AS market_symbol, + p.price +FROM + all_prices p + LEFT JOIN tokens t + ON LOWER( + p.market_address + ) = LOWER( + t.token_address + ) \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/prices/fct_prices_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/prices/fct_prices_hourly_base_mainnet.sql new file mode 100644 index 00000000..41688e1a --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/prices/fct_prices_hourly_base_mainnet.sql @@ -0,0 +1,74 @@ +WITH prices AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + market_symbol, + LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS price + FROM + "analytics"."prod_base_mainnet"."fct_prices_base_mainnet" +), +dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.market_symbol + FROM + ( + SELECT + ts + FROM + prices + ) AS t + CROSS JOIN ( + SELECT + DISTINCT market_symbol + FROM + prices + ) AS m + GROUP BY + m.market_symbol +), +ffill AS ( + SELECT + dim.ts, + dim.market_symbol, + prices.price, + SUM( + CASE + WHEN prices.price IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + PARTITION BY dim.market_symbol + ORDER BY + dim.ts + ) AS price_id + FROM + dim + LEFT JOIN prices + ON dim.ts = prices.ts + AND dim.market_symbol = prices.market_symbol +), +hourly_prices AS ( + SELECT + ts, + market_symbol, + FIRST_VALUE(price) over ( + PARTITION BY price_id, + market_symbol + ORDER BY + ts + ) AS price + FROM + ffill +) +SELECT + * +FROM + hourly_prices +WHERE + price IS NOT NULL \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_27b6af55248f953e90043a26b172ae10.sql b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_27b6af55248f953e90043a26b172ae10.sql new file mode 100644 index 00000000..4f5917b2 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_27b6af55248f953e90043a26b172ae10.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_prices_hourly_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0.sql b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0.sql new file mode 100644 index 00000000..b7368af4 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_prices_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_base_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_base_mainnet_market_symbol.sql new file mode 100644 index 00000000..2416624d --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_base_mainnet_market_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select market_symbol +from "analytics"."prod_base_mainnet"."fct_prices_base_mainnet" +where market_symbol is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_base_mainnet_price.sql b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_base_mainnet_price.sql new file mode 100644 index 00000000..c71dcc8c --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_base_mainnet_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_base_mainnet"."fct_prices_base_mainnet" +where price is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_base_mainnet_ts.sql new file mode 100644 index 00000000..adbfa0ce --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_prices_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_hourly_base_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_hourly_base_mainnet_market_symbol.sql new file mode 100644 index 00000000..57f855ce --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_hourly_base_mainnet_market_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select market_symbol +from "analytics"."prod_base_mainnet"."fct_prices_hourly_base_mainnet" +where market_symbol is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_hourly_base_mainnet_price.sql b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_hourly_base_mainnet_price.sql new file mode 100644 index 00000000..fb9036d9 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_hourly_base_mainnet_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_base_mainnet"."fct_prices_hourly_base_mainnet" +where price is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_hourly_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_hourly_base_mainnet_ts.sql new file mode 100644 index 00000000..ef0879c0 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_hourly_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_prices_hourly_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_atomics_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_atomics_base_mainnet.sql new file mode 100644 index 00000000..2afa76fe --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_atomics_base_mainnet.sql @@ -0,0 +1,59 @@ +WITH bought AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + + price / 1e18 + AS price, + + synth_returned / 1e18 + AS amount, + referrer + FROM + "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet" +), +sold AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + + price / 1e18 + AS price, + -1 * + amount_returned / 1e18 + AS amount, + referrer + FROM + "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet" +) +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + price, + amount, + referrer +FROM + bought +UNION ALL +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + price, + amount, + referrer +FROM + sold +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_markets_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_markets_base_mainnet.sql new file mode 100644 index 00000000..187abb91 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_markets_base_mainnet.sql @@ -0,0 +1,13 @@ +WITH base AS ( + SELECT + synth_market_id AS id, + block_timestamp AS created_ts, + block_number, + synth_token_address AS token_address + FROM + "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet" +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_wrapper_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_wrapper_base_mainnet.sql new file mode 100644 index 00000000..71aa91cb --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_wrapper_base_mainnet.sql @@ -0,0 +1,47 @@ +WITH wraps AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + + amount_wrapped / 1e18 + AS amount_wrapped + FROM + "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet" +), +unwraps AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + -1 * + amount_unwrapped / 1e18 + AS amount_wrapped + FROM + "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet" +) +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + amount_wrapped +FROM + wraps +UNION ALL +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + amount_wrapped +FROM + unwraps +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/fct_synth_supply_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/spot/fct_synth_supply_base_mainnet.sql new file mode 100644 index 00000000..8ff09770 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/fct_synth_supply_base_mainnet.sql @@ -0,0 +1,75 @@ +WITH wrapper AS ( + SELECT + ts, + block_number, + synth_market_id, + amount_wrapped AS change_amount + FROM + "analytics"."prod_base_mainnet"."fct_spot_wrapper_base_mainnet" +), +atomics AS ( + SELECT + ts, + block_number, + synth_market_id, + amount AS change_amount + FROM + "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet" + UNION ALL + SELECT + ts, + block_number, + 0 AS synth_market_id, + amount * price * -1 AS change_amount + FROM + "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet" +), +usd_changes AS ( + SELECT + block_timestamp AS ts, + block_number, + 0 AS synth_market_id, + + amount / 1e18 + AS change_amount + FROM + "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet" + UNION ALL + SELECT + block_timestamp AS ts, + block_number, + 0 AS synth_market_id, + -1 * + amount / 1e18 + AS change_amount + FROM + "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet" +), +all_changes AS ( + SELECT + * + FROM + wrapper + UNION ALL + SELECT + * + FROM + atomics + UNION ALL + SELECT + * + FROM + usd_changes +) +SELECT + ts, + block_number, + synth_market_id, + SUM(change_amount) over ( + PARTITION BY synth_market_id + ORDER BY + ts, + block_number + ) AS supply +FROM + all_changes \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_250a7c642b574d53cc1af4dfcbcf129d.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_250a7c642b574d53cc1af4dfcbcf129d.sql new file mode 100644 index 00000000..da06b51d --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_250a7c642b574d53cc1af4dfcbcf129d.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_spot_wrapper_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_7fab60828a5bfeb783ade31a478e75db.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_7fab60828a5bfeb783ade31a478e75db.sql new file mode 100644 index 00000000..e929b9cc --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_7fab60828a5bfeb783ade31a478e75db.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_91ed2d6444a2d9e7dae36ab1d509b137.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_91ed2d6444a2d9e7dae36ab1d509b137.sql new file mode 100644 index 00000000..b1919f22 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_91ed2d6444a2d9e7dae36ab1d509b137.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_synth_supply_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_c6e2598ae26ef43c24f3f88f8dc4f769.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_c6e2598ae26ef43c24f3f88f8dc4f769.sql new file mode 100644 index 00000000..fcb70c16 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_c6e2598ae26ef43c24f3f88f8dc4f769.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_mainnet"."fct_spot_markets_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_amount.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_amount.sql new file mode 100644 index 00000000..24477403 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_block_number.sql new file mode 100644 index 00000000..c879490e --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_id.sql new file mode 100644 index 00000000..6ee7189f --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_price.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_price.sql new file mode 100644 index 00000000..b9c4cb6b --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet" +where price is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_referrer.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_referrer.sql new file mode 100644 index 00000000..9a3c5b8d --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_referrer.sql @@ -0,0 +1,11 @@ + + + + + + +select referrer +from "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet" +where referrer is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_synth_market_id.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_synth_market_id.sql new file mode 100644 index 00000000..971e0a3b --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_ts.sql new file mode 100644 index 00000000..18460e7b --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_tx_hash.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_tx_hash.sql new file mode 100644 index 00000000..262d61a1 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_tx_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select tx_hash +from "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet" +where tx_hash is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_block_number.sql new file mode 100644 index 00000000..f9a00c86 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_mainnet"."fct_spot_markets_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_created_ts.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_created_ts.sql new file mode 100644 index 00000000..210e229e --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_created_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select created_ts +from "analytics"."prod_base_mainnet"."fct_spot_markets_base_mainnet" +where created_ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_id.sql new file mode 100644 index 00000000..bdc31da5 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_mainnet"."fct_spot_markets_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_token_address.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_token_address.sql new file mode 100644 index 00000000..3e596a6f --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_token_address.sql @@ -0,0 +1,11 @@ + + + + + + +select token_address +from "analytics"."prod_base_mainnet"."fct_spot_markets_base_mainnet" +where token_address is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_amount_wrapped.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_amount_wrapped.sql new file mode 100644 index 00000000..1eb59b2f --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_amount_wrapped.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_wrapped +from "analytics"."prod_base_mainnet"."fct_spot_wrapper_base_mainnet" +where amount_wrapped is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_block_number.sql new file mode 100644 index 00000000..d85551c2 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_mainnet"."fct_spot_wrapper_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_id.sql new file mode 100644 index 00000000..99e85bf5 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_mainnet"."fct_spot_wrapper_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_synth_market_id.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_synth_market_id.sql new file mode 100644 index 00000000..ba922fe3 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_base_mainnet"."fct_spot_wrapper_base_mainnet" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_ts.sql new file mode 100644 index 00000000..39da23fc --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_spot_wrapper_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_tx_hash.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_tx_hash.sql new file mode 100644 index 00000000..103fc4e4 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_tx_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select tx_hash +from "analytics"."prod_base_mainnet"."fct_spot_wrapper_base_mainnet" +where tx_hash is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_block_number.sql new file mode 100644 index 00000000..c7c50032 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_mainnet"."fct_synth_supply_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_supply.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_supply.sql new file mode 100644 index 00000000..7bf0ea5c --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_supply.sql @@ -0,0 +1,11 @@ + + + + + + +select supply +from "analytics"."prod_base_mainnet"."fct_synth_supply_base_mainnet" +where supply is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_synth_market_id.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_synth_market_id.sql new file mode 100644 index 00000000..b09110c7 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_base_mainnet"."fct_synth_supply_base_mainnet" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_ts.sql new file mode 100644 index 00000000..9fcf4773 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_mainnet"."fct_synth_supply_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/unique_fct_spot_atomics_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/unique_fct_spot_atomics_base_mainnet_id.sql new file mode 100644 index 00000000..f713c6b6 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/unique_fct_spot_atomics_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/unique_fct_spot_wrapper_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/unique_fct_spot_wrapper_base_mainnet_id.sql new file mode 100644 index 00000000..465b7425 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/unique_fct_spot_wrapper_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_base_mainnet"."fct_spot_wrapper_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_base_sepolia.sql new file mode 100644 index 00000000..91d3946b --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_base_sepolia.sql @@ -0,0 +1,17 @@ +SELECT + id, + block_timestamp AS ts, + buyer, + + snx / 1e18 + AS snx, + + usd / 1e18 + AS usd, + ( + usd / 1e18 +) / ( + snx / 1e18 +) AS snx_price +FROM + "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia" \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_daily_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_daily_base_sepolia.sql new file mode 100644 index 00000000..7f0c4613 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_daily_base_sepolia.sql @@ -0,0 +1,27 @@ +WITH agg AS ( + SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + SUM(snx) AS snx_amount, + SUM(usd) AS usd_amount + FROM + "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia" + GROUP BY + 1 +) -- add cumulative amounts +SELECT + ts, + snx_amount, + usd_amount, + SUM(snx_amount) over ( + ORDER BY + ts + ) AS cumulative_snx_amount, + SUM(usd_amount) over ( + ORDER BY + ts + ) AS cumulative_usd_amount +FROM + agg \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_hourly_base_sepolia.sql new file mode 100644 index 00000000..5a978929 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_hourly_base_sepolia.sql @@ -0,0 +1,27 @@ +WITH agg AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + SUM(snx) AS snx_amount, + SUM(usd) AS usd_amount + FROM + "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia" + GROUP BY + 1 +) -- add cumulative amounts +SELECT + ts, + snx_amount, + usd_amount, + SUM(snx_amount) over ( + ORDER BY + ts + ) AS cumulative_snx_amount, + SUM(usd_amount) over ( + ORDER BY + ts + ) AS cumulative_usd_amount +FROM + agg \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_19d9635b42d83035fb764a30eb745906.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_19d9635b42d83035fb764a30eb745906.sql new file mode 100644 index 00000000..bde1c0e0 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_19d9635b42d83035fb764a30eb745906.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_buyback_daily_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not cumulative_usd_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_1bf638a8eb91a53680354c7e48a8b077.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_1bf638a8eb91a53680354c7e48a8b077.sql new file mode 100644 index 00000000..3e39b780 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_1bf638a8eb91a53680354c7e48a8b077.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_buyback_daily_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not snx_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_2536425d340752a408f11af4d6e17df5.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_2536425d340752a408f11af4d6e17df5.sql new file mode 100644 index 00000000..2edc818f --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_2536425d340752a408f11af4d6e17df5.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_buyback_hourly_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not cumulative_snx_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_4d682ef0bf2205fae0715c85cdea2cfa.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_4d682ef0bf2205fae0715c85cdea2cfa.sql new file mode 100644 index 00000000..75448fb9 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_4d682ef0bf2205fae0715c85cdea2cfa.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_buyback_hourly_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not cumulative_usd_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_4d7ae50362ef8b4d8e7af3a690fb9dba.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_4d7ae50362ef8b4d8e7af3a690fb9dba.sql new file mode 100644 index 00000000..10aa7834 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_4d7ae50362ef8b4d8e7af3a690fb9dba.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_buyback_daily_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not cumulative_snx_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_8e018fe7304f85f2f4c41ebb3c45b989.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_8e018fe7304f85f2f4c41ebb3c45b989.sql new file mode 100644 index 00000000..6f7361e8 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_8e018fe7304f85f2f4c41ebb3c45b989.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_buyback_hourly_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not snx_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_a4e81546e4ccc71932af9661f5571a01.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_a4e81546e4ccc71932af9661f5571a01.sql new file mode 100644 index 00000000..f97923fd --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_a4e81546e4ccc71932af9661f5571a01.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_buyback_hourly_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not usd_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_e29d9b49f7316dcccc24e427120330f9.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_e29d9b49f7316dcccc24e427120330f9.sql new file mode 100644 index 00000000..b4789d18 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_e29d9b49f7316dcccc24e427120330f9.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_buyback_daily_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not usd_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_f27268fa82fe2198c6837b55019f56b4.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_f27268fa82fe2198c6837b55019f56b4.sql new file mode 100644 index 00000000..7f7bb6a5 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_f27268fa82fe2198c6837b55019f56b4.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not snx_price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0.sql new file mode 100644 index 00000000..94513ec0 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not snx >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0.sql new file mode 100644 index 00000000..5a21701e --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not usd >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_buyer.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_buyer.sql new file mode 100644 index 00000000..20bc5401 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_buyer.sql @@ -0,0 +1,11 @@ + + + + + + +select buyer +from "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia" +where buyer is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_id.sql new file mode 100644 index 00000000..cf0d517e --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_snx.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_snx.sql new file mode 100644 index 00000000..8ec8f416 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_snx.sql @@ -0,0 +1,11 @@ + + + + + + +select snx +from "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia" +where snx is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_snx_price.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_snx_price.sql new file mode 100644 index 00000000..18c662ab --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_snx_price.sql @@ -0,0 +1,11 @@ + + + + + + +select snx_price +from "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia" +where snx_price is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_ts.sql new file mode 100644 index 00000000..7cba6c8e --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_usd.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_usd.sql new file mode 100644 index 00000000..7f458be3 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_usd.sql @@ -0,0 +1,11 @@ + + + + + + +select usd +from "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia" +where usd is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount.sql new file mode 100644 index 00000000..da6a9040 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select cumulative_snx_amount +from "analytics"."prod_base_sepolia"."fct_buyback_daily_base_sepolia" +where cumulative_snx_amount is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount.sql new file mode 100644 index 00000000..5b1c1c28 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select cumulative_usd_amount +from "analytics"."prod_base_sepolia"."fct_buyback_daily_base_sepolia" +where cumulative_usd_amount is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_snx_amount.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_snx_amount.sql new file mode 100644 index 00000000..d6bb53ed --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_snx_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select snx_amount +from "analytics"."prod_base_sepolia"."fct_buyback_daily_base_sepolia" +where snx_amount is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_ts.sql new file mode 100644 index 00000000..9cba149d --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_buyback_daily_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_usd_amount.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_usd_amount.sql new file mode 100644 index 00000000..1212305a --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_usd_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select usd_amount +from "analytics"."prod_base_sepolia"."fct_buyback_daily_base_sepolia" +where usd_amount is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount.sql new file mode 100644 index 00000000..080333f0 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select cumulative_snx_amount +from "analytics"."prod_base_sepolia"."fct_buyback_hourly_base_sepolia" +where cumulative_snx_amount is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount.sql new file mode 100644 index 00000000..69df17aa --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select cumulative_usd_amount +from "analytics"."prod_base_sepolia"."fct_buyback_hourly_base_sepolia" +where cumulative_usd_amount is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_snx_amount.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_snx_amount.sql new file mode 100644 index 00000000..053fba18 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_snx_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select snx_amount +from "analytics"."prod_base_sepolia"."fct_buyback_hourly_base_sepolia" +where snx_amount is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_ts.sql new file mode 100644 index 00000000..a39f21dc --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_buyback_hourly_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_usd_amount.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_usd_amount.sql new file mode 100644 index 00000000..c85653ee --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_usd_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select usd_amount +from "analytics"."prod_base_sepolia"."fct_buyback_hourly_base_sepolia" +where usd_amount is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/unique_fct_buyback_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/unique_fct_buyback_base_sepolia_id.sql new file mode 100644 index 00000000..9bbd77da --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/unique_fct_buyback_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_core_account_delegation_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_account_delegation_base_sepolia.sql new file mode 100644 index 00000000..6fa34bf7 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_account_delegation_base_sepolia.sql @@ -0,0 +1,58 @@ +WITH delegation_changes AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + + amount / 1e18 + - LAG( + amount / 1e18 +, 1, 0) over ( + PARTITION BY account_id, + pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS change_in_amount + FROM + "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia" +), +cumulative_delegation AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + SUM(change_in_amount) over ( + PARTITION BY pool_id, + account_id, + collateral_type + ORDER BY + block_timestamp + ) AS cumulative_amount_delegated, + ROW_NUMBER() over ( + PARTITION BY pool_id, + account_id, + collateral_type + ORDER BY + block_timestamp DESC + ) AS rn + FROM + delegation_changes +) +SELECT + block_timestamp AS ts, + CAST( + account_id AS text + ) AS account_id, + pool_id, + collateral_type, + cumulative_amount_delegated AS amount_delegated +FROM + cumulative_delegation +WHERE + rn = 1 +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_core_apr_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_apr_base_sepolia.sql new file mode 100644 index 00000000..16add567 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_apr_base_sepolia.sql @@ -0,0 +1,209 @@ + + +WITH pnl_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_pnl, + hourly_issuance, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + hourly_total_pct, + SUM( + COALESCE( + hourly_issuance, + 0 + ) + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts + ) AS cumulative_issuance, + SUM( + hourly_pnl + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts + ) AS cumulative_pnl + FROM + "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia" +), +avg_returns AS ( + SELECT + ts, + pool_id, + collateral_type, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_pnl_pct, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_pnl_pct, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_pnl_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_rewards_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_total_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_total_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_total_pct + FROM + pnl_hourly +), +apr_calculations AS ( + SELECT + pnl_hourly.ts AS ts, + pnl_hourly.pool_id AS pool_id, + pnl_hourly.collateral_type AS collateral_type, + pnl_hourly.collateral_value AS collateral_value, + pnl_hourly.debt AS debt, + pnl_hourly.hourly_pnl AS hourly_pnl, + pnl_hourly.cumulative_pnl AS cumulative_pnl, + pnl_hourly.hourly_issuance AS hourly_issuance, + pnl_hourly.cumulative_issuance AS cumulative_issuance, + pnl_hourly.rewards_usd AS rewards_usd, + pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct, + pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct, + -- total pnls + avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h, + avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d, + avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d, + -- pool pnls + avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl, + avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl, + avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl, + -- rewards pnls + avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards, + avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards, + avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards + FROM + pnl_hourly + JOIN avg_returns + ON pnl_hourly.ts = avg_returns.ts + AND pnl_hourly.pool_id = avg_returns.pool_id + AND pnl_hourly.collateral_type = avg_returns.collateral_type +), +apy_calculations AS ( + SELECT + *, + (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h, + (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d, + (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d, + (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl, + (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl, + (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl, + (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards, + (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards, + (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards + FROM + apr_calculations +) +SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_issuance, + hourly_pnl, + cumulative_pnl, + cumulative_issuance, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + apr_24h, + apy_24h, + apr_7d, + apy_7d, + apr_28d, + apy_28d, + apr_24h_pnl, + apy_24h_pnl, + apr_7d_pnl, + apy_7d_pnl, + apr_28d_pnl, + apy_28d_pnl, + apr_24h_rewards, + apy_24h_rewards, + apr_7d_rewards, + apy_7d_rewards, + apr_28d_rewards, + apy_28d_rewards +FROM + apy_calculations +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_core_apr_rewards_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_apr_rewards_base_sepolia.sql new file mode 100644 index 00000000..90e801d2 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_apr_rewards_base_sepolia.sql @@ -0,0 +1,100 @@ + + +WITH pnl_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + reward_token, + collateral_value, + rewards_usd, + hourly_rewards_pct + FROM + "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_reward_base_sepolia" +), +avg_returns AS ( + SELECT + ts, + pool_id, + collateral_type, + reward_token, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_rewards_pct + FROM + pnl_hourly +), +apr_calculations AS ( + SELECT + pnl_hourly.ts AS ts, + pnl_hourly.pool_id AS pool_id, + pnl_hourly.collateral_type AS collateral_type, + pnl_hourly.reward_token AS reward_token, + pnl_hourly.collateral_value AS collateral_value, + pnl_hourly.rewards_usd AS rewards_usd, + pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct, + avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards, + avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards, + avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards + FROM + pnl_hourly + JOIN avg_returns + ON pnl_hourly.ts = avg_returns.ts + AND pnl_hourly.pool_id = avg_returns.pool_id + AND pnl_hourly.collateral_type = avg_returns.collateral_type + AND pnl_hourly.reward_token = avg_returns.reward_token +), +apy_calculations AS ( + SELECT + *, + (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards, + (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards, + (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards + FROM + apr_calculations +) +SELECT + ts, + pool_id, + collateral_type, + reward_token, + collateral_value, + rewards_usd, + hourly_rewards_pct, + apr_24h_rewards, + apy_24h_rewards, + apr_7d_rewards, + apy_7d_rewards, + apr_28d_rewards, + apy_28d_rewards +FROM + apy_calculations +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_core_market_updated_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_market_updated_base_sepolia.sql new file mode 100644 index 00000000..32790856 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_market_updated_base_sepolia.sql @@ -0,0 +1,35 @@ +WITH market_updated AS ( + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia" +) +SELECT + id, + block_timestamp AS ts, + transaction_hash, + event_name, + market_id, + collateral_type, + + credit_capacity / 1e18 + AS credit_capacity, + + net_issuance / 1e18 + AS net_issuance, + + token_amount / 1e18 + AS token_amount +FROM + market_updated \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pool_collateral_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pool_collateral_base_sepolia.sql new file mode 100644 index 00000000..669a4324 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pool_collateral_base_sepolia.sql @@ -0,0 +1,39 @@ +WITH events AS ( + SELECT + block_timestamp, + + token_amount / 1e18 + AS token_amount, + collateral_type + FROM + "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia" + UNION ALL + SELECT + block_timestamp,- + token_amount / 1e18 + AS token_amount, + collateral_type + FROM + "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia" +), +ranked_events AS ( + SELECT + *, + SUM(token_amount) over ( + PARTITION BY collateral_type + ORDER BY + block_timestamp rows BETWEEN unbounded preceding + AND CURRENT ROW + ) AS amount_deposited + FROM + events +) +SELECT + block_timestamp AS ts, + collateral_type, + amount_deposited +FROM + ranked_events +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pool_delegation_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pool_delegation_base_sepolia.sql new file mode 100644 index 00000000..02d13758 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pool_delegation_base_sepolia.sql @@ -0,0 +1,44 @@ +WITH delegation_changes AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + + amount / 1e18 + - LAG( + amount / 1e18 +, 1, 0) over ( + PARTITION BY account_id, + pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS change_in_amount + FROM + "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia" +), +cumulative_delegation AS ( + SELECT + block_timestamp, + pool_id, + collateral_type, + SUM(change_in_amount) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS cumulative_amount_delegated + FROM + delegation_changes +) +SELECT + block_timestamp AS ts, + pool_id, + collateral_type, + cumulative_amount_delegated AS amount_delegated +FROM + cumulative_delegation +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pools_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pools_base_sepolia.sql new file mode 100644 index 00000000..4b1b94de --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pools_base_sepolia.sql @@ -0,0 +1,13 @@ +WITH base AS ( + SELECT + pool_id AS id, + block_timestamp AS created_ts, + block_number, + owner + FROM + "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia" +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_debt_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_debt_base_sepolia.sql new file mode 100644 index 00000000..e3d26038 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_debt_base_sepolia.sql @@ -0,0 +1,10 @@ +SELECT + ts, + block_number, + pool_id, + collateral_type, + debt +FROM + "analytics"."prod_raw_base_sepolia"."core_vault_debt_base_sepolia" +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_issuance_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_issuance_base_sepolia.sql new file mode 100644 index 00000000..f8f3c547 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_issuance_base_sepolia.sql @@ -0,0 +1,43 @@ +WITH burns AS ( + SELECT + block_timestamp AS ts, + block_number, + transaction_hash, + pool_id, + collateral_type, + account_id, + -1 * + amount / 1e18 + AS amount + FROM + "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia" + ORDER BY + block_timestamp DESC +), +mints AS ( + SELECT + block_timestamp AS ts, + block_number, + transaction_hash, + pool_id, + collateral_type, + account_id, + + amount / 1e18 + AS amount + FROM + "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia" + ORDER BY + block_timestamp DESC +) +SELECT + * +FROM + burns +UNION ALL +SELECT + * +FROM + mints +ORDER BY + ts DESC \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_issuance_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_issuance_hourly_base_sepolia.sql new file mode 100644 index 00000000..d801986c --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_issuance_hourly_base_sepolia.sql @@ -0,0 +1,110 @@ +WITH dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.pool_id, + m.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia" + ) AS m + GROUP BY + m.pool_id, + m.collateral_type +), +max_debt_block AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS HOUR, + pool_id, + collateral_type, + MAX(block_number) AS max_block_number + FROM + "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia" + GROUP BY + DATE_TRUNC( + 'hour', + ts + ), + pool_id, + collateral_type +), +filt_issuance AS ( + SELECT + CASE + WHEN i.block_number <= d.max_block_number + OR d.max_block_number IS NULL THEN i.ts + ELSE i.ts + INTERVAL '1 hour' + END AS ts, + i.pool_id, + i.collateral_type, + i.amount + FROM + "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia" + i + LEFT JOIN max_debt_block d + ON DATE_TRUNC( + 'hour', + i.ts + ) = d.hour + AND i.pool_id = d.pool_id + AND LOWER( + i.collateral_type + ) = LOWER( + d.collateral_type + ) + WHERE + i.block_number <= ( + SELECT + MAX( + max_block_number + ) + FROM + max_debt_block + ) +), +issuance AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + SUM(amount) AS hourly_issuance + FROM + filt_issuance + GROUP BY + 1, + 2, + 3 +) +SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + COALESCE( + i.hourly_issuance, + 0 + ) AS hourly_issuance +FROM + dim + LEFT JOIN issuance i + ON dim.pool_id = i.pool_id + AND LOWER( + dim.collateral_type + ) = LOWER( + i.collateral_type + ) + AND dim.ts = i.ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_base_sepolia.sql new file mode 100644 index 00000000..5920472c --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_base_sepolia.sql @@ -0,0 +1,210 @@ + + +WITH dim AS ( + + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + p.pool_id, + p.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia" + ) AS p +GROUP BY + p.pool_id, + p.collateral_type +), +issuance AS ( + SELECT + ts, + pool_id, + collateral_type, + hourly_issuance + FROM + "analytics"."prod_base_sepolia"."fct_pool_issuance_hourly_base_sepolia" +), +debt AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS debt + FROM + "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia" +), +collateral AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS collateral_value + FROM + "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia" + WHERE + pool_id = 1 +), +ffill AS ( + SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + debt.debt, + collateral.collateral_value, + SUM( + CASE + WHEN debt.debt IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + ORDER BY + dim.ts + ) AS debt_id, + SUM( + CASE + WHEN collateral.collateral_value IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + ORDER BY + dim.ts + ) AS collateral_id + FROM + dim + LEFT JOIN debt + ON dim.ts = debt.ts + AND dim.pool_id = debt.pool_id + AND dim.collateral_type = debt.collateral_type + LEFT JOIN collateral + ON dim.ts = collateral.ts + AND dim.pool_id = collateral.pool_id + AND dim.collateral_type = collateral.collateral_type +), +hourly_index AS ( + SELECT + ts, + pool_id, + collateral_type, + FIRST_VALUE(COALESCE(debt, 0)) over ( + PARTITION BY debt_id, + pool_id, + collateral_type + ORDER BY + ts + ) AS debt, + FIRST_VALUE(COALESCE(collateral_value, 0)) over ( + PARTITION BY collateral_id, + pool_id, + collateral_type + ORDER BY + ts + ) AS collateral_value + FROM + ffill +), +hourly_pnl AS ( + SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type + ORDER BY + ts) - debt, 0) AS hourly_pnl + FROM + hourly_index +), +hourly_rewards AS ( + SELECT + ts, + pool_id, + collateral_type, + rewards_usd + FROM + "analytics"."prod_base_sepolia"."fct_pool_rewards_hourly_base_sepolia" +), +hourly_returns AS ( + SELECT + pnl.ts, + pnl.pool_id, + pnl.collateral_type, + pnl.collateral_value, + pnl.debt, + COALESCE( + iss.hourly_issuance, + 0 + ) hourly_issuance, + pnl.hourly_pnl + COALESCE( + iss.hourly_issuance, + 0 + ) AS hourly_pnl, + COALESCE( + rewards.rewards_usd, + 0 + ) AS rewards_usd, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE COALESCE( + rewards.rewards_usd, + 0 + ) / pnl.collateral_value + END AS hourly_rewards_pct, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value + END AS hourly_pnl_pct, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value + END AS hourly_total_pct + FROM + hourly_pnl pnl + LEFT JOIN hourly_rewards rewards + ON pnl.ts = rewards.ts + AND pnl.pool_id = rewards.pool_id + AND pnl.collateral_type = rewards.collateral_type + LEFT JOIN issuance iss + ON pnl.ts = iss.ts + AND pnl.pool_id = iss.pool_id + AND LOWER( + pnl.collateral_type + ) = LOWER( + iss.collateral_type + ) +) +SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_issuance, + hourly_pnl, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + hourly_total_pct +FROM + hourly_returns \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_reward_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_reward_base_sepolia.sql new file mode 100644 index 00000000..0feb8c5e --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_reward_base_sepolia.sql @@ -0,0 +1,78 @@ + + +WITH dim AS ( + + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + t.pool_id, + t.collateral_type, + t.collateral_value, + p.token_symbol AS reward_token + FROM + ( + SELECT + ts, + collateral_type, + pool_id, + collateral_value + FROM + "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia" + group by + ts, + collateral_type, + pool_id, + collateral_value + ) AS t + CROSS JOIN ( + SELECT + DISTINCT token_symbol + FROM + "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia" + ) AS p + GROUP BY + t.pool_id, + t.collateral_type, + t.collateral_value, + p.token_symbol +), +reward_hourly_token AS ( + SELECT + ts, + pool_id, + collateral_type, + token_symbol AS reward_token, + SUM( + rewards_usd + ) AS rewards_usd + FROM + "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia" + GROUP BY + ts, + pool_id, + collateral_type, + token_symbol +) +SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + dim.collateral_value, + dim.reward_token, + COALESCE( + reward_hourly_token.rewards_usd, + 0 + ) AS rewards_usd, + CASE + WHEN dim.collateral_value = 0 THEN 0 + ELSE COALESCE( + reward_hourly_token.rewards_usd, + 0 + ) / dim.collateral_value + END AS hourly_rewards_pct +FROM + dim + LEFT JOIN reward_hourly_token + ON dim.ts = reward_hourly_token.ts + AND dim.pool_id = reward_hourly_token.pool_id + AND dim.collateral_type = reward_hourly_token.collateral_type + and dim.reward_token = reward_hourly_token.reward_token \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_base_sepolia.sql new file mode 100644 index 00000000..033583d7 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_base_sepolia.sql @@ -0,0 +1,37 @@ +WITH rewards_distributed AS ( + SELECT + block_timestamp AS ts, + CAST( + pool_id AS INTEGER + ) AS pool_id, + collateral_type, + distributor, + + amount / 1e18 + AS amount, + TO_TIMESTAMP("start") AS ts_start, + "duration" + FROM + "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia" +), +distributors AS ( + SELECT + CAST(distributor_address AS TEXT) AS distributor_address, + CAST(token_symbol AS TEXT) AS token_symbol + FROM + "analytics"."prod_seeds"."base_sepolia_reward_distributors" +) +SELECT + rd.ts, + rd.pool_id, + rd.collateral_type, + rd.distributor, + distributors.token_symbol, + rd.amount, + rd.ts_start, + rd.duration +FROM + rewards_distributed rd + join distributors on rd.distributor = distributors.distributor_address +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_hourly_base_sepolia.sql new file mode 100644 index 00000000..a8bd93f8 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_hourly_base_sepolia.sql @@ -0,0 +1,20 @@ +WITH token_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + rewards_usd + FROM + "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia" +) +SELECT + ts, + pool_id, + collateral_type, + SUM(rewards_usd) AS rewards_usd +FROM + token_hourly +GROUP BY + ts, + pool_id, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_token_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_token_hourly_base_sepolia.sql new file mode 100644 index 00000000..f9d48d59 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_token_hourly_base_sepolia.sql @@ -0,0 +1,113 @@ +WITH dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.pool_id, + m.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia" + ) AS m + GROUP BY + m.pool_id, + m.collateral_type +), +rewards_distributed AS ( + SELECT + ts, + pool_id, + collateral_type, + distributor, + token_symbol, + amount, + ts_start, + "duration" + FROM + "analytics"."prod_base_sepolia"."fct_pool_rewards_base_sepolia" +), +hourly_distributions AS ( + SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + r.distributor, + r.token_symbol, + r.amount, + r.ts_start, + r."duration", + ROW_NUMBER() over ( + PARTITION BY dim.ts, + dim.pool_id, + dim.collateral_type, + r.distributor + ORDER BY + r.ts_start DESC + ) AS distributor_index + FROM + dim + LEFT JOIN rewards_distributed r + ON dim.pool_id = r.pool_id + AND LOWER( + dim.collateral_type + ) = LOWER( + r.collateral_type + ) + AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start + AND dim.ts < r.ts_start + r."duration" * '1 second' :: INTERVAL +), +hourly_rewards AS ( + SELECT + d.ts, + d.pool_id, + d.collateral_type, + d.distributor, + d.token_symbol, + p.price, + -- get the hourly amount distributed + d.amount / ( + d."duration" / 3600 + ) AS hourly_amount, + -- get the amount of time distributed this hour + -- use the smaller of those two intervals + -- convert the interval to a number of hours + -- multiply the result by the hourly amount to get the amount distributed this hour + ( + EXTRACT( + epoch + FROM + LEAST( + d."duration" / 3600 * '1 hour' :: INTERVAL, + d.ts + '1 hour' :: INTERVAL - GREATEST( + d.ts, + d.ts_start + ) + ) + ) / 3600 + ) * d.amount / ( + d."duration" / 3600 + ) AS amount_distributed + FROM + hourly_distributions AS d + LEFT JOIN "analytics"."prod_base_sepolia"."fct_prices_hourly_base_sepolia" + p + ON d.ts = p.ts + AND d.token_symbol = p.market_symbol + WHERE + d.distributor_index = 1 +) +SELECT + *, + amount_distributed * price AS rewards_usd +FROM + hourly_rewards +WHERE + amount_distributed IS NOT NULL \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/accepted_values_fct_core_marke_f14eb644ae46474b2ee44b21ba94d125.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/accepted_values_fct_core_marke_f14eb644ae46474b2ee44b21ba94d125.sql new file mode 100644 index 00000000..2605ff87 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/accepted_values_fct_core_marke_f14eb644ae46474b2ee44b21ba94d125.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_base_sepolia"."fct_core_market_updated_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited' +) + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_007f67fb89b2b9c25bfcde64b9f35aa2.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_007f67fb89b2b9c25bfcde64b9f35aa2.sql new file mode 100644 index 00000000..eee613ed --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_007f67fb89b2b9c25bfcde64b9f35aa2.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_core_account_delegation_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_delegated >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_016c75bfef05dcd2e6b902708f01c66a.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_016c75bfef05dcd2e6b902708f01c66a.sql new file mode 100644 index 00000000..399efaf8 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_016c75bfef05dcd2e6b902708f01c66a.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_core_account_delegation_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_02f7f20bfaebdcfd70b89794605a8f32.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_02f7f20bfaebdcfd70b89794605a8f32.sql new file mode 100644 index 00000000..84aac0ec --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_02f7f20bfaebdcfd70b89794605a8f32.sql @@ -0,0 +1,22 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_rewards_pct >= 0 + -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_rewards_pct <= 1 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_642994047e1de807079be1501781c958.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_642994047e1de807079be1501781c958.sql new file mode 100644 index 00000000..2cdaaeac --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_642994047e1de807079be1501781c958.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_core_market_updated_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_7c8b0f19510562be724b56a2ea7fa20b.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_7c8b0f19510562be724b56a2ea7fa20b.sql new file mode 100644 index 00000000..9869965c --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_7c8b0f19510562be724b56a2ea7fa20b.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_core_pool_delegation_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_7eb3383a5b609abc521a07fea9b7493e.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_7eb3383a5b609abc521a07fea9b7493e.sql new file mode 100644 index 00000000..4c0f33fe --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_7eb3383a5b609abc521a07fea9b7493e.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collateral_value >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_b198daab2c36979f2c5164ecabed2558.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_b198daab2c36979f2c5164ecabed2558.sql new file mode 100644 index 00000000..0e719975 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_b198daab2c36979f2c5164ecabed2558.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_core_pools_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_c0327ae9615378fcb4c600c78772dcc7.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_c0327ae9615378fcb4c600c78772dcc7.sql new file mode 100644 index 00000000..dd127b13 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_c0327ae9615378fcb4c600c78772dcc7.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_dbf4e014e5549121cfd1d46bf0be7100.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_dbf4e014e5549121cfd1d46bf0be7100.sql new file mode 100644 index 00000000..ec2ed96a --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_dbf4e014e5549121cfd1d46bf0be7100.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not rewards_usd >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_080234b3dc1c1422ae72bcef10b3876f.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_080234b3dc1c1422ae72bcef10b3876f.sql new file mode 100644 index 00000000..87a2872b --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_080234b3dc1c1422ae72bcef10b3876f.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_pool_issuance_hourly_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_1c7c1b16173674e338549ddb7f27b7ca.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_1c7c1b16173674e338549ddb7f27b7ca.sql new file mode 100644 index 00000000..304b7a79 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_1c7c1b16173674e338549ddb7f27b7ca.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_2d58f654e46802f6010b88f3ce3def6e.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_2d58f654e46802f6010b88f3ce3def6e.sql new file mode 100644 index 00000000..98c56298 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_2d58f654e46802f6010b88f3ce3def6e.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_340c3c975ab7148e0322287971dc86a8.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_340c3c975ab7148e0322287971dc86a8.sql new file mode 100644 index 00000000..63859016 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_340c3c975ab7148e0322287971dc86a8.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_distributed >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_34f2d8d63697f2af65b49421de24fb19.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_34f2d8d63697f2af65b49421de24fb19.sql new file mode 100644 index 00000000..ca4cefe1 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_34f2d8d63697f2af65b49421de24fb19.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_pool_rewards_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_3eb069f390b7573dee3c16d4dcde343d.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_3eb069f390b7573dee3c16d4dcde343d.sql new file mode 100644 index 00000000..9ae20cad --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_3eb069f390b7573dee3c16d4dcde343d.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not rewards_usd >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_4a01facac1fe697a42756d2bb6a96a80.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_4a01facac1fe697a42756d2bb6a96a80.sql new file mode 100644 index 00000000..303a2644 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_4a01facac1fe697a42756d2bb6a96a80.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_pool_rewards_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_67d45398c054f12474741982c73b93f1.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_67d45398c054f12474741982c73b93f1.sql new file mode 100644 index 00000000..80a40e27 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_67d45398c054f12474741982c73b93f1.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_6a560e0fbf794c7f750bbee46b063b15.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_6a560e0fbf794c7f750bbee46b063b15.sql new file mode 100644 index 00000000..69e869bb --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_6a560e0fbf794c7f750bbee46b063b15.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_7392fe570bb1ffcd65da1c7cd6982c51.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_7392fe570bb1ffcd65da1c7cd6982c51.sql new file mode 100644 index 00000000..0d334a46 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_7392fe570bb1ffcd65da1c7cd6982c51.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not rewards_usd >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_8847545f22090d36993074a7ae93645b.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_8847545f22090d36993074a7ae93645b.sql new file mode 100644 index 00000000..c992c561 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_8847545f22090d36993074a7ae93645b.sql @@ -0,0 +1,22 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_rewards_pct >= 0 + -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_rewards_pct <= 1 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_93717b724298f107b6ffe1b8e9c9699c.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_93717b724298f107b6ffe1b8e9c9699c.sql new file mode 100644 index 00000000..4f02523d --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_93717b724298f107b6ffe1b8e9c9699c.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_pool_rewards_hourly_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not rewards_usd >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_c49bb88c47ce0ffb87f7f220bfc072ee.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_c49bb88c47ce0ffb87f7f220bfc072ee.sql new file mode 100644 index 00000000..7cc8aee7 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_c49bb88c47ce0ffb87f7f220bfc072ee.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_pool_rewards_hourly_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_c5f43d8f9e210687bcde5398fec0aa62.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_c5f43d8f9e210687bcde5398fec0aa62.sql new file mode 100644 index 00000000..724df9ea --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_c5f43d8f9e210687bcde5398fec0aa62.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_d53bd1835f2844fd49f397b04d803502.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_d53bd1835f2844fd49f397b04d803502.sql new file mode 100644 index 00000000..4dd55f49 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_d53bd1835f2844fd49f397b04d803502.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_dde6685624f91c45c63ba3638584b182.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_dde6685624f91c45c63ba3638584b182.sql new file mode 100644 index 00000000..e8b84091 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_dde6685624f91c45c63ba3638584b182.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collateral_value >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_dele_935cbd39408bf4bfc27abac489c5b50b.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_dele_935cbd39408bf4bfc27abac489c5b50b.sql new file mode 100644 index 00000000..48077802 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_dele_935cbd39408bf4bfc27abac489c5b50b.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_base_sepolia"."fct_core_account_delegation_base_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_dele_f872622f2d82ba5e4bd6842ee7a190d4.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_dele_f872622f2d82ba5e4bd6842ee7a190d4.sql new file mode 100644 index 00000000..1eaf2377 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_dele_f872622f2d82ba5e4bd6842ee7a190d4.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_delegated +from "analytics"."prod_base_sepolia"."fct_core_account_delegation_base_sepolia" +where amount_delegated is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_delegation_base_sepolia_account_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_delegation_base_sepolia_account_id.sql new file mode 100644 index 00000000..c580c428 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_delegation_base_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_base_sepolia"."fct_core_account_delegation_base_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_delegation_base_sepolia_pool_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_delegation_base_sepolia_pool_id.sql new file mode 100644 index 00000000..3709fdec --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_delegation_base_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_base_sepolia"."fct_core_account_delegation_base_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_delegation_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_delegation_base_sepolia_ts.sql new file mode 100644 index 00000000..cb5c2f88 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_delegation_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_core_account_delegation_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apr_24h.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apr_24h.sql new file mode 100644 index 00000000..011163e8 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apr_24h.sql @@ -0,0 +1,11 @@ + + + + + + +select apr_24h +from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia" +where apr_24h is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apr_28d.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apr_28d.sql new file mode 100644 index 00000000..6478e13a --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apr_28d.sql @@ -0,0 +1,11 @@ + + + + + + +select apr_28d +from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia" +where apr_28d is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apr_7d.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apr_7d.sql new file mode 100644 index 00000000..70ac488c --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apr_7d.sql @@ -0,0 +1,11 @@ + + + + + + +select apr_7d +from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia" +where apr_7d is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apy_24h.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apy_24h.sql new file mode 100644 index 00000000..5f80fe38 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apy_24h.sql @@ -0,0 +1,11 @@ + + + + + + +select apy_24h +from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia" +where apy_24h is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apy_28d.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apy_28d.sql new file mode 100644 index 00000000..1a99fc80 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apy_28d.sql @@ -0,0 +1,11 @@ + + + + + + +select apy_28d +from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia" +where apy_28d is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apy_7d.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apy_7d.sql new file mode 100644 index 00000000..f69f37f1 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apy_7d.sql @@ -0,0 +1,11 @@ + + + + + + +select apy_7d +from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia" +where apy_7d is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_collateral_type.sql new file mode 100644 index 00000000..cfdf334a --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_collateral_value.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_collateral_value.sql new file mode 100644 index 00000000..6f02088a --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_collateral_value.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_value +from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia" +where collateral_value is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_cumulative_issuance.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_cumulative_issuance.sql new file mode 100644 index 00000000..4424cfea --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_cumulative_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select cumulative_issuance +from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia" +where cumulative_issuance is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_cumulative_pnl.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_cumulative_pnl.sql new file mode 100644 index 00000000..c1871e4e --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_cumulative_pnl.sql @@ -0,0 +1,11 @@ + + + + + + +select cumulative_pnl +from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia" +where cumulative_pnl is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_debt.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_debt.sql new file mode 100644 index 00000000..2fa53ee1 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_debt.sql @@ -0,0 +1,11 @@ + + + + + + +select debt +from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia" +where debt is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_issuance.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_issuance.sql new file mode 100644 index 00000000..b3ac657c --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_issuance +from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia" +where hourly_issuance is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_pnl.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_pnl.sql new file mode 100644 index 00000000..46715ff8 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_pnl.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_pnl +from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia" +where hourly_pnl is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_pnl_pct.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_pnl_pct.sql new file mode 100644 index 00000000..f4029e39 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_pnl_pct.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_pnl_pct +from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia" +where hourly_pnl_pct is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_rewards_pct.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_rewards_pct.sql new file mode 100644 index 00000000..3d7448a1 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_rewards_pct.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_rewards_pct +from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia" +where hourly_rewards_pct is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_pool_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_pool_id.sql new file mode 100644 index 00000000..0ebade57 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_rewards_usd.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_rewards_usd.sql new file mode 100644 index 00000000..67b8226f --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_rewards_usd.sql @@ -0,0 +1,11 @@ + + + + + + +select rewards_usd +from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia" +where rewards_usd is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_ts.sql new file mode 100644 index 00000000..6fb082dd --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_collateral_type.sql new file mode 100644 index 00000000..5403bea6 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_base_sepolia"."fct_core_market_updated_base_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_credit_capacity.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_credit_capacity.sql new file mode 100644 index 00000000..5a0001fb --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_credit_capacity.sql @@ -0,0 +1,11 @@ + + + + + + +select credit_capacity +from "analytics"."prod_base_sepolia"."fct_core_market_updated_base_sepolia" +where credit_capacity is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_event_name.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_event_name.sql new file mode 100644 index 00000000..07f9eed1 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_base_sepolia"."fct_core_market_updated_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_id.sql new file mode 100644 index 00000000..8559a143 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_sepolia"."fct_core_market_updated_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_market_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_market_id.sql new file mode 100644 index 00000000..10ba53bd --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_base_sepolia"."fct_core_market_updated_base_sepolia" +where market_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_net_issuance.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_net_issuance.sql new file mode 100644 index 00000000..1b423d07 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_net_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select net_issuance +from "analytics"."prod_base_sepolia"."fct_core_market_updated_base_sepolia" +where net_issuance is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_token_amount.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_token_amount.sql new file mode 100644 index 00000000..b6583ed4 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_token_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select token_amount +from "analytics"."prod_base_sepolia"."fct_core_market_updated_base_sepolia" +where token_amount is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..fc4649b3 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_base_sepolia"."fct_core_market_updated_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_ts.sql new file mode 100644 index 00000000..302383ec --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_core_market_updated_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_base_sepolia_amount_deposited.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_base_sepolia_amount_deposited.sql new file mode 100644 index 00000000..e82101fb --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_base_sepolia_amount_deposited.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_deposited +from "analytics"."prod_base_sepolia"."fct_core_pool_collateral_base_sepolia" +where amount_deposited is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_base_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_base_sepolia_collateral_type.sql new file mode 100644 index 00000000..7727c002 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_base_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_base_sepolia"."fct_core_pool_collateral_base_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_base_sepolia_ts.sql new file mode 100644 index 00000000..a67d8374 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_core_pool_collateral_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_base_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_base_sepolia_collateral_type.sql new file mode 100644 index 00000000..12590ee0 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_base_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_base_sepolia"."fct_core_pool_delegation_base_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_base_sepolia_pool_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_base_sepolia_pool_id.sql new file mode 100644 index 00000000..be728ff7 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_base_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_base_sepolia"."fct_core_pool_delegation_base_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_base_sepolia_ts.sql new file mode 100644 index 00000000..611e0300 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_core_pool_delegation_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_block_number.sql new file mode 100644 index 00000000..578abd44 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_sepolia"."fct_core_pools_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_created_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_created_ts.sql new file mode 100644 index 00000000..2f83698b --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_created_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select created_ts +from "analytics"."prod_base_sepolia"."fct_core_pools_base_sepolia" +where created_ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_id.sql new file mode 100644 index 00000000..1f874696 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_sepolia"."fct_core_pools_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_owner.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_owner.sql new file mode 100644 index 00000000..bf82f710 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_owner.sql @@ -0,0 +1,11 @@ + + + + + + +select owner +from "analytics"."prod_base_sepolia"."fct_core_pools_base_sepolia" +where owner is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_block_number.sql new file mode 100644 index 00000000..c8c57280 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_collateral_type.sql new file mode 100644 index 00000000..b5cfcbc0 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_debt.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_debt.sql new file mode 100644 index 00000000..64ee46c0 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_debt.sql @@ -0,0 +1,11 @@ + + + + + + +select debt +from "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia" +where debt is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_pool_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_pool_id.sql new file mode 100644 index 00000000..c966ef16 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_ts.sql new file mode 100644 index 00000000..2d9c564d --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_account_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_account_id.sql new file mode 100644 index 00000000..a192fcad --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_amount.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_amount.sql new file mode 100644 index 00000000..276a11bc --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia" +where amount is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_block_number.sql new file mode 100644 index 00000000..1a189527 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_collateral_type.sql new file mode 100644 index 00000000..9034e38b --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_pool_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_pool_id.sql new file mode 100644 index 00000000..641c2db0 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..421af8b2 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_ts.sql new file mode 100644 index 00000000..fe2ef08e --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type.sql new file mode 100644 index 00000000..fb438444 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_base_sepolia"."fct_pool_issuance_hourly_base_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance.sql new file mode 100644 index 00000000..b14378a4 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_issuance +from "analytics"."prod_base_sepolia"."fct_pool_issuance_hourly_base_sepolia" +where hourly_issuance is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_pool_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_pool_id.sql new file mode 100644 index 00000000..86103a19 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_base_sepolia"."fct_pool_issuance_hourly_base_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_ts.sql new file mode 100644 index 00000000..3b5b64f6 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_pool_issuance_hourly_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type.sql new file mode 100644 index 00000000..e976dca1 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value.sql new file mode 100644 index 00000000..c48d99d9 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_value +from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia" +where collateral_value is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_debt.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_debt.sql new file mode 100644 index 00000000..ec843140 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_debt.sql @@ -0,0 +1,11 @@ + + + + + + +select debt +from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia" +where debt is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance.sql new file mode 100644 index 00000000..332b1f32 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_issuance +from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia" +where hourly_issuance is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl.sql new file mode 100644 index 00000000..2782944e --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_pnl +from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia" +where hourly_pnl is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct.sql new file mode 100644 index 00000000..bec5f7ba --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_pnl_pct +from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia" +where hourly_pnl_pct is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct.sql new file mode 100644 index 00000000..7dfe310f --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_rewards_pct +from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia" +where hourly_rewards_pct is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct.sql new file mode 100644 index 00000000..52cafcd7 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_total_pct +from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia" +where hourly_total_pct is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_pool_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_pool_id.sql new file mode 100644 index 00000000..41bebb69 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd.sql new file mode 100644 index 00000000..f4ed80da --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd.sql @@ -0,0 +1,11 @@ + + + + + + +select rewards_usd +from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia" +where rewards_usd is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_ts.sql new file mode 100644 index 00000000..0aeb6d8f --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_amount.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_amount.sql new file mode 100644 index 00000000..f851a8a6 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_base_sepolia"."fct_pool_rewards_base_sepolia" +where amount is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_collateral_type.sql new file mode 100644 index 00000000..fe8a8d77 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_base_sepolia"."fct_pool_rewards_base_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_distributor.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_distributor.sql new file mode 100644 index 00000000..78e7cf13 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_distributor.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor +from "analytics"."prod_base_sepolia"."fct_pool_rewards_base_sepolia" +where distributor is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_pool_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_pool_id.sql new file mode 100644 index 00000000..8f4126ca --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_base_sepolia"."fct_pool_rewards_base_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_token_symbol.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_token_symbol.sql new file mode 100644 index 00000000..cdbdce4b --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_token_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_base_sepolia"."fct_pool_rewards_base_sepolia" +where token_symbol is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_ts.sql new file mode 100644 index 00000000..9d5fff68 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_pool_rewards_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type.sql new file mode 100644 index 00000000..1353837a --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_base_sepolia"."fct_pool_rewards_hourly_base_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_pool_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_pool_id.sql new file mode 100644 index 00000000..6008b428 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_base_sepolia"."fct_pool_rewards_hourly_base_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd.sql new file mode 100644 index 00000000..fd55fc27 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd.sql @@ -0,0 +1,11 @@ + + + + + + +select rewards_usd +from "analytics"."prod_base_sepolia"."fct_pool_rewards_hourly_base_sepolia" +where rewards_usd is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_ts.sql new file mode 100644 index 00000000..9b265236 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_pool_rewards_hourly_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_43f1f8061abeadd42cef2eaf404296fe.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_43f1f8061abeadd42cef2eaf404296fe.sql new file mode 100644 index 00000000..2c03a144 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_43f1f8061abeadd42cef2eaf404296fe.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_amount +from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia" +where hourly_amount is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_c060874bcad559685bf1a5cd949d5918.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_c060874bcad559685bf1a5cd949d5918.sql new file mode 100644 index 00000000..9e75a837 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_c060874bcad559685bf1a5cd949d5918.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia" +where token_symbol is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_e78ac2aee703e2a50a6c42a608df5d5e.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_e78ac2aee703e2a50a6c42a608df5d5e.sql new file mode 100644 index 00000000..10264256 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_e78ac2aee703e2a50a6c42a608df5d5e.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_f5973e5a01592ddd5909e364ed32a331.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_f5973e5a01592ddd5909e364ed32a331.sql new file mode 100644 index 00000000..6f1c0c0b --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_f5973e5a01592ddd5909e364ed32a331.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_distributed +from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia" +where amount_distributed is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor.sql new file mode 100644 index 00000000..61f24d10 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor +from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia" +where distributor is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id.sql new file mode 100644 index 00000000..c8e5e2d1 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_price.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_price.sql new file mode 100644 index 00000000..17bbc462 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia" +where price is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd.sql new file mode 100644 index 00000000..f31bc5a1 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd.sql @@ -0,0 +1,11 @@ + + + + + + +select rewards_usd +from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia" +where rewards_usd is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_ts.sql new file mode 100644 index 00000000..7df23b28 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/unique_fct_core_market_updated_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/unique_fct_core_market_updated_base_sepolia_id.sql new file mode 100644 index 00000000..6b0b914d --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/unique_fct_core_market_updated_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_base_sepolia"."fct_core_market_updated_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_accounts_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_accounts_base_sepolia.sql new file mode 100644 index 00000000..19ff047d --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_accounts_base_sepolia.sql @@ -0,0 +1,14 @@ +WITH base AS ( + SELECT + CAST( + account_id AS VARCHAR + ) AS id, + block_timestamp AS created_ts, + "owner" + FROM + "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia" +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_collateral_modified_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_collateral_modified_base_sepolia.sql new file mode 100644 index 00000000..b7d121cc --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_collateral_modified_base_sepolia.sql @@ -0,0 +1,15 @@ +SELECT + id, + block_timestamp, + account_id, + block_number, + transaction_hash, + contract, + event_name, + synth_market_id, + sender, + + amount_delta / 1e18 + AS amount_delta +FROM + "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia" \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_interest_charged_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_interest_charged_base_sepolia.sql new file mode 100644 index 00000000..b183bc20 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_interest_charged_base_sepolia.sql @@ -0,0 +1,13 @@ +SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + account_id, + + interest / 1e18 + AS interest +FROM + "analytics"."prod_raw_base_sepolia"."perp_interest_charged_base_sepolia" \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_liq_account_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_liq_account_base_sepolia.sql new file mode 100644 index 00000000..d24410fc --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_liq_account_base_sepolia.sql @@ -0,0 +1,56 @@ +WITH liquidation_events AS ( + SELECT + account_id, + reward, + block_timestamp, + full_liquidation, + SUM( + CASE + WHEN full_liquidation THEN 1 + ELSE 0 + END + ) over ( + PARTITION BY account_id + ORDER BY + block_timestamp rows BETWEEN unbounded preceding + AND CURRENT ROW + ) AS liquidation_id + FROM + "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia" +), +cumulative_rewards AS ( + SELECT + CAST( + le.account_id AS text + ) AS account_id, + le.block_timestamp, + le.reward, + le.full_liquidation, + le.liquidation_id, + SUM( + reward / 1e18 +) over ( + PARTITION BY le.account_id, + le.liquidation_id + ORDER BY + le.block_timestamp + ) AS cumulative_reward, + ROW_NUMBER() over ( + PARTITION BY le.account_id, + le.liquidation_id + ORDER BY + le.block_timestamp DESC + ) AS rn + FROM + liquidation_events le + ORDER BY + block_timestamp +) +SELECT + account_id, + block_timestamp AS ts, + cumulative_reward AS total_reward +FROM + cumulative_rewards +WHERE + rn = 1 \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_liq_position_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_liq_position_base_sepolia.sql new file mode 100644 index 00000000..de933d10 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_liq_position_base_sepolia.sql @@ -0,0 +1,40 @@ +WITH liquidations AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash, + account_id, + market_id, + + amount_liquidated / 1e18 + AS amount_liquidated, + + current_position_size / 1e18 + AS position_size + FROM + "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia" +), +markets AS ( + SELECT + id, + market_symbol + FROM + "analytics"."prod_base_sepolia"."fct_perp_markets_base_sepolia" +) +SELECT + l.id, + l.ts, + l.block_number, + l.transaction_hash, + CAST( + l.account_id AS text + ) AS account_id, + l.market_id, + m.market_symbol, + l.amount_liquidated, + l.position_size +FROM + liquidations l + LEFT JOIN markets m + ON l.market_id = m.id \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_market_history_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_market_history_base_sepolia.sql new file mode 100644 index 00000000..0dc81b61 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_market_history_base_sepolia.sql @@ -0,0 +1,72 @@ +WITH base AS ( + SELECT + mu.id, + mu.block_timestamp AS ts, + mu.block_number, + mu.transaction_hash, + m.id AS market_id, + m.market_symbol, + + price / 1e18 + AS price, + + skew / 1e18 + AS skew, + + size / 1e18 + AS SIZE, + + size_delta / 1e18 + AS size_delta, + + current_funding_rate / 1e18 + AS funding_rate, + + current_funding_velocity / 1e18 + AS funding_velocity, + + interest_rate / 1e18 + AS interest_rate, + + current_funding_rate / 1e18 + * 365.25 AS funding_rate_apr, + + current_funding_rate / 1e18 + * 365.25 + + interest_rate / 1e18 + AS long_rate_apr, + + current_funding_rate / 1e18 + * -1 * 365.25 + + interest_rate / 1e18 + AS short_rate_apr + FROM + "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia" + mu + LEFT JOIN "analytics"."prod_base_sepolia"."fct_perp_markets_base_sepolia" + m + ON mu.market_id = m.id +) +SELECT + *, + SIZE * price AS size_usd, + ( + SIZE + skew + ) * price / 2 AS long_oi, + ( + SIZE - skew + ) * price / 2 AS short_oi, + CASE + WHEN SIZE * price = 0 THEN NULL + ELSE ((SIZE + skew) * price / 2) / ( + SIZE * price + ) + END AS long_oi_pct, + CASE + WHEN SIZE * price = 0 THEN NULL + ELSE ((SIZE - skew) * price / 2) / ( + SIZE * price + ) + END AS short_oi_pct +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_markets_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_markets_base_sepolia.sql new file mode 100644 index 00000000..f52dc13d --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_markets_base_sepolia.sql @@ -0,0 +1,14 @@ +WITH base AS ( + SELECT + perps_market_id AS id, + block_timestamp AS created_ts, + block_number, + market_symbol, + market_name + FROM + "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia" +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_orders_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_orders_base_sepolia.sql new file mode 100644 index 00000000..753b2665 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_orders_base_sepolia.sql @@ -0,0 +1,46 @@ +WITH base AS ( + SELECT + oc.id, + oc.block_timestamp AS ts, + oc.block_number, + oc.transaction_hash, + oc.contract, + oc.market_id, + markets.market_symbol, + CAST( + oc.account_id AS text + ) AS account_id, + oc.order_type, + + oc.size_delta / 1e18 + AS SIZE, + + oc.acceptable_price / 1e18 + AS acceptable_price, + oc.settlement_time, + oc.expiration_time, + + LEFT( + REGEXP_REPLACE( + encode( + DECODE(REPLACE(oc.tracking_code, '0x', ''), 'hex'), + 'escape' + ) :: text, + '\\000', + '', + 'g' + ), + 20 + ) + AS tracking_code, + oc.sender + FROM + "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia" + oc + LEFT JOIN "analytics"."prod_base_sepolia"."fct_perp_markets_base_sepolia" AS markets + ON oc.market_id = markets.id +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_pnl_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_pnl_base_sepolia.sql new file mode 100644 index 00000000..1127c2a2 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_pnl_base_sepolia.sql @@ -0,0 +1,17 @@ + +WITH debt AS ( + SELECT + ts, + 2 AS market_id, + debt * -1 AS market_pnl + FROM + "analytics"."prod_raw_base_sepolia"."core_vault_debt_base_sepolia" +) +SELECT + ts, + market_id, + market_pnl +FROM + debt +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_previous_order_expired_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_previous_order_expired_base_sepolia.sql new file mode 100644 index 00000000..19e78675 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_previous_order_expired_base_sepolia.sql @@ -0,0 +1,19 @@ +SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + account_id, + commitment_time, + tracking_code, + + acceptable_price / 1e18 + AS acceptable_price, + + size_delta / 1e18 + AS size_delta +FROM + "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia" \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_trades_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_trades_base_sepolia.sql new file mode 100644 index 00000000..fefa8a17 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_trades_base_sepolia.sql @@ -0,0 +1,69 @@ +WITH base AS ( + SELECT + pos.id, + pos.block_timestamp AS ts, + pos.block_number, + pos.transaction_hash, + pos.contract, + pos.market_id, + markets.market_symbol, + CAST( + pos.account_id AS text + ) AS account_id, + + fill_price / 1e18 + AS fill_price, + + pnl / 1e18 + AS pnl, + + accrued_funding / 1e18 + AS accrued_funding, + + size_delta / 1e18 + AS trade_size, + + new_size / 1e18 + AS position_size, + + total_fees / 1e18 + AS total_fees, + + referral_fees / 1e18 + AS referral_fees, + + collected_fees / 1e18 + AS collected_fees, + + settlement_reward / 1e18 + AS settlement_reward, + + LEFT( + REGEXP_REPLACE( + encode( + DECODE(REPLACE(tracking_code, '0x', ''), 'hex'), + 'escape' + ) :: text, + '\\000', + '', + 'g' + ), + 20 + ) + AS tracking_code, + pos.settler + FROM + "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia" AS pos + LEFT JOIN "analytics"."prod_base_sepolia"."fct_perp_markets_base_sepolia" AS markets + ON pos.market_id = markets.id +) +SELECT + *, + ABS( + fill_price * trade_size + ) AS notional_trade_size, + fill_price * position_size AS notional_position_size, + total_fees - referral_fees - collected_fees - settlement_reward AS lp_fees, + total_fees - settlement_reward AS exchange_fees +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/accepted_values_fct_perp_colla_1ab1c21834ede76d1e34f06cf2def9bf.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/accepted_values_fct_perp_colla_1ab1c21834ede76d1e34f06cf2def9bf.sql new file mode 100644 index 00000000..81707f94 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/accepted_values_fct_perp_colla_1ab1c21834ede76d1e34f06cf2def9bf.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_base_sepolia"."fct_perp_collateral_modified_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'CollateralModified' +) + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/accepted_values_fct_perp_inter_8f173b579ea46e22e00a38898643f42f.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/accepted_values_fct_perp_inter_8f173b579ea46e22e00a38898643f42f.sql new file mode 100644 index 00000000..c1eee565 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/accepted_values_fct_perp_inter_8f173b579ea46e22e00a38898643f42f.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_base_sepolia"."fct_perp_interest_charged_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'InterestCharged' +) + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/accepted_values_fct_perp_previ_48e2e93359da3c420e07b2ee28c127b1.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/accepted_values_fct_perp_previ_48e2e93359da3c420e07b2ee28c127b1.sql new file mode 100644 index 00000000..c34f15b2 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/accepted_values_fct_perp_previ_48e2e93359da3c420e07b2ee28c127b1.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_base_sepolia"."fct_perp_previous_order_expired_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'PreviousOrderExpired' +) + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_067b6722ec0a3ba96989426b240c29ff.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_067b6722ec0a3ba96989426b240c29ff.sql new file mode 100644 index 00000000..6209c8b5 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_067b6722ec0a3ba96989426b240c29ff.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_perp_interest_charged_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not interest >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_09db1a699d45bbd0e363887112ab95ad.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_09db1a699d45bbd0e363887112ab95ad.sql new file mode 100644 index 00000000..6cbbcdfa --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_09db1a699d45bbd0e363887112ab95ad.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_liquidated >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_12db1ba69fe6608ea2ebf00ec7dcb95a.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_12db1ba69fe6608ea2ebf00ec7dcb95a.sql new file mode 100644 index 00000000..d74190fd --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_12db1ba69fe6608ea2ebf00ec7dcb95a.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not lp_fees >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_1f9510fc5bdfec529dbea80dbaae1676.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_1f9510fc5bdfec529dbea80dbaae1676.sql new file mode 100644 index 00000000..ed04d3a3 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_1f9510fc5bdfec529dbea80dbaae1676.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_perp_liq_account_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not total_reward >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_3e1fc0d8bc7c6d669e2e3b19f01f8d95.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_3e1fc0d8bc7c6d669e2e3b19f01f8d95.sql new file mode 100644 index 00000000..2d979c67 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_3e1fc0d8bc7c6d669e2e3b19f01f8d95.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not fill_price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_55b02cf38d5019d5afdf83f46b6bbec4.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_55b02cf38d5019d5afdf83f46b6bbec4.sql new file mode 100644 index 00000000..551a7274 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_55b02cf38d5019d5afdf83f46b6bbec4.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not position_size >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_707eedc089e19f28f32df66ad5b050e0.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_707eedc089e19f28f32df66ad5b050e0.sql new file mode 100644 index 00000000..a90f368e --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_707eedc089e19f28f32df66ad5b050e0.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collected_fees >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_8842b67718d899abc12b7a5f41b7a7e7.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_8842b67718d899abc12b7a5f41b7a7e7.sql new file mode 100644 index 00000000..2c636495 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_8842b67718d899abc12b7a5f41b7a7e7.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_perp_collateral_modified_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_8f13032e2e92049a5f6a34cc0ae08445.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_8f13032e2e92049a5f6a34cc0ae08445.sql new file mode 100644 index 00000000..a44d9f10 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_8f13032e2e92049a5f6a34cc0ae08445.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_perp_orders_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_91effbb5ac329749a28fdc3e2c6a851d.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_91effbb5ac329749a28fdc3e2c6a851d.sql new file mode 100644 index 00000000..edcab80c --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_91effbb5ac329749a28fdc3e2c6a851d.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_perp_pnl_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_ab57f63d9f8f1488413cc5294a42215d.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_ab57f63d9f8f1488413cc5294a42215d.sql new file mode 100644 index 00000000..33eb7b0b --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_ab57f63d9f8f1488413cc5294a42215d.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_ae99b6e2247a60ca23f0d205365d0549.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_ae99b6e2247a60ca23f0d205365d0549.sql new file mode 100644 index 00000000..07c35f07 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_ae99b6e2247a60ca23f0d205365d0549.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_perp_markets_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_af8c9599723e3d75b1eeca41d4ebb24c.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_af8c9599723e3d75b1eeca41d4ebb24c.sql new file mode 100644 index 00000000..6ebf2bca --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_af8c9599723e3d75b1eeca41d4ebb24c.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not settlement_reward >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_bd7e93d324e2173f6fc9f1cd5524c906.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_bd7e93d324e2173f6fc9f1cd5524c906.sql new file mode 100644 index 00000000..342b65e3 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_bd7e93d324e2173f6fc9f1cd5524c906.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_perp_previous_order_expired_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_c20e45a1dbacba5e3091f475187d360f.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_c20e45a1dbacba5e3091f475187d360f.sql new file mode 100644 index 00000000..62bde0cf --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_c20e45a1dbacba5e3091f475187d360f.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_ca3e105a3a84eed01da18939c8f18b2b.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_ca3e105a3a84eed01da18939c8f18b2b.sql new file mode 100644 index 00000000..3f45e4ac --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_ca3e105a3a84eed01da18939c8f18b2b.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not total_fees >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_d192f9304caff99eeffe34887ba9fd58.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_d192f9304caff99eeffe34887ba9fd58.sql new file mode 100644 index 00000000..9dc0a0ce --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_d192f9304caff99eeffe34887ba9fd58.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_perp_interest_charged_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e05adcb16523bcfa1793ab941d8d5c8c.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e05adcb16523bcfa1793ab941d8d5c8c.sql new file mode 100644 index 00000000..1f30995d --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e05adcb16523bcfa1793ab941d8d5c8c.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not referral_fees >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e5c0b70069c52e907a59ba0ddbc37d9c.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e5c0b70069c52e907a59ba0ddbc37d9c.sql new file mode 100644 index 00000000..a417a57e --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e5c0b70069c52e907a59ba0ddbc37d9c.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not exchange_fees >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e8d55960e718e4aa0a40f57add520ab0.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e8d55960e718e4aa0a40f57add520ab0.sql new file mode 100644 index 00000000..73d16063 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e8d55960e718e4aa0a40f57add520ab0.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_f7e171b7e018d9cc369742d5966ea0ca.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_f7e171b7e018d9cc369742d5966ea0ca.sql new file mode 100644 index 00000000..bf96723a --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_f7e171b7e018d9cc369742d5966ea0ca.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_perp_previous_order_expired_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_accounts_base_sepolia_created_ts.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_accounts_base_sepolia_created_ts.sql new file mode 100644 index 00000000..fb9f438f --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_accounts_base_sepolia_created_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select created_ts +from "analytics"."prod_base_sepolia"."fct_perp_accounts_base_sepolia" +where created_ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_accounts_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_accounts_base_sepolia_id.sql new file mode 100644 index 00000000..181e0cd0 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_accounts_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_sepolia"."fct_perp_accounts_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_accounts_base_sepolia_owner.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_accounts_base_sepolia_owner.sql new file mode 100644 index 00000000..c60b4d21 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_accounts_base_sepolia_owner.sql @@ -0,0 +1,11 @@ + + + + + + +select owner +from "analytics"."prod_base_sepolia"."fct_perp_accounts_base_sepolia" +where owner is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_09036bff9f33021bdc2f7c611d921020.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_09036bff9f33021bdc2f7c611d921020.sql new file mode 100644 index 00000000..24b846d6 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_09036bff9f33021bdc2f7c611d921020.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_base_sepolia"."fct_perp_collateral_modified_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_29a3faef3b1a9aaf01d9e330ab75faad.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_29a3faef3b1a9aaf01d9e330ab75faad.sql new file mode 100644 index 00000000..04192b12 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_29a3faef3b1a9aaf01d9e330ab75faad.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_base_sepolia"."fct_perp_collateral_modified_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_e96903840ffe61a948a59ad3485c1535.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_e96903840ffe61a948a59ad3485c1535.sql new file mode 100644 index 00000000..a58d2839 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_e96903840ffe61a948a59ad3485c1535.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_base_sepolia"."fct_perp_collateral_modified_base_sepolia" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_block_number.sql new file mode 100644 index 00000000..64898808 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_sepolia"."fct_perp_collateral_modified_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_contract.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_contract.sql new file mode 100644 index 00000000..0502f2e1 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_base_sepolia"."fct_perp_collateral_modified_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_event_name.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_event_name.sql new file mode 100644 index 00000000..10937815 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_base_sepolia"."fct_perp_collateral_modified_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_id.sql new file mode 100644 index 00000000..d05cf8e8 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_sepolia"."fct_perp_collateral_modified_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_sender.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_sender.sql new file mode 100644 index 00000000..0dae81a1 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_base_sepolia"."fct_perp_collateral_modified_base_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_cha_ef7870358c5aff75d7f92ce4c7de1c07.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_cha_ef7870358c5aff75d7f92ce4c7de1c07.sql new file mode 100644 index 00000000..d2846ec5 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_cha_ef7870358c5aff75d7f92ce4c7de1c07.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_base_sepolia"."fct_perp_interest_charged_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_account_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_account_id.sql new file mode 100644 index 00000000..057bdc97 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_base_sepolia"."fct_perp_interest_charged_base_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_block_number.sql new file mode 100644 index 00000000..3e61f72d --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_sepolia"."fct_perp_interest_charged_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..12751cd8 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_base_sepolia"."fct_perp_interest_charged_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_contract.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_contract.sql new file mode 100644 index 00000000..8a7f8b1a --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_base_sepolia"."fct_perp_interest_charged_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_event_name.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_event_name.sql new file mode 100644 index 00000000..dc9660a9 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_base_sepolia"."fct_perp_interest_charged_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_id.sql new file mode 100644 index 00000000..3f03291b --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_sepolia"."fct_perp_interest_charged_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_interest.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_interest.sql new file mode 100644 index 00000000..a682a487 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_interest.sql @@ -0,0 +1,11 @@ + + + + + + +select interest +from "analytics"."prod_base_sepolia"."fct_perp_interest_charged_base_sepolia" +where interest is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_base_sepolia_account_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_base_sepolia_account_id.sql new file mode 100644 index 00000000..62668c13 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_base_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_base_sepolia"."fct_perp_liq_account_base_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_base_sepolia_total_reward.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_base_sepolia_total_reward.sql new file mode 100644 index 00000000..a5ee176e --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_base_sepolia_total_reward.sql @@ -0,0 +1,11 @@ + + + + + + +select total_reward +from "analytics"."prod_base_sepolia"."fct_perp_liq_account_base_sepolia" +where total_reward is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_base_sepolia_ts.sql new file mode 100644 index 00000000..d7ec7a50 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_perp_liq_account_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_account_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_account_id.sql new file mode 100644 index 00000000..450cfa23 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_amount_liquidated.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_amount_liquidated.sql new file mode 100644 index 00000000..8bb3e99e --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_amount_liquidated.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_liquidated +from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia" +where amount_liquidated is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_block_number.sql new file mode 100644 index 00000000..b0ee724a --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_id.sql new file mode 100644 index 00000000..9c07519e --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_market_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_market_id.sql new file mode 100644 index 00000000..785d01f6 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia" +where market_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_market_symbol.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_market_symbol.sql new file mode 100644 index 00000000..7fbd1336 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_market_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select market_symbol +from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia" +where market_symbol is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_position_size.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_position_size.sql new file mode 100644 index 00000000..85b88b44 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_position_size.sql @@ -0,0 +1,11 @@ + + + + + + +select position_size +from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia" +where position_size is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..26806788 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_ts.sql new file mode 100644 index 00000000..00476ba9 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_block_number.sql new file mode 100644 index 00000000..5efbaf9c --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_funding_rate.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_funding_rate.sql new file mode 100644 index 00000000..02b18a96 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_funding_rate.sql @@ -0,0 +1,11 @@ + + + + + + +select funding_rate +from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia" +where funding_rate is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_funding_rate_apr.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_funding_rate_apr.sql new file mode 100644 index 00000000..db9bf171 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_funding_rate_apr.sql @@ -0,0 +1,11 @@ + + + + + + +select funding_rate_apr +from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia" +where funding_rate_apr is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_funding_velocity.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_funding_velocity.sql new file mode 100644 index 00000000..e4b036e1 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_funding_velocity.sql @@ -0,0 +1,11 @@ + + + + + + +select funding_velocity +from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia" +where funding_velocity is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_id.sql new file mode 100644 index 00000000..39e4cc01 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_interest_rate.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_interest_rate.sql new file mode 100644 index 00000000..686f7172 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_interest_rate.sql @@ -0,0 +1,11 @@ + + + + + + +select interest_rate +from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia" +where interest_rate is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_long_rate_apr.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_long_rate_apr.sql new file mode 100644 index 00000000..65eb9189 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_long_rate_apr.sql @@ -0,0 +1,11 @@ + + + + + + +select long_rate_apr +from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia" +where long_rate_apr is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_market_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_market_id.sql new file mode 100644 index 00000000..33595409 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia" +where market_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_market_symbol.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_market_symbol.sql new file mode 100644 index 00000000..414987e8 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_market_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select market_symbol +from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia" +where market_symbol is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_price.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_price.sql new file mode 100644 index 00000000..4eae7eaf --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia" +where price is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_short_rate_apr.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_short_rate_apr.sql new file mode 100644 index 00000000..e4f431c0 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_short_rate_apr.sql @@ -0,0 +1,11 @@ + + + + + + +select short_rate_apr +from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia" +where short_rate_apr is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_size.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_size.sql new file mode 100644 index 00000000..b40c4019 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_size.sql @@ -0,0 +1,11 @@ + + + + + + +select size +from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia" +where size is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_size_delta.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_size_delta.sql new file mode 100644 index 00000000..0f2c4561 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_size_delta.sql @@ -0,0 +1,11 @@ + + + + + + +select size_delta +from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia" +where size_delta is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_size_usd.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_size_usd.sql new file mode 100644 index 00000000..f4e9e893 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_size_usd.sql @@ -0,0 +1,11 @@ + + + + + + +select size_usd +from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia" +where size_usd is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_skew.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_skew.sql new file mode 100644 index 00000000..ea33dd5b --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_skew.sql @@ -0,0 +1,11 @@ + + + + + + +select skew +from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia" +where skew is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..629bc562 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_ts.sql new file mode 100644 index 00000000..1e3df181 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_block_number.sql new file mode 100644 index 00000000..c92522b7 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_sepolia"."fct_perp_markets_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_created_ts.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_created_ts.sql new file mode 100644 index 00000000..508ddccb --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_created_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select created_ts +from "analytics"."prod_base_sepolia"."fct_perp_markets_base_sepolia" +where created_ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_id.sql new file mode 100644 index 00000000..708de761 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_sepolia"."fct_perp_markets_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_market_name.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_market_name.sql new file mode 100644 index 00000000..864036bc --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_market_name.sql @@ -0,0 +1,11 @@ + + + + + + +select market_name +from "analytics"."prod_base_sepolia"."fct_perp_markets_base_sepolia" +where market_name is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_market_symbol.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_market_symbol.sql new file mode 100644 index 00000000..331cf561 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_market_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select market_symbol +from "analytics"."prod_base_sepolia"."fct_perp_markets_base_sepolia" +where market_symbol is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_account_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_account_id.sql new file mode 100644 index 00000000..95ba166e --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_base_sepolia"."fct_perp_orders_base_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_block_number.sql new file mode 100644 index 00000000..b9e7f4e0 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_sepolia"."fct_perp_orders_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_contract.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_contract.sql new file mode 100644 index 00000000..cba118ea --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_base_sepolia"."fct_perp_orders_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_id.sql new file mode 100644 index 00000000..b82610e8 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_sepolia"."fct_perp_orders_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_market_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_market_id.sql new file mode 100644 index 00000000..4e55cb7d --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_base_sepolia"."fct_perp_orders_base_sepolia" +where market_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_market_symbol.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_market_symbol.sql new file mode 100644 index 00000000..e5a4e306 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_market_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select market_symbol +from "analytics"."prod_base_sepolia"."fct_perp_orders_base_sepolia" +where market_symbol is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..523bfe82 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_base_sepolia"."fct_perp_orders_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_ts.sql new file mode 100644 index 00000000..4b60afdf --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_perp_orders_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_pnl_base_sepolia_market_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_pnl_base_sepolia_market_id.sql new file mode 100644 index 00000000..505456b4 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_pnl_base_sepolia_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_base_sepolia"."fct_perp_pnl_base_sepolia" +where market_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_pnl_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_pnl_base_sepolia_ts.sql new file mode 100644 index 00000000..9b88fdea --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_pnl_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_perp_pnl_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_76fb0a0f579f503805573e61f45555ef.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_76fb0a0f579f503805573e61f45555ef.sql new file mode 100644 index 00000000..7bdbd7e3 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_76fb0a0f579f503805573e61f45555ef.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_base_sepolia"."fct_perp_previous_order_expired_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_9c7a161f838a4c7aa741dca0a21c40e7.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_9c7a161f838a4c7aa741dca0a21c40e7.sql new file mode 100644 index 00000000..5f5dbfe5 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_9c7a161f838a4c7aa741dca0a21c40e7.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_base_sepolia"."fct_perp_previous_order_expired_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_c653b9bed8c3157c4422e80f77a0b022.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_c653b9bed8c3157c4422e80f77a0b022.sql new file mode 100644 index 00000000..b45a8a77 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_c653b9bed8c3157c4422e80f77a0b022.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_sepolia"."fct_perp_previous_order_expired_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_e6503bbb900b804259f539d4a386ea08.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_e6503bbb900b804259f539d4a386ea08.sql new file mode 100644 index 00000000..a275b340 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_e6503bbb900b804259f539d4a386ea08.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_base_sepolia"."fct_perp_previous_order_expired_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_e668d930033b017ab7e489e9265ae2cc.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_e668d930033b017ab7e489e9265ae2cc.sql new file mode 100644 index 00000000..07050cb3 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_e668d930033b017ab7e489e9265ae2cc.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_base_sepolia"."fct_perp_previous_order_expired_base_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_sepolia_contract.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_sepolia_contract.sql new file mode 100644 index 00000000..3b569851 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_base_sepolia"."fct_perp_previous_order_expired_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_sepolia_id.sql new file mode 100644 index 00000000..62f1f24d --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_sepolia"."fct_perp_previous_order_expired_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_sepolia_market_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_sepolia_market_id.sql new file mode 100644 index 00000000..0dad6e00 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_sepolia_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_base_sepolia"."fct_perp_previous_order_expired_base_sepolia" +where market_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_account_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_account_id.sql new file mode 100644 index 00000000..0e2544c0 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_accrued_funding.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_accrued_funding.sql new file mode 100644 index 00000000..26a20741 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_accrued_funding.sql @@ -0,0 +1,11 @@ + + + + + + +select accrued_funding +from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +where accrued_funding is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_block_number.sql new file mode 100644 index 00000000..968ca099 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_collected_fees.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_collected_fees.sql new file mode 100644 index 00000000..a386d37e --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_collected_fees.sql @@ -0,0 +1,11 @@ + + + + + + +select collected_fees +from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +where collected_fees is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_contract.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_contract.sql new file mode 100644 index 00000000..4d20d49c --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_exchange_fees.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_exchange_fees.sql new file mode 100644 index 00000000..982595ad --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_exchange_fees.sql @@ -0,0 +1,11 @@ + + + + + + +select exchange_fees +from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +where exchange_fees is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_fill_price.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_fill_price.sql new file mode 100644 index 00000000..a83dd427 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_fill_price.sql @@ -0,0 +1,11 @@ + + + + + + +select fill_price +from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +where fill_price is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_id.sql new file mode 100644 index 00000000..176d03fe --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_lp_fees.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_lp_fees.sql new file mode 100644 index 00000000..e74f5687 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_lp_fees.sql @@ -0,0 +1,11 @@ + + + + + + +select lp_fees +from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +where lp_fees is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_market_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_market_id.sql new file mode 100644 index 00000000..b95b447b --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +where market_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_market_symbol.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_market_symbol.sql new file mode 100644 index 00000000..5e6bf21d --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_market_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select market_symbol +from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +where market_symbol is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_notional_position_size.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_notional_position_size.sql new file mode 100644 index 00000000..7e4e2a7e --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_notional_position_size.sql @@ -0,0 +1,11 @@ + + + + + + +select notional_position_size +from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +where notional_position_size is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_notional_trade_size.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_notional_trade_size.sql new file mode 100644 index 00000000..6d375a8b --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_notional_trade_size.sql @@ -0,0 +1,11 @@ + + + + + + +select notional_trade_size +from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +where notional_trade_size is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_pnl.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_pnl.sql new file mode 100644 index 00000000..b80a2fce --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_pnl.sql @@ -0,0 +1,11 @@ + + + + + + +select pnl +from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +where pnl is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_position_size.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_position_size.sql new file mode 100644 index 00000000..9616d8a0 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_position_size.sql @@ -0,0 +1,11 @@ + + + + + + +select position_size +from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +where position_size is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_referral_fees.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_referral_fees.sql new file mode 100644 index 00000000..98b71111 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_referral_fees.sql @@ -0,0 +1,11 @@ + + + + + + +select referral_fees +from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +where referral_fees is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_settlement_reward.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_settlement_reward.sql new file mode 100644 index 00000000..f7d6c671 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_settlement_reward.sql @@ -0,0 +1,11 @@ + + + + + + +select settlement_reward +from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +where settlement_reward is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_settler.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_settler.sql new file mode 100644 index 00000000..384059b0 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_settler.sql @@ -0,0 +1,11 @@ + + + + + + +select settler +from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +where settler is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_total_fees.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_total_fees.sql new file mode 100644 index 00000000..61c1b809 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_total_fees.sql @@ -0,0 +1,11 @@ + + + + + + +select total_fees +from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +where total_fees is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_tracking_code.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_tracking_code.sql new file mode 100644 index 00000000..157e661e --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_tracking_code.sql @@ -0,0 +1,11 @@ + + + + + + +select tracking_code +from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +where tracking_code is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_trade_size.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_trade_size.sql new file mode 100644 index 00000000..338927b9 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_trade_size.sql @@ -0,0 +1,11 @@ + + + + + + +select trade_size +from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +where trade_size is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..50e8d676 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_ts.sql new file mode 100644 index 00000000..009dc8df --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_accounts_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_accounts_base_sepolia_id.sql new file mode 100644 index 00000000..966ff8a6 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_accounts_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_base_sepolia"."fct_perp_accounts_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_collateral_modified_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_collateral_modified_base_sepolia_id.sql new file mode 100644 index 00000000..d94310a5 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_collateral_modified_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_base_sepolia"."fct_perp_collateral_modified_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_interest_charged_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_interest_charged_base_sepolia_id.sql new file mode 100644 index 00000000..78bbaebc --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_interest_charged_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_base_sepolia"."fct_perp_interest_charged_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_liq_position_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_liq_position_base_sepolia_id.sql new file mode 100644 index 00000000..9612e0e1 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_liq_position_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_market_history_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_market_history_base_sepolia_id.sql new file mode 100644 index 00000000..71675dcc --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_market_history_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_orders_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_orders_base_sepolia_id.sql new file mode 100644 index 00000000..9785af62 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_orders_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_base_sepolia"."fct_perp_orders_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_previous_order_expired_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_previous_order_expired_base_sepolia_id.sql new file mode 100644 index 00000000..4510d650 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_previous_order_expired_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_base_sepolia"."fct_perp_previous_order_expired_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_trades_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_trades_base_sepolia_id.sql new file mode 100644 index 00000000..46276c7f --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_trades_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_account_stats_daily_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_account_stats_daily_base_sepolia.sql new file mode 100644 index 00000000..0a1bd82f --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_account_stats_daily_base_sepolia.sql @@ -0,0 +1,39 @@ +WITH daily AS ( + SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + account_id, + SUM(fees) AS fees, + SUM(volume) AS volume, + SUM(amount_liquidated) AS amount_liquidated, + SUM(liquidations) AS liquidations + FROM + "analytics"."prod_base_sepolia"."fct_perp_account_stats_hourly_base_sepolia" + GROUP BY + 1, + 2 +), +stats AS ( + SELECT + daily.*, + SUM(fees) over ( + PARTITION BY account_id + ORDER BY + ts RANGE BETWEEN unbounded preceding + AND CURRENT ROW + ) AS cumulative_fees, + SUM(volume) over ( + PARTITION BY account_id + ORDER BY + ts RANGE BETWEEN unbounded preceding + AND CURRENT ROW + ) AS cumulative_volume + FROM + daily +) +SELECT + * +FROM + stats \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_account_stats_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_account_stats_hourly_base_sepolia.sql new file mode 100644 index 00000000..de26b133 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_account_stats_hourly_base_sepolia.sql @@ -0,0 +1,108 @@ +WITH trades AS ( + SELECT + ts, + account_id, + total_fees, + notional_trade_size, + 1 AS trades, + SUM( + total_fees + ) over ( + PARTITION BY account_id + ORDER BY + ts + ) AS cumulative_fees, + SUM( + notional_trade_size + ) over ( + PARTITION BY account_id + ORDER BY + ts + ) AS cumulative_volume + FROM + "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +), +liq AS ( + SELECT + ts, + account_id, + amount_liquidated, + 1 AS liquidations + FROM + "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia" +), +inc_trades AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + account_id, + SUM(trades) AS trades, + SUM(total_fees) AS fees, + SUM(notional_trade_size) AS volume, + MAX(cumulative_fees) AS cumulative_fees, + MAX(cumulative_volume) AS cumulative_volume + FROM + trades + GROUP BY + 1, + 2 +), +inc_liq AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + account_id, + SUM(amount_liquidated) AS amount_liquidated, + SUM(liquidations) AS liquidations + FROM + liq + GROUP BY + 1, + 2 +), +inc AS ( + SELECT + h.ts, + h.account_id, + COALESCE( + h.trades, + 0 + ) AS trades, + COALESCE( + h.fees, + 0 + ) AS fees, + COALESCE( + h.volume, + 0 + ) AS volume, + COALESCE( + l.amount_liquidated, + 0 + ) AS amount_liquidated, + COALESCE( + l.liquidations, + 0 + ) AS liquidations, + COALESCE( + h.cumulative_fees, + 0 + ) AS cumulative_fees, + COALESCE( + h.cumulative_volume, + 0 + ) AS cumulative_volume + FROM + inc_trades h + LEFT JOIN inc_liq l + ON h.ts = l.ts + AND h.account_id = l.account_id +) +SELECT + * +FROM + inc \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_daily_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_daily_base_sepolia.sql new file mode 100644 index 00000000..05b87503 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_daily_base_sepolia.sql @@ -0,0 +1,40 @@ +WITH hourly AS ( + SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + keeper, + settlement_rewards, + amount_settled, + trades + FROM + "analytics"."prod_base_sepolia"."fct_perp_keeper_stats_hourly_base_sepolia" +), +total AS ( + SELECT + ts, + SUM(trades) AS trades_total, + SUM(settlement_rewards) AS settlement_reward_total, + SUM(amount_settled) AS amount_settled_total + FROM + hourly + GROUP BY + 1 +) +SELECT + hourly.ts, + keeper, + SUM(trades) AS trades, + SUM(settlement_rewards) AS settlement_rewards, + SUM(amount_settled) AS amount_settled, + SUM(trades) / MAX(trades_total) AS trades_pct, + SUM(settlement_rewards) / MAX(settlement_reward_total) AS settlement_rewards_pct, + SUM(amount_settled) / MAX(amount_settled_total) AS amount_settled_pct +FROM + hourly + JOIN total + ON hourly.ts = total.ts +GROUP BY + 1, + 2 \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_hourly_base_sepolia.sql new file mode 100644 index 00000000..e227dfa1 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_hourly_base_sepolia.sql @@ -0,0 +1,40 @@ +WITH trades AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + settler, + settlement_reward, + notional_trade_size, + 1 AS trades + FROM + "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +), +total AS ( + SELECT + ts, + SUM(trades) AS trades_total, + SUM(settlement_reward) AS settlement_reward_total, + SUM(notional_trade_size) AS notional_trade_size_total + FROM + trades + GROUP BY + 1 +) +SELECT + trades.ts, + settler AS keeper, + SUM(trades) AS trades, + SUM(settlement_reward) AS settlement_rewards, + SUM(notional_trade_size) AS amount_settled, + SUM(trades) / MAX(trades_total) AS trades_pct, + SUM(settlement_reward) / MAX(settlement_reward_total) AS settlement_rewards_pct, + SUM(notional_trade_size) / MAX(notional_trade_size_total) AS amount_settled_pct +FROM + trades + JOIN total + ON trades.ts = total.ts +GROUP BY + 1, + 2 \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_market_stats_daily_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_market_stats_daily_base_sepolia.sql new file mode 100644 index 00000000..0a4495ca --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_market_stats_daily_base_sepolia.sql @@ -0,0 +1,22 @@ +SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + market_symbol, + SUM(trades) AS trades, + SUM(exchange_fees) AS exchange_fees, + SUM(referral_fees) AS referral_fees, + SUM(collected_fees) AS collected_fees, + SUM(volume) AS volume, + SUM(amount_liquidated) AS amount_liquidated, + SUM(liquidations) AS liquidations, + MAX(cumulative_exchange_fees) AS cumulative_exchange_fees, + MAX(cumulative_referral_fees) AS cumulative_referral_fees, + MAX(cumulative_collected_fees) AS cumulative_collected_fees, + MAX(cumulative_volume) AS cumulative_volume +FROM + "analytics"."prod_base_sepolia"."fct_perp_market_stats_hourly_base_sepolia" +GROUP BY + 1, + 2 \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_market_stats_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_market_stats_hourly_base_sepolia.sql new file mode 100644 index 00000000..22877570 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_market_stats_hourly_base_sepolia.sql @@ -0,0 +1,147 @@ +WITH trades AS ( + SELECT + ts, + market_symbol, + exchange_fees, + referral_fees, + collected_fees, + notional_trade_size, + 1 AS trades + FROM + "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +), +liq AS ( + SELECT + ts, + market_symbol, + amount_liquidated, + 1 AS liquidations + FROM + "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia" +), +inc_trades AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + market_symbol, + SUM(trades) AS trades, + SUM(exchange_fees) AS exchange_fees, + SUM(referral_fees) AS referral_fees, + SUM(collected_fees) AS collected_fees, + SUM(notional_trade_size) AS volume + FROM + trades + GROUP BY + 1, + 2 +), +inc_liq AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + market_symbol, + SUM(amount_liquidated) AS amount_liquidated, + SUM(liquidations) AS liquidations + FROM + liq + GROUP BY + 1, + 2 +), +dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.market_symbol + FROM + ( + SELECT + ts + FROM + trades + ) AS t + CROSS JOIN ( + SELECT + DISTINCT market_symbol + FROM + trades + ) AS m + GROUP BY + m.market_symbol +), +inc AS ( + SELECT + dim.ts, + dim.market_symbol, + COALESCE( + h.trades, + 0 + ) AS trades, + COALESCE( + h.exchange_fees, + 0 + ) AS exchange_fees, + COALESCE( + h.referral_fees, + 0 + ) AS referral_fees, + COALESCE( + h.collected_fees, + 0 + ) AS collected_fees, + COALESCE( + h.volume, + 0 + ) AS volume, + COALESCE( + l.amount_liquidated, + 0 + ) AS amount_liquidated, + COALESCE( + l.liquidations, + 0 + ) AS liquidations, + SUM( + h.exchange_fees + ) over ( + PARTITION BY dim.market_symbol + ORDER BY + dim.ts + ) AS cumulative_exchange_fees, + SUM( + h.referral_fees + ) over ( + PARTITION BY dim.market_symbol + ORDER BY + dim.ts + ) AS cumulative_referral_fees, + SUM( + h.collected_fees + ) over ( + PARTITION BY dim.market_symbol + ORDER BY + dim.ts + ) AS cumulative_collected_fees, + SUM( + h.volume + ) over ( + PARTITION BY dim.market_symbol + ORDER BY + dim.ts + ) AS cumulative_volume + FROM + dim + LEFT JOIN inc_trades h + ON dim.ts = h.ts + AND dim.market_symbol = h.market_symbol + LEFT JOIN inc_liq l + ON dim.ts = l.ts + AND dim.market_symbol = l.market_symbol +) +SELECT + * +FROM + inc \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_stats_daily_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_stats_daily_base_sepolia.sql new file mode 100644 index 00000000..32ddf64d --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_stats_daily_base_sepolia.sql @@ -0,0 +1,20 @@ +SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + SUM(trades) AS trades, + SUM(exchange_fees) AS exchange_fees, + SUM(referral_fees) AS referral_fees, + SUM(collected_fees) AS collected_fees, + SUM(volume) AS volume, + SUM(liquidation_rewards) AS liquidation_rewards, + SUM(liquidated_accounts) AS liquidated_accounts, + MAX(cumulative_exchange_fees) AS cumulative_exchange_fees, + MAX(cumulative_referral_fees) AS cumulative_referral_fees, + MAX(cumulative_collected_fees) AS cumulative_collected_fees, + MAX(cumulative_volume) AS cumulative_volume +FROM + "analytics"."prod_base_sepolia"."fct_perp_stats_hourly_base_sepolia" +GROUP BY + 1 \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_stats_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_stats_hourly_base_sepolia.sql new file mode 100644 index 00000000..25d88456 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_stats_hourly_base_sepolia.sql @@ -0,0 +1,84 @@ +WITH inc_market AS ( + SELECT + ts, + market_symbol, + trades, + exchange_fees, + referral_fees, + collected_fees, + volume, + liquidations, + cumulative_exchange_fees, + cumulative_referral_fees, + cumulative_collected_fees, + cumulative_volume + FROM + "analytics"."prod_base_sepolia"."fct_perp_market_stats_hourly_base_sepolia" +), +liq AS ( + SELECT + ts, + total_reward, + 1 AS liquidated_accounts + FROM + "analytics"."prod_base_sepolia"."fct_perp_liq_account_base_sepolia" +), +inc_liq AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + SUM(total_reward) AS liquidation_rewards, + SUM(liquidated_accounts) AS liquidated_accounts + FROM + liq + GROUP BY + 1 +), +inc_trade AS ( + SELECT + ts, + SUM(trades) AS trades, + SUM(exchange_fees) AS exchange_fees, + SUM(referral_fees) AS referral_fees, + SUM(collected_fees) AS collected_fees, + SUM(volume) AS volume, + SUM(cumulative_exchange_fees) AS cumulative_exchange_fees, + SUM(cumulative_referral_fees) AS cumulative_referral_fees, + SUM(cumulative_collected_fees) AS cumulative_collected_fees, + SUM(cumulative_volume) AS cumulative_volume + FROM + inc_market + GROUP BY + 1 +), +inc AS ( + SELECT + h.ts, + h.trades, + h.exchange_fees, + h.referral_fees, + h.collected_fees, + h.volume, + COALESCE( + l.liquidation_rewards, + 0 + ) AS liquidation_rewards, + COALESCE( + l.liquidated_accounts, + 0 + ) AS liquidated_accounts, + h.cumulative_exchange_fees, + h.cumulative_referral_fees, + h.cumulative_collected_fees, + h.cumulative_volume + FROM + inc_trade h + LEFT JOIN inc_liq l + ON h.ts = l.ts +) +SELECT + * +FROM + inc \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_daily_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_daily_base_sepolia.sql new file mode 100644 index 00000000..97d63dc6 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_daily_base_sepolia.sql @@ -0,0 +1,83 @@ +WITH trades AS ( + SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + tracking_code, + SUM(exchange_fees) AS exchange_fees, + SUM(referral_fees) AS referral_fees, + SUM(collected_fees) AS collected_fees, + SUM(volume) AS volume, + SUM(trades) AS trades + FROM + "analytics"."prod_base_sepolia"."fct_perp_tracking_stats_hourly_base_sepolia" + GROUP BY + 1, + 2 +), +accounts AS ( + SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + tracking_code, + COUNT( + DISTINCT account_id + ) AS accounts + FROM + "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" + GROUP BY + 1, + 2 +), +total AS ( + SELECT + ts, + SUM(exchange_fees) AS exchange_fees_total, + SUM(referral_fees) AS referral_fees_total, + SUM(collected_fees) AS collected_fees_total, + SUM(volume) AS volume_total, + SUM(trades) AS trades_total + FROM + trades + GROUP BY + 1 +) +SELECT + trades.ts, + trades.tracking_code, + trades.exchange_fees, + trades.referral_fees, + trades.collected_fees, + trades.volume, + trades.trades, + accounts.accounts, + CASE + WHEN total.exchange_fees_total = 0 THEN 0 + ELSE trades.exchange_fees / total.exchange_fees_total + END AS exchange_fees_share, + CASE + WHEN total.referral_fees_total = 0 THEN 0 + ELSE trades.referral_fees / total.referral_fees_total + END AS referral_fees_share, + CASE + WHEN total.collected_fees_total = 0 THEN 0 + ELSE trades.collected_fees / total.collected_fees_total + END AS collected_fees_share, + CASE + WHEN total.volume_total = 0 THEN 0 + ELSE trades.volume / total.volume_total + END AS volume_share, + CASE + WHEN total.trades_total = 0 THEN 0 + ELSE trades.trades / total.trades_total + END AS trades_share +FROM + trades + JOIN accounts + ON trades.ts = accounts.ts + AND trades.tracking_code = accounts.tracking_code + JOIN total + ON trades.ts = total.ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_hourly_base_sepolia.sql new file mode 100644 index 00000000..8edc94b3 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_hourly_base_sepolia.sql @@ -0,0 +1,83 @@ +WITH trades AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + tracking_code, + SUM(exchange_fees) AS exchange_fees, + SUM(referral_fees) AS referral_fees, + SUM(collected_fees) AS collected_fees, + SUM(notional_trade_size) AS volume, + SUM(1) AS trades + FROM + "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" + GROUP BY + 1, + 2 +), +accounts AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + tracking_code, + COUNT( + DISTINCT account_id + ) AS accounts + FROM + "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" + GROUP BY + 1, + 2 +), +total AS ( + SELECT + ts, + SUM(trades) AS trades_total, + SUM(exchange_fees) AS exchange_fees_total, + SUM(referral_fees) AS referral_fees_total, + SUM(collected_fees) AS collected_fees_total, + SUM(volume) AS volume_total + FROM + trades + GROUP BY + 1 +) +SELECT + trades.ts, + trades.tracking_code, + trades.exchange_fees, + trades.referral_fees, + trades.collected_fees, + trades.volume, + trades.trades, + accounts.accounts, + CASE + WHEN total.exchange_fees_total = 0 THEN 0 + ELSE trades.exchange_fees / total.exchange_fees_total + END AS exchange_fees_share, + CASE + WHEN total.referral_fees_total = 0 THEN 0 + ELSE trades.referral_fees / total.referral_fees_total + END AS referral_fees_share, + CASE + WHEN total.collected_fees_total = 0 THEN 0 + ELSE trades.collected_fees / total.collected_fees_total + END AS collected_fees_share, + CASE + WHEN total.volume_total = 0 THEN 0 + ELSE trades.volume / total.volume_total + END AS volume_share, + CASE + WHEN total.trades_total = 0 THEN 0 + ELSE trades.trades / total.trades_total + END AS trades_share +FROM + trades + JOIN accounts + ON trades.ts = accounts.ts + AND trades.tracking_code = accounts.tracking_code + JOIN total + ON trades.ts = total.ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/prices/fct_prices_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/prices/fct_prices_base_sepolia.sql new file mode 100644 index 00000000..3241bea9 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/prices/fct_prices_base_sepolia.sql @@ -0,0 +1,52 @@ +WITH all_prices AS ( + SELECT + ts, + NULL AS market_address, + market_symbol, + price + FROM + "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia" + UNION ALL + SELECT + ts, + NULL AS market_address, + 'SNX' AS market_symbol, + snx_price AS price + FROM + "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia" + WHERE + snx_price > 0 + UNION ALL + SELECT + ts, + collateral_type AS market_address, + NULL AS market_symbol, + collateral_value / amount AS price + FROM + "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia" + WHERE + collateral_value > 0 +), +tokens AS ( + SELECT + token_address, + token_symbol + FROM + "analytics"."prod_seeds"."base_sepolia_tokens" +) +SELECT + p.ts, + p.market_address, + COALESCE( + t.token_symbol, + p.market_symbol + ) AS market_symbol, + p.price +FROM + all_prices p + LEFT JOIN tokens t + ON LOWER( + p.market_address + ) = LOWER( + t.token_address + ) \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/prices/fct_prices_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/prices/fct_prices_hourly_base_sepolia.sql new file mode 100644 index 00000000..73eb6c6b --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/prices/fct_prices_hourly_base_sepolia.sql @@ -0,0 +1,74 @@ +WITH prices AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + market_symbol, + LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS price + FROM + "analytics"."prod_base_sepolia"."fct_prices_base_sepolia" +), +dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.market_symbol + FROM + ( + SELECT + ts + FROM + prices + ) AS t + CROSS JOIN ( + SELECT + DISTINCT market_symbol + FROM + prices + ) AS m + GROUP BY + m.market_symbol +), +ffill AS ( + SELECT + dim.ts, + dim.market_symbol, + prices.price, + SUM( + CASE + WHEN prices.price IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + PARTITION BY dim.market_symbol + ORDER BY + dim.ts + ) AS price_id + FROM + dim + LEFT JOIN prices + ON dim.ts = prices.ts + AND dim.market_symbol = prices.market_symbol +), +hourly_prices AS ( + SELECT + ts, + market_symbol, + FIRST_VALUE(price) over ( + PARTITION BY price_id, + market_symbol + ORDER BY + ts + ) AS price + FROM + ffill +) +SELECT + * +FROM + hourly_prices +WHERE + price IS NOT NULL \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_p_a0ee7fb3835698f075ede26384c6bf98.sql b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_p_a0ee7fb3835698f075ede26384c6bf98.sql new file mode 100644 index 00000000..b0fe78ee --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_p_a0ee7fb3835698f075ede26384c6bf98.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_prices_hourly_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0.sql b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0.sql new file mode 100644 index 00000000..06d01a01 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_prices_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_base_sepolia_market_symbol.sql b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_base_sepolia_market_symbol.sql new file mode 100644 index 00000000..f9a57e8e --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_base_sepolia_market_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select market_symbol +from "analytics"."prod_base_sepolia"."fct_prices_base_sepolia" +where market_symbol is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_base_sepolia_price.sql b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_base_sepolia_price.sql new file mode 100644 index 00000000..00a976c2 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_base_sepolia_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_base_sepolia"."fct_prices_base_sepolia" +where price is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_base_sepolia_ts.sql new file mode 100644 index 00000000..da1e2084 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_prices_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_hourly_base_sepolia_market_symbol.sql b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_hourly_base_sepolia_market_symbol.sql new file mode 100644 index 00000000..670b780e --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_hourly_base_sepolia_market_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select market_symbol +from "analytics"."prod_base_sepolia"."fct_prices_hourly_base_sepolia" +where market_symbol is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_hourly_base_sepolia_price.sql b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_hourly_base_sepolia_price.sql new file mode 100644 index 00000000..69100aa2 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_hourly_base_sepolia_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_base_sepolia"."fct_prices_hourly_base_sepolia" +where price is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_hourly_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_hourly_base_sepolia_ts.sql new file mode 100644 index 00000000..407d7721 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_hourly_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_prices_hourly_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_atomics_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_atomics_base_sepolia.sql new file mode 100644 index 00000000..8c644343 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_atomics_base_sepolia.sql @@ -0,0 +1,59 @@ +WITH bought AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + + price / 1e18 + AS price, + + synth_returned / 1e18 + AS amount, + referrer + FROM + "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia" +), +sold AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + + price / 1e18 + AS price, + -1 * + amount_returned / 1e18 + AS amount, + referrer + FROM + "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia" +) +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + price, + amount, + referrer +FROM + bought +UNION ALL +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + price, + amount, + referrer +FROM + sold +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_markets_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_markets_base_sepolia.sql new file mode 100644 index 00000000..04037a99 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_markets_base_sepolia.sql @@ -0,0 +1,13 @@ +WITH base AS ( + SELECT + synth_market_id AS id, + block_timestamp AS created_ts, + block_number, + synth_token_address AS token_address + FROM + "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia" +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_wrapper_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_wrapper_base_sepolia.sql new file mode 100644 index 00000000..3bb400e1 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_wrapper_base_sepolia.sql @@ -0,0 +1,47 @@ +WITH wraps AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + + amount_wrapped / 1e18 + AS amount_wrapped + FROM + "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia" +), +unwraps AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + -1 * + amount_unwrapped / 1e18 + AS amount_wrapped + FROM + "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia" +) +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + amount_wrapped +FROM + wraps +UNION ALL +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + amount_wrapped +FROM + unwraps +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/fct_synth_supply_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/spot/fct_synth_supply_base_sepolia.sql new file mode 100644 index 00000000..a7b1aab8 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/fct_synth_supply_base_sepolia.sql @@ -0,0 +1,75 @@ +WITH wrapper AS ( + SELECT + ts, + block_number, + synth_market_id, + amount_wrapped AS change_amount + FROM + "analytics"."prod_base_sepolia"."fct_spot_wrapper_base_sepolia" +), +atomics AS ( + SELECT + ts, + block_number, + synth_market_id, + amount AS change_amount + FROM + "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia" + UNION ALL + SELECT + ts, + block_number, + 0 AS synth_market_id, + amount * price * -1 AS change_amount + FROM + "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia" +), +usd_changes AS ( + SELECT + block_timestamp AS ts, + block_number, + 0 AS synth_market_id, + + amount / 1e18 + AS change_amount + FROM + "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia" + UNION ALL + SELECT + block_timestamp AS ts, + block_number, + 0 AS synth_market_id, + -1 * + amount / 1e18 + AS change_amount + FROM + "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia" +), +all_changes AS ( + SELECT + * + FROM + wrapper + UNION ALL + SELECT + * + FROM + atomics + UNION ALL + SELECT + * + FROM + usd_changes +) +SELECT + ts, + block_number, + synth_market_id, + SUM(change_amount) over ( + PARTITION BY synth_market_id + ORDER BY + ts, + block_number + ) AS supply +FROM + all_changes \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_7d7e114e53625e5452e9f57a1ff338e7.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_7d7e114e53625e5452e9f57a1ff338e7.sql new file mode 100644 index 00000000..e340f004 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_7d7e114e53625e5452e9f57a1ff338e7.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_synth_supply_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_b4f78cdf817b17683fb6b75998b127e3.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_b4f78cdf817b17683fb6b75998b127e3.sql new file mode 100644 index 00000000..a3be8767 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_b4f78cdf817b17683fb6b75998b127e3.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_be8de3308c40f5eccbffc40789c7b67b.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_be8de3308c40f5eccbffc40789c7b67b.sql new file mode 100644 index 00000000..3135870e --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_be8de3308c40f5eccbffc40789c7b67b.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_spot_markets_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_e1e621000332c16d5873c30225cc957d.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_e1e621000332c16d5873c30225cc957d.sql new file mode 100644 index 00000000..e0090c21 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_e1e621000332c16d5873c30225cc957d.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_base_sepolia"."fct_spot_wrapper_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_amount.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_amount.sql new file mode 100644 index 00000000..f9823f6f --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia" +where amount is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_block_number.sql new file mode 100644 index 00000000..8dea7ea3 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_id.sql new file mode 100644 index 00000000..ac765902 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_price.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_price.sql new file mode 100644 index 00000000..4b8da8fc --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia" +where price is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_referrer.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_referrer.sql new file mode 100644 index 00000000..771ed809 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_referrer.sql @@ -0,0 +1,11 @@ + + + + + + +select referrer +from "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia" +where referrer is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_synth_market_id.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_synth_market_id.sql new file mode 100644 index 00000000..32176adb --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_ts.sql new file mode 100644 index 00000000..03f78bae --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_tx_hash.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_tx_hash.sql new file mode 100644 index 00000000..778d85fb --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_tx_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select tx_hash +from "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia" +where tx_hash is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_block_number.sql new file mode 100644 index 00000000..d239c1c2 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_sepolia"."fct_spot_markets_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_created_ts.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_created_ts.sql new file mode 100644 index 00000000..ba0fe5d8 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_created_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select created_ts +from "analytics"."prod_base_sepolia"."fct_spot_markets_base_sepolia" +where created_ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_id.sql new file mode 100644 index 00000000..bffbf2b5 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_sepolia"."fct_spot_markets_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_token_address.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_token_address.sql new file mode 100644 index 00000000..651157e0 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_token_address.sql @@ -0,0 +1,11 @@ + + + + + + +select token_address +from "analytics"."prod_base_sepolia"."fct_spot_markets_base_sepolia" +where token_address is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_amount_wrapped.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_amount_wrapped.sql new file mode 100644 index 00000000..47caad28 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_amount_wrapped.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_wrapped +from "analytics"."prod_base_sepolia"."fct_spot_wrapper_base_sepolia" +where amount_wrapped is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_block_number.sql new file mode 100644 index 00000000..977e653c --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_sepolia"."fct_spot_wrapper_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_id.sql new file mode 100644 index 00000000..16d23e8c --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_base_sepolia"."fct_spot_wrapper_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_synth_market_id.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_synth_market_id.sql new file mode 100644 index 00000000..e4a82656 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_base_sepolia"."fct_spot_wrapper_base_sepolia" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_ts.sql new file mode 100644 index 00000000..27c68eaa --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_spot_wrapper_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_tx_hash.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_tx_hash.sql new file mode 100644 index 00000000..898195fa --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_tx_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select tx_hash +from "analytics"."prod_base_sepolia"."fct_spot_wrapper_base_sepolia" +where tx_hash is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_block_number.sql new file mode 100644 index 00000000..9384d22c --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_base_sepolia"."fct_synth_supply_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_supply.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_supply.sql new file mode 100644 index 00000000..70f232ae --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_supply.sql @@ -0,0 +1,11 @@ + + + + + + +select supply +from "analytics"."prod_base_sepolia"."fct_synth_supply_base_sepolia" +where supply is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_synth_market_id.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_synth_market_id.sql new file mode 100644 index 00000000..224aa8ec --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_base_sepolia"."fct_synth_supply_base_sepolia" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_ts.sql new file mode 100644 index 00000000..fbefe2fd --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_base_sepolia"."fct_synth_supply_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/unique_fct_spot_atomics_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/unique_fct_spot_atomics_base_sepolia_id.sql new file mode 100644 index 00000000..6841be58 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/unique_fct_spot_atomics_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/unique_fct_spot_wrapper_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/unique_fct_spot_wrapper_base_sepolia_id.sql new file mode 100644 index 00000000..29563d7e --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/unique_fct_spot_wrapper_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_base_sepolia"."fct_spot_wrapper_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_account_delegation_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_account_delegation_eth_mainnet.sql new file mode 100644 index 00000000..0d4673f7 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_account_delegation_eth_mainnet.sql @@ -0,0 +1,58 @@ +WITH delegation_changes AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + + amount / 1e18 + - LAG( + amount / 1e18 +, 1, 0) over ( + PARTITION BY account_id, + pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS change_in_amount + FROM + "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet" +), +cumulative_delegation AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + SUM(change_in_amount) over ( + PARTITION BY pool_id, + account_id, + collateral_type + ORDER BY + block_timestamp + ) AS cumulative_amount_delegated, + ROW_NUMBER() over ( + PARTITION BY pool_id, + account_id, + collateral_type + ORDER BY + block_timestamp DESC + ) AS rn + FROM + delegation_changes +) +SELECT + block_timestamp AS ts, + CAST( + account_id AS text + ) AS account_id, + pool_id, + collateral_type, + cumulative_amount_delegated AS amount_delegated +FROM + cumulative_delegation +WHERE + rn = 1 +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_apr_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_apr_eth_mainnet.sql new file mode 100644 index 00000000..e64766e6 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_apr_eth_mainnet.sql @@ -0,0 +1,212 @@ + + +WITH pnl_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_pnl, + hourly_issuance, + hourly_debt_migrated, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + hourly_total_pct, + SUM( + COALESCE( + hourly_issuance, + 0 + ) + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts + ) AS cumulative_issuance, + SUM( + hourly_pnl + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts + ) AS cumulative_pnl + FROM + "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet" +), +avg_returns AS ( + SELECT + ts, + pool_id, + collateral_type, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_pnl_pct, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_pnl_pct, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_pnl_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_rewards_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_total_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_total_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_total_pct + FROM + pnl_hourly +), +apr_calculations AS ( + SELECT + pnl_hourly.ts AS ts, + pnl_hourly.pool_id AS pool_id, + pnl_hourly.collateral_type AS collateral_type, + pnl_hourly.collateral_value AS collateral_value, + pnl_hourly.debt AS debt, + pnl_hourly.hourly_pnl AS hourly_pnl, + pnl_hourly.cumulative_pnl AS cumulative_pnl, + pnl_hourly.hourly_issuance AS hourly_issuance, + pnl_hourly.hourly_debt_migrated AS hourly_debt_migrated, + pnl_hourly.cumulative_issuance AS cumulative_issuance, + pnl_hourly.rewards_usd AS rewards_usd, + pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct, + pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct, + -- total pnls + avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h, + avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d, + avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d, + -- pool pnls + avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl, + avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl, + avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl, + -- rewards pnls + avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards, + avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards, + avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards + FROM + pnl_hourly + JOIN avg_returns + ON pnl_hourly.ts = avg_returns.ts + AND pnl_hourly.pool_id = avg_returns.pool_id + AND pnl_hourly.collateral_type = avg_returns.collateral_type +), +apy_calculations AS ( + SELECT + *, + (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h, + (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d, + (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d, + (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl, + (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl, + (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl, + (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards, + (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards, + (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards + FROM + apr_calculations +) +SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_issuance, + hourly_debt_migrated, + hourly_pnl, + cumulative_pnl, + cumulative_issuance, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + apr_24h, + apy_24h, + apr_7d, + apy_7d, + apr_28d, + apy_28d, + apr_24h_pnl, + apy_24h_pnl, + apr_7d_pnl, + apy_7d_pnl, + apr_28d_pnl, + apy_28d_pnl, + apr_24h_rewards, + apy_24h_rewards, + apr_7d_rewards, + apy_7d_rewards, + apr_28d_rewards, + apy_28d_rewards +FROM + apy_calculations +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_apr_rewards_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_apr_rewards_eth_mainnet.sql new file mode 100644 index 00000000..e7fdda42 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_apr_rewards_eth_mainnet.sql @@ -0,0 +1,100 @@ + + +WITH pnl_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + reward_token, + collateral_value, + rewards_usd, + hourly_rewards_pct + FROM + "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_reward_eth_mainnet" +), +avg_returns AS ( + SELECT + ts, + pool_id, + collateral_type, + reward_token, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_rewards_pct + FROM + pnl_hourly +), +apr_calculations AS ( + SELECT + pnl_hourly.ts AS ts, + pnl_hourly.pool_id AS pool_id, + pnl_hourly.collateral_type AS collateral_type, + pnl_hourly.reward_token AS reward_token, + pnl_hourly.collateral_value AS collateral_value, + pnl_hourly.rewards_usd AS rewards_usd, + pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct, + avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards, + avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards, + avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards + FROM + pnl_hourly + JOIN avg_returns + ON pnl_hourly.ts = avg_returns.ts + AND pnl_hourly.pool_id = avg_returns.pool_id + AND pnl_hourly.collateral_type = avg_returns.collateral_type + AND pnl_hourly.reward_token = avg_returns.reward_token +), +apy_calculations AS ( + SELECT + *, + (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards, + (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards, + (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards + FROM + apr_calculations +) +SELECT + ts, + pool_id, + collateral_type, + reward_token, + collateral_value, + rewards_usd, + hourly_rewards_pct, + apr_24h_rewards, + apy_24h_rewards, + apr_7d_rewards, + apy_7d_rewards, + apr_28d_rewards, + apy_28d_rewards +FROM + apy_calculations +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_market_updated_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_market_updated_eth_mainnet.sql new file mode 100644 index 00000000..e02430c7 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_market_updated_eth_mainnet.sql @@ -0,0 +1,35 @@ +WITH market_updated AS ( + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet" +) +SELECT + id, + block_timestamp AS ts, + transaction_hash, + event_name, + market_id, + collateral_type, + + credit_capacity / 1e18 + AS credit_capacity, + + net_issuance / 1e18 + AS net_issuance, + + token_amount / 1e18 + AS token_amount +FROM + market_updated \ No newline at end of file diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_migration_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_migration_eth_mainnet.sql new file mode 100644 index 00000000..327f22d2 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_migration_eth_mainnet.sql @@ -0,0 +1,17 @@ +SELECT + block_timestamp AS ts, + block_number, + transaction_hash, + 1 as pool_id, -- Spartan Council pool + '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F' as collateral_type, -- SNX collateral + staker, + account_id, + + collateral_amount / 1e18 + as collateral_amount, + + debt_amount / 1e18 + as debt_amount +FROM + "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet" +ORDER BY block_timestamp \ No newline at end of file diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_migration_hourly_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_migration_hourly_eth_mainnet.sql new file mode 100644 index 00000000..ec25d400 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_migration_hourly_eth_mainnet.sql @@ -0,0 +1,76 @@ +WITH dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.pool_id, + m.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet" + ) AS m + GROUP BY + m.pool_id, + m.collateral_type +), +max_debt_block AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS HOUR, + pool_id, + collateral_type, + MAX(block_number) AS max_block_number + FROM + "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet" + GROUP BY + DATE_TRUNC( + 'hour', + ts + ), + pool_id, + collateral_type +), +migration AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + SUM(debt_amount) AS hourly_debt_migrated + FROM + "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet" + GROUP BY + 1, + 2, + 3 +) +SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + COALESCE( + m.hourly_debt_migrated, + 0 + ) AS hourly_debt_migrated +FROM + dim + LEFT JOIN migration m + ON dim.pool_id = m.pool_id + AND LOWER( + dim.collateral_type + ) = LOWER( + m.collateral_type + ) + AND dim.ts = m.ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pool_collateral_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pool_collateral_eth_mainnet.sql new file mode 100644 index 00000000..15a5cd30 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pool_collateral_eth_mainnet.sql @@ -0,0 +1,39 @@ +WITH events AS ( + SELECT + block_timestamp, + + token_amount / 1e18 + AS token_amount, + collateral_type + FROM + "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet" + UNION ALL + SELECT + block_timestamp,- + token_amount / 1e18 + AS token_amount, + collateral_type + FROM + "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet" +), +ranked_events AS ( + SELECT + *, + SUM(token_amount) over ( + PARTITION BY collateral_type + ORDER BY + block_timestamp rows BETWEEN unbounded preceding + AND CURRENT ROW + ) AS amount_deposited + FROM + events +) +SELECT + block_timestamp AS ts, + collateral_type, + amount_deposited +FROM + ranked_events +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pool_delegation_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pool_delegation_eth_mainnet.sql new file mode 100644 index 00000000..a61eabdc --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pool_delegation_eth_mainnet.sql @@ -0,0 +1,44 @@ +WITH delegation_changes AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + + amount / 1e18 + - LAG( + amount / 1e18 +, 1, 0) over ( + PARTITION BY account_id, + pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS change_in_amount + FROM + "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet" +), +cumulative_delegation AS ( + SELECT + block_timestamp, + pool_id, + collateral_type, + SUM(change_in_amount) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS cumulative_amount_delegated + FROM + delegation_changes +) +SELECT + block_timestamp AS ts, + pool_id, + collateral_type, + cumulative_amount_delegated AS amount_delegated +FROM + cumulative_delegation +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pools_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pools_eth_mainnet.sql new file mode 100644 index 00000000..a5de9708 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pools_eth_mainnet.sql @@ -0,0 +1,13 @@ +WITH base AS ( + SELECT + pool_id AS id, + block_timestamp AS created_ts, + block_number, + owner + FROM + "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet" +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_debt_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_debt_eth_mainnet.sql new file mode 100644 index 00000000..fd430fac --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_debt_eth_mainnet.sql @@ -0,0 +1,10 @@ +SELECT + ts, + block_number, + pool_id, + collateral_type, + debt +FROM + "analytics"."prod_raw_eth_mainnet"."core_vault_debt_eth_mainnet" +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_issuance_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_issuance_eth_mainnet.sql new file mode 100644 index 00000000..eaa0e1d2 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_issuance_eth_mainnet.sql @@ -0,0 +1,43 @@ +WITH burns AS ( + SELECT + block_timestamp AS ts, + block_number, + transaction_hash, + pool_id, + collateral_type, + account_id, + -1 * + amount / 1e18 + AS amount + FROM + "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet" + ORDER BY + block_timestamp DESC +), +mints AS ( + SELECT + block_timestamp AS ts, + block_number, + transaction_hash, + pool_id, + collateral_type, + account_id, + + amount / 1e18 + AS amount + FROM + "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet" + ORDER BY + block_timestamp DESC +) +SELECT + * +FROM + burns +UNION ALL +SELECT + * +FROM + mints +ORDER BY + ts DESC \ No newline at end of file diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_issuance_hourly_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_issuance_hourly_eth_mainnet.sql new file mode 100644 index 00000000..2468cb4e --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_issuance_hourly_eth_mainnet.sql @@ -0,0 +1,110 @@ +WITH dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.pool_id, + m.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_eth_mainnet"."fct_pool_issuance_eth_mainnet" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_eth_mainnet"."fct_pool_issuance_eth_mainnet" + ) AS m + GROUP BY + m.pool_id, + m.collateral_type +), +max_debt_block AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS HOUR, + pool_id, + collateral_type, + MAX(block_number) AS max_block_number + FROM + "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet" + GROUP BY + DATE_TRUNC( + 'hour', + ts + ), + pool_id, + collateral_type +), +filt_issuance AS ( + SELECT + CASE + WHEN i.block_number <= d.max_block_number + OR d.max_block_number IS NULL THEN i.ts + ELSE i.ts + INTERVAL '1 hour' + END AS ts, + i.pool_id, + i.collateral_type, + i.amount + FROM + "analytics"."prod_eth_mainnet"."fct_pool_issuance_eth_mainnet" + i + LEFT JOIN max_debt_block d + ON DATE_TRUNC( + 'hour', + i.ts + ) = d.hour + AND i.pool_id = d.pool_id + AND LOWER( + i.collateral_type + ) = LOWER( + d.collateral_type + ) + WHERE + i.block_number <= ( + SELECT + MAX( + max_block_number + ) + FROM + max_debt_block + ) +), +issuance AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + SUM(amount) AS hourly_issuance + FROM + filt_issuance + GROUP BY + 1, + 2, + 3 +) +SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + COALESCE( + i.hourly_issuance, + 0 + ) AS hourly_issuance +FROM + dim + LEFT JOIN issuance i + ON dim.pool_id = i.pool_id + AND LOWER( + dim.collateral_type + ) = LOWER( + i.collateral_type + ) + AND dim.ts = i.ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_pnl_hourly_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_pnl_hourly_eth_mainnet.sql new file mode 100644 index 00000000..f13fd394 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_pnl_hourly_eth_mainnet.sql @@ -0,0 +1,235 @@ + + +WITH dim AS ( + + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + p.pool_id, + p.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet" + ) AS p + GROUP BY + p.pool_id, + p.collateral_type +), +issuance AS ( + SELECT + ts, + pool_id, + collateral_type, + hourly_issuance + FROM + "analytics"."prod_eth_mainnet"."fct_pool_issuance_hourly_eth_mainnet" +), +debt AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS debt + FROM + "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet" +), +collateral AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS collateral_value + FROM + "analytics"."prod_raw_eth_mainnet"."core_vault_collateral_eth_mainnet" + WHERE + pool_id = 1 +), +ffill AS ( + SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + debt.debt, + collateral.collateral_value, + SUM( + CASE + WHEN debt.debt IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + ORDER BY + dim.ts + ) AS debt_id, + SUM( + CASE + WHEN collateral.collateral_value IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + ORDER BY + dim.ts + ) AS collateral_id + FROM + dim + LEFT JOIN debt + ON dim.ts = debt.ts + AND dim.pool_id = debt.pool_id + AND dim.collateral_type = debt.collateral_type + LEFT JOIN collateral + ON dim.ts = collateral.ts + AND dim.pool_id = collateral.pool_id + AND dim.collateral_type = collateral.collateral_type +), +hourly_index AS ( + SELECT + ts, + pool_id, + collateral_type, + FIRST_VALUE(COALESCE(debt, 0)) over ( + PARTITION BY debt_id, + pool_id, + collateral_type + ORDER BY + ts + ) AS debt, + FIRST_VALUE(COALESCE(collateral_value, 0)) over ( + PARTITION BY collateral_id, + pool_id, + collateral_type + ORDER BY + ts + ) AS collateral_value + FROM + ffill +), +hourly_pnl AS ( + SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type + ORDER BY + ts) - debt, 0) AS hourly_pnl + FROM + hourly_index +), +hourly_rewards AS ( + SELECT + ts, + pool_id, + collateral_type, + rewards_usd + FROM + "analytics"."prod_eth_mainnet"."fct_pool_rewards_hourly_eth_mainnet" +), +hourly_migration AS ( + SELECT + ts, + pool_id, + collateral_type, + hourly_debt_migrated + FROM + "analytics"."prod_eth_mainnet"."fct_core_migration_hourly_eth_mainnet" +), +hourly_returns AS ( + SELECT + pnl.ts, + pnl.pool_id, + pnl.collateral_type, + pnl.collateral_value, + pnl.debt, + COALESCE( + iss.hourly_issuance, + 0 + ) hourly_issuance, + COALESCE( + migration.hourly_debt_migrated, + 0 + ) AS hourly_debt_migrated, + pnl.hourly_pnl + COALESCE( + iss.hourly_issuance, + 0 + ) + COALESCE( + migration.hourly_debt_migrated, + 0 + ) AS hourly_pnl, + COALESCE( + rewards.rewards_usd, + 0 + ) AS rewards_usd, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE COALESCE( + rewards.rewards_usd, + 0 + ) / pnl.collateral_value + END AS hourly_rewards_pct, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl + COALESCE(migration.hourly_debt_migrated, 0)) / pnl.collateral_value + END AS hourly_pnl_pct, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0) + COALESCE(migration.hourly_debt_migrated, 0)) / pnl.collateral_value + END AS hourly_total_pct + FROM + hourly_pnl pnl + LEFT JOIN hourly_rewards rewards + ON pnl.ts = rewards.ts + AND pnl.pool_id = rewards.pool_id + AND pnl.collateral_type = rewards.collateral_type + LEFT JOIN issuance iss + ON pnl.ts = iss.ts + AND pnl.pool_id = iss.pool_id + AND LOWER( + pnl.collateral_type + ) = LOWER( + iss.collateral_type + ) + LEFT JOIN hourly_migration migration + ON pnl.ts = migration.ts + AND pnl.pool_id = migration.pool_id + AND LOWER( + pnl.collateral_type + ) = LOWER( + migration.collateral_type + ) +) +SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_issuance, + hourly_pnl, + hourly_debt_migrated, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + hourly_total_pct +FROM + hourly_returns \ No newline at end of file diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_pnl_hourly_reward_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_pnl_hourly_reward_eth_mainnet.sql new file mode 100644 index 00000000..e824f4ce --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_pnl_hourly_reward_eth_mainnet.sql @@ -0,0 +1,78 @@ + + +WITH dim AS ( + + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + t.pool_id, + t.collateral_type, + t.collateral_value, + p.token_symbol AS reward_token + FROM + ( + SELECT + ts, + collateral_type, + pool_id, + collateral_value + FROM + "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet" + group by + ts, + collateral_type, + pool_id, + collateral_value + ) AS t + CROSS JOIN ( + SELECT + DISTINCT token_symbol + FROM + "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet" + ) AS p + GROUP BY + t.pool_id, + t.collateral_type, + t.collateral_value, + p.token_symbol +), +reward_hourly_token AS ( + SELECT + ts, + pool_id, + collateral_type, + token_symbol AS reward_token, + SUM( + rewards_usd + ) AS rewards_usd + FROM + "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet" + GROUP BY + ts, + pool_id, + collateral_type, + token_symbol +) +SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + dim.collateral_value, + dim.reward_token, + COALESCE( + reward_hourly_token.rewards_usd, + 0 + ) AS rewards_usd, + CASE + WHEN dim.collateral_value = 0 THEN 0 + ELSE COALESCE( + reward_hourly_token.rewards_usd, + 0 + ) / dim.collateral_value + END AS hourly_rewards_pct +FROM + dim + LEFT JOIN reward_hourly_token + ON dim.ts = reward_hourly_token.ts + AND dim.pool_id = reward_hourly_token.pool_id + AND dim.collateral_type = reward_hourly_token.collateral_type + and dim.reward_token = reward_hourly_token.reward_token \ No newline at end of file diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_eth_mainnet.sql new file mode 100644 index 00000000..97295087 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_eth_mainnet.sql @@ -0,0 +1,37 @@ +WITH rewards_distributed AS ( + SELECT + block_timestamp AS ts, + CAST( + pool_id AS INTEGER + ) AS pool_id, + collateral_type, + distributor, + + amount / 1e18 + AS amount, + TO_TIMESTAMP("start") AS ts_start, + "duration" + FROM + "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet" +), +distributors AS ( + SELECT + CAST(distributor_address AS TEXT) AS distributor_address, + CAST(token_symbol AS TEXT) AS token_symbol + FROM + "analytics"."prod_seeds"."eth_mainnet_reward_distributors" +) +SELECT + rd.ts, + rd.pool_id, + rd.collateral_type, + rd.distributor, + distributors.token_symbol, + rd.amount, + rd.ts_start, + rd.duration +FROM + rewards_distributed rd + join distributors on rd.distributor = distributors.distributor_address +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_hourly_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_hourly_eth_mainnet.sql new file mode 100644 index 00000000..4347cb16 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_hourly_eth_mainnet.sql @@ -0,0 +1,20 @@ +WITH token_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + rewards_usd + FROM + "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet" +) +SELECT + ts, + pool_id, + collateral_type, + SUM(rewards_usd) AS rewards_usd +FROM + token_hourly +GROUP BY + ts, + pool_id, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_token_hourly_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_token_hourly_eth_mainnet.sql new file mode 100644 index 00000000..d7416963 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_token_hourly_eth_mainnet.sql @@ -0,0 +1,113 @@ +WITH dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.pool_id, + m.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet" + ) AS m + GROUP BY + m.pool_id, + m.collateral_type +), +rewards_distributed AS ( + SELECT + ts, + pool_id, + collateral_type, + distributor, + token_symbol, + amount, + ts_start, + "duration" + FROM + "analytics"."prod_eth_mainnet"."fct_pool_rewards_eth_mainnet" +), +hourly_distributions AS ( + SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + r.distributor, + r.token_symbol, + r.amount, + r.ts_start, + r."duration", + ROW_NUMBER() over ( + PARTITION BY dim.ts, + dim.pool_id, + dim.collateral_type, + r.distributor + ORDER BY + r.ts_start DESC + ) AS distributor_index + FROM + dim + LEFT JOIN rewards_distributed r + ON dim.pool_id = r.pool_id + AND LOWER( + dim.collateral_type + ) = LOWER( + r.collateral_type + ) + AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start + AND dim.ts < r.ts_start + r."duration" * '1 second' :: INTERVAL +), +hourly_rewards AS ( + SELECT + d.ts, + d.pool_id, + d.collateral_type, + d.distributor, + d.token_symbol, + p.price, + -- get the hourly amount distributed + d.amount / ( + d."duration" / 3600 + ) AS hourly_amount, + -- get the amount of time distributed this hour + -- use the smaller of those two intervals + -- convert the interval to a number of hours + -- multiply the result by the hourly amount to get the amount distributed this hour + ( + EXTRACT( + epoch + FROM + LEAST( + d."duration" / 3600 * '1 hour' :: INTERVAL, + d.ts + '1 hour' :: INTERVAL - GREATEST( + d.ts, + d.ts_start + ) + ) + ) / 3600 + ) * d.amount / ( + d."duration" / 3600 + ) AS amount_distributed + FROM + hourly_distributions AS d + LEFT JOIN "analytics"."prod_eth_mainnet"."fct_prices_hourly_eth_mainnet" + p + ON d.ts = p.ts + AND d.token_symbol = p.market_symbol + WHERE + d.distributor_index = 1 +) +SELECT + *, + amount_distributed * price AS rewards_usd +FROM + hourly_rewards +WHERE + amount_distributed IS NOT NULL \ No newline at end of file diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/accepted_values_fct_core_marke_d21d06b76f991501aa1300a0c4a8a2f0.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/accepted_values_fct_core_marke_d21d06b76f991501aa1300a0c4a8a2f0.sql new file mode 100644 index 00000000..f18c46c1 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/accepted_values_fct_core_marke_d21d06b76f991501aa1300a0c4a8a2f0.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_eth_mainnet"."fct_core_market_updated_eth_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited' +) + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/accepted_values_fct_core_migra_a67858299bafa53cea6a7746c340025c.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/accepted_values_fct_core_migra_a67858299bafa53cea6a7746c340025c.sql new file mode 100644 index 00000000..64d43e40 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/accepted_values_fct_core_migra_a67858299bafa53cea6a7746c340025c.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + collateral_type as value_field, + count(*) as n_records + + from "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet" + group by collateral_type + +) + +select * +from all_values +where value_field not in ( + '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F' +) + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_397671cb74778b45abbae274b37b7464.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_397671cb74778b45abbae274b37b7464.sql new file mode 100644 index 00000000..a38cb814 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_397671cb74778b45abbae274b37b7464.sql @@ -0,0 +1,22 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_rewards_pct >= 0 + -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_rewards_pct <= 1 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_3db6bf9387d3a49899c54e305f9c78d9.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_3db6bf9387d3a49899c54e305f9c78d9.sql new file mode 100644 index 00000000..c8c252ea --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_3db6bf9387d3a49899c54e305f9c78d9.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_48f0d9921539034df20c548ad9e39887.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_48f0d9921539034df20c548ad9e39887.sql new file mode 100644 index 00000000..d4fc3dda --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_48f0d9921539034df20c548ad9e39887.sql @@ -0,0 +1,22 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 1 + -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id <= 1 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_4c6859702d760b33c376577408388b07.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_4c6859702d760b33c376577408388b07.sql new file mode 100644 index 00000000..86bc9ae8 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_4c6859702d760b33c376577408388b07.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_core_account_delegation_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_delegated >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_74be897c581ee7316521db360ea3b995.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_74be897c581ee7316521db360ea3b995.sql new file mode 100644 index 00000000..046c66ee --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_74be897c581ee7316521db360ea3b995.sql @@ -0,0 +1,22 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_pnl_pct >= -1 + -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_pnl_pct <= 1 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_7920031b7da7d8d224f8136d1dea8db1.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_7920031b7da7d8d224f8136d1dea8db1.sql new file mode 100644 index 00000000..2be0bcd8 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_7920031b7da7d8d224f8136d1dea8db1.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collateral_value >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_8874a5f4f6fdea2aa80f500cdb51138b.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_8874a5f4f6fdea2aa80f500cdb51138b.sql new file mode 100644 index 00000000..642cb496 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_8874a5f4f6fdea2aa80f500cdb51138b.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collateral_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_969f0368b99bfbbc3842bae64e338171.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_969f0368b99bfbbc3842bae64e338171.sql new file mode 100644 index 00000000..8c98bf79 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_969f0368b99bfbbc3842bae64e338171.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not rewards_usd >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_a087b5b0934fce77ccb5a84d8ceadd2a.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_a087b5b0934fce77ccb5a84d8ceadd2a.sql new file mode 100644 index 00000000..a5f5e1f1 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_a087b5b0934fce77ccb5a84d8ceadd2a.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_core_migration_hourly_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_debt_migrated >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_a1abcaadc79b00f18a75355656bda467.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_a1abcaadc79b00f18a75355656bda467.sql new file mode 100644 index 00000000..99d06067 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_a1abcaadc79b00f18a75355656bda467.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_core_pool_delegation_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_bd3c45a752772e6ee9024ed6a31e6f2e.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_bd3c45a752772e6ee9024ed6a31e6f2e.sql new file mode 100644 index 00000000..cdf33c55 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_bd3c45a752772e6ee9024ed6a31e6f2e.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_core_market_updated_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_d85f31b9b2ce6f6655bed616ef640917.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_d85f31b9b2ce6f6655bed616ef640917.sql new file mode 100644 index 00000000..c26b6658 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_d85f31b9b2ce6f6655bed616ef640917.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_core_migration_hourly_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_dbfdda8748eed6f862c9beac15d321ff.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_dbfdda8748eed6f862c9beac15d321ff.sql new file mode 100644 index 00000000..cbb1217e --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_dbfdda8748eed6f862c9beac15d321ff.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_core_account_delegation_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0.sql new file mode 100644 index 00000000..593bdd4d --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_core_pools_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_054c72037f95e4e9cbfef34c09039720.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_054c72037f95e4e9cbfef34c09039720.sql new file mode 100644 index 00000000..b771dd18 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_054c72037f95e4e9cbfef34c09039720.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_pool_rewards_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_11488003baec9a724afe97be296df511.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_11488003baec9a724afe97be296df511.sql new file mode 100644 index 00000000..a060069d --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_11488003baec9a724afe97be296df511.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not rewards_usd >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_26f860be0c2f83871be063705ed0d088.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_26f860be0c2f83871be063705ed0d088.sql new file mode 100644 index 00000000..ed6b7830 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_26f860be0c2f83871be063705ed0d088.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2934f4352fc26e023c55f84429ab3bde.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2934f4352fc26e023c55f84429ab3bde.sql new file mode 100644 index 00000000..f1f68de2 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2934f4352fc26e023c55f84429ab3bde.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_pool_rewards_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_37d9476ddcaaefbc45d08f7a6f84707f.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_37d9476ddcaaefbc45d08f7a6f84707f.sql new file mode 100644 index 00000000..b41ee5bc --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_37d9476ddcaaefbc45d08f7a6f84707f.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_3cf53cd92b2b1ff30275b19a4a617a35.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_3cf53cd92b2b1ff30275b19a4a617a35.sql new file mode 100644 index 00000000..8c7a0d67 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_3cf53cd92b2b1ff30275b19a4a617a35.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collateral_value >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_4e450d674b791e1df8b4f4f3d7636c5f.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_4e450d674b791e1df8b4f4f3d7636c5f.sql new file mode 100644 index 00000000..bb92a036 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_4e450d674b791e1df8b4f4f3d7636c5f.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_5f5ea2512e72e9d33d7be84a5f82e91a.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_5f5ea2512e72e9d33d7be84a5f82e91a.sql new file mode 100644 index 00000000..e96ddcb9 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_5f5ea2512e72e9d33d7be84a5f82e91a.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_pool_rewards_hourly_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_6c8e00b5fea6ea747b34f06f0320b43d.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_6c8e00b5fea6ea747b34f06f0320b43d.sql new file mode 100644 index 00000000..eafb3b72 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_6c8e00b5fea6ea747b34f06f0320b43d.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_97bd635a3321c7cb622fc608c9dac2b2.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_97bd635a3321c7cb622fc608c9dac2b2.sql new file mode 100644 index 00000000..4d8d97c2 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_97bd635a3321c7cb622fc608c9dac2b2.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_pool_rewards_hourly_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not rewards_usd >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_a2f8130bd385146eb3ac2417b74d3623.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_a2f8130bd385146eb3ac2417b74d3623.sql new file mode 100644 index 00000000..1552d19c --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_a2f8130bd385146eb3ac2417b74d3623.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b619d6e075a6befe7091b2fac0bf9d19.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b619d6e075a6befe7091b2fac0bf9d19.sql new file mode 100644 index 00000000..b84b9019 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b619d6e075a6befe7091b2fac0bf9d19.sql @@ -0,0 +1,22 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_pnl_pct >= -1 + -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_pnl_pct <= 1 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c642ac1eb2e73de04b3c7331a4a52185.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c642ac1eb2e73de04b3c7331a4a52185.sql new file mode 100644 index 00000000..b8f45d7b --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c642ac1eb2e73de04b3c7331a4a52185.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not rewards_usd >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c6b20868bf12e187c3c86d5f98a17a2d.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c6b20868bf12e187c3c86d5f98a17a2d.sql new file mode 100644 index 00000000..2810df76 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c6b20868bf12e187c3c86d5f98a17a2d.sql @@ -0,0 +1,22 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_rewards_pct >= 0 + -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule. + or not hourly_rewards_pct <= 1 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c91a4c24938e464a76aaa74fe2c0fc77.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c91a4c24938e464a76aaa74fe2c0fc77.sql new file mode 100644 index 00000000..2f0169b7 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c91a4c24938e464a76aaa74fe2c0fc77.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_pool_issuance_hourly_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_cb508134c0b1447803ea96994a4b3fec.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_cb508134c0b1447803ea96994a4b3fec.sql new file mode 100644 index 00000000..0e063e32 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_cb508134c0b1447803ea96994a4b3fec.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_distributed >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_fa41ca552146289703e7abe44ca6f646.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_fa41ca552146289703e7abe44ca6f646.sql new file mode 100644 index 00000000..1fd6f18f --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_fa41ca552146289703e7abe44ca6f646.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_pool_issuance_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_dele_68b57970c09830d418df224418591310.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_dele_68b57970c09830d418df224418591310.sql new file mode 100644 index 00000000..956d2267 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_dele_68b57970c09830d418df224418591310.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_eth_mainnet"."fct_core_account_delegation_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_dele_faf037cd4ab1300b61ff50c827948558.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_dele_faf037cd4ab1300b61ff50c827948558.sql new file mode 100644 index 00000000..1625a538 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_dele_faf037cd4ab1300b61ff50c827948558.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_delegated +from "analytics"."prod_eth_mainnet"."fct_core_account_delegation_eth_mainnet" +where amount_delegated is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_delegation_eth_mainnet_account_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_delegation_eth_mainnet_account_id.sql new file mode 100644 index 00000000..14f1d551 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_delegation_eth_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_eth_mainnet"."fct_core_account_delegation_eth_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_delegation_eth_mainnet_pool_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_delegation_eth_mainnet_pool_id.sql new file mode 100644 index 00000000..70c1493d --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_delegation_eth_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_eth_mainnet"."fct_core_account_delegation_eth_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_delegation_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_delegation_eth_mainnet_ts.sql new file mode 100644 index 00000000..fde905e9 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_delegation_eth_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_eth_mainnet"."fct_core_account_delegation_eth_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apr_24h.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apr_24h.sql new file mode 100644 index 00000000..2a3353b7 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apr_24h.sql @@ -0,0 +1,11 @@ + + + + + + +select apr_24h +from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet" +where apr_24h is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apr_28d.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apr_28d.sql new file mode 100644 index 00000000..14aa0f70 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apr_28d.sql @@ -0,0 +1,11 @@ + + + + + + +select apr_28d +from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet" +where apr_28d is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apr_7d.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apr_7d.sql new file mode 100644 index 00000000..2a476faf --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apr_7d.sql @@ -0,0 +1,11 @@ + + + + + + +select apr_7d +from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet" +where apr_7d is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apy_24h.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apy_24h.sql new file mode 100644 index 00000000..015b7c4c --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apy_24h.sql @@ -0,0 +1,11 @@ + + + + + + +select apy_24h +from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet" +where apy_24h is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apy_28d.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apy_28d.sql new file mode 100644 index 00000000..d94debe4 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apy_28d.sql @@ -0,0 +1,11 @@ + + + + + + +select apy_28d +from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet" +where apy_28d is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apy_7d.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apy_7d.sql new file mode 100644 index 00000000..198086bf --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apy_7d.sql @@ -0,0 +1,11 @@ + + + + + + +select apy_7d +from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet" +where apy_7d is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_collateral_type.sql new file mode 100644 index 00000000..7be48d2d --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_collateral_value.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_collateral_value.sql new file mode 100644 index 00000000..b4e10890 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_collateral_value.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_value +from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet" +where collateral_value is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_cumulative_issuance.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_cumulative_issuance.sql new file mode 100644 index 00000000..5351b5de --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_cumulative_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select cumulative_issuance +from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet" +where cumulative_issuance is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_cumulative_pnl.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_cumulative_pnl.sql new file mode 100644 index 00000000..041dc34b --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_cumulative_pnl.sql @@ -0,0 +1,11 @@ + + + + + + +select cumulative_pnl +from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet" +where cumulative_pnl is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_debt.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_debt.sql new file mode 100644 index 00000000..b48e756f --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_debt.sql @@ -0,0 +1,11 @@ + + + + + + +select debt +from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet" +where debt is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated.sql new file mode 100644 index 00000000..b2aaa4b0 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_debt_migrated +from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet" +where hourly_debt_migrated is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_issuance.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_issuance.sql new file mode 100644 index 00000000..111f4826 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_issuance +from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet" +where hourly_issuance is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_pnl.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_pnl.sql new file mode 100644 index 00000000..119265b4 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_pnl.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_pnl +from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet" +where hourly_pnl is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct.sql new file mode 100644 index 00000000..1a6a3549 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_pnl_pct +from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet" +where hourly_pnl_pct is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct.sql new file mode 100644 index 00000000..7f842f11 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_rewards_pct +from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet" +where hourly_rewards_pct is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_pool_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_pool_id.sql new file mode 100644 index 00000000..abcd8c9a --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_rewards_usd.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_rewards_usd.sql new file mode 100644 index 00000000..797ce4f0 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_rewards_usd.sql @@ -0,0 +1,11 @@ + + + + + + +select rewards_usd +from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet" +where rewards_usd is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_ts.sql new file mode 100644 index 00000000..990bfd79 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_collateral_type.sql new file mode 100644 index 00000000..f0f3bae0 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_eth_mainnet"."fct_core_market_updated_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_credit_capacity.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_credit_capacity.sql new file mode 100644 index 00000000..7f9b0fef --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_credit_capacity.sql @@ -0,0 +1,11 @@ + + + + + + +select credit_capacity +from "analytics"."prod_eth_mainnet"."fct_core_market_updated_eth_mainnet" +where credit_capacity is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_event_name.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_event_name.sql new file mode 100644 index 00000000..130014ad --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_eth_mainnet"."fct_core_market_updated_eth_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_id.sql new file mode 100644 index 00000000..dc94b078 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_eth_mainnet"."fct_core_market_updated_eth_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_market_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_market_id.sql new file mode 100644 index 00000000..9bdb6bea --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_eth_mainnet"."fct_core_market_updated_eth_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_net_issuance.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_net_issuance.sql new file mode 100644 index 00000000..cf10b755 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_net_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select net_issuance +from "analytics"."prod_eth_mainnet"."fct_core_market_updated_eth_mainnet" +where net_issuance is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_token_amount.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_token_amount.sql new file mode 100644 index 00000000..d1debe34 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_token_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select token_amount +from "analytics"."prod_eth_mainnet"."fct_core_market_updated_eth_mainnet" +where token_amount is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_transaction_hash.sql new file mode 100644 index 00000000..e1ffd631 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_eth_mainnet"."fct_core_market_updated_eth_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_ts.sql new file mode 100644 index 00000000..334be015 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_eth_mainnet"."fct_core_market_updated_eth_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_account_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_account_id.sql new file mode 100644 index 00000000..7e9fbd04 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_block_number.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_block_number.sql new file mode 100644 index 00000000..1e1b3f5d --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_collateral_amount.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_collateral_amount.sql new file mode 100644 index 00000000..957eb25e --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_collateral_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_amount +from "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet" +where collateral_amount is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_collateral_type.sql new file mode 100644 index 00000000..d0e8bebc --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_debt_amount.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_debt_amount.sql new file mode 100644 index 00000000..d8726dd3 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_debt_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select debt_amount +from "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet" +where debt_amount is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_pool_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_pool_id.sql new file mode 100644 index 00000000..0de5b21b --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_staker.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_staker.sql new file mode 100644 index 00000000..de0879b4 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_staker.sql @@ -0,0 +1,11 @@ + + + + + + +select staker +from "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet" +where staker is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_transaction_hash.sql new file mode 100644 index 00000000..24f34d7c --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_ts.sql new file mode 100644 index 00000000..eb32d410 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_ho_8d7c5dd06705413d11ea6deca8cf644b.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_ho_8d7c5dd06705413d11ea6deca8cf644b.sql new file mode 100644 index 00000000..2eca758c --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_ho_8d7c5dd06705413d11ea6deca8cf644b.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_debt_migrated +from "analytics"."prod_eth_mainnet"."fct_core_migration_hourly_eth_mainnet" +where hourly_debt_migrated is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_hourly_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_hourly_eth_mainnet_collateral_type.sql new file mode 100644 index 00000000..b272d67c --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_hourly_eth_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_eth_mainnet"."fct_core_migration_hourly_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_hourly_eth_mainnet_pool_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_hourly_eth_mainnet_pool_id.sql new file mode 100644 index 00000000..8d096ca1 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_hourly_eth_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_eth_mainnet"."fct_core_migration_hourly_eth_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_hourly_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_hourly_eth_mainnet_ts.sql new file mode 100644 index 00000000..d0610a04 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_hourly_eth_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_eth_mainnet"."fct_core_migration_hourly_eth_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited.sql new file mode 100644 index 00000000..6905d53a --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_deposited +from "analytics"."prod_eth_mainnet"."fct_core_pool_collateral_eth_mainnet" +where amount_deposited is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_eth_mainnet_collateral_type.sql new file mode 100644 index 00000000..517c6bd5 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_eth_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_eth_mainnet"."fct_core_pool_collateral_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_eth_mainnet_ts.sql new file mode 100644 index 00000000..db6042a4 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_eth_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_eth_mainnet"."fct_core_pool_collateral_eth_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_eth_mainnet_collateral_type.sql new file mode 100644 index 00000000..06990d30 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_eth_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_eth_mainnet"."fct_core_pool_delegation_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_eth_mainnet_pool_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_eth_mainnet_pool_id.sql new file mode 100644 index 00000000..ea4a92ac --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_eth_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_eth_mainnet"."fct_core_pool_delegation_eth_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_eth_mainnet_ts.sql new file mode 100644 index 00000000..d6c8c103 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_eth_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_eth_mainnet"."fct_core_pool_delegation_eth_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_block_number.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_block_number.sql new file mode 100644 index 00000000..a2d0c7b8 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_eth_mainnet"."fct_core_pools_eth_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_created_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_created_ts.sql new file mode 100644 index 00000000..f726b0ea --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_created_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select created_ts +from "analytics"."prod_eth_mainnet"."fct_core_pools_eth_mainnet" +where created_ts is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_id.sql new file mode 100644 index 00000000..3a7f3361 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_eth_mainnet"."fct_core_pools_eth_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_owner.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_owner.sql new file mode 100644 index 00000000..2ba37071 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_owner.sql @@ -0,0 +1,11 @@ + + + + + + +select owner +from "analytics"."prod_eth_mainnet"."fct_core_pools_eth_mainnet" +where owner is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_block_number.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_block_number.sql new file mode 100644 index 00000000..8e8ea110 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_collateral_type.sql new file mode 100644 index 00000000..8102de6c --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_debt.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_debt.sql new file mode 100644 index 00000000..12ea22c4 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_debt.sql @@ -0,0 +1,11 @@ + + + + + + +select debt +from "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet" +where debt is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_pool_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_pool_id.sql new file mode 100644 index 00000000..d58a8f4d --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_ts.sql new file mode 100644 index 00000000..c09bdc83 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_account_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_account_id.sql new file mode 100644 index 00000000..895b461d --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_eth_mainnet"."fct_pool_issuance_eth_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_amount.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_amount.sql new file mode 100644 index 00000000..de4d4acb --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_eth_mainnet"."fct_pool_issuance_eth_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_block_number.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_block_number.sql new file mode 100644 index 00000000..a6548282 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_eth_mainnet"."fct_pool_issuance_eth_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_collateral_type.sql new file mode 100644 index 00000000..08a3964d --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_eth_mainnet"."fct_pool_issuance_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_pool_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_pool_id.sql new file mode 100644 index 00000000..b3554367 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_eth_mainnet"."fct_pool_issuance_eth_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_transaction_hash.sql new file mode 100644 index 00000000..528df655 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_eth_mainnet"."fct_pool_issuance_eth_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_ts.sql new file mode 100644 index 00000000..5155c3f5 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_eth_mainnet"."fct_pool_issuance_eth_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type.sql new file mode 100644 index 00000000..dea2f171 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_eth_mainnet"."fct_pool_issuance_hourly_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance.sql new file mode 100644 index 00000000..a43f0eaf --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_issuance +from "analytics"."prod_eth_mainnet"."fct_pool_issuance_hourly_eth_mainnet" +where hourly_issuance is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id.sql new file mode 100644 index 00000000..d4434b1f --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_eth_mainnet"."fct_pool_issuance_hourly_eth_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_ts.sql new file mode 100644 index 00000000..3a736ad8 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_eth_mainnet"."fct_pool_issuance_hourly_eth_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type.sql new file mode 100644 index 00000000..73891dc2 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value.sql new file mode 100644 index 00000000..bccf56c6 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_value +from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet" +where collateral_value is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_debt.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_debt.sql new file mode 100644 index 00000000..330c4671 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_debt.sql @@ -0,0 +1,11 @@ + + + + + + +select debt +from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet" +where debt is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated.sql new file mode 100644 index 00000000..e526d540 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_debt_migrated +from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet" +where hourly_debt_migrated is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance.sql new file mode 100644 index 00000000..52d4d557 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_issuance +from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet" +where hourly_issuance is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl.sql new file mode 100644 index 00000000..e19723c0 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_pnl +from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet" +where hourly_pnl is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct.sql new file mode 100644 index 00000000..29565b7f --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_pnl_pct +from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet" +where hourly_pnl_pct is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct.sql new file mode 100644 index 00000000..177222f3 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_rewards_pct +from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet" +where hourly_rewards_pct is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct.sql new file mode 100644 index 00000000..59697001 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_total_pct +from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet" +where hourly_total_pct is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id.sql new file mode 100644 index 00000000..a44965de --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd.sql new file mode 100644 index 00000000..be2a69ff --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd.sql @@ -0,0 +1,11 @@ + + + + + + +select rewards_usd +from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet" +where rewards_usd is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_ts.sql new file mode 100644 index 00000000..01d7a5ba --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_amount.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_amount.sql new file mode 100644 index 00000000..e06a4fb9 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_eth_mainnet"."fct_pool_rewards_eth_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_collateral_type.sql new file mode 100644 index 00000000..70e657ce --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_eth_mainnet"."fct_pool_rewards_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_distributor.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_distributor.sql new file mode 100644 index 00000000..978a36dd --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_distributor.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor +from "analytics"."prod_eth_mainnet"."fct_pool_rewards_eth_mainnet" +where distributor is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_pool_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_pool_id.sql new file mode 100644 index 00000000..0db3c03f --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_eth_mainnet"."fct_pool_rewards_eth_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_token_symbol.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_token_symbol.sql new file mode 100644 index 00000000..24b93153 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_token_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_eth_mainnet"."fct_pool_rewards_eth_mainnet" +where token_symbol is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_ts.sql new file mode 100644 index 00000000..27709fa3 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_eth_mainnet"."fct_pool_rewards_eth_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type.sql new file mode 100644 index 00000000..96a2841f --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_eth_mainnet"."fct_pool_rewards_hourly_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id.sql new file mode 100644 index 00000000..2b895f62 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_eth_mainnet"."fct_pool_rewards_hourly_eth_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd.sql new file mode 100644 index 00000000..c8eeca7e --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd.sql @@ -0,0 +1,11 @@ + + + + + + +select rewards_usd +from "analytics"."prod_eth_mainnet"."fct_pool_rewards_hourly_eth_mainnet" +where rewards_usd is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_ts.sql new file mode 100644 index 00000000..12abc477 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_eth_mainnet"."fct_pool_rewards_hourly_eth_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_1b37fa723d141179d74f2a8f22262b1c.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_1b37fa723d141179d74f2a8f22262b1c.sql new file mode 100644 index 00000000..ab7fe16f --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_1b37fa723d141179d74f2a8f22262b1c.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_6bc3563e83626e6160dfb0050ae58c8b.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_6bc3563e83626e6160dfb0050ae58c8b.sql new file mode 100644 index 00000000..dea028c8 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_6bc3563e83626e6160dfb0050ae58c8b.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_distributed +from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet" +where amount_distributed is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_e14b12dbad2ae17fd6b51fd232e2f506.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_e14b12dbad2ae17fd6b51fd232e2f506.sql new file mode 100644 index 00000000..526b02eb --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_e14b12dbad2ae17fd6b51fd232e2f506.sql @@ -0,0 +1,11 @@ + + + + + + +select hourly_amount +from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet" +where hourly_amount is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor.sql new file mode 100644 index 00000000..3ae0a9a7 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor +from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet" +where distributor is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id.sql new file mode 100644 index 00000000..d58deabc --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_price.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_price.sql new file mode 100644 index 00000000..8e04f079 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet" +where price is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd.sql new file mode 100644 index 00000000..d8a1c208 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd.sql @@ -0,0 +1,11 @@ + + + + + + +select rewards_usd +from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet" +where rewards_usd is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol.sql new file mode 100644 index 00000000..3358675c --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet" +where token_symbol is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts.sql new file mode 100644 index 00000000..9e7121ba --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/unique_fct_core_market_updated_eth_mainnet_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/unique_fct_core_market_updated_eth_mainnet_id.sql new file mode 100644 index 00000000..22039cad --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/unique_fct_core_market_updated_eth_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_eth_mainnet"."fct_core_market_updated_eth_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/prices/fct_prices_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/prices/fct_prices_eth_mainnet.sql new file mode 100644 index 00000000..04ec4519 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/prices/fct_prices_eth_mainnet.sql @@ -0,0 +1,34 @@ +WITH all_prices AS ( + SELECT + ts, + collateral_type AS market_address, + NULL AS market_symbol, + collateral_value / amount AS price + FROM + "analytics"."prod_raw_eth_mainnet"."core_vault_collateral_eth_mainnet" + WHERE + collateral_value > 0 +), +tokens AS ( + SELECT + token_address, + token_symbol + FROM + "analytics"."prod_seeds"."eth_mainnet_tokens" +) +SELECT + p.ts, + p.market_address, + COALESCE( + t.token_symbol, + p.market_symbol + ) AS market_symbol, + p.price +FROM + all_prices p + LEFT JOIN tokens t + ON LOWER( + p.market_address + ) = LOWER( + t.token_address + ) \ No newline at end of file diff --git a/compiled/synthetix/models/marts/eth/mainnet/prices/fct_prices_hourly_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/prices/fct_prices_hourly_eth_mainnet.sql new file mode 100644 index 00000000..effcd146 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/prices/fct_prices_hourly_eth_mainnet.sql @@ -0,0 +1,74 @@ +WITH prices AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + market_symbol, + LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS price + FROM + "analytics"."prod_eth_mainnet"."fct_prices_eth_mainnet" +), +dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.market_symbol + FROM + ( + SELECT + ts + FROM + prices + ) AS t + CROSS JOIN ( + SELECT + DISTINCT market_symbol + FROM + prices + ) AS m + GROUP BY + m.market_symbol +), +ffill AS ( + SELECT + dim.ts, + dim.market_symbol, + prices.price, + SUM( + CASE + WHEN prices.price IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + PARTITION BY dim.market_symbol + ORDER BY + dim.ts + ) AS price_id + FROM + dim + LEFT JOIN prices + ON dim.ts = prices.ts + AND dim.market_symbol = prices.market_symbol +), +hourly_prices AS ( + SELECT + ts, + market_symbol, + FIRST_VALUE(price) over ( + PARTITION BY price_id, + market_symbol + ORDER BY + ts + ) AS price + FROM + ffill +) +SELECT + * +FROM + hourly_prices +WHERE + price IS NOT NULL \ No newline at end of file diff --git a/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_f868bfeea2d8480d4dec20c65d9ae75a.sql b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_f868bfeea2d8480d4dec20c65d9ae75a.sql new file mode 100644 index 00000000..0c652dc5 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_f868bfeea2d8480d4dec20c65d9ae75a.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_prices_hourly_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0.sql b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0.sql new file mode 100644 index 00000000..de4435a6 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_eth_mainnet"."fct_prices_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_eth_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_eth_mainnet_market_symbol.sql new file mode 100644 index 00000000..232a7782 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_eth_mainnet_market_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select market_symbol +from "analytics"."prod_eth_mainnet"."fct_prices_eth_mainnet" +where market_symbol is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_eth_mainnet_price.sql b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_eth_mainnet_price.sql new file mode 100644 index 00000000..c6f0fdfc --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_eth_mainnet_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_eth_mainnet"."fct_prices_eth_mainnet" +where price is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_eth_mainnet_ts.sql new file mode 100644 index 00000000..3283d9dc --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_eth_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_eth_mainnet"."fct_prices_eth_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_hourly_eth_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_hourly_eth_mainnet_market_symbol.sql new file mode 100644 index 00000000..22627871 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_hourly_eth_mainnet_market_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select market_symbol +from "analytics"."prod_eth_mainnet"."fct_prices_hourly_eth_mainnet" +where market_symbol is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_hourly_eth_mainnet_price.sql b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_hourly_eth_mainnet_price.sql new file mode 100644 index 00000000..efc44dcb --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_hourly_eth_mainnet_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_eth_mainnet"."fct_prices_hourly_eth_mainnet" +where price is null + + diff --git a/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_hourly_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_hourly_eth_mainnet_ts.sql new file mode 100644 index 00000000..a8bd7501 --- /dev/null +++ b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_hourly_eth_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_eth_mainnet"."fct_prices_hourly_eth_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/blocks_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/blocks_arbitrum_mainnet.sql new file mode 100644 index 00000000..325cc9ec --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/blocks_arbitrum_mainnet.sql @@ -0,0 +1,38 @@ +WITH indexer_blocks AS ( + SELECT + "timestamp" AS ts, + CAST( + "number" AS INTEGER + ) AS block_number + FROM + "analytics"."raw_arbitrum_mainnet"."block" +), +parquet_blocks AS ( + SELECT + TO_TIMESTAMP("timestamp") AS ts, + CAST( + "block_number" AS INTEGER + ) AS block_number + FROM + "analytics"."raw_arbitrum_mainnet"."blocks_parquet" +), + +combined_blocks AS ( + SELECT + * + FROM + indexer_blocks + + UNION ALL + SELECT + * + FROM + parquet_blocks +) +SELECT + DISTINCT MIN(ts) AS ts, + block_number +FROM + combined_blocks +GROUP BY + block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_account_created_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_account_created_arbitrum_mainnet.sql new file mode 100644 index 00000000..816fa887 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_account_created_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_account_created" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_delegation_updated_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_delegation_updated_arbitrum_mainnet.sql new file mode 100644 index 00000000..bf2480d6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_delegation_updated_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_delegation_updated" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_deposited_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_deposited_arbitrum_mainnet.sql new file mode 100644 index 00000000..fb52b822 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_deposited_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_deposited" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_liquidation_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_liquidation_arbitrum_mainnet.sql new file mode 100644 index 00000000..ebdb36d9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_liquidation_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_liquidation" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_market_registered_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_market_registered_arbitrum_mainnet.sql new file mode 100644 index 00000000..8100b5de --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_market_registered_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_market_registered" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_market_updated_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_market_updated_arbitrum_mainnet.sql new file mode 100644 index 00000000..6d0314c9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_market_updated_arbitrum_mainnet.sql @@ -0,0 +1,103 @@ +WITH events AS ( + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_market_collateral_deposited" + + ) collateral_deposited + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_market_collateral_withdrawn" + + ) collateral_withdrawn + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_market_usd_deposited" + + ) usd_deposited + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_market_usd_withdrawn" + + ) usd_withdrawn +) +SELECT + * +FROM + events +ORDER BY + block_timestamp \ No newline at end of file diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_pool_created_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_pool_created_arbitrum_mainnet.sql new file mode 100644 index 00000000..eb5184bb --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_pool_created_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_pool_created" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_rewards_claimed_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_rewards_claimed_arbitrum_mainnet.sql new file mode 100644 index 00000000..05680e64 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_rewards_claimed_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_rewards_claimed" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_rewards_distributed_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_rewards_distributed_arbitrum_mainnet.sql new file mode 100644 index 00000000..888555d1 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_rewards_distributed_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_rewards_distributed" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_usd_burned_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_usd_burned_arbitrum_mainnet.sql new file mode 100644 index 00000000..6336a4fa --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_usd_burned_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_usd_burned" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_usd_minted_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_usd_minted_arbitrum_mainnet.sql new file mode 100644 index 00000000..169c44c6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_usd_minted_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_usd_minted" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_collateral_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_collateral_arbitrum_mainnet.sql new file mode 100644 index 00000000..758b551e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_collateral_arbitrum_mainnet.sql @@ -0,0 +1,41 @@ +with base as ( + select + block_number, + contract_address, + chain_id, + pool_id, + collateral_type, + cast( + amount as numeric + ) as amount, + cast( + value as numeric + ) as collateral_value + from + "analytics"."raw_arbitrum_mainnet"."core_get_vault_collateral" + where + amount is not null +) + +select + to_timestamp(blocks.timestamp) as ts, + cast( + blocks.block_number as integer + ) as block_number, + base.contract_address, + cast( + base.pool_id as integer + ) as pool_id, + cast( + base.collateral_type as varchar + ) as collateral_type, + + base.amount / 1e18 + as amount, + + base.collateral_value / 1e18 + as collateral_value +from + base +inner join "analytics"."raw_arbitrum_mainnet"."blocks_parquet" as blocks + on base.block_number = blocks.block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_debt_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_debt_arbitrum_mainnet.sql new file mode 100644 index 00000000..7b342e4b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_debt_arbitrum_mainnet.sql @@ -0,0 +1,35 @@ +with base as ( + select + block_number, + contract_address, + chain_id, + pool_id, + collateral_type, + cast( + value_1 as numeric + ) as debt + from + "analytics"."raw_arbitrum_mainnet"."core_get_vault_debt" + where + value_1 is not null +) + +select + to_timestamp(blocks.timestamp) as ts, + cast( + blocks.block_number as integer + ) as block_number, + base.contract_address, + cast( + base.pool_id as integer + ) as pool_id, + cast( + base.collateral_type as varchar + ) as collateral_type, + + base.debt / 1e18 + as debt +from + base +inner join "analytics"."raw_arbitrum_mainnet"."blocks_parquet" as blocks + on base.block_number = blocks.block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_liquidation_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_liquidation_arbitrum_mainnet.sql new file mode 100644 index 00000000..7eb51904 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_liquidation_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_vault_liquidation" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_withdrawn_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_withdrawn_arbitrum_mainnet.sql new file mode 100644 index 00000000..d4f4e3f6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_withdrawn_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_withdrawn" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_account_c_f0b5cfe645ca98dd83a548881dbb231f.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_account_c_f0b5cfe645ca98dd83a548881dbb231f.sql new file mode 100644 index 00000000..c906bd12 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_account_c_f0b5cfe645ca98dd83a548881dbb231f.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_mainnet"."core_account_created_arbitrum_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'AccountCreated' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_delegatio_10d8d15fae821bb25ad7292f00624ac0.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_delegatio_10d8d15fae821bb25ad7292f00624ac0.sql new file mode 100644 index 00000000..1c0971f9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_delegatio_10d8d15fae821bb25ad7292f00624ac0.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'DelegationUpdated' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_deposited_366c4a08a18bac7687c18ce14ec3027d.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_deposited_366c4a08a18bac7687c18ce14ec3027d.sql new file mode 100644 index 00000000..5db34e24 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_deposited_366c4a08a18bac7687c18ce14ec3027d.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'Deposited' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_liquidati_4442c34ed542a292a0634c15edf28899.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_liquidati_4442c34ed542a292a0634c15edf28899.sql new file mode 100644 index 00000000..08a8a119 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_liquidati_4442c34ed542a292a0634c15edf28899.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'Liquidation' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_market_re_e286af90b0ff8870e4f1f6cc2f332f5e.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_market_re_e286af90b0ff8870e4f1f6cc2f332f5e.sql new file mode 100644 index 00000000..6636242b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_market_re_e286af90b0ff8870e4f1f6cc2f332f5e.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'MarketRegistered' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_market_up_1d0210873bb72c6c6b77ae8c79ff0d1f.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_market_up_1d0210873bb72c6c6b77ae8c79ff0d1f.sql new file mode 100644 index 00000000..f8ef58e9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_market_up_1d0210873bb72c6c6b77ae8c79ff0d1f.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_pool_crea_0ebc185f8081387dd6790ea39fa08892.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_pool_crea_0ebc185f8081387dd6790ea39fa08892.sql new file mode 100644 index 00000000..31acb724 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_pool_crea_0ebc185f8081387dd6790ea39fa08892.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'PoolCreated' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_rewards_c_ae0e5101dec8d345cd75f3d5717a9de2.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_rewards_c_ae0e5101dec8d345cd75f3d5717a9de2.sql new file mode 100644 index 00000000..6deae5ca --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_rewards_c_ae0e5101dec8d345cd75f3d5717a9de2.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'RewardsClaimed' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_rewards_d_d7316b4d554f3dda3a2963d18779fd27.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_rewards_d_d7316b4d554f3dda3a2963d18779fd27.sql new file mode 100644 index 00000000..76147c04 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_rewards_d_d7316b4d554f3dda3a2963d18779fd27.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'RewardsDistributed' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_usd_burne_f1001c8fa3982fe799c897828b0b2c8e.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_usd_burne_f1001c8fa3982fe799c897828b0b2c8e.sql new file mode 100644 index 00000000..00e4e299 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_usd_burne_f1001c8fa3982fe799c897828b0b2c8e.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'UsdBurned' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_usd_minte_bb8849e7a8bb986a942b463f36bae946.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_usd_minte_bb8849e7a8bb986a942b463f36bae946.sql new file mode 100644 index 00000000..1021b89e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_usd_minte_bb8849e7a8bb986a942b463f36bae946.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'UsdMinted' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_vault_liq_6095cf2bff19baee5a4998828dc70324.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_vault_liq_6095cf2bff19baee5a4998828dc70324.sql new file mode 100644 index 00000000..a74b2ca6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_vault_liq_6095cf2bff19baee5a4998828dc70324.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'VaultLiquidation' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_withdrawn_0269f17bd6215ef29080cc4cb1c56b34.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_withdrawn_0269f17bd6215ef29080cc4cb1c56b34.sql new file mode 100644 index 00000000..2aa482b9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_withdrawn_0269f17bd6215ef29080cc4cb1c56b34.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'Withdrawn' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__02a955166e22231ca285723dacdb2832.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__02a955166e22231ca285723dacdb2832.sql new file mode 100644 index 00000000..5ad1d8f8 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__02a955166e22231ca285723dacdb2832.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__08848a564c54b05c2cb6e82b66d83e50.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__08848a564c54b05c2cb6e82b66d83e50.sql new file mode 100644 index 00000000..6a7556b0 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__08848a564c54b05c2cb6e82b66d83e50.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__1b9682952c91a5545e16c1bfbe752818.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__1b9682952c91a5545e16c1bfbe752818.sql new file mode 100644 index 00000000..e7e8a61f --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__1b9682952c91a5545e16c1bfbe752818.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not token_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__1df6834a594836c2dcc71fe060c468ad.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__1df6834a594836c2dcc71fe060c468ad.sql new file mode 100644 index 00000000..0c99465e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__1df6834a594836c2dcc71fe060c468ad.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not duration >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3324e55773a095cfea7b176bf7917ebd.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3324e55773a095cfea7b176bf7917ebd.sql new file mode 100644 index 00000000..bb7ad882 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3324e55773a095cfea7b176bf7917ebd.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not token_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3b7574a4994fd13124cd20e62aa94fc0.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3b7574a4994fd13124cd20e62aa94fc0.sql new file mode 100644 index 00000000..03c0c38e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3b7574a4994fd13124cd20e62aa94fc0.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4373ee0fef9904d117ac68961177311c.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4373ee0fef9904d117ac68961177311c.sql new file mode 100644 index 00000000..eaf82975 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4373ee0fef9904d117ac68961177311c.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4f96c27108a58faefb0cfa1c6e2f1740.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4f96c27108a58faefb0cfa1c6e2f1740.sql new file mode 100644 index 00000000..70e1a112 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4f96c27108a58faefb0cfa1c6e2f1740.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__53d099c4a50eba60cd9dbb7bdf1dea70.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__53d099c4a50eba60cd9dbb7bdf1dea70.sql new file mode 100644 index 00000000..5e607015 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__53d099c4a50eba60cd9dbb7bdf1dea70.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__61e561255e4147ac717892c2ffac2552.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__61e561255e4147ac717892c2ffac2552.sql new file mode 100644 index 00000000..e2f81964 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__61e561255e4147ac717892c2ffac2552.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__6ff23194f832443df6b21fe69436430c.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__6ff23194f832443df6b21fe69436430c.sql new file mode 100644 index 00000000..e85c4b29 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__6ff23194f832443df6b21fe69436430c.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__7483e902594aee8b4bcbb6849e0f0993.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__7483e902594aee8b4bcbb6849e0f0993.sql new file mode 100644 index 00000000..46368c7e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__7483e902594aee8b4bcbb6849e0f0993.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not token_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__74d4af353caf502d0233666f263aab05.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__74d4af353caf502d0233666f263aab05.sql new file mode 100644 index 00000000..c2eafeb0 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__74d4af353caf502d0233666f263aab05.sql @@ -0,0 +1,22 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not leverage >= 1000000000000000000 + -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule. + or not leverage <= 1000000000000000000 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__7b28a3ed9d8c19140e6eb1d7ed751b7a.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__7b28a3ed9d8c19140e6eb1d7ed751b7a.sql new file mode 100644 index 00000000..ebb9a2af --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__7b28a3ed9d8c19140e6eb1d7ed751b7a.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__8f5972b03f3e35993a0d31e0f5be9dab.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__8f5972b03f3e35993a0d31e0f5be9dab.sql new file mode 100644 index 00000000..de82e6e9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__8f5972b03f3e35993a0d31e0f5be9dab.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__95f20c9d730453e2564fdd995e9c0737.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__95f20c9d730453e2564fdd995e9c0737.sql new file mode 100644 index 00000000..f21e0430 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__95f20c9d730453e2564fdd995e9c0737.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not liquidate_as_account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a017d5223b610b9f7423d02fd237a61e.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a017d5223b610b9f7423d02fd237a61e.sql new file mode 100644 index 00000000..91d9f1d1 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a017d5223b610b9f7423d02fd237a61e.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a4d9b1f66ba6ee616c7a435ebac2f092.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a4d9b1f66ba6ee616c7a435ebac2f092.sql new file mode 100644 index 00000000..5b9f7550 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a4d9b1f66ba6ee616c7a435ebac2f092.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a4fd93112bb463c7536d0249bba13868.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a4fd93112bb463c7536d0249bba13868.sql new file mode 100644 index 00000000..5ddf7177 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a4fd93112bb463c7536d0249bba13868.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a5ecd22e7bdfeb1b3599bfacd78a5738.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a5ecd22e7bdfeb1b3599bfacd78a5738.sql new file mode 100644 index 00000000..2841fb4a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a5ecd22e7bdfeb1b3599bfacd78a5738.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__abf56ab13d78830abe56ceb90e3fe727.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__abf56ab13d78830abe56ceb90e3fe727.sql new file mode 100644 index 00000000..124e09cd --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__abf56ab13d78830abe56ceb90e3fe727.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b2b477e0fac69864d383c1ff941e78c9.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b2b477e0fac69864d383c1ff941e78c9.sql new file mode 100644 index 00000000..19a83c67 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b2b477e0fac69864d383c1ff941e78c9.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collateral_value >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c0dd3bdf5507ce87c72c955b444272c7.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c0dd3bdf5507ce87c72c955b444272c7.sql new file mode 100644 index 00000000..da4a6869 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c0dd3bdf5507ce87c72c955b444272c7.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c4067ecbb847c7045c7afebdb68d1a02.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c4067ecbb847c7045c7afebdb68d1a02.sql new file mode 100644 index 00000000..8319213c --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c4067ecbb847c7045c7afebdb68d1a02.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c4e1955a9097cfc0472cb79eca9a6dc0.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c4e1955a9097cfc0472cb79eca9a6dc0.sql new file mode 100644 index 00000000..edb05187 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c4e1955a9097cfc0472cb79eca9a6dc0.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_debt_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c5b65935367ae54ff2e891d5bdcb69d2.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c5b65935367ae54ff2e891d5bdcb69d2.sql new file mode 100644 index 00000000..5374015e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c5b65935367ae54ff2e891d5bdcb69d2.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not liquidate_as_account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c9d0905ae7ab5806ca28ed36a31d845e.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c9d0905ae7ab5806ca28ed36a31d845e.sql new file mode 100644 index 00000000..1e15d563 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c9d0905ae7ab5806ca28ed36a31d845e.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__cdcb72975596908844844e1e35f50f8c.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__cdcb72975596908844844e1e35f50f8c.sql new file mode 100644 index 00000000..b4e7556b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__cdcb72975596908844844e1e35f50f8c.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not deposited_collateral_value >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ce84723b0f0bb7e19e3c1cf75ab01e65.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ce84723b0f0bb7e19e3c1cf75ab01e65.sql new file mode 100644 index 00000000..e4a9c9b4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ce84723b0f0bb7e19e3c1cf75ab01e65.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_account_created_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__d573daafd2d94573fc34ea75105093f1.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__d573daafd2d94573fc34ea75105093f1.sql new file mode 100644 index 00000000..396893bc --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__d573daafd2d94573fc34ea75105093f1.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__dc6042ca5fc188d63643b43860ffe978.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__dc6042ca5fc188d63643b43860ffe978.sql new file mode 100644 index 00000000..4fba8e45 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__dc6042ca5fc188d63643b43860ffe978.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e2fdd34efe9357cbe68cce2a4f447e0b.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e2fdd34efe9357cbe68cce2a4f447e0b.sql new file mode 100644 index 00000000..107ba945 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e2fdd34efe9357cbe68cce2a4f447e0b.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e8c505f36fc50f5a863c74c16d675fd6.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e8c505f36fc50f5a863c74c16d675fd6.sql new file mode 100644 index 00000000..e92c05e5 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e8c505f36fc50f5a863c74c16d675fd6.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__f63d5e5a5e522a8c30ea4c8b615e3e5e.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__f63d5e5a5e522a8c30ea4c8b615e3e5e.sql new file mode 100644 index 00000000..cc78fe00 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__f63d5e5a5e522a8c30ea4c8b615e3e5e.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_account_id.sql new file mode 100644 index 00000000..3632d631 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_arbitrum_mainnet"."core_account_created_arbitrum_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..17ce3a65 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_mainnet"."core_account_created_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_block_timestamp.sql new file mode 100644 index 00000000..c14fc6fe --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_mainnet"."core_account_created_arbitrum_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_contract.sql new file mode 100644 index 00000000..216d0fac --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_mainnet"."core_account_created_arbitrum_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_event_name.sql new file mode 100644 index 00000000..dfcd6645 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_mainnet"."core_account_created_arbitrum_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..7082e635 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_account_created_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_owner.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_owner.sql new file mode 100644 index 00000000..a6e740d4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_owner.sql @@ -0,0 +1,11 @@ + + + + + + +select owner +from "analytics"."prod_raw_arbitrum_mainnet"."core_account_created_arbitrum_mainnet" +where owner is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_transaction_hash.sql new file mode 100644 index 00000000..e049996f --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_mainnet"."core_account_created_arbitrum_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updat_25d626a6081121e32d064cc583bcb245.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updat_25d626a6081121e32d064cc583bcb245.sql new file mode 100644 index 00000000..cb912af3 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updat_25d626a6081121e32d064cc583bcb245.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updat_6ac250e2c9a952d186fe70b880fd912c.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updat_6ac250e2c9a952d186fe70b880fd912c.sql new file mode 100644 index 00000000..7cf48b74 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updat_6ac250e2c9a952d186fe70b880fd912c.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updat_ff6c4be455bb5a689b64cffbd9b8359e.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updat_ff6c4be455bb5a689b64cffbd9b8359e.sql new file mode 100644 index 00000000..fc61f74d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updat_ff6c4be455bb5a689b64cffbd9b8359e.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_account_id.sql new file mode 100644 index 00000000..ca36d38d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_amount.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_amount.sql new file mode 100644 index 00000000..8b92187f --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..5df55639 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_contract.sql new file mode 100644 index 00000000..ce81e992 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_event_name.sql new file mode 100644 index 00000000..6b14232a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..d8653aba --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_leverage.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_leverage.sql new file mode 100644 index 00000000..2bd3705c --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_leverage.sql @@ -0,0 +1,11 @@ + + + + + + +select leverage +from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet" +where leverage is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_pool_id.sql new file mode 100644 index 00000000..456f83b4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_sender.sql new file mode 100644 index 00000000..0de3c969 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_account_id.sql new file mode 100644 index 00000000..cfb6a639 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..173f3727 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_block_timestamp.sql new file mode 100644 index 00000000..181a997f --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_collateral_type.sql new file mode 100644 index 00000000..d896a393 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_contract.sql new file mode 100644 index 00000000..2e3acb35 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_event_name.sql new file mode 100644 index 00000000..a14f1ed4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..dd9473e4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_sender.sql new file mode 100644 index 00000000..c1be098d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_token_amount.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_token_amount.sql new file mode 100644 index 00000000..4f6a73c3 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_token_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select token_amount +from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet" +where token_amount is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_transaction_hash.sql new file mode 100644 index 00000000..48c1e004 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbi_92f55229ca201ad07fd249fb04e9775d.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbi_92f55229ca201ad07fd249fb04e9775d.sql new file mode 100644 index 00000000..d5bc482b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbi_92f55229ca201ad07fd249fb04e9775d.sql @@ -0,0 +1,11 @@ + + + + + + +select liquidate_as_account_id +from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet" +where liquidate_as_account_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_account_id.sql new file mode 100644 index 00000000..8f4fbbaa --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..d16e6b5b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_block_timestamp.sql new file mode 100644 index 00000000..3cdf3e7a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_collateral_type.sql new file mode 100644 index 00000000..907d662a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_contract.sql new file mode 100644 index 00000000..3df94658 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_event_name.sql new file mode 100644 index 00000000..8cba6b2a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..7219d08f --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_pool_id.sql new file mode 100644 index 00000000..c78b8715 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_sender.sql new file mode 100644 index 00000000..3c0a5d30 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_transaction_hash.sql new file mode 100644 index 00000000..94142262 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registere_3aa714f691befa9329876e1321ce4907.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registere_3aa714f691befa9329876e1321ce4907.sql new file mode 100644 index 00000000..1630c716 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registere_3aa714f691befa9329876e1321ce4907.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registere_ce97e23941cfcece9eb1a8b9bdf4cb64.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registere_ce97e23941cfcece9eb1a8b9bdf4cb64.sql new file mode 100644 index 00000000..67b371dd --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registere_ce97e23941cfcece9eb1a8b9bdf4cb64.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..ea2db477 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_contract.sql new file mode 100644 index 00000000..83d6859f --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_event_name.sql new file mode 100644 index 00000000..e3f6ad4d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..107c19fe --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_market.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_market.sql new file mode 100644 index 00000000..b48afb44 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_market.sql @@ -0,0 +1,11 @@ + + + + + + +select market +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet" +where market is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_market_id.sql new file mode 100644 index 00000000..679c086c --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_sender.sql new file mode 100644 index 00000000..8c5f6a22 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_a_c8d66a6213d38496ae35d373291887d5.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_a_c8d66a6213d38496ae35d373291887d5.sql new file mode 100644 index 00000000..dbae1694 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_a_c8d66a6213d38496ae35d373291887d5.sql @@ -0,0 +1,11 @@ + + + + + + +select deposited_collateral_value +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet" +where deposited_collateral_value is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..0415c234 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_block_timestamp.sql new file mode 100644 index 00000000..91413bf8 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_collateral_type.sql new file mode 100644 index 00000000..7d7fc1c4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_contract.sql new file mode 100644 index 00000000..a3121a3b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_credit_capacity.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_credit_capacity.sql new file mode 100644 index 00000000..5470ba79 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_credit_capacity.sql @@ -0,0 +1,11 @@ + + + + + + +select credit_capacity +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet" +where credit_capacity is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_event_name.sql new file mode 100644 index 00000000..f96be4ce --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..e80a8393 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_market_id.sql new file mode 100644 index 00000000..2b7abf72 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_net_issuance.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_net_issuance.sql new file mode 100644 index 00000000..91d7a894 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_net_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select net_issuance +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet" +where net_issuance is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_sender.sql new file mode 100644 index 00000000..988be67d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_token_amount.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_token_amount.sql new file mode 100644 index 00000000..1bfe3631 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_token_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select token_amount +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet" +where token_amount is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_transaction_hash.sql new file mode 100644 index 00000000..50a32a4d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..aa8345fe --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_block_timestamp.sql new file mode 100644 index 00000000..f8577a26 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_contract.sql new file mode 100644 index 00000000..ab207224 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_event_name.sql new file mode 100644 index 00000000..b20cfcb4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..91773067 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_owner.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_owner.sql new file mode 100644 index 00000000..950009c6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_owner.sql @@ -0,0 +1,11 @@ + + + + + + +select owner +from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet" +where owner is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_pool_id.sql new file mode 100644 index 00000000..9e6ba7a6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_sender.sql new file mode 100644 index 00000000..c170fab7 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_transaction_hash.sql new file mode 100644 index 00000000..12000876 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_account_id.sql new file mode 100644 index 00000000..9f2d082e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_amount.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_amount.sql new file mode 100644 index 00000000..1f722167 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..c84aab89 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp.sql new file mode 100644 index 00000000..d00ec233 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type.sql new file mode 100644 index 00000000..2234c954 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_contract.sql new file mode 100644 index 00000000..23acdf69 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_distributor.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_distributor.sql new file mode 100644 index 00000000..373ea764 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_distributor.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet" +where distributor is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_event_name.sql new file mode 100644 index 00000000..6734b59b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..d6444734 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_pool_id.sql new file mode 100644 index 00000000..1e311615 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash.sql new file mode 100644 index 00000000..58cfade8 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distribu_0615a0b17ded5d162f692f079ef20621.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distribu_0615a0b17ded5d162f692f079ef20621.sql new file mode 100644 index 00000000..71a7c9f3 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distribu_0615a0b17ded5d162f692f079ef20621.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distribu_0c83e6d18c229c54ea7814f211652fba.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distribu_0c83e6d18c229c54ea7814f211652fba.sql new file mode 100644 index 00000000..e8035493 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distribu_0c83e6d18c229c54ea7814f211652fba.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distribu_b9de231940d6a64359b041a045f6df44.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distribu_b9de231940d6a64359b041a045f6df44.sql new file mode 100644 index 00000000..0e0d3320 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distribu_b9de231940d6a64359b041a045f6df44.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_amount.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_amount.sql new file mode 100644 index 00000000..bf223a31 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..fca571e6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_contract.sql new file mode 100644 index 00000000..5c3fb603 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_distributor.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_distributor.sql new file mode 100644 index 00000000..d7b9093f --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_distributor.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet" +where distributor is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_duration.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_duration.sql new file mode 100644 index 00000000..88c8e310 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_duration.sql @@ -0,0 +1,11 @@ + + + + + + +select duration +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet" +where duration is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_event_name.sql new file mode 100644 index 00000000..e615de86 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..ccff0e2f --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_pool_id.sql new file mode 100644 index 00000000..960b5ea6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_account_id.sql new file mode 100644 index 00000000..299e1504 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_amount.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_amount.sql new file mode 100644 index 00000000..58494a0a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..7470e6ca --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_block_timestamp.sql new file mode 100644 index 00000000..070f44bd --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_collateral_type.sql new file mode 100644 index 00000000..baa444c4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_contract.sql new file mode 100644 index 00000000..ea84c9c7 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_event_name.sql new file mode 100644 index 00000000..a87b9074 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..311c7f5a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_pool_id.sql new file mode 100644 index 00000000..df567779 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_sender.sql new file mode 100644 index 00000000..130c830a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_transaction_hash.sql new file mode 100644 index 00000000..501af753 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_account_id.sql new file mode 100644 index 00000000..1b4f11d9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_amount.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_amount.sql new file mode 100644 index 00000000..1faa72d5 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..021b7ef0 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_block_timestamp.sql new file mode 100644 index 00000000..141c205a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_collateral_type.sql new file mode 100644 index 00000000..ac6f20bf --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_contract.sql new file mode 100644 index 00000000..58405a9c --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_event_name.sql new file mode 100644 index 00000000..c37420c7 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..0021fdcd --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_pool_id.sql new file mode 100644 index 00000000..01b69842 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_sender.sql new file mode 100644 index 00000000..2b23d2e6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_transaction_hash.sql new file mode 100644 index 00000000..1fc8a3d4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_4d64c8eaa01fe95c5b02ce8af6762f6e.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_4d64c8eaa01fe95c5b02ce8af6762f6e.sql new file mode 100644 index 00000000..2473d3b9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_4d64c8eaa01fe95c5b02ce8af6762f6e.sql @@ -0,0 +1,11 @@ + + + + + + +select contract_address +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet" +where contract_address is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_amount.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_amount.sql new file mode 100644 index 00000000..3956f9bb --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..5deda1a0 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_collateral_type.sql new file mode 100644 index 00000000..8c0739d7 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_pool_id.sql new file mode 100644 index 00000000..e296fa3a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_ts.sql new file mode 100644 index 00000000..0404bc12 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_cf213cb7e0e55ec70bd0cbcc38c21022.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_cf213cb7e0e55ec70bd0cbcc38c21022.sql new file mode 100644 index 00000000..f74e008f --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_cf213cb7e0e55ec70bd0cbcc38c21022.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_value +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet" +where collateral_value is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..bcc1f93b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_debt_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_collateral_type.sql new file mode 100644 index 00000000..daf322c6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_debt_arbitrum_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_contract_address.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_contract_address.sql new file mode 100644 index 00000000..d4031404 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_contract_address.sql @@ -0,0 +1,11 @@ + + + + + + +select contract_address +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_debt_arbitrum_mainnet" +where contract_address is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_debt.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_debt.sql new file mode 100644 index 00000000..21cb9243 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_debt.sql @@ -0,0 +1,11 @@ + + + + + + +select debt +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_debt_arbitrum_mainnet" +where debt is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_pool_id.sql new file mode 100644 index 00000000..23f03902 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_debt_arbitrum_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_ts.sql new file mode 100644 index 00000000..becb0dbe --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_debt_arbitrum_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_2185e560e310ac8c9b339ed46c9526c9.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_2185e560e310ac8c9b339ed46c9526c9.sql new file mode 100644 index 00000000..e8a0067e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_2185e560e310ac8c9b339ed46c9526c9.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_2415782e836c6b669ea8436e64c0849d.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_2415782e836c6b669ea8436e64c0849d.sql new file mode 100644 index 00000000..17f32532 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_2415782e836c6b669ea8436e64c0849d.sql @@ -0,0 +1,11 @@ + + + + + + +select liquidation_data +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet" +where liquidation_data is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_28327b33172f7d5299eb84c369c67082.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_28327b33172f7d5299eb84c369c67082.sql new file mode 100644 index 00000000..d2ed3cfc --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_28327b33172f7d5299eb84c369c67082.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_ed674d5ff714efc416d714e69fc94711.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_ed674d5ff714efc416d714e69fc94711.sql new file mode 100644 index 00000000..3decef3f --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_ed674d5ff714efc416d714e69fc94711.sql @@ -0,0 +1,11 @@ + + + + + + +select liquidate_as_account_id +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet" +where liquidate_as_account_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_edbeff2a9e391e647da0aed49fa55c31.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_edbeff2a9e391e647da0aed49fa55c31.sql new file mode 100644 index 00000000..b800c742 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_edbeff2a9e391e647da0aed49fa55c31.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..967ea231 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_contract.sql new file mode 100644 index 00000000..9cef69d2 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_event_name.sql new file mode 100644 index 00000000..058305b5 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..f98d7f8e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_pool_id.sql new file mode 100644 index 00000000..c3ecfdc9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_sender.sql new file mode 100644 index 00000000..8f77b2cf --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_account_id.sql new file mode 100644 index 00000000..2d89509a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..4c6f1214 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_block_timestamp.sql new file mode 100644 index 00000000..a6437916 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_collateral_type.sql new file mode 100644 index 00000000..ea430591 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_contract.sql new file mode 100644 index 00000000..78c06476 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_event_name.sql new file mode 100644 index 00000000..f3b5edc2 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..09fb708e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_sender.sql new file mode 100644 index 00000000..f922cfb0 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_token_amount.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_token_amount.sql new file mode 100644 index 00000000..dbd59147 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_token_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select token_amount +from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet" +where token_amount is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_transaction_hash.sql new file mode 100644 index 00000000..ff2b22f3 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_account_created_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_account_created_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..9cbdffb3 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_account_created_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_account_created_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_delegation_updated_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_delegation_updated_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..d119b008 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_delegation_updated_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_deposited_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_deposited_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..feba6f3e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_deposited_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_liquidation_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_liquidation_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..84a4ce94 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_liquidation_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_registered_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_registered_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..03ab7a27 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_registered_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_registered_arbitrum_mainnet_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_registered_arbitrum_mainnet_market_id.sql new file mode 100644 index 00000000..942f644c --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_registered_arbitrum_mainnet_market_id.sql @@ -0,0 +1,14 @@ + + + + +select + market_id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet" +where market_id is not null +group by market_id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_updated_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_updated_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..852b3671 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_updated_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_pool_created_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_pool_created_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..d4dcf9a5 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_pool_created_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_rewards_claimed_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_rewards_claimed_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..6e6b9036 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_rewards_claimed_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_rewards_distributed_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_rewards_distributed_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..d3d7bf83 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_rewards_distributed_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_usd_burned_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_usd_burned_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..dcf8b805 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_usd_burned_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_usd_minted_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_usd_minted_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..23fb34a4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_usd_minted_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_vault_liquidation_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_vault_liquidation_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..a0b65d01 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_vault_liquidation_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_withdrawn_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_withdrawn_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..ce0ab476 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_withdrawn_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1.sql new file mode 100644 index 00000000..ea99ed25 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1.sql @@ -0,0 +1,38 @@ + + + + + + + +with recency as ( + + select + + + + max(ts) as most_recent + + from "analytics"."prod_raw_arbitrum_mainnet"."blocks_arbitrum_mainnet" + + + +) + +select + + + most_recent, + cast( + + now() + ((interval '1 hour') * (-1)) + + as timestamp) as threshold + +from recency +where most_recent < cast( + + now() + ((interval '1 hour') * (-1)) + + as timestamp) + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/not_null_blocks_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/not_null_blocks_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..0bb04c48 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/not_null_blocks_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_mainnet"."blocks_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/unique_blocks_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/unique_blocks_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..223b08d5 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/unique_blocks_arbitrum_mainnet_block_number.sql @@ -0,0 +1,14 @@ + + + + +select + block_number as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."blocks_arbitrum_mainnet" +where block_number is not null +group by block_number +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_order_can_8958c622ce842464f22572f8ca643dd9.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_order_can_8958c622ce842464f22572f8ca643dd9.sql new file mode 100644 index 00000000..ebde14c1 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_order_can_8958c622ce842464f22572f8ca643dd9.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_cancelled_arbitrum_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'OrderCancelled' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_order_com_612c7255a7f36043bcb4a7cdb76a0e20.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_order_com_612c7255a7f36043bcb4a7cdb76a0e20.sql new file mode 100644 index 00000000..7b0f9758 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_order_com_612c7255a7f36043bcb4a7cdb76a0e20.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'OrderCommitted' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_order_set_d3b65b75a55fbc94523af798a74f0d8d.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_order_set_d3b65b75a55fbc94523af798a74f0d8d.sql new file mode 100644 index 00000000..4f024974 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_order_set_d3b65b75a55fbc94523af798a74f0d8d.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'OrderSettled' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_bou_4d0f7b26a6e9d474f288b820a2a82e88.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_bou_4d0f7b26a6e9d474f288b820a2a82e88.sql new file mode 100644 index 00000000..455c8aac --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_bou_4d0f7b26a6e9d474f288b820a2a82e88.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'SynthBought' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_reg_fedea85a7b1d2062774e1e713536791e.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_reg_fedea85a7b1d2062774e1e713536791e.sql new file mode 100644 index 00000000..1559d10d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_reg_fedea85a7b1d2062774e1e713536791e.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'SynthRegistered' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_sol_0a88e02c20f4285a38c7fc2ec7440aa5.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_sol_0a88e02c20f4285a38c7fc2ec7440aa5.sql new file mode 100644 index 00000000..551865a7 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_sol_0a88e02c20f4285a38c7fc2ec7440aa5.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'SynthSold' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_unw_8ff3edab6d10fb5d2c67b3a892cce771.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_unw_8ff3edab6d10fb5d2c67b3a892cce771.sql new file mode 100644 index 00000000..5f2e523d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_unw_8ff3edab6d10fb5d2c67b3a892cce771.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'SynthUnwrapped' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_wra_b91a1226e94bc45aafd59decf0beb7da.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_wra_b91a1226e94bc45aafd59decf0beb7da.sql new file mode 100644 index 00000000..d83d8e50 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_wra_b91a1226e94bc45aafd59decf0beb7da.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'SynthWrapped' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__118beddb72a791fb331bdcbe14c456e3.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__118beddb72a791fb331bdcbe14c456e3.sql new file mode 100644 index 00000000..3a8df5b3 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__118beddb72a791fb331bdcbe14c456e3.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collected_fees >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__16e212051b13a672328df75be071827f.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__16e212051b13a672328df75be071827f.sql new file mode 100644 index 00000000..357fe288 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__16e212051b13a672328df75be071827f.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__2a1f6354cf1b32473953f1a2a502086a.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__2a1f6354cf1b32473953f1a2a502086a.sql new file mode 100644 index 00000000..09c6fd57 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__2a1f6354cf1b32473953f1a2a502086a.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not fees_collected >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__39815e5a71f59b35ff559c6cb94df4e2.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__39815e5a71f59b35ff559c6cb94df4e2.sql new file mode 100644 index 00000000..c8284f3c --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__39815e5a71f59b35ff559c6cb94df4e2.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collected_fees >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__51adb6d95dfdf12f2a6f8c433c71ec70.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__51adb6d95dfdf12f2a6f8c433c71ec70.sql new file mode 100644 index 00000000..ebd7afdb --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__51adb6d95dfdf12f2a6f8c433c71ec70.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_cancelled_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__53c639690d3f6db86ed3a99de0616038.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__53c639690d3f6db86ed3a99de0616038.sql new file mode 100644 index 00000000..a5f4e40c --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__53c639690d3f6db86ed3a99de0616038.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not final_order_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__5645de8902a4439c1821035cd269d4c3.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__5645de8902a4439c1821035cd269d4c3.sql new file mode 100644 index 00000000..4288503d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__5645de8902a4439c1821035cd269d4c3.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__5916f3e442949c3b85752fe12637d1f8.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__5916f3e442949c3b85752fe12637d1f8.sql new file mode 100644 index 00000000..0805aa68 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__5916f3e442949c3b85752fe12637d1f8.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not fees_collected >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__5d972fc4f292296beb2cb5f34a47fa6e.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__5d972fc4f292296beb2cb5f34a47fa6e.sql new file mode 100644 index 00000000..005216df --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__5d972fc4f292296beb2cb5f34a47fa6e.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collected_fees >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__6cace87e4dac2e4c3b6e4cc8c2ab6183.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__6cace87e4dac2e4c3b6e4cc8c2ab6183.sql new file mode 100644 index 00000000..08baf814 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__6cace87e4dac2e4c3b6e4cc8c2ab6183.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__75e894a262aaded64378571f08266f9c.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__75e894a262aaded64378571f08266f9c.sql new file mode 100644 index 00000000..e3cce701 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__75e894a262aaded64378571f08266f9c.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__811ac17f45c2607ffe25a2191580334f.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__811ac17f45c2607ffe25a2191580334f.sql new file mode 100644 index 00000000..eef73000 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__811ac17f45c2607ffe25a2191580334f.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__82b39e4f1130c8843eed9f8114bed411.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__82b39e4f1130c8843eed9f8114bed411.sql new file mode 100644 index 00000000..57bee591 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__82b39e4f1130c8843eed9f8114bed411.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__965ba5e4a40cef652215a98792245930.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__965ba5e4a40cef652215a98792245930.sql new file mode 100644 index 00000000..346fc61e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__965ba5e4a40cef652215a98792245930.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__9a56f742862e6cc8ba800f049871410a.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__9a56f742862e6cc8ba800f049871410a.sql new file mode 100644 index 00000000..c2624fd3 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__9a56f742862e6cc8ba800f049871410a.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_provided >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__9e6f9cd3db0f82b8764ba445759e8445.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__9e6f9cd3db0f82b8764ba445759e8445.sql new file mode 100644 index 00000000..fbbf5802 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__9e6f9cd3db0f82b8764ba445759e8445.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__a35b7176e9f72d0481ad6d735e7bb103.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__a35b7176e9f72d0481ad6d735e7bb103.sql new file mode 100644 index 00000000..ae818c76 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__a35b7176e9f72d0481ad6d735e7bb103.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__b89d045b278e76cb3f1a9a3e7a3af418.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__b89d045b278e76cb3f1a9a3e7a3af418.sql new file mode 100644 index 00000000..b1857ce1 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__b89d045b278e76cb3f1a9a3e7a3af418.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_unwrapped >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__f354cedc5a73045b7c974894592d98d4.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__f354cedc5a73045b7c974894592d98d4.sql new file mode 100644 index 00000000..46ef923f --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__f354cedc5a73045b7c974894592d98d4.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_returned >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__fde6d5b608f35fa598f8e7ca933aa5f8.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__fde6d5b608f35fa598f8e7ca933aa5f8.sql new file mode 100644 index 00000000..53677c41 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__fde6d5b608f35fa598f8e7ca933aa5f8.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..e6d5c446 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_cancelled_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp.sql new file mode 100644 index 00000000..f75d4f0b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_cancelled_arbitrum_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_contract.sql new file mode 100644 index 00000000..4a78b310 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_cancelled_arbitrum_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_event_name.sql new file mode 100644 index 00000000..7e38fba9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_cancelled_arbitrum_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..609b333d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_cancelled_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_market_id.sql new file mode 100644 index 00000000..87fcf3fd --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_cancelled_arbitrum_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_sender.sql new file mode 100644 index 00000000..2f11ed6f --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_cancelled_arbitrum_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash.sql new file mode 100644 index 00000000..7308c281 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_cancelled_arbitrum_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_amount_provided.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_amount_provided.sql new file mode 100644 index 00000000..09aacded --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_amount_provided.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_provided +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet" +where amount_provided is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..39f7bddb --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_block_timestamp.sql new file mode 100644 index 00000000..689e66f6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_contract.sql new file mode 100644 index 00000000..b7b56f57 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_event_name.sql new file mode 100644 index 00000000..1b1d02f4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..7fd635e7 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_market_id.sql new file mode 100644 index 00000000..f1aa6aa0 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_order_type.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_order_type.sql new file mode 100644 index 00000000..f719d41a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_order_type.sql @@ -0,0 +1,11 @@ + + + + + + +select order_type +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet" +where order_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_referrer.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_referrer.sql new file mode 100644 index 00000000..5c0bb29f --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_referrer.sql @@ -0,0 +1,11 @@ + + + + + + +select referrer +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet" +where referrer is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_sender.sql new file mode 100644 index 00000000..1b73422c --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_transaction_hash.sql new file mode 100644 index 00000000..b8e7af6f --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..771b39ce --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_block_timestamp.sql new file mode 100644 index 00000000..c49387fb --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_collected_fees.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_collected_fees.sql new file mode 100644 index 00000000..b75b8303 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_collected_fees.sql @@ -0,0 +1,11 @@ + + + + + + +select collected_fees +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet" +where collected_fees is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_contract.sql new file mode 100644 index 00000000..bea4d7d6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_event_name.sql new file mode 100644 index 00000000..0e894638 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..94687d53 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_market_id.sql new file mode 100644 index 00000000..603faae7 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_order_type.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_order_type.sql new file mode 100644 index 00000000..d077979b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_order_type.sql @@ -0,0 +1,11 @@ + + + + + + +select order_type +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet" +where order_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_price.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_price.sql new file mode 100644 index 00000000..839d0d43 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet" +where price is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_settler.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_settler.sql new file mode 100644 index 00000000..9910145e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_settler.sql @@ -0,0 +1,11 @@ + + + + + + +select settler +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet" +where settler is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_transaction_hash.sql new file mode 100644 index 00000000..28a6d4e7 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..7f6f8775 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp.sql new file mode 100644 index 00000000..64bf36b6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_collected_fees.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_collected_fees.sql new file mode 100644 index 00000000..9b347298 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_collected_fees.sql @@ -0,0 +1,11 @@ + + + + + + +select collected_fees +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet" +where collected_fees is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_contract.sql new file mode 100644 index 00000000..d814c2f5 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_event_name.sql new file mode 100644 index 00000000..88d0ec8d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..20fe7a47 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_price.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_price.sql new file mode 100644 index 00000000..4041747d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet" +where price is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_referrer.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_referrer.sql new file mode 100644 index 00000000..3768a135 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_referrer.sql @@ -0,0 +1,11 @@ + + + + + + +select referrer +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet" +where referrer is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id.sql new file mode 100644 index 00000000..198d82d4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash.sql new file mode 100644 index 00000000..bb669d87 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_24c43a4e864a0810c9cb52d5d564cd74.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_24c43a4e864a0810c9cb52d5d564cd74.sql new file mode 100644 index 00000000..c92cbacb --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_24c43a4e864a0810c9cb52d5d564cd74.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_token_address +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet" +where synth_token_address is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_9666aca0705c3f058c05e5046e31f743.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_9666aca0705c3f058c05e5046e31f743.sql new file mode 100644 index 00000000..86008a5b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_9666aca0705c3f058c05e5046e31f743.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..296e4f36 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp.sql new file mode 100644 index 00000000..7e454106 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_contract.sql new file mode 100644 index 00000000..7996622a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_event_name.sql new file mode 100644 index 00000000..366db569 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..0ce8229e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id.sql new file mode 100644 index 00000000..7a26f6d3 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_amount_returned.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_amount_returned.sql new file mode 100644 index 00000000..a7962961 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_amount_returned.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_returned +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet" +where amount_returned is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..c98946ef --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp.sql new file mode 100644 index 00000000..ea867685 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_collected_fees.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_collected_fees.sql new file mode 100644 index 00000000..b0d44cec --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_collected_fees.sql @@ -0,0 +1,11 @@ + + + + + + +select collected_fees +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet" +where collected_fees is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_contract.sql new file mode 100644 index 00000000..53836e0b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_event_name.sql new file mode 100644 index 00000000..bd877151 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..7f233a7d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_price.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_price.sql new file mode 100644 index 00000000..98f49a50 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet" +where price is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_referrer.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_referrer.sql new file mode 100644 index 00000000..6537495a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_referrer.sql @@ -0,0 +1,11 @@ + + + + + + +select referrer +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet" +where referrer is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id.sql new file mode 100644 index 00000000..4cbfb836 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash.sql new file mode 100644 index 00000000..a21a33c5 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped.sql new file mode 100644 index 00000000..19799854 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_unwrapped +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet" +where amount_unwrapped is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..8eb72803 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp.sql new file mode 100644 index 00000000..a1b31f92 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_contract.sql new file mode 100644 index 00000000..55b8726c --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name.sql new file mode 100644 index 00000000..2d963ed9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected.sql new file mode 100644 index 00000000..a3a79122 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected.sql @@ -0,0 +1,11 @@ + + + + + + +select fees_collected +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet" +where fees_collected is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..b76840cd --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id.sql new file mode 100644 index 00000000..3e569c6d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash.sql new file mode 100644 index 00000000..71865a51 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..22c765f3 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp.sql new file mode 100644 index 00000000..17ebaf5a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_contract.sql new file mode 100644 index 00000000..28a33929 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_event_name.sql new file mode 100644 index 00000000..cc740cf6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected.sql new file mode 100644 index 00000000..26216ea6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected.sql @@ -0,0 +1,11 @@ + + + + + + +select fees_collected +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet" +where fees_collected is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..02ace243 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id.sql new file mode 100644 index 00000000..e7dc9185 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash.sql new file mode 100644 index 00000000..eb1f0eec --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_cancelled_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_cancelled_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..04f2b0c1 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_cancelled_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_cancelled_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_committed_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_committed_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..cb4c34c2 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_committed_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_settled_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_settled_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..44dcd5d2 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_settled_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_bought_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_bought_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..22de608b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_bought_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_registered_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_registered_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..33d86d0f --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_registered_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_sold_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_sold_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..dc1ea942 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_sold_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_unwrapped_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_unwrapped_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..71cec6bc --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_unwrapped_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_wrapped_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_wrapped_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..5cb60856 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_wrapped_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_cancelled_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_cancelled_arbitrum_mainnet.sql new file mode 100644 index 00000000..a4464bdc --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_cancelled_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."spot_market_proxy_event_order_cancelled" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_committed_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_committed_arbitrum_mainnet.sql new file mode 100644 index 00000000..fb18df25 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_committed_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."spot_market_proxy_event_order_committed" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_settled_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_settled_arbitrum_mainnet.sql new file mode 100644 index 00000000..dc377e3b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_settled_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."spot_market_proxy_event_order_settled" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_bought_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_bought_arbitrum_mainnet.sql new file mode 100644 index 00000000..9c22bbff --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_bought_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."spot_market_proxy_event_synth_bought" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_registered_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_registered_arbitrum_mainnet.sql new file mode 100644 index 00000000..0100469c --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_registered_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."spot_market_proxy_event_synth_registered" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_sold_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_sold_arbitrum_mainnet.sql new file mode 100644 index 00000000..e130a4cc --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_sold_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."spot_market_proxy_event_synth_sold" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_unwrapped_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_unwrapped_arbitrum_mainnet.sql new file mode 100644 index 00000000..de5c42b1 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_unwrapped_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."spot_market_proxy_event_synth_unwrapped" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_wrapped_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_wrapped_arbitrum_mainnet.sql new file mode 100644 index 00000000..bf62c3e8 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_wrapped_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."spot_market_proxy_event_synth_wrapped" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/blocks_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/blocks_arbitrum_sepolia.sql new file mode 100644 index 00000000..19d0eec1 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/blocks_arbitrum_sepolia.sql @@ -0,0 +1,38 @@ +WITH indexer_blocks AS ( + SELECT + "timestamp" AS ts, + CAST( + "number" AS INTEGER + ) AS block_number + FROM + "analytics"."raw_arbitrum_sepolia"."block" +), +parquet_blocks AS ( + SELECT + TO_TIMESTAMP("timestamp") AS ts, + CAST( + "block_number" AS INTEGER + ) AS block_number + FROM + "analytics"."raw_arbitrum_sepolia"."blocks_parquet" +), + +combined_blocks AS ( + SELECT + * + FROM + indexer_blocks + + UNION ALL + SELECT + * + FROM + parquet_blocks +) +SELECT + DISTINCT MIN(ts) AS ts, + block_number +FROM + combined_blocks +GROUP BY + block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_account_created_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_account_created_arbitrum_sepolia.sql new file mode 100644 index 00000000..e6e1a2e9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_account_created_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_account_created" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_delegation_updated_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_delegation_updated_arbitrum_sepolia.sql new file mode 100644 index 00000000..9952725a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_delegation_updated_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_delegation_updated" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_deposited_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_deposited_arbitrum_sepolia.sql new file mode 100644 index 00000000..52cac0c2 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_deposited_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_deposited" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_liquidation_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_liquidation_arbitrum_sepolia.sql new file mode 100644 index 00000000..e1278746 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_liquidation_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_liquidation" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_market_registered_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_market_registered_arbitrum_sepolia.sql new file mode 100644 index 00000000..5bc84ea5 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_market_registered_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_market_registered" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_market_updated_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_market_updated_arbitrum_sepolia.sql new file mode 100644 index 00000000..48f7bfdf --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_market_updated_arbitrum_sepolia.sql @@ -0,0 +1,103 @@ +WITH events AS ( + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_market_collateral_deposited" + + ) collateral_deposited + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_market_collateral_withdrawn" + + ) collateral_withdrawn + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_market_usd_deposited" + + ) usd_deposited + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_market_usd_withdrawn" + + ) usd_withdrawn +) +SELECT + * +FROM + events +ORDER BY + block_timestamp \ No newline at end of file diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_pool_created_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_pool_created_arbitrum_sepolia.sql new file mode 100644 index 00000000..427a6de7 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_pool_created_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_pool_created" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_rewards_claimed_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_rewards_claimed_arbitrum_sepolia.sql new file mode 100644 index 00000000..05680e64 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_rewards_claimed_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_rewards_claimed" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_rewards_distributed_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_rewards_distributed_arbitrum_sepolia.sql new file mode 100644 index 00000000..72fa7f64 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_rewards_distributed_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_rewards_distributed" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_usd_burned_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_usd_burned_arbitrum_sepolia.sql new file mode 100644 index 00000000..be349125 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_usd_burned_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_usd_burned" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_usd_minted_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_usd_minted_arbitrum_sepolia.sql new file mode 100644 index 00000000..bffec804 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_usd_minted_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_usd_minted" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_collateral_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_collateral_arbitrum_sepolia.sql new file mode 100644 index 00000000..57898cb6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_collateral_arbitrum_sepolia.sql @@ -0,0 +1,41 @@ +with base as ( + select + block_number, + contract_address, + chain_id, + pool_id, + collateral_type, + cast( + amount as numeric + ) as amount, + cast( + value as numeric + ) as collateral_value + from + "analytics"."raw_arbitrum_sepolia"."core_get_vault_collateral" + where + amount is not null +) + +select + to_timestamp(blocks.timestamp) as ts, + cast( + blocks.block_number as integer + ) as block_number, + base.contract_address, + cast( + base.pool_id as integer + ) as pool_id, + cast( + base.collateral_type as varchar + ) as collateral_type, + + base.amount / 1e18 + as amount, + + base.collateral_value / 1e18 + as collateral_value +from + base +inner join "analytics"."raw_arbitrum_sepolia"."blocks_parquet" as blocks + on base.block_number = blocks.block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_debt_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_debt_arbitrum_sepolia.sql new file mode 100644 index 00000000..0a5296e4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_debt_arbitrum_sepolia.sql @@ -0,0 +1,35 @@ +with base as ( + select + block_number, + contract_address, + chain_id, + pool_id, + collateral_type, + cast( + value_1 as numeric + ) as debt + from + "analytics"."raw_arbitrum_sepolia"."core_get_vault_debt" + where + value_1 is not null +) + +select + to_timestamp(blocks.timestamp) as ts, + cast( + blocks.block_number as integer + ) as block_number, + base.contract_address, + cast( + base.pool_id as integer + ) as pool_id, + cast( + base.collateral_type as varchar + ) as collateral_type, + + base.debt / 1e18 + as debt +from + base +inner join "analytics"."raw_arbitrum_sepolia"."blocks_parquet" as blocks + on base.block_number = blocks.block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_liquidation_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_liquidation_arbitrum_sepolia.sql new file mode 100644 index 00000000..6f4bf7d6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_liquidation_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_vault_liquidation" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_withdrawn_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_withdrawn_arbitrum_sepolia.sql new file mode 100644 index 00000000..c89eb5ce --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_withdrawn_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_withdrawn" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_account_c_7deddd78526590b6fcfe2d7cc7ffc229.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_account_c_7deddd78526590b6fcfe2d7cc7ffc229.sql new file mode 100644 index 00000000..bdb99b35 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_account_c_7deddd78526590b6fcfe2d7cc7ffc229.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_sepolia"."core_account_created_arbitrum_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'AccountCreated' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_delegatio_5725850bbca14a54c6e29ef720390e08.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_delegatio_5725850bbca14a54c6e29ef720390e08.sql new file mode 100644 index 00000000..6e596b5b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_delegatio_5725850bbca14a54c6e29ef720390e08.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'DelegationUpdated' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_deposited_3447f586ef0bedc98c0034a9029207a9.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_deposited_3447f586ef0bedc98c0034a9029207a9.sql new file mode 100644 index 00000000..bdf6b600 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_deposited_3447f586ef0bedc98c0034a9029207a9.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'Deposited' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_liquidati_b461cb0ce5ba60061680a38a20df3a2e.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_liquidati_b461cb0ce5ba60061680a38a20df3a2e.sql new file mode 100644 index 00000000..a427b031 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_liquidati_b461cb0ce5ba60061680a38a20df3a2e.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'Liquidation' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_market_re_20130db6dbec068215208cbe897b2b55.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_market_re_20130db6dbec068215208cbe897b2b55.sql new file mode 100644 index 00000000..74d81865 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_market_re_20130db6dbec068215208cbe897b2b55.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'MarketRegistered' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_market_up_b76a5504615718e4ffa3b776b6ea5c91.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_market_up_b76a5504615718e4ffa3b776b6ea5c91.sql new file mode 100644 index 00000000..226b99a4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_market_up_b76a5504615718e4ffa3b776b6ea5c91.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_pool_crea_a17eefdc7d24bce86f77b4966bf4e668.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_pool_crea_a17eefdc7d24bce86f77b4966bf4e668.sql new file mode 100644 index 00000000..715015ac --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_pool_crea_a17eefdc7d24bce86f77b4966bf4e668.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'PoolCreated' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_rewards_c_b4db4e792106976cb0bc53713ae3e798.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_rewards_c_b4db4e792106976cb0bc53713ae3e798.sql new file mode 100644 index 00000000..56af0905 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_rewards_c_b4db4e792106976cb0bc53713ae3e798.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'RewardsClaimed' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_rewards_d_c4d02664fe5fd73ad0cd08d90a45df93.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_rewards_d_c4d02664fe5fd73ad0cd08d90a45df93.sql new file mode 100644 index 00000000..2fbcf0cf --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_rewards_d_c4d02664fe5fd73ad0cd08d90a45df93.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'RewardsDistributed' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_usd_burne_8664ec3d1bb6c7da37f5a75513d3acd7.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_usd_burne_8664ec3d1bb6c7da37f5a75513d3acd7.sql new file mode 100644 index 00000000..99f0fc72 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_usd_burne_8664ec3d1bb6c7da37f5a75513d3acd7.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'UsdBurned' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_usd_minte_1bb63cf3c04acb8bfba2fe6ad729f0a4.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_usd_minte_1bb63cf3c04acb8bfba2fe6ad729f0a4.sql new file mode 100644 index 00000000..026339e2 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_usd_minte_1bb63cf3c04acb8bfba2fe6ad729f0a4.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'UsdMinted' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_vault_liq_06f5266a00ebf4484edc06365604ad77.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_vault_liq_06f5266a00ebf4484edc06365604ad77.sql new file mode 100644 index 00000000..db6c2500 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_vault_liq_06f5266a00ebf4484edc06365604ad77.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'VaultLiquidation' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_withdrawn_385bab233f89206ca427f62b7d61d652.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_withdrawn_385bab233f89206ca427f62b7d61d652.sql new file mode 100644 index 00000000..1fd3d4c6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_withdrawn_385bab233f89206ca427f62b7d61d652.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'Withdrawn' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__059e4866e10968bba36db62a8f9829b3.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__059e4866e10968bba36db62a8f9829b3.sql new file mode 100644 index 00000000..2dade987 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__059e4866e10968bba36db62a8f9829b3.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__0a00bf0bd627dd3eae2f47a6f7a05666.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__0a00bf0bd627dd3eae2f47a6f7a05666.sql new file mode 100644 index 00000000..afb1eb98 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__0a00bf0bd627dd3eae2f47a6f7a05666.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__157007dec7b1b2d22ad30881236c1034.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__157007dec7b1b2d22ad30881236c1034.sql new file mode 100644 index 00000000..8959251e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__157007dec7b1b2d22ad30881236c1034.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not token_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__180f62a360449136307cad82d3d275c2.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__180f62a360449136307cad82d3d275c2.sql new file mode 100644 index 00000000..bf037177 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__180f62a360449136307cad82d3d275c2.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__227dfefd0387eb2a49e4e51d7751b403.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__227dfefd0387eb2a49e4e51d7751b403.sql new file mode 100644 index 00000000..46473dfa --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__227dfefd0387eb2a49e4e51d7751b403.sql @@ -0,0 +1,22 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not leverage >= 1000000000000000000 + -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule. + or not leverage <= 1000000000000000000 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__273b8f3b9e78a44685ad78298bd5d2be.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__273b8f3b9e78a44685ad78298bd5d2be.sql new file mode 100644 index 00000000..bc0b8092 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__273b8f3b9e78a44685ad78298bd5d2be.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__2a1144bd3e844e07de9f804027a1907f.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__2a1144bd3e844e07de9f804027a1907f.sql new file mode 100644 index 00000000..976d6f70 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__2a1144bd3e844e07de9f804027a1907f.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__312126bbb7f0708207b65a92945e2d6a.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__312126bbb7f0708207b65a92945e2d6a.sql new file mode 100644 index 00000000..fff6fe82 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__312126bbb7f0708207b65a92945e2d6a.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not liquidate_as_account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__3407656309239400cccbdd372d1e7229.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__3407656309239400cccbdd372d1e7229.sql new file mode 100644 index 00000000..98729097 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__3407656309239400cccbdd372d1e7229.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not duration >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__37349c7a4b27e39f3e3de58d8f4d2064.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__37349c7a4b27e39f3e3de58d8f4d2064.sql new file mode 100644 index 00000000..41057b7c --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__37349c7a4b27e39f3e3de58d8f4d2064.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__3993674f5aef91e5ca368e8994926d90.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__3993674f5aef91e5ca368e8994926d90.sql new file mode 100644 index 00000000..6d9c6860 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__3993674f5aef91e5ca368e8994926d90.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not liquidate_as_account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__44c4075a3f7e8e57f4d5a999a7663ff1.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__44c4075a3f7e8e57f4d5a999a7663ff1.sql new file mode 100644 index 00000000..b7cc7d5d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__44c4075a3f7e8e57f4d5a999a7663ff1.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__4ae40b67211395d720c418bb146a39c3.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__4ae40b67211395d720c418bb146a39c3.sql new file mode 100644 index 00000000..8f8535e2 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__4ae40b67211395d720c418bb146a39c3.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__646ffddebcdfdc39eca01ef79c5888c3.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__646ffddebcdfdc39eca01ef79c5888c3.sql new file mode 100644 index 00000000..c55c481d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__646ffddebcdfdc39eca01ef79c5888c3.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__64f2c5fb0744e92501174644968cd5fb.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__64f2c5fb0744e92501174644968cd5fb.sql new file mode 100644 index 00000000..64bb440f --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__64f2c5fb0744e92501174644968cd5fb.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__65669fa37be963cd9f3e10b8bcee5519.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__65669fa37be963cd9f3e10b8bcee5519.sql new file mode 100644 index 00000000..55f0a513 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__65669fa37be963cd9f3e10b8bcee5519.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__67dac80f9dcdf38e14e2fbc6b32a6d83.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__67dac80f9dcdf38e14e2fbc6b32a6d83.sql new file mode 100644 index 00000000..978aed0d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__67dac80f9dcdf38e14e2fbc6b32a6d83.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not token_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__6e9e2ae1310a4e2c125a94e925ab5ce8.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__6e9e2ae1310a4e2c125a94e925ab5ce8.sql new file mode 100644 index 00000000..32586e43 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__6e9e2ae1310a4e2c125a94e925ab5ce8.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collateral_value >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__6f091bc88ed9f23de9917bc273b6c6bd.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__6f091bc88ed9f23de9917bc273b6c6bd.sql new file mode 100644 index 00000000..f24c06de --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__6f091bc88ed9f23de9917bc273b6c6bd.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__792273c8e527e5b1b36e4666a5d0ee23.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__792273c8e527e5b1b36e4666a5d0ee23.sql new file mode 100644 index 00000000..52c6dc62 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__792273c8e527e5b1b36e4666a5d0ee23.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_debt_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__90868842c54bde794fa0177f8b525764.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__90868842c54bde794fa0177f8b525764.sql new file mode 100644 index 00000000..cc347ecf --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__90868842c54bde794fa0177f8b525764.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__95bf5faf485a2814ae3e7010fcdd5245.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__95bf5faf485a2814ae3e7010fcdd5245.sql new file mode 100644 index 00000000..02f4a3f6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__95bf5faf485a2814ae3e7010fcdd5245.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__95ee130683b78a9a686d13557b8da0df.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__95ee130683b78a9a686d13557b8da0df.sql new file mode 100644 index 00000000..92948c7a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__95ee130683b78a9a686d13557b8da0df.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__9d012abc2b4be45d3e97e9202dc66a1c.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__9d012abc2b4be45d3e97e9202dc66a1c.sql new file mode 100644 index 00000000..e7a4b58c --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__9d012abc2b4be45d3e97e9202dc66a1c.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not deposited_collateral_value >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ac48ca95f58e2993da96dd57dd4ad254.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ac48ca95f58e2993da96dd57dd4ad254.sql new file mode 100644 index 00000000..be00ddb0 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ac48ca95f58e2993da96dd57dd4ad254.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__af1c1b7dc2e89ddcc80a7182014097c9.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__af1c1b7dc2e89ddcc80a7182014097c9.sql new file mode 100644 index 00000000..7c0b9964 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__af1c1b7dc2e89ddcc80a7182014097c9.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b697698686fcde3c8868f6ddae12ac0a.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b697698686fcde3c8868f6ddae12ac0a.sql new file mode 100644 index 00000000..3562dd9d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b697698686fcde3c8868f6ddae12ac0a.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c0e93e66fb32a059c914f202325f04b9.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c0e93e66fb32a059c914f202325f04b9.sql new file mode 100644 index 00000000..717c28e3 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c0e93e66fb32a059c914f202325f04b9.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c4751eb754fdeafc806c3c5daee5eec0.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c4751eb754fdeafc806c3c5daee5eec0.sql new file mode 100644 index 00000000..9cb9f77f --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c4751eb754fdeafc806c3c5daee5eec0.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not token_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c649dd36588419f649cb77ff64dde320.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c649dd36588419f649cb77ff64dde320.sql new file mode 100644 index 00000000..3fa3a192 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c649dd36588419f649cb77ff64dde320.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__cfa1da681108928e241342bb92348089.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__cfa1da681108928e241342bb92348089.sql new file mode 100644 index 00000000..f0c5dcfd --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__cfa1da681108928e241342bb92348089.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__d39651506f1030eacebe3ec3c822ec64.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__d39651506f1030eacebe3ec3c822ec64.sql new file mode 100644 index 00000000..6c1e403d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__d39651506f1030eacebe3ec3c822ec64.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__d3c170d9b1af1c90f03d4a7ddd481a8a.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__d3c170d9b1af1c90f03d4a7ddd481a8a.sql new file mode 100644 index 00000000..c1de4bb9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__d3c170d9b1af1c90f03d4a7ddd481a8a.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_account_created_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__fc42306ae34220c01d6a0ae29644bf2f.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__fc42306ae34220c01d6a0ae29644bf2f.sql new file mode 100644 index 00000000..7f726208 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__fc42306ae34220c01d6a0ae29644bf2f.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_account_id.sql new file mode 100644 index 00000000..26423df1 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_arbitrum_sepolia"."core_account_created_arbitrum_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..a26ef42a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_sepolia"."core_account_created_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_block_timestamp.sql new file mode 100644 index 00000000..4411c671 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_sepolia"."core_account_created_arbitrum_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_contract.sql new file mode 100644 index 00000000..999f2702 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_sepolia"."core_account_created_arbitrum_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_event_name.sql new file mode 100644 index 00000000..cf02ac53 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_sepolia"."core_account_created_arbitrum_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..845aab41 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_account_created_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_owner.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_owner.sql new file mode 100644 index 00000000..5dd99d1b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_owner.sql @@ -0,0 +1,11 @@ + + + + + + +select owner +from "analytics"."prod_raw_arbitrum_sepolia"."core_account_created_arbitrum_sepolia" +where owner is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_transaction_hash.sql new file mode 100644 index 00000000..dc4efbee --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_sepolia"."core_account_created_arbitrum_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updat_1d8fb505dff149b0a79d18d14d459cb0.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updat_1d8fb505dff149b0a79d18d14d459cb0.sql new file mode 100644 index 00000000..e12d57fb --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updat_1d8fb505dff149b0a79d18d14d459cb0.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updat_f5c10a02007f076c72c065e66ac6c125.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updat_f5c10a02007f076c72c065e66ac6c125.sql new file mode 100644 index 00000000..3692951e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updat_f5c10a02007f076c72c065e66ac6c125.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updat_fced6f6a07ae6cf4cc4ca4aec59538e9.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updat_fced6f6a07ae6cf4cc4ca4aec59538e9.sql new file mode 100644 index 00000000..2fbf4261 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updat_fced6f6a07ae6cf4cc4ca4aec59538e9.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_account_id.sql new file mode 100644 index 00000000..cd080dda --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_amount.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_amount.sql new file mode 100644 index 00000000..bb8103b7 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia" +where amount is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..4657b8ba --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_contract.sql new file mode 100644 index 00000000..0c54890d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_event_name.sql new file mode 100644 index 00000000..49fdfc5e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..8e3489a4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_leverage.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_leverage.sql new file mode 100644 index 00000000..063b7539 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_leverage.sql @@ -0,0 +1,11 @@ + + + + + + +select leverage +from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia" +where leverage is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_pool_id.sql new file mode 100644 index 00000000..c1e26f41 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_sender.sql new file mode 100644 index 00000000..b9254791 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_account_id.sql new file mode 100644 index 00000000..fd8f5788 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..e11d403a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_block_timestamp.sql new file mode 100644 index 00000000..d95a6d36 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_collateral_type.sql new file mode 100644 index 00000000..fe6006cb --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_contract.sql new file mode 100644 index 00000000..4d4c43a9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_event_name.sql new file mode 100644 index 00000000..e228a8ff --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..dc6dbf92 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_sender.sql new file mode 100644 index 00000000..c2acb238 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_token_amount.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_token_amount.sql new file mode 100644 index 00000000..0f0bc49c --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_token_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select token_amount +from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia" +where token_amount is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_transaction_hash.sql new file mode 100644 index 00000000..b13566fb --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbi_16feddd4f091f1c8b33b9fc2c628662a.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbi_16feddd4f091f1c8b33b9fc2c628662a.sql new file mode 100644 index 00000000..5f5991cb --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbi_16feddd4f091f1c8b33b9fc2c628662a.sql @@ -0,0 +1,11 @@ + + + + + + +select liquidate_as_account_id +from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia" +where liquidate_as_account_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_account_id.sql new file mode 100644 index 00000000..ffbc9bd9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..0056ee29 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_block_timestamp.sql new file mode 100644 index 00000000..29444c62 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_collateral_type.sql new file mode 100644 index 00000000..d8435fe4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_contract.sql new file mode 100644 index 00000000..95ad5c52 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_event_name.sql new file mode 100644 index 00000000..4cc3a2f9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..451cc12e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_pool_id.sql new file mode 100644 index 00000000..6dbc1421 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_sender.sql new file mode 100644 index 00000000..1beba91f --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_transaction_hash.sql new file mode 100644 index 00000000..20fa8123 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registere_b02c7bb3e6bd5839f3bc17265cd86d25.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registere_b02c7bb3e6bd5839f3bc17265cd86d25.sql new file mode 100644 index 00000000..62f96040 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registere_b02c7bb3e6bd5839f3bc17265cd86d25.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registere_c57a86870f109ad96c0d360987a8207c.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registere_c57a86870f109ad96c0d360987a8207c.sql new file mode 100644 index 00000000..3e0ef59a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registere_c57a86870f109ad96c0d360987a8207c.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..b72bc672 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_contract.sql new file mode 100644 index 00000000..4a57cffc --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_event_name.sql new file mode 100644 index 00000000..6abe0272 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..31912abf --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_market.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_market.sql new file mode 100644 index 00000000..b22511d0 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_market.sql @@ -0,0 +1,11 @@ + + + + + + +select market +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia" +where market is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_market_id.sql new file mode 100644 index 00000000..f8ff3618 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_sender.sql new file mode 100644 index 00000000..cf78e5d8 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_a_f6b087458c0e22c04274bb81951dc41b.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_a_f6b087458c0e22c04274bb81951dc41b.sql new file mode 100644 index 00000000..1bf28e4a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_a_f6b087458c0e22c04274bb81951dc41b.sql @@ -0,0 +1,11 @@ + + + + + + +select deposited_collateral_value +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia" +where deposited_collateral_value is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..06d63e67 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_block_timestamp.sql new file mode 100644 index 00000000..aaf3ee5b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_collateral_type.sql new file mode 100644 index 00000000..df85bbf5 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_contract.sql new file mode 100644 index 00000000..b1363023 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_credit_capacity.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_credit_capacity.sql new file mode 100644 index 00000000..7d0a942b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_credit_capacity.sql @@ -0,0 +1,11 @@ + + + + + + +select credit_capacity +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia" +where credit_capacity is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_event_name.sql new file mode 100644 index 00000000..5b8a216c --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..960c2c6e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_market_id.sql new file mode 100644 index 00000000..ffb540cf --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_net_issuance.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_net_issuance.sql new file mode 100644 index 00000000..bce97bd1 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_net_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select net_issuance +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia" +where net_issuance is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_sender.sql new file mode 100644 index 00000000..592a238c --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_token_amount.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_token_amount.sql new file mode 100644 index 00000000..6231b9ad --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_token_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select token_amount +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia" +where token_amount is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_transaction_hash.sql new file mode 100644 index 00000000..2bc9a320 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..28ee4c44 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_block_timestamp.sql new file mode 100644 index 00000000..a0d1e8cc --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_contract.sql new file mode 100644 index 00000000..dfbd4e16 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_event_name.sql new file mode 100644 index 00000000..9bcadcdc --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..aa3cfec3 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_owner.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_owner.sql new file mode 100644 index 00000000..66966c9c --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_owner.sql @@ -0,0 +1,11 @@ + + + + + + +select owner +from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia" +where owner is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_pool_id.sql new file mode 100644 index 00000000..b36b5e1d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_sender.sql new file mode 100644 index 00000000..7e5976be --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_transaction_hash.sql new file mode 100644 index 00000000..4b7ef2a0 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_account_id.sql new file mode 100644 index 00000000..47f5dbad --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_amount.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_amount.sql new file mode 100644 index 00000000..d2f00bf8 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia" +where amount is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..3799c78e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp.sql new file mode 100644 index 00000000..295a3848 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type.sql new file mode 100644 index 00000000..9ecedd64 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_contract.sql new file mode 100644 index 00000000..013fc687 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_distributor.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_distributor.sql new file mode 100644 index 00000000..89675efd --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_distributor.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia" +where distributor is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_event_name.sql new file mode 100644 index 00000000..72934157 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..416f245a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_pool_id.sql new file mode 100644 index 00000000..e1018f73 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash.sql new file mode 100644 index 00000000..a07d5f07 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distribu_141ce5a090bb2655851c64ccf521f1c3.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distribu_141ce5a090bb2655851c64ccf521f1c3.sql new file mode 100644 index 00000000..4cbbcdc6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distribu_141ce5a090bb2655851c64ccf521f1c3.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distribu_d358d4d6fc350302f646e173f81553fa.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distribu_d358d4d6fc350302f646e173f81553fa.sql new file mode 100644 index 00000000..87118470 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distribu_d358d4d6fc350302f646e173f81553fa.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distribu_f554e6fcd674a4f91521cfda5e60dd7f.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distribu_f554e6fcd674a4f91521cfda5e60dd7f.sql new file mode 100644 index 00000000..a795ab57 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distribu_f554e6fcd674a4f91521cfda5e60dd7f.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_amount.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_amount.sql new file mode 100644 index 00000000..903693d6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia" +where amount is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..656d1324 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_contract.sql new file mode 100644 index 00000000..d155efd2 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_distributor.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_distributor.sql new file mode 100644 index 00000000..27df30f1 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_distributor.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia" +where distributor is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_duration.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_duration.sql new file mode 100644 index 00000000..5346f80d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_duration.sql @@ -0,0 +1,11 @@ + + + + + + +select duration +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia" +where duration is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_event_name.sql new file mode 100644 index 00000000..6bafe216 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..8a5fb9b9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_pool_id.sql new file mode 100644 index 00000000..29742f0a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_account_id.sql new file mode 100644 index 00000000..84815c2a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_amount.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_amount.sql new file mode 100644 index 00000000..760b7ea1 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia" +where amount is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..7e4edd72 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_block_timestamp.sql new file mode 100644 index 00000000..b5ddb64d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_collateral_type.sql new file mode 100644 index 00000000..4991340b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_contract.sql new file mode 100644 index 00000000..8998e6a8 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_event_name.sql new file mode 100644 index 00000000..375a5b57 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..3795fef0 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_pool_id.sql new file mode 100644 index 00000000..5215a8ea --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_sender.sql new file mode 100644 index 00000000..2669422f --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_transaction_hash.sql new file mode 100644 index 00000000..1a3eee98 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_account_id.sql new file mode 100644 index 00000000..2436a8e1 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_amount.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_amount.sql new file mode 100644 index 00000000..39c13565 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia" +where amount is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..a21be4fc --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_block_timestamp.sql new file mode 100644 index 00000000..fd0d2111 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_collateral_type.sql new file mode 100644 index 00000000..3be6a1bd --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_contract.sql new file mode 100644 index 00000000..e0eb9189 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_event_name.sql new file mode 100644 index 00000000..b2e7e242 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..e21809b7 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_pool_id.sql new file mode 100644 index 00000000..e653e832 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_sender.sql new file mode 100644 index 00000000..e1e4622e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_transaction_hash.sql new file mode 100644 index 00000000..7d57a7bd --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_30e3cc1f32a7c29bc10fb8b0f5d20d15.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_30e3cc1f32a7c29bc10fb8b0f5d20d15.sql new file mode 100644 index 00000000..07d5eac0 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_30e3cc1f32a7c29bc10fb8b0f5d20d15.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_value +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia" +where collateral_value is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_4bd9ecf367855f7e41dffdb9f577c757.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_4bd9ecf367855f7e41dffdb9f577c757.sql new file mode 100644 index 00000000..12e289c0 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_4bd9ecf367855f7e41dffdb9f577c757.sql @@ -0,0 +1,11 @@ + + + + + + +select contract_address +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia" +where contract_address is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_amount.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_amount.sql new file mode 100644 index 00000000..3ef0557e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia" +where amount is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..faec918c --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_collateral_type.sql new file mode 100644 index 00000000..f3a3e76a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_pool_id.sql new file mode 100644 index 00000000..c9ca3911 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_ts.sql new file mode 100644 index 00000000..8efc69c4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..1632ee51 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_debt_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_collateral_type.sql new file mode 100644 index 00000000..e39ab6dc --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_debt_arbitrum_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_contract_address.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_contract_address.sql new file mode 100644 index 00000000..3bd8d810 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_contract_address.sql @@ -0,0 +1,11 @@ + + + + + + +select contract_address +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_debt_arbitrum_sepolia" +where contract_address is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_debt.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_debt.sql new file mode 100644 index 00000000..09af222d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_debt.sql @@ -0,0 +1,11 @@ + + + + + + +select debt +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_debt_arbitrum_sepolia" +where debt is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_pool_id.sql new file mode 100644 index 00000000..3805c267 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_debt_arbitrum_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_ts.sql new file mode 100644 index 00000000..abb30d42 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_debt_arbitrum_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_3e2565718ac00c290af7457ec26b233c.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_3e2565718ac00c290af7457ec26b233c.sql new file mode 100644 index 00000000..f51f1394 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_3e2565718ac00c290af7457ec26b233c.sql @@ -0,0 +1,11 @@ + + + + + + +select liquidate_as_account_id +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia" +where liquidate_as_account_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_66ecc7fe1d37c1d9697b7dac6b89c3dc.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_66ecc7fe1d37c1d9697b7dac6b89c3dc.sql new file mode 100644 index 00000000..53d54158 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_66ecc7fe1d37c1d9697b7dac6b89c3dc.sql @@ -0,0 +1,11 @@ + + + + + + +select liquidation_data +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia" +where liquidation_data is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_8474e116a366423f34bd32de6582bf97.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_8474e116a366423f34bd32de6582bf97.sql new file mode 100644 index 00000000..f103f013 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_8474e116a366423f34bd32de6582bf97.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_a99c3c61e60ac85e0d2bbd5f4d091507.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_a99c3c61e60ac85e0d2bbd5f4d091507.sql new file mode 100644 index 00000000..075587cc --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_a99c3c61e60ac85e0d2bbd5f4d091507.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_b5e91954c312abdf474f65aa83e48506.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_b5e91954c312abdf474f65aa83e48506.sql new file mode 100644 index 00000000..0368bfd1 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_b5e91954c312abdf474f65aa83e48506.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..e6cd2eac --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_contract.sql new file mode 100644 index 00000000..b5ea652c --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_event_name.sql new file mode 100644 index 00000000..cfa407e9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..6a3921b2 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_pool_id.sql new file mode 100644 index 00000000..bc45c1f5 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_sender.sql new file mode 100644 index 00000000..81c78d69 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_account_id.sql new file mode 100644 index 00000000..333e7284 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..ff0dd052 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_block_timestamp.sql new file mode 100644 index 00000000..a8bf5268 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_collateral_type.sql new file mode 100644 index 00000000..599c4472 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_contract.sql new file mode 100644 index 00000000..7ffb0a6a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_event_name.sql new file mode 100644 index 00000000..d041db4f --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..4ce100c2 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_sender.sql new file mode 100644 index 00000000..102575ee --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_token_amount.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_token_amount.sql new file mode 100644 index 00000000..55e8b63a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_token_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select token_amount +from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia" +where token_amount is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_transaction_hash.sql new file mode 100644 index 00000000..c3ce0420 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_account_created_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_account_created_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..4c1765eb --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_account_created_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_account_created_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_delegation_updated_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_delegation_updated_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..0fe87b23 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_delegation_updated_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_deposited_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_deposited_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..2dca64f9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_deposited_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_liquidation_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_liquidation_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..251d4754 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_liquidation_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_registered_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_registered_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..992f215d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_registered_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_registered_arbitrum_sepolia_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_registered_arbitrum_sepolia_market_id.sql new file mode 100644 index 00000000..0803760a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_registered_arbitrum_sepolia_market_id.sql @@ -0,0 +1,14 @@ + + + + +select + market_id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia" +where market_id is not null +group by market_id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_updated_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_updated_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..7e395bd7 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_updated_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_pool_created_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_pool_created_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..01b0a8f4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_pool_created_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_rewards_claimed_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_rewards_claimed_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..ac6c6e7b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_rewards_claimed_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_rewards_distributed_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_rewards_distributed_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..ac19a3e4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_rewards_distributed_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_usd_burned_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_usd_burned_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..cce5af62 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_usd_burned_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_usd_minted_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_usd_minted_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..1ab85e68 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_usd_minted_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_vault_liquidation_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_vault_liquidation_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..9246fc01 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_vault_liquidation_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_withdrawn_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_withdrawn_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..7f1178ca --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_withdrawn_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1.sql new file mode 100644 index 00000000..71a21ff1 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1.sql @@ -0,0 +1,38 @@ + + + + + + + +with recency as ( + + select + + + + max(ts) as most_recent + + from "analytics"."prod_raw_arbitrum_sepolia"."blocks_arbitrum_sepolia" + + + +) + +select + + + most_recent, + cast( + + now() + ((interval '1 hour') * (-1)) + + as timestamp) as threshold + +from recency +where most_recent < cast( + + now() + ((interval '1 hour') * (-1)) + + as timestamp) + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/not_null_blocks_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/not_null_blocks_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..b9bed7e3 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/not_null_blocks_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_sepolia"."blocks_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/unique_blocks_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/unique_blocks_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..ca1da035 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/unique_blocks_arbitrum_sepolia_block_number.sql @@ -0,0 +1,14 @@ + + + + +select + block_number as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."blocks_arbitrum_sepolia" +where block_number is not null +group by block_number +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_order_can_d0329823473c419f7712d186d7b5e498.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_order_can_d0329823473c419f7712d186d7b5e498.sql new file mode 100644 index 00000000..8608d034 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_order_can_d0329823473c419f7712d186d7b5e498.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_cancelled_arbitrum_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'OrderCancelled' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_order_com_7c9b04e5bbdb951246b0c9844010bbc6.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_order_com_7c9b04e5bbdb951246b0c9844010bbc6.sql new file mode 100644 index 00000000..5e0b49f2 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_order_com_7c9b04e5bbdb951246b0c9844010bbc6.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'OrderCommitted' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_order_set_e481e38872a1c89532855e5ebae95f7f.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_order_set_e481e38872a1c89532855e5ebae95f7f.sql new file mode 100644 index 00000000..ea9464b8 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_order_set_e481e38872a1c89532855e5ebae95f7f.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'OrderSettled' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_bou_1c39f8fe0d97b36e91f7b53ed95d2a10.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_bou_1c39f8fe0d97b36e91f7b53ed95d2a10.sql new file mode 100644 index 00000000..8a802d91 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_bou_1c39f8fe0d97b36e91f7b53ed95d2a10.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'SynthBought' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_reg_0336e663d10f4ca4b2e33c83cf05eaec.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_reg_0336e663d10f4ca4b2e33c83cf05eaec.sql new file mode 100644 index 00000000..7a71535a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_reg_0336e663d10f4ca4b2e33c83cf05eaec.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'SynthRegistered' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_sol_d9a0bcb42697942066d52485de1a1b5e.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_sol_d9a0bcb42697942066d52485de1a1b5e.sql new file mode 100644 index 00000000..0ad74874 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_sol_d9a0bcb42697942066d52485de1a1b5e.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'SynthSold' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_unw_5059cd55122eebf2fb18a70d62ded865.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_unw_5059cd55122eebf2fb18a70d62ded865.sql new file mode 100644 index 00000000..c3b4c5d7 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_unw_5059cd55122eebf2fb18a70d62ded865.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'SynthUnwrapped' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_wra_6aa8a879b7bf7c59378d8ed42dff1697.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_wra_6aa8a879b7bf7c59378d8ed42dff1697.sql new file mode 100644 index 00000000..1eea2984 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_wra_6aa8a879b7bf7c59378d8ed42dff1697.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'SynthWrapped' +) + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__0888c7458ff5876cced73d9a0ba1959c.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__0888c7458ff5876cced73d9a0ba1959c.sql new file mode 100644 index 00000000..4f551d70 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__0888c7458ff5876cced73d9a0ba1959c.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__0ad36d3fa0b33a07759a4860000a9f5f.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__0ad36d3fa0b33a07759a4860000a9f5f.sql new file mode 100644 index 00000000..b95b517e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__0ad36d3fa0b33a07759a4860000a9f5f.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__2285c31b6c2a1bb99689a0bc568960ad.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__2285c31b6c2a1bb99689a0bc568960ad.sql new file mode 100644 index 00000000..bc4ca942 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__2285c31b6c2a1bb99689a0bc568960ad.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not fees_collected >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__25ac38788b40f14b3b8c8c523ac5482c.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__25ac38788b40f14b3b8c8c523ac5482c.sql new file mode 100644 index 00000000..f3530c9e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__25ac38788b40f14b3b8c8c523ac5482c.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__2e848fb90f5ce4223805616c1e8de0ea.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__2e848fb90f5ce4223805616c1e8de0ea.sql new file mode 100644 index 00000000..2cfde8e4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__2e848fb90f5ce4223805616c1e8de0ea.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_cancelled_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__3999a4f439b69d2d791e17ef8117b4b7.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__3999a4f439b69d2d791e17ef8117b4b7.sql new file mode 100644 index 00000000..84333352 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__3999a4f439b69d2d791e17ef8117b4b7.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__43a3fa02c5bf4f1b6e2d8a42aa072f09.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__43a3fa02c5bf4f1b6e2d8a42aa072f09.sql new file mode 100644 index 00000000..16c4ea45 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__43a3fa02c5bf4f1b6e2d8a42aa072f09.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_returned >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4701c94b1c8e345374139f3eba28b34f.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4701c94b1c8e345374139f3eba28b34f.sql new file mode 100644 index 00000000..0244151b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4701c94b1c8e345374139f3eba28b34f.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4a73de204b1dfcf91618b24d0ead6352.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4a73de204b1dfcf91618b24d0ead6352.sql new file mode 100644 index 00000000..21787114 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4a73de204b1dfcf91618b24d0ead6352.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not final_order_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4c6d95c8e2708f1280d840b1803355d8.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4c6d95c8e2708f1280d840b1803355d8.sql new file mode 100644 index 00000000..5fcaa630 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4c6d95c8e2708f1280d840b1803355d8.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__56d8991577d08d939e2ea1986046da54.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__56d8991577d08d939e2ea1986046da54.sql new file mode 100644 index 00000000..c1342536 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__56d8991577d08d939e2ea1986046da54.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collected_fees >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__5a34291a71efb29313103eb39bf2892c.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__5a34291a71efb29313103eb39bf2892c.sql new file mode 100644 index 00000000..6b6b82cc --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__5a34291a71efb29313103eb39bf2892c.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_provided >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__6c0549b03b360d8cf75cf8b1c2153f8e.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__6c0549b03b360d8cf75cf8b1c2153f8e.sql new file mode 100644 index 00000000..616b8256 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__6c0549b03b360d8cf75cf8b1c2153f8e.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collected_fees >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__76a041fe88b59c30757024b4b5b64da1.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__76a041fe88b59c30757024b4b5b64da1.sql new file mode 100644 index 00000000..6c9e19d1 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__76a041fe88b59c30757024b4b5b64da1.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__8d9f8de76c5b68ce5a80ebfa99b18292.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__8d9f8de76c5b68ce5a80ebfa99b18292.sql new file mode 100644 index 00000000..c2a6a031 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__8d9f8de76c5b68ce5a80ebfa99b18292.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not fees_collected >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__a7cec5df7d3e44ee4aee7a99c592f863.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__a7cec5df7d3e44ee4aee7a99c592f863.sql new file mode 100644 index 00000000..40ef7eba --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__a7cec5df7d3e44ee4aee7a99c592f863.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_unwrapped >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__bff2bd10b1ca34eec54bf964bae4a98c.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__bff2bd10b1ca34eec54bf964bae4a98c.sql new file mode 100644 index 00000000..b005e87a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__bff2bd10b1ca34eec54bf964bae4a98c.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__cc020e7eff85ce396580d951c708f473.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__cc020e7eff85ce396580d951c708f473.sql new file mode 100644 index 00000000..9e8940ba --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__cc020e7eff85ce396580d951c708f473.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collected_fees >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__ec6b539a91243fffbbaaa70b65f8ea55.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__ec6b539a91243fffbbaaa70b65f8ea55.sql new file mode 100644 index 00000000..a91c5d30 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__ec6b539a91243fffbbaaa70b65f8ea55.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__fddc9ab15032c2b01e4f5a2d714abd05.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__fddc9ab15032c2b01e4f5a2d714abd05.sql new file mode 100644 index 00000000..a3828fcf --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__fddc9ab15032c2b01e4f5a2d714abd05.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..720c104a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_cancelled_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp.sql new file mode 100644 index 00000000..75d03760 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_cancelled_arbitrum_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_contract.sql new file mode 100644 index 00000000..e89be3ce --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_cancelled_arbitrum_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_event_name.sql new file mode 100644 index 00000000..1e3572ba --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_cancelled_arbitrum_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..b3e027ae --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_cancelled_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_market_id.sql new file mode 100644 index 00000000..07c9b5dd --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_cancelled_arbitrum_sepolia" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_sender.sql new file mode 100644 index 00000000..2a539db1 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_cancelled_arbitrum_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash.sql new file mode 100644 index 00000000..4a201927 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_cancelled_arbitrum_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_amount_provided.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_amount_provided.sql new file mode 100644 index 00000000..226ad6dc --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_amount_provided.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_provided +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia" +where amount_provided is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..ecff544e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_block_timestamp.sql new file mode 100644 index 00000000..705a2aed --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_contract.sql new file mode 100644 index 00000000..dd64ef0d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_event_name.sql new file mode 100644 index 00000000..7a7c08d5 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..599fa280 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_market_id.sql new file mode 100644 index 00000000..9c0438e7 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_order_type.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_order_type.sql new file mode 100644 index 00000000..473be20e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_order_type.sql @@ -0,0 +1,11 @@ + + + + + + +select order_type +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia" +where order_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_referrer.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_referrer.sql new file mode 100644 index 00000000..71325e01 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_referrer.sql @@ -0,0 +1,11 @@ + + + + + + +select referrer +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia" +where referrer is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_sender.sql new file mode 100644 index 00000000..240688d3 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_transaction_hash.sql new file mode 100644 index 00000000..3cd321b9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..2ebad079 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_block_timestamp.sql new file mode 100644 index 00000000..ca3e85a6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_collected_fees.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_collected_fees.sql new file mode 100644 index 00000000..f1462337 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_collected_fees.sql @@ -0,0 +1,11 @@ + + + + + + +select collected_fees +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia" +where collected_fees is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_contract.sql new file mode 100644 index 00000000..d74d809d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_event_name.sql new file mode 100644 index 00000000..c9de320e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..cbee23ac --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_market_id.sql new file mode 100644 index 00000000..368624ce --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_order_type.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_order_type.sql new file mode 100644 index 00000000..fea1e6c5 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_order_type.sql @@ -0,0 +1,11 @@ + + + + + + +select order_type +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia" +where order_type is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_price.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_price.sql new file mode 100644 index 00000000..20fa990b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia" +where price is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_settler.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_settler.sql new file mode 100644 index 00000000..f3f25e6e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_settler.sql @@ -0,0 +1,11 @@ + + + + + + +select settler +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia" +where settler is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_transaction_hash.sql new file mode 100644 index 00000000..60529f96 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..fd035ec6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp.sql new file mode 100644 index 00000000..b8677ccf --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_collected_fees.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_collected_fees.sql new file mode 100644 index 00000000..0253b801 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_collected_fees.sql @@ -0,0 +1,11 @@ + + + + + + +select collected_fees +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia" +where collected_fees is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_contract.sql new file mode 100644 index 00000000..c830aab9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_event_name.sql new file mode 100644 index 00000000..79d90470 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..2e82a7f6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_price.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_price.sql new file mode 100644 index 00000000..32ba058a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia" +where price is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_referrer.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_referrer.sql new file mode 100644 index 00000000..5d762ea4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_referrer.sql @@ -0,0 +1,11 @@ + + + + + + +select referrer +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia" +where referrer is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id.sql new file mode 100644 index 00000000..a8eccdca --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash.sql new file mode 100644 index 00000000..bff7fd77 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_2fb01859ed6fb2d73c15c31bcb3fc105.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_2fb01859ed6fb2d73c15c31bcb3fc105.sql new file mode 100644 index 00000000..38cf1f37 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_2fb01859ed6fb2d73c15c31bcb3fc105.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_token_address +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia" +where synth_token_address is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_6da863fc8d9528f5a1874d8fcd090533.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_6da863fc8d9528f5a1874d8fcd090533.sql new file mode 100644 index 00000000..154404c8 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_6da863fc8d9528f5a1874d8fcd090533.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..a2b262a7 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp.sql new file mode 100644 index 00000000..012b461e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_contract.sql new file mode 100644 index 00000000..747325ef --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_event_name.sql new file mode 100644 index 00000000..61a97fbf --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..6921f6e0 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id.sql new file mode 100644 index 00000000..0c6113b0 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_amount_returned.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_amount_returned.sql new file mode 100644 index 00000000..6ce26587 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_amount_returned.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_returned +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia" +where amount_returned is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..b788ca9d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp.sql new file mode 100644 index 00000000..75064c90 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_collected_fees.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_collected_fees.sql new file mode 100644 index 00000000..7dceebc7 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_collected_fees.sql @@ -0,0 +1,11 @@ + + + + + + +select collected_fees +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia" +where collected_fees is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_contract.sql new file mode 100644 index 00000000..0be790ca --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_event_name.sql new file mode 100644 index 00000000..92827381 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..cc5cfa08 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_price.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_price.sql new file mode 100644 index 00000000..f6f79da6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia" +where price is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_referrer.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_referrer.sql new file mode 100644 index 00000000..c3bce919 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_referrer.sql @@ -0,0 +1,11 @@ + + + + + + +select referrer +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia" +where referrer is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id.sql new file mode 100644 index 00000000..2de31da6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash.sql new file mode 100644 index 00000000..ca4dbcf9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped.sql new file mode 100644 index 00000000..787bb248 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_unwrapped +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia" +where amount_unwrapped is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..15847e94 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp.sql new file mode 100644 index 00000000..86deaa6c --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_contract.sql new file mode 100644 index 00000000..7f4779e3 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name.sql new file mode 100644 index 00000000..396f8707 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected.sql new file mode 100644 index 00000000..f1112010 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected.sql @@ -0,0 +1,11 @@ + + + + + + +select fees_collected +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia" +where fees_collected is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..6e1c6926 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id.sql new file mode 100644 index 00000000..29cb36df --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash.sql new file mode 100644 index 00000000..ecc0bc75 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..26954513 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp.sql new file mode 100644 index 00000000..b844a984 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_contract.sql new file mode 100644 index 00000000..ec34b06b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_event_name.sql new file mode 100644 index 00000000..a1dbfb75 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected.sql new file mode 100644 index 00000000..5d54a092 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected.sql @@ -0,0 +1,11 @@ + + + + + + +select fees_collected +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia" +where fees_collected is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..b358bb9c --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id.sql new file mode 100644 index 00000000..907973aa --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash.sql new file mode 100644 index 00000000..afa02e4a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_cancelled_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_cancelled_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..a552d606 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_cancelled_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_cancelled_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_committed_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_committed_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..43fde250 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_committed_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_settled_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_settled_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..02e8828e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_settled_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_bought_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_bought_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..9eb89a10 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_bought_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_registered_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_registered_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..4d778e6e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_registered_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_sold_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_sold_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..297182dc --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_sold_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_unwrapped_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_unwrapped_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..5d86e5b1 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_unwrapped_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_wrapped_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_wrapped_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..94e443bb --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_wrapped_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_cancelled_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_cancelled_arbitrum_sepolia.sql new file mode 100644 index 00000000..028810a1 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_cancelled_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."spot_market_proxy_event_order_cancelled" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_committed_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_committed_arbitrum_sepolia.sql new file mode 100644 index 00000000..860e6484 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_committed_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."spot_market_proxy_event_order_committed" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_settled_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_settled_arbitrum_sepolia.sql new file mode 100644 index 00000000..e5cac981 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_settled_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."spot_market_proxy_event_order_settled" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_bought_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_bought_arbitrum_sepolia.sql new file mode 100644 index 00000000..b63bbe5a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_bought_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."spot_market_proxy_event_synth_bought" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_registered_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_registered_arbitrum_sepolia.sql new file mode 100644 index 00000000..6f3ee6a9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_registered_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."spot_market_proxy_event_synth_registered" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_sold_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_sold_arbitrum_sepolia.sql new file mode 100644 index 00000000..fe2b6a05 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_sold_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."spot_market_proxy_event_synth_sold" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_unwrapped_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_unwrapped_arbitrum_sepolia.sql new file mode 100644 index 00000000..e0a64a8b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_unwrapped_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."spot_market_proxy_event_synth_unwrapped" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_wrapped_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_wrapped_arbitrum_sepolia.sql new file mode 100644 index 00000000..23d69429 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_wrapped_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."spot_market_proxy_event_synth_wrapped" diff --git a/compiled/synthetix/models/raw/base/mainnet/blocks_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/blocks_base_mainnet.sql new file mode 100644 index 00000000..95283e40 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/blocks_base_mainnet.sql @@ -0,0 +1,38 @@ +WITH indexer_blocks AS ( + SELECT + "timestamp" AS ts, + CAST( + "number" AS INTEGER + ) AS block_number + FROM + "analytics"."raw_base_mainnet"."block" +), +parquet_blocks AS ( + SELECT + TO_TIMESTAMP("timestamp") AS ts, + CAST( + "block_number" AS INTEGER + ) AS block_number + FROM + "analytics"."raw_base_mainnet"."blocks_parquet" +), +combined_blocks AS ( + SELECT + * + FROM + indexer_blocks + + UNION ALL + + SELECT + * + FROM + parquet_blocks +) +SELECT + DISTINCT MIN(ts) AS ts, + block_number +FROM + combined_blocks +GROUP BY + block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/buyback_processed_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/buyback_processed_base_mainnet.sql new file mode 100644 index 00000000..c862cbb4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/buyback/buyback_processed_base_mainnet.sql @@ -0,0 +1,42 @@ +WITH legacy_events AS ( + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."buyback_snx_legacy_event_buyback_processed" + +), +current_events AS ( + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."buyback_snx_event_buyback_processed" + +) + +SELECT + id, + block_number, + block_timestamp, + transaction_hash, + event_name, + contract, + buyer, + snx, + usd +FROM + legacy_events +UNION ALL +SELECT + id, + block_number, + block_timestamp, + transaction_hash, + event_name, + contract, + buyer, + snx, + usd +FROM + current_events \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/accepted_values_buyback_proces_8068cd10186cbca1b52cf3e47bbbd6be.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/accepted_values_buyback_proces_8068cd10186cbca1b52cf3e47bbbd6be.sql new file mode 100644 index 00000000..5050904a --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/accepted_values_buyback_proces_8068cd10186cbca1b52cf3e47bbbd6be.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'BuybackProcessed' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_buyba_7205bdf024217b749658bf7787b4a0da.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_buyba_7205bdf024217b749658bf7787b4a0da.sql new file mode 100644 index 00000000..84386fe3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_buyba_7205bdf024217b749658bf7787b4a0da.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not snx >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_buyba_afb70dba74fac398d6e51d33db8447fc.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_buyba_afb70dba74fac398d6e51d33db8447fc.sql new file mode 100644 index 00000000..86b8e414 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_buyba_afb70dba74fac398d6e51d33db8447fc.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not usd >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_block_number.sql new file mode 100644 index 00000000..68ca79eb --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..5d5aedf1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_buyer.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_buyer.sql new file mode 100644 index 00000000..3e216be5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_buyer.sql @@ -0,0 +1,11 @@ + + + + + + +select buyer +from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet" +where buyer is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_contract.sql new file mode 100644 index 00000000..27aa9629 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_event_name.sql new file mode 100644 index 00000000..f1842b58 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_id.sql new file mode 100644 index 00000000..49a25043 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_snx.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_snx.sql new file mode 100644 index 00000000..12d624b5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_snx.sql @@ -0,0 +1,11 @@ + + + + + + +select snx +from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet" +where snx is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..fce17333 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_usd.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_usd.sql new file mode 100644 index 00000000..048f9483 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_usd.sql @@ -0,0 +1,11 @@ + + + + + + +select usd +from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet" +where usd is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/unique_buyback_processed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/unique_buyback_processed_base_mainnet_id.sql new file mode 100644 index 00000000..7f4187a3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/unique_buyback_processed_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_account_created_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_account_created_base_mainnet.sql new file mode 100644 index 00000000..64b4cacf --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_account_created_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_account_created" diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_delegation_updated_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_delegation_updated_base_mainnet.sql new file mode 100644 index 00000000..1d7a9d65 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_delegation_updated_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_delegation_updated" diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_deposited_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_deposited_base_mainnet.sql new file mode 100644 index 00000000..3f2e4147 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_deposited_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_deposited" diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_liquidation_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_liquidation_base_mainnet.sql new file mode 100644 index 00000000..af223701 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_liquidation_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_liquidation" diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_market_registered_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_market_registered_base_mainnet.sql new file mode 100644 index 00000000..512d62a9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_market_registered_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_market_registered" diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_market_updated_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_market_updated_base_mainnet.sql new file mode 100644 index 00000000..d8e36f0c --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_market_updated_base_mainnet.sql @@ -0,0 +1,151 @@ +WITH events AS ( + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + "contract", + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_legacy_event_market_usd_deposited" + + ) legacy_usd_deposited + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + "contract", + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_legacy_event_market_usd_withdrawn" + + ) legacy_usd_withdrawn + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_market_collateral_deposited" + + ) collateral_deposited + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_market_collateral_withdrawn" + + ) collateral_withdrawn + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_market_usd_deposited" + + ) usd_deposited + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_market_usd_withdrawn" + + ) usd_withdrawn +) +SELECT + * +FROM + events +ORDER BY + block_timestamp \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_pool_created_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_pool_created_base_mainnet.sql new file mode 100644 index 00000000..20312094 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_pool_created_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_pool_created" diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_rewards_claimed_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_rewards_claimed_base_mainnet.sql new file mode 100644 index 00000000..d8fa18f2 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_rewards_claimed_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_rewards_claimed" diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_rewards_distributed_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_rewards_distributed_base_mainnet.sql new file mode 100644 index 00000000..9dcc67dd --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_rewards_distributed_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_rewards_distributed" diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_usd_burned_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_usd_burned_base_mainnet.sql new file mode 100644 index 00000000..68d8ffa0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_usd_burned_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_usd_burned" diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_usd_minted_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_usd_minted_base_mainnet.sql new file mode 100644 index 00000000..b8d75b7b --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_usd_minted_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_usd_minted" diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_vault_collateral_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_vault_collateral_base_mainnet.sql new file mode 100644 index 00000000..8e3e72a4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_vault_collateral_base_mainnet.sql @@ -0,0 +1,41 @@ +with base as ( + select + block_number, + contract_address, + chain_id, + pool_id, + collateral_type, + cast( + amount as numeric + ) as amount, + cast( + value as numeric + ) as collateral_value + from + "analytics"."raw_base_mainnet"."core_get_vault_collateral" + where + amount is not null +) + +select + to_timestamp(blocks.timestamp) as ts, + cast( + blocks.block_number as integer + ) as block_number, + base.contract_address, + cast( + base.pool_id as integer + ) as pool_id, + cast( + base.collateral_type as varchar + ) as collateral_type, + + base.amount / 1e18 + as amount, + + base.collateral_value / 1e18 + as collateral_value +from + base +inner join "analytics"."raw_base_mainnet"."blocks_parquet" as blocks + on base.block_number = blocks.block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_vault_debt_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_vault_debt_base_mainnet.sql new file mode 100644 index 00000000..cb9e4f27 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_vault_debt_base_mainnet.sql @@ -0,0 +1,35 @@ +with base as ( + select + block_number, + contract_address, + chain_id, + pool_id, + collateral_type, + cast( + value_1 as numeric + ) as debt + from + "analytics"."raw_base_mainnet"."core_get_vault_debt" + where + value_1 is not null +) + +select + to_timestamp(blocks.timestamp) as ts, + cast( + blocks.block_number as integer + ) as block_number, + base.contract_address, + cast( + base.pool_id as integer + ) as pool_id, + cast( + base.collateral_type as varchar + ) as collateral_type, + + base.debt / 1e18 + as debt +from + base +inner join "analytics"."raw_base_mainnet"."blocks_parquet" as blocks + on base.block_number = blocks.block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_vault_liquidation_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_vault_liquidation_base_mainnet.sql new file mode 100644 index 00000000..acf97de0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_vault_liquidation_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_vault_liquidation" diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_withdrawn_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_withdrawn_base_mainnet.sql new file mode 100644 index 00000000..e0d7c0a0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_withdrawn_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_withdrawn" diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_account_c_a1256cab63a858b197b78f9432dd8903.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_account_c_a1256cab63a858b197b78f9432dd8903.sql new file mode 100644 index 00000000..7cd2a5ce --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_account_c_a1256cab63a858b197b78f9432dd8903.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."core_account_created_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'AccountCreated' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_delegatio_6fb7ece242e2fdcc30491b13926793be.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_delegatio_6fb7ece242e2fdcc30491b13926793be.sql new file mode 100644 index 00000000..da44cdd8 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_delegatio_6fb7ece242e2fdcc30491b13926793be.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'DelegationUpdated' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_deposited_d2ece9aaf2ead30501daa2b49e21a31c.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_deposited_d2ece9aaf2ead30501daa2b49e21a31c.sql new file mode 100644 index 00000000..b0db9555 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_deposited_d2ece9aaf2ead30501daa2b49e21a31c.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'Deposited' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_liquidati_2f8a8c41dad7bc8573be95bdd2240533.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_liquidati_2f8a8c41dad7bc8573be95bdd2240533.sql new file mode 100644 index 00000000..88c02fd2 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_liquidati_2f8a8c41dad7bc8573be95bdd2240533.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'Liquidation' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_market_re_7d22dc7014c15a24d3a378934a783186.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_market_re_7d22dc7014c15a24d3a378934a783186.sql new file mode 100644 index 00000000..039fe018 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_market_re_7d22dc7014c15a24d3a378934a783186.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'MarketRegistered' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_market_up_8ffc0f692fd38a4fb71d7fad1fdca0f3.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_market_up_8ffc0f692fd38a4fb71d7fad1fdca0f3.sql new file mode 100644 index 00000000..b22086c1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_market_up_8ffc0f692fd38a4fb71d7fad1fdca0f3.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_pool_crea_bdbd8829aa1ff5cab82d34c5df5684cd.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_pool_crea_bdbd8829aa1ff5cab82d34c5df5684cd.sql new file mode 100644 index 00000000..6a16e6b8 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_pool_crea_bdbd8829aa1ff5cab82d34c5df5684cd.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'PoolCreated' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_rewards_c_aad60da75a6038cc74207493be039974.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_rewards_c_aad60da75a6038cc74207493be039974.sql new file mode 100644 index 00000000..2e530d77 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_rewards_c_aad60da75a6038cc74207493be039974.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'RewardsClaimed' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_rewards_d_84b0fa070897af09099b10595ee397ae.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_rewards_d_84b0fa070897af09099b10595ee397ae.sql new file mode 100644 index 00000000..360ba58b --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_rewards_d_84b0fa070897af09099b10595ee397ae.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'RewardsDistributed' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_usd_burne_6c46cbac385294db7e70f471efaa5ca8.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_usd_burne_6c46cbac385294db7e70f471efaa5ca8.sql new file mode 100644 index 00000000..316a0660 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_usd_burne_6c46cbac385294db7e70f471efaa5ca8.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'UsdBurned' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_usd_minte_a62ddc156bda3c5e30f190584fdb834e.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_usd_minte_a62ddc156bda3c5e30f190584fdb834e.sql new file mode 100644 index 00000000..068acda1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_usd_minte_a62ddc156bda3c5e30f190584fdb834e.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'UsdMinted' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_vault_liq_45a427ac84df0810a91900c306041b2b.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_vault_liq_45a427ac84df0810a91900c306041b2b.sql new file mode 100644 index 00000000..07a93f99 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_vault_liq_45a427ac84df0810a91900c306041b2b.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'VaultLiquidation' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_withdrawn_9232007c2d4beca3cf202e40bf1586d8.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_withdrawn_9232007c2d4beca3cf202e40bf1586d8.sql new file mode 100644 index 00000000..e9ec1207 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_withdrawn_9232007c2d4beca3cf202e40bf1586d8.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'Withdrawn' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__072d0a3e91e04239f7438a3e2f51a69c.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__072d0a3e91e04239f7438a3e2f51a69c.sql new file mode 100644 index 00000000..8ef02844 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__072d0a3e91e04239f7438a3e2f51a69c.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__0ebf2739b124eb8dac7f84f98842bbcd.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__0ebf2739b124eb8dac7f84f98842bbcd.sql new file mode 100644 index 00000000..ecb0ab4a --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__0ebf2739b124eb8dac7f84f98842bbcd.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not deposited_collateral_value >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__14bb4889df60650f86384669233cdfc3.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__14bb4889df60650f86384669233cdfc3.sql new file mode 100644 index 00000000..89d139cf --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__14bb4889df60650f86384669233cdfc3.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__253b9a83002d16c95924abe6f937d846.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__253b9a83002d16c95924abe6f937d846.sql new file mode 100644 index 00000000..678b859c --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__253b9a83002d16c95924abe6f937d846.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__2ac3bbca2e87763cd3aa7b60a2711897.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__2ac3bbca2e87763cd3aa7b60a2711897.sql new file mode 100644 index 00000000..0d25cfe4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__2ac3bbca2e87763cd3aa7b60a2711897.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__2d2cd96f455068e88f22556076aa5a56.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__2d2cd96f455068e88f22556076aa5a56.sql new file mode 100644 index 00000000..c33f8e97 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__2d2cd96f455068e88f22556076aa5a56.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__36fc9dfe3b15217319d5fd29c4d3d7a4.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__36fc9dfe3b15217319d5fd29c4d3d7a4.sql new file mode 100644 index 00000000..24c6b23d --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__36fc9dfe3b15217319d5fd29c4d3d7a4.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3ce6f9d55bc6a557e5bfd2630704f435.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3ce6f9d55bc6a557e5bfd2630704f435.sql new file mode 100644 index 00000000..1514d0f1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3ce6f9d55bc6a557e5bfd2630704f435.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__47bddc57664c78a55614ac643ed3ffcf.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__47bddc57664c78a55614ac643ed3ffcf.sql new file mode 100644 index 00000000..2503c71f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__47bddc57664c78a55614ac643ed3ffcf.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not liquidate_as_account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4e8993cb1da2677e8026b5c779015536.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4e8993cb1da2677e8026b5c779015536.sql new file mode 100644 index 00000000..be4c2de2 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4e8993cb1da2677e8026b5c779015536.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not token_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__51f9fca6491d2ad8559f025743537402.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__51f9fca6491d2ad8559f025743537402.sql new file mode 100644 index 00000000..53ad1b1f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__51f9fca6491d2ad8559f025743537402.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__5a9c6563bcebecccc18c3ba5737a8c27.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__5a9c6563bcebecccc18c3ba5737a8c27.sql new file mode 100644 index 00000000..f009491d --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__5a9c6563bcebecccc18c3ba5737a8c27.sql @@ -0,0 +1,22 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not leverage >= 1000000000000000000 + -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule. + or not leverage <= 1000000000000000000 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__5f1c37222733408e1c709a047f319d20.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__5f1c37222733408e1c709a047f319d20.sql new file mode 100644 index 00000000..30fe8d8b --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__5f1c37222733408e1c709a047f319d20.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not duration >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__624bae7a26f389d81fab0e2e4873aba4.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__624bae7a26f389d81fab0e2e4873aba4.sql new file mode 100644 index 00000000..79e3751d --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__624bae7a26f389d81fab0e2e4873aba4.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__63101afe87b50f579e2db7cc4c5329b8.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__63101afe87b50f579e2db7cc4c5329b8.sql new file mode 100644 index 00000000..756dabe3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__63101afe87b50f579e2db7cc4c5329b8.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__6ca6e9805390c0e9a66c350a39ec9df1.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__6ca6e9805390c0e9a66c350a39ec9df1.sql new file mode 100644 index 00000000..81958f50 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__6ca6e9805390c0e9a66c350a39ec9df1.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__73dff824ec86c822b9f44e7920a6345d.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__73dff824ec86c822b9f44e7920a6345d.sql new file mode 100644 index 00000000..dc6a1cec --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__73dff824ec86c822b9f44e7920a6345d.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not token_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__79fc7758f49cfa3d2f7a491a9fca71a4.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__79fc7758f49cfa3d2f7a491a9fca71a4.sql new file mode 100644 index 00000000..52a9c38f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__79fc7758f49cfa3d2f7a491a9fca71a4.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_vault_debt_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__7e7963d46f2c6d05d90cee3851af4c4f.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__7e7963d46f2c6d05d90cee3851af4c4f.sql new file mode 100644 index 00000000..5b85498b --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__7e7963d46f2c6d05d90cee3851af4c4f.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__888a89f13edea0827880954dcadc49b0.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__888a89f13edea0827880954dcadc49b0.sql new file mode 100644 index 00000000..efdc195a --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__888a89f13edea0827880954dcadc49b0.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__89c5610ccaa1c6a8b230b4c61815e02e.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__89c5610ccaa1c6a8b230b4c61815e02e.sql new file mode 100644 index 00000000..76a3d208 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__89c5610ccaa1c6a8b230b4c61815e02e.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9c86403cb2ee785aa0809eae1dfa9291.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9c86403cb2ee785aa0809eae1dfa9291.sql new file mode 100644 index 00000000..bf62076c --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9c86403cb2ee785aa0809eae1dfa9291.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a1c22aa1af42c6708c0439995bac0e8a.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a1c22aa1af42c6708c0439995bac0e8a.sql new file mode 100644 index 00000000..9522143a --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a1c22aa1af42c6708c0439995bac0e8a.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a777d371e2bd5b2327d43f495fd10adc.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a777d371e2bd5b2327d43f495fd10adc.sql new file mode 100644 index 00000000..8b170b7e --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a777d371e2bd5b2327d43f495fd10adc.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collateral_value >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__aecdb6e1634e2b861870dc60d37cf98c.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__aecdb6e1634e2b861870dc60d37cf98c.sql new file mode 100644 index 00000000..b581f092 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__aecdb6e1634e2b861870dc60d37cf98c.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not liquidate_as_account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b1c522fbe833ee75b2877e8459f86cca.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b1c522fbe833ee75b2877e8459f86cca.sql new file mode 100644 index 00000000..db0f21ec --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b1c522fbe833ee75b2877e8459f86cca.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b6577276631f758181334c9490e0d1f2.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b6577276631f758181334c9490e0d1f2.sql new file mode 100644 index 00000000..bdfc311c --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b6577276631f758181334c9490e0d1f2.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c3d16b83384c2504d670e69fb4931d89.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c3d16b83384c2504d670e69fb4931d89.sql new file mode 100644 index 00000000..c4620cab --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c3d16b83384c2504d670e69fb4931d89.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__d8e8bea5c4b2354e7f869cd680bd68b7.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__d8e8bea5c4b2354e7f869cd680bd68b7.sql new file mode 100644 index 00000000..895e386f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__d8e8bea5c4b2354e7f869cd680bd68b7.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ee84146b3c7f59e069cb06c4866f3afb.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ee84146b3c7f59e069cb06c4866f3afb.sql new file mode 100644 index 00000000..876ec3ff --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ee84146b3c7f59e069cb06c4866f3afb.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ef8c2ac0471d5e31c631c60851e1a104.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ef8c2ac0471d5e31c631c60851e1a104.sql new file mode 100644 index 00000000..61abbcc5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ef8c2ac0471d5e31c631c60851e1a104.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not token_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fa0ed60eafe37b04ad128d3b911d6149.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fa0ed60eafe37b04ad128d3b911d6149.sql new file mode 100644 index 00000000..23183a24 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fa0ed60eafe37b04ad128d3b911d6149.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fb024e3fa3982ab93641f21fa4d9026d.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fb024e3fa3982ab93641f21fa4d9026d.sql new file mode 100644 index 00000000..71aace73 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fb024e3fa3982ab93641f21fa4d9026d.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_account_created_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__feee96e2415d527613f8844cc4624c65.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__feee96e2415d527613f8844cc4624c65.sql new file mode 100644 index 00000000..539a24e1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__feee96e2415d527613f8844cc4624c65.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_account_id.sql new file mode 100644 index 00000000..69aa5fd2 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_mainnet"."core_account_created_base_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_block_number.sql new file mode 100644 index 00000000..b33dbe28 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."core_account_created_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..79035f8c --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."core_account_created_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_contract.sql new file mode 100644 index 00000000..296627f9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."core_account_created_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_event_name.sql new file mode 100644 index 00000000..88206746 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."core_account_created_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_id.sql new file mode 100644 index 00000000..4cde55aa --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_account_created_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_owner.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_owner.sql new file mode 100644 index 00000000..937f12f0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_owner.sql @@ -0,0 +1,11 @@ + + + + + + +select owner +from "analytics"."prod_raw_base_mainnet"."core_account_created_base_mainnet" +where owner is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..aca388cf --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."core_account_created_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_account_id.sql new file mode 100644 index 00000000..a1b4b6c3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_amount.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_amount.sql new file mode 100644 index 00000000..1b7fc3b7 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_block_number.sql new file mode 100644 index 00000000..8e7bd959 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..4a082152 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_collateral_type.sql new file mode 100644 index 00000000..916faa76 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_contract.sql new file mode 100644 index 00000000..126f62f5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_event_name.sql new file mode 100644 index 00000000..110683dc --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_id.sql new file mode 100644 index 00000000..123cfe93 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_leverage.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_leverage.sql new file mode 100644 index 00000000..9544051f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_leverage.sql @@ -0,0 +1,11 @@ + + + + + + +select leverage +from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet" +where leverage is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_pool_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_pool_id.sql new file mode 100644 index 00000000..677e8830 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_sender.sql new file mode 100644 index 00000000..ade14348 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..a7b54201 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_account_id.sql new file mode 100644 index 00000000..d454bae1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_block_number.sql new file mode 100644 index 00000000..bd6d4ee7 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..8b6ff743 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_collateral_type.sql new file mode 100644 index 00000000..57e773ea --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_contract.sql new file mode 100644 index 00000000..1ac41f7a --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_event_name.sql new file mode 100644 index 00000000..e50ca060 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_id.sql new file mode 100644 index 00000000..57fb1cf2 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_sender.sql new file mode 100644 index 00000000..a699bd66 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_token_amount.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_token_amount.sql new file mode 100644 index 00000000..507ed017 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_token_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select token_amount +from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet" +where token_amount is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..2b09f6ff --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_account_id.sql new file mode 100644 index 00000000..80c6bdf8 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_block_number.sql new file mode 100644 index 00000000..21090f91 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..4830890f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_collateral_type.sql new file mode 100644 index 00000000..dcf1c4ab --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_contract.sql new file mode 100644 index 00000000..117661fa --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_event_name.sql new file mode 100644 index 00000000..d05a4b38 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_id.sql new file mode 100644 index 00000000..c912e6ba --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_liquidate_as_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_liquidate_as_account_id.sql new file mode 100644 index 00000000..a9d53772 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_liquidate_as_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select liquidate_as_account_id +from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet" +where liquidate_as_account_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_pool_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_pool_id.sql new file mode 100644 index 00000000..90855ec6 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_sender.sql new file mode 100644 index 00000000..f36cbf44 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..33ffa2a9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_block_number.sql new file mode 100644 index 00000000..8033a720 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..cb672bd2 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_contract.sql new file mode 100644 index 00000000..b5b96e52 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_event_name.sql new file mode 100644 index 00000000..b6ef960a --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_id.sql new file mode 100644 index 00000000..96516f43 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_market.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_market.sql new file mode 100644 index 00000000..f3ec9451 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_market.sql @@ -0,0 +1,11 @@ + + + + + + +select market +from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet" +where market is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_market_id.sql new file mode 100644 index 00000000..d29a4e8f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_sender.sql new file mode 100644 index 00000000..6acada20 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..1f4c01bf --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_b_b44b760e99c9075cf641955fb1ad1996.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_b_b44b760e99c9075cf641955fb1ad1996.sql new file mode 100644 index 00000000..6a17587a --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_b_b44b760e99c9075cf641955fb1ad1996.sql @@ -0,0 +1,11 @@ + + + + + + +select deposited_collateral_value +from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet" +where deposited_collateral_value is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_block_number.sql new file mode 100644 index 00000000..66795380 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..5b4cc1bf --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_collateral_type.sql new file mode 100644 index 00000000..1b3a2188 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_contract.sql new file mode 100644 index 00000000..66776ce2 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_credit_capacity.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_credit_capacity.sql new file mode 100644 index 00000000..b166c24f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_credit_capacity.sql @@ -0,0 +1,11 @@ + + + + + + +select credit_capacity +from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet" +where credit_capacity is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_event_name.sql new file mode 100644 index 00000000..9e01cd99 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_id.sql new file mode 100644 index 00000000..ba4068d7 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_market_id.sql new file mode 100644 index 00000000..b4dd2487 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_net_issuance.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_net_issuance.sql new file mode 100644 index 00000000..75aa2ab5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_net_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select net_issuance +from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet" +where net_issuance is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_sender.sql new file mode 100644 index 00000000..866596a3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_token_amount.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_token_amount.sql new file mode 100644 index 00000000..ceabf66e --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_token_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select token_amount +from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet" +where token_amount is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..3958d5ed --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_block_number.sql new file mode 100644 index 00000000..a845cca9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..0049d916 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_contract.sql new file mode 100644 index 00000000..31730975 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_event_name.sql new file mode 100644 index 00000000..27f37c43 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_id.sql new file mode 100644 index 00000000..d0ba9895 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_owner.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_owner.sql new file mode 100644 index 00000000..d40a4614 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_owner.sql @@ -0,0 +1,11 @@ + + + + + + +select owner +from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet" +where owner is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_pool_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_pool_id.sql new file mode 100644 index 00000000..ae849789 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_sender.sql new file mode 100644 index 00000000..fdb8ad30 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..b014c2fc --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_account_id.sql new file mode 100644 index 00000000..ccac1072 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_amount.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_amount.sql new file mode 100644 index 00000000..6819618f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_block_number.sql new file mode 100644 index 00000000..acab2092 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..f30bf1a1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_collateral_type.sql new file mode 100644 index 00000000..47f376c0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_contract.sql new file mode 100644 index 00000000..690f899e --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_distributor.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_distributor.sql new file mode 100644 index 00000000..cbb39668 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_distributor.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor +from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet" +where distributor is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_event_name.sql new file mode 100644 index 00000000..4d48a05d --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_id.sql new file mode 100644 index 00000000..4af09277 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_pool_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_pool_id.sql new file mode 100644 index 00000000..b8bbf7c4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..af1fe0b4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_amount.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_amount.sql new file mode 100644 index 00000000..6301a26f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_block_number.sql new file mode 100644 index 00000000..d69545d3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..dc7e05a6 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_collateral_type.sql new file mode 100644 index 00000000..6deeefb5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_contract.sql new file mode 100644 index 00000000..2d3d10db --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_distributor.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_distributor.sql new file mode 100644 index 00000000..02ea2893 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_distributor.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor +from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet" +where distributor is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_duration.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_duration.sql new file mode 100644 index 00000000..ab3a29f4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_duration.sql @@ -0,0 +1,11 @@ + + + + + + +select duration +from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet" +where duration is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_event_name.sql new file mode 100644 index 00000000..8d65e267 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_id.sql new file mode 100644 index 00000000..e8d305c7 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_pool_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_pool_id.sql new file mode 100644 index 00000000..282de555 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..ff1d3c6d --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_account_id.sql new file mode 100644 index 00000000..21330176 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_amount.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_amount.sql new file mode 100644 index 00000000..045e85dc --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_block_number.sql new file mode 100644 index 00000000..c65112f2 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..bc6a174b --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_collateral_type.sql new file mode 100644 index 00000000..c328f341 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_contract.sql new file mode 100644 index 00000000..1db79c35 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_event_name.sql new file mode 100644 index 00000000..efa16dde --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_id.sql new file mode 100644 index 00000000..612a319a --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_pool_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_pool_id.sql new file mode 100644 index 00000000..85d2e744 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_sender.sql new file mode 100644 index 00000000..22699fc0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..045e973e --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_account_id.sql new file mode 100644 index 00000000..d2591216 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_amount.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_amount.sql new file mode 100644 index 00000000..ffdd0d89 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_block_number.sql new file mode 100644 index 00000000..54db622b --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..4037e764 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_collateral_type.sql new file mode 100644 index 00000000..c1c13fdd --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_contract.sql new file mode 100644 index 00000000..8e45302a --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_event_name.sql new file mode 100644 index 00000000..dd96844e --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_id.sql new file mode 100644 index 00000000..4e002413 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_pool_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_pool_id.sql new file mode 100644 index 00000000..c05ce3d1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_sender.sql new file mode 100644 index 00000000..7a6cbde5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..45881a7b --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_amount.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_amount.sql new file mode 100644 index 00000000..a839bf9a --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_block_number.sql new file mode 100644 index 00000000..7287df3a --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_collateral_type.sql new file mode 100644 index 00000000..3f0ee2f7 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_collateral_value.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_collateral_value.sql new file mode 100644 index 00000000..73ee6122 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_collateral_value.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_value +from "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet" +where collateral_value is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_contract_address.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_contract_address.sql new file mode 100644 index 00000000..cf64ccff --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_contract_address.sql @@ -0,0 +1,11 @@ + + + + + + +select contract_address +from "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet" +where contract_address is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_pool_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_pool_id.sql new file mode 100644 index 00000000..9eb714ce --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_ts.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_ts.sql new file mode 100644 index 00000000..fd420f10 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_block_number.sql new file mode 100644 index 00000000..b3835a21 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."core_vault_debt_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_collateral_type.sql new file mode 100644 index 00000000..071a8f24 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_base_mainnet"."core_vault_debt_base_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_contract_address.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_contract_address.sql new file mode 100644 index 00000000..c58d1722 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_contract_address.sql @@ -0,0 +1,11 @@ + + + + + + +select contract_address +from "analytics"."prod_raw_base_mainnet"."core_vault_debt_base_mainnet" +where contract_address is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_debt.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_debt.sql new file mode 100644 index 00000000..1979f9b0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_debt.sql @@ -0,0 +1,11 @@ + + + + + + +select debt +from "analytics"."prod_raw_base_mainnet"."core_vault_debt_base_mainnet" +where debt is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_pool_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_pool_id.sql new file mode 100644 index 00000000..14bc06b6 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_base_mainnet"."core_vault_debt_base_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_ts.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_ts.sql new file mode 100644 index 00000000..4ea1aed8 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_raw_base_mainnet"."core_vault_debt_base_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidatio_6fe91ed14b6a60a8f687ff86b3046408.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidatio_6fe91ed14b6a60a8f687ff86b3046408.sql new file mode 100644 index 00000000..b74bad40 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidatio_6fe91ed14b6a60a8f687ff86b3046408.sql @@ -0,0 +1,11 @@ + + + + + + +select liquidate_as_account_id +from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet" +where liquidate_as_account_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_block_number.sql new file mode 100644 index 00000000..bfabcd02 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..46ccb504 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_collateral_type.sql new file mode 100644 index 00000000..57ff5f4b --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_contract.sql new file mode 100644 index 00000000..89b148a2 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_event_name.sql new file mode 100644 index 00000000..f8673d5a --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_id.sql new file mode 100644 index 00000000..6a96a6b5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_liquidation_data.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_liquidation_data.sql new file mode 100644 index 00000000..2c6b3dc6 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_liquidation_data.sql @@ -0,0 +1,11 @@ + + + + + + +select liquidation_data +from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet" +where liquidation_data is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_pool_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_pool_id.sql new file mode 100644 index 00000000..87b30fb9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_sender.sql new file mode 100644 index 00000000..1ce599ef --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..1bcfb64c --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_account_id.sql new file mode 100644 index 00000000..039dfaba --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_block_number.sql new file mode 100644 index 00000000..9d5abc9b --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..acf5c744 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_collateral_type.sql new file mode 100644 index 00000000..1b298d0e --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_contract.sql new file mode 100644 index 00000000..c68f3daa --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_event_name.sql new file mode 100644 index 00000000..f81d6736 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_id.sql new file mode 100644 index 00000000..b4a5fa7f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_sender.sql new file mode 100644 index 00000000..c1d26140 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_token_amount.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_token_amount.sql new file mode 100644 index 00000000..02c9c446 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_token_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select token_amount +from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet" +where token_amount is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..e3c6206e --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_account_created_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_account_created_base_mainnet_id.sql new file mode 100644 index 00000000..8e3801d2 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_account_created_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_account_created_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_delegation_updated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_delegation_updated_base_mainnet_id.sql new file mode 100644 index 00000000..9b940ee8 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_delegation_updated_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_deposited_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_deposited_base_mainnet_id.sql new file mode 100644 index 00000000..81a420ba --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_deposited_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_liquidation_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_liquidation_base_mainnet_id.sql new file mode 100644 index 00000000..8d9929ee --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_liquidation_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_registered_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_registered_base_mainnet_id.sql new file mode 100644 index 00000000..11ff901d --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_registered_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_registered_base_mainnet_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_registered_base_mainnet_market_id.sql new file mode 100644 index 00000000..f027fddc --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_registered_base_mainnet_market_id.sql @@ -0,0 +1,14 @@ + + + + +select + market_id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet" +where market_id is not null +group by market_id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_updated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_updated_base_mainnet_id.sql new file mode 100644 index 00000000..fa919757 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_updated_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_pool_created_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_pool_created_base_mainnet_id.sql new file mode 100644 index 00000000..8550975c --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_pool_created_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_rewards_claimed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_rewards_claimed_base_mainnet_id.sql new file mode 100644 index 00000000..69092bfa --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_rewards_claimed_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_rewards_distributed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_rewards_distributed_base_mainnet_id.sql new file mode 100644 index 00000000..fd018b1b --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_rewards_distributed_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_usd_burned_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_usd_burned_base_mainnet_id.sql new file mode 100644 index 00000000..633c30db --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_usd_burned_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_usd_minted_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_usd_minted_base_mainnet_id.sql new file mode 100644 index 00000000..bd349e7e --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_usd_minted_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_vault_liquidation_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_vault_liquidation_base_mainnet_id.sql new file mode 100644 index 00000000..234700c4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_vault_liquidation_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_withdrawn_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_withdrawn_base_mainnet_id.sql new file mode 100644 index 00000000..70fc4666 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_withdrawn_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_account_created_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_account_created_base_mainnet.sql new file mode 100644 index 00000000..0a009948 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_account_created_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_event_account_created" diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_account_liquidation_attempt_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_account_liquidation_attempt_base_mainnet.sql new file mode 100644 index 00000000..536c3f6f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_account_liquidation_attempt_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_event_account_liquidation_attempt" diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_collateral_modified_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_collateral_modified_base_mainnet.sql new file mode 100644 index 00000000..abf495c8 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_collateral_modified_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_event_collateral_modified" diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_interest_charged_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_interest_charged_base_mainnet.sql new file mode 100644 index 00000000..a83f277c --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_interest_charged_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_event_interest_charged" diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_interest_rate_updated_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_interest_rate_updated_base_mainnet.sql new file mode 100644 index 00000000..e3a69e81 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_interest_rate_updated_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_event_interest_rate_updated" diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_market_created_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_market_created_base_mainnet.sql new file mode 100644 index 00000000..0060f2ad --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_market_created_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_event_market_created" diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_market_updated_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_market_updated_base_mainnet.sql new file mode 100644 index 00000000..af833748 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_market_updated_base_mainnet.sql @@ -0,0 +1,51 @@ +WITH legacy_events AS ( + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_legacy_event_market_updated" + +), +current_events AS ( + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_event_market_updated" + +) +SELECT + id, + block_number, + block_timestamp, + transaction_hash, + "contract", + event_name, + market_id, + price, + skew, + SIZE, + size_delta, + current_funding_rate, + current_funding_velocity, + 0 AS interest_rate +FROM + legacy_events +UNION ALL +SELECT + id, + block_number, + block_timestamp, + transaction_hash, + "contract", + event_name, + market_id, + price, + skew, + SIZE, + size_delta, + current_funding_rate, + current_funding_velocity, + interest_rate +FROM + current_events \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_order_committed_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_order_committed_base_mainnet.sql new file mode 100644 index 00000000..4c636146 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_order_committed_base_mainnet.sql @@ -0,0 +1,59 @@ +WITH legacy_events AS ( + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_legacy_event_order_committed" + +), +current_events AS ( + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_event_order_committed" + +) +SELECT + id, + block_number, + block_timestamp, + transaction_hash, + "contract", + event_name, + market_id, + account_id, + commitment_time, + expiration_time, + settlement_time, + CAST( + NULL AS numeric + ) AS expected_price_time, + acceptable_price, + order_type, + size_delta, + sender, + tracking_code +FROM + legacy_events +UNION ALL +SELECT + id, + block_number, + block_timestamp, + transaction_hash, + "contract", + event_name, + market_id, + account_id, + commitment_time, + expiration_time, + settlement_time, + expected_price_time, + acceptable_price, + order_type, + size_delta, + sender, + tracking_code +FROM + current_events \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_order_settled_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_order_settled_base_mainnet.sql new file mode 100644 index 00000000..009f3a8d --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_order_settled_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_event_order_settled" diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_position_liquidated_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_position_liquidated_base_mainnet.sql new file mode 100644 index 00000000..fbf21e6b --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_position_liquidated_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_event_position_liquidated" diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_previous_order_expired_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_previous_order_expired_base_mainnet.sql new file mode 100644 index 00000000..729deeac --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_previous_order_expired_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_event_previous_order_expired" diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_account_c_229a191ffc81a3a6f7489f91172d1270.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_account_c_229a191ffc81a3a6f7489f91172d1270.sql new file mode 100644 index 00000000..e81ac323 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_account_c_229a191ffc81a3a6f7489f91172d1270.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'AccountCreated' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_account_l_be6cdf63ff0398524f7a8387b0f6de61.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_account_l_be6cdf63ff0398524f7a8387b0f6de61.sql new file mode 100644 index 00000000..71837275 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_account_l_be6cdf63ff0398524f7a8387b0f6de61.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'AccountLiquidationAttempt' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_collatera_0bfcdea7902eaefa8460baeebf9cf0b4.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_collatera_0bfcdea7902eaefa8460baeebf9cf0b4.sql new file mode 100644 index 00000000..5a4869bb --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_collatera_0bfcdea7902eaefa8460baeebf9cf0b4.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'CollateralModified' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_interest__9a5088d02872b4bc8893361776515557.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_interest__9a5088d02872b4bc8893361776515557.sql new file mode 100644 index 00000000..8e272854 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_interest__9a5088d02872b4bc8893361776515557.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."perp_interest_charged_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'InterestCharged' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_interest__fd8e2c9af9e5c30d7233e0d1058b0255.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_interest__fd8e2c9af9e5c30d7233e0d1058b0255.sql new file mode 100644 index 00000000..74f5a14f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_interest__fd8e2c9af9e5c30d7233e0d1058b0255.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."perp_interest_rate_updated_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'InterestRateUpdated' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_market_cr_7434d6ba85d2b13eddfd543b8ba88517.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_market_cr_7434d6ba85d2b13eddfd543b8ba88517.sql new file mode 100644 index 00000000..99f42ab6 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_market_cr_7434d6ba85d2b13eddfd543b8ba88517.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'MarketCreated' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_market_up_a1dbe54efa2a1b43c36cf0f8336659a3.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_market_up_a1dbe54efa2a1b43c36cf0f8336659a3.sql new file mode 100644 index 00000000..98e05885 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_market_up_a1dbe54efa2a1b43c36cf0f8336659a3.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'MarketUpdated' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_order_com_520837eaa7fef2a6ed5b234803bbef68.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_order_com_520837eaa7fef2a6ed5b234803bbef68.sql new file mode 100644 index 00000000..1830c2db --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_order_com_520837eaa7fef2a6ed5b234803bbef68.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'OrderCommitted' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_order_set_587c17a43051b53793d9fb26645be1a7.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_order_set_587c17a43051b53793d9fb26645be1a7.sql new file mode 100644 index 00000000..e93f204c --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_order_set_587c17a43051b53793d9fb26645be1a7.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'OrderSettled' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_position__c6beb023579188542a2b190c4dafc057.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_position__c6beb023579188542a2b190c4dafc057.sql new file mode 100644 index 00000000..1460a8eb --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_position__c6beb023579188542a2b190c4dafc057.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'PositionLiquidated' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_previous__f1f85fb8a0fd6aaccd2aa111bbcdd5f5.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_previous__f1f85fb8a0fd6aaccd2aa111bbcdd5f5.sql new file mode 100644 index 00000000..a904951a --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_previous__f1f85fb8a0fd6aaccd2aa111bbcdd5f5.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'PreviousOrderExpired' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__006ba001f62dfd753ee2519801adcc64.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__006ba001f62dfd753ee2519801adcc64.sql new file mode 100644 index 00000000..993c3929 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__006ba001f62dfd753ee2519801adcc64.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."perp_interest_rate_updated_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not interest_rate >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__01404a20fe191971a6b2db96b06927ae.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__01404a20fe191971a6b2db96b06927ae.sql new file mode 100644 index 00000000..f87e7b71 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__01404a20fe191971a6b2db96b06927ae.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."perp_interest_rate_updated_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not super_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__0b37a3599eb14cec3c2f3ca072560ad4.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__0b37a3599eb14cec3c2f3ca072560ad4.sql new file mode 100644 index 00000000..276a7082 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__0b37a3599eb14cec3c2f3ca072560ad4.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not perps_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__1029f280bf60994fca80a768a3c6e650.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__1029f280bf60994fca80a768a3c6e650.sql new file mode 100644 index 00000000..2fc55cd3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__1029f280bf60994fca80a768a3c6e650.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__231f6b536bfcc27fa7f63799bc0ec1bd.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__231f6b536bfcc27fa7f63799bc0ec1bd.sql new file mode 100644 index 00000000..440fec20 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__231f6b536bfcc27fa7f63799bc0ec1bd.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collected_fees >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__2515c92d23eeb0890b4c2f5b889727c9.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__2515c92d23eeb0890b4c2f5b889727c9.sql new file mode 100644 index 00000000..71464595 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__2515c92d23eeb0890b4c2f5b889727c9.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__26da160b4590d4de4ae4a0a27e82a9b6.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__26da160b4590d4de4ae4a0a27e82a9b6.sql new file mode 100644 index 00000000..8572243f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__26da160b4590d4de4ae4a0a27e82a9b6.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__2bd7cd1b54563401a47e730ad72fa304.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__2bd7cd1b54563401a47e730ad72fa304.sql new file mode 100644 index 00000000..e7d0642c --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__2bd7cd1b54563401a47e730ad72fa304.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__372aa5f7755fd1c01417f23991a26419.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__372aa5f7755fd1c01417f23991a26419.sql new file mode 100644 index 00000000..4360f667 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__372aa5f7755fd1c01417f23991a26419.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not interest_rate >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__38e6da3ddd428a4313493dcf36e342e3.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__38e6da3ddd428a4313493dcf36e342e3.sql new file mode 100644 index 00000000..028f4b6c --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__38e6da3ddd428a4313493dcf36e342e3.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__3acdf241e24b7f7e38734d2bd15a2f07.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__3acdf241e24b7f7e38734d2bd15a2f07.sql new file mode 100644 index 00000000..4151b661 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__3acdf241e24b7f7e38734d2bd15a2f07.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__495fd8022fca28efa7369745702ee1e0.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__495fd8022fca28efa7369745702ee1e0.sql new file mode 100644 index 00000000..b6f450b4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__495fd8022fca28efa7369745702ee1e0.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__4c35ab86852077b43fc01e88f838bea7.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__4c35ab86852077b43fc01e88f838bea7.sql new file mode 100644 index 00000000..f4bf1847 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__4c35ab86852077b43fc01e88f838bea7.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."perp_interest_charged_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__5b74aa5015b5c0e43f3026781ddfcd29.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__5b74aa5015b5c0e43f3026781ddfcd29.sql new file mode 100644 index 00000000..ffbe51c7 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__5b74aa5015b5c0e43f3026781ddfcd29.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__5beb1252c662f50c266e8257a75eef6e.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__5beb1252c662f50c266e8257a75eef6e.sql new file mode 100644 index 00000000..4c6fd2ff --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__5beb1252c662f50c266e8257a75eef6e.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not current_position_size >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__7055fc6ee6e88d7be9254461353800e0.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__7055fc6ee6e88d7be9254461353800e0.sql new file mode 100644 index 00000000..f302ad8f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__7055fc6ee6e88d7be9254461353800e0.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not reward >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__71bcdc49b6c55de5d207b282ee907dda.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__71bcdc49b6c55de5d207b282ee907dda.sql new file mode 100644 index 00000000..8e8be620 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__71bcdc49b6c55de5d207b282ee907dda.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__73386dea77265be7ba7a4e4b0f91a257.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__73386dea77265be7ba7a4e4b0f91a257.sql new file mode 100644 index 00000000..454e4db2 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__73386dea77265be7ba7a4e4b0f91a257.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__7ac2e63784ecdbee761807171d9c2ec0.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__7ac2e63784ecdbee761807171d9c2ec0.sql new file mode 100644 index 00000000..2f9d3e40 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__7ac2e63784ecdbee761807171d9c2ec0.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__a7e267fe23da132b4b45576a78a109d9.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__a7e267fe23da132b4b45576a78a109d9.sql new file mode 100644 index 00000000..78acf9b3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__a7e267fe23da132b4b45576a78a109d9.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__ac750db2d65a9dc4aca0786681a29b83.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__ac750db2d65a9dc4aca0786681a29b83.sql new file mode 100644 index 00000000..14113037 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__ac750db2d65a9dc4aca0786681a29b83.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__d327f92360cb6163375dfb4606e9895b.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__d327f92360cb6163375dfb4606e9895b.sql new file mode 100644 index 00000000..27a63afa --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__d327f92360cb6163375dfb4606e9895b.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__e5313268b8184c1a018e9e936b343018.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__e5313268b8184c1a018e9e936b343018.sql new file mode 100644 index 00000000..78b5e91e --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__e5313268b8184c1a018e9e936b343018.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_liquidated >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_account_id.sql new file mode 100644 index 00000000..e5a072bd --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_block_number.sql new file mode 100644 index 00000000..ecb8a29d --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..91191b06 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_contract.sql new file mode 100644 index 00000000..02709ac2 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_event_name.sql new file mode 100644 index 00000000..e37bc3b9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_id.sql new file mode 100644 index 00000000..979a9ca6 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_owner.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_owner.sql new file mode 100644 index 00000000..fda4c06b --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_owner.sql @@ -0,0 +1,11 @@ + + + + + + +select owner +from "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet" +where owner is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..5bada7da --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_3991f363cc656acdc280878f8f73f7f1.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_3991f363cc656acdc280878f8f73f7f1.sql new file mode 100644 index 00000000..539eabfe --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_3991f363cc656acdc280878f8f73f7f1.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_5ac779aa2f2d2fc26bae612c1644eb45.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_5ac779aa2f2d2fc26bae612c1644eb45.sql new file mode 100644 index 00000000..c2eaf169 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_5ac779aa2f2d2fc26bae612c1644eb45.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_5ca1ee915e50ae956a86376e430f8cc5.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_5ca1ee915e50ae956a86376e430f8cc5.sql new file mode 100644 index 00000000..e7f3fe80 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_5ca1ee915e50ae956a86376e430f8cc5.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_7991200a41f198464166c7ad5413bb1f.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_7991200a41f198464166c7ad5413bb1f.sql new file mode 100644 index 00000000..1dbb6d77 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_7991200a41f198464166c7ad5413bb1f.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_81bfdcccb4ae2bf1afc79e3f88b080cb.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_81bfdcccb4ae2bf1afc79e3f88b080cb.sql new file mode 100644 index 00000000..d474a5f7 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_81bfdcccb4ae2bf1afc79e3f88b080cb.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_c09c4b146c41fe063ab18d453eccdf00.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_c09c4b146c41fe063ab18d453eccdf00.sql new file mode 100644 index 00000000..6e980dc7 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_c09c4b146c41fe063ab18d453eccdf00.sql @@ -0,0 +1,11 @@ + + + + + + +select full_liquidation +from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet" +where full_liquidation is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_mainnet_contract.sql new file mode 100644 index 00000000..f01f896a --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_mainnet_id.sql new file mode 100644 index 00000000..1d27dff8 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_mainnet_reward.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_mainnet_reward.sql new file mode 100644 index 00000000..962afc4f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_mainnet_reward.sql @@ -0,0 +1,11 @@ + + + + + + +select reward +from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet" +where reward is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_account_id.sql new file mode 100644 index 00000000..8a2b5231 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_block_number.sql new file mode 100644 index 00000000..6c3129fa --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..3229cba9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_contract.sql new file mode 100644 index 00000000..4580a539 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_event_name.sql new file mode 100644 index 00000000..583a8d45 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_id.sql new file mode 100644 index 00000000..ff9bdff9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_sender.sql new file mode 100644 index 00000000..c886b1ca --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_synth_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_synth_market_id.sql new file mode 100644 index 00000000..d921dbc0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..88845733 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_account_id.sql new file mode 100644 index 00000000..42d85a88 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_mainnet"."perp_interest_charged_base_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_block_number.sql new file mode 100644 index 00000000..9de5fb5a --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."perp_interest_charged_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..d1006767 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."perp_interest_charged_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_contract.sql new file mode 100644 index 00000000..da8328c3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."perp_interest_charged_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_event_name.sql new file mode 100644 index 00000000..d0c29da5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."perp_interest_charged_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_id.sql new file mode 100644 index 00000000..6c16406f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."perp_interest_charged_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..73bb6fb0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."perp_interest_charged_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_308696c4605075a9f0960b8219cae796.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_308696c4605075a9f0960b8219cae796.sql new file mode 100644 index 00000000..c92ebc98 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_308696c4605075a9f0960b8219cae796.sql @@ -0,0 +1,11 @@ + + + + + + +select super_market_id +from "analytics"."prod_raw_base_mainnet"."perp_interest_rate_updated_base_mainnet" +where super_market_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_a5c50f5470a747deccef9af1fc593db4.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_a5c50f5470a747deccef9af1fc593db4.sql new file mode 100644 index 00000000..475eb667 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_a5c50f5470a747deccef9af1fc593db4.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."perp_interest_rate_updated_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_ccdd1d21db3976e0a6d6664759dc9785.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_ccdd1d21db3976e0a6d6664759dc9785.sql new file mode 100644 index 00000000..0491be50 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_ccdd1d21db3976e0a6d6664759dc9785.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."perp_interest_rate_updated_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_block_number.sql new file mode 100644 index 00000000..35224e7b --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."perp_interest_rate_updated_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_contract.sql new file mode 100644 index 00000000..8e81267d --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."perp_interest_rate_updated_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_event_name.sql new file mode 100644 index 00000000..404d85e2 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."perp_interest_rate_updated_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_id.sql new file mode 100644 index 00000000..daa9ccd3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."perp_interest_rate_updated_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_interest_rate.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_interest_rate.sql new file mode 100644 index 00000000..f71e14aa --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_interest_rate.sql @@ -0,0 +1,11 @@ + + + + + + +select interest_rate +from "analytics"."prod_raw_base_mainnet"."perp_interest_rate_updated_base_mainnet" +where interest_rate is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_block_number.sql new file mode 100644 index 00000000..f1e0bbab --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..50706c91 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_contract.sql new file mode 100644 index 00000000..fd501759 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_event_name.sql new file mode 100644 index 00000000..b86fdcf3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_id.sql new file mode 100644 index 00000000..9f6a5235 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_market_name.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_market_name.sql new file mode 100644 index 00000000..e39884bf --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_market_name.sql @@ -0,0 +1,11 @@ + + + + + + +select market_name +from "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet" +where market_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_market_symbol.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_market_symbol.sql new file mode 100644 index 00000000..2c989c09 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_market_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select market_symbol +from "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet" +where market_symbol is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_perps_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_perps_market_id.sql new file mode 100644 index 00000000..bbda95da --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_perps_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select perps_market_id +from "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet" +where perps_market_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..0276c6c9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_block_number.sql new file mode 100644 index 00000000..0dc5bdd3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..d4171865 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_contract.sql new file mode 100644 index 00000000..bebc4849 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_event_name.sql new file mode 100644 index 00000000..b22f8850 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_id.sql new file mode 100644 index 00000000..a468a8e8 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_interest_rate.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_interest_rate.sql new file mode 100644 index 00000000..d89626ad --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_interest_rate.sql @@ -0,0 +1,11 @@ + + + + + + +select interest_rate +from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet" +where interest_rate is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_market_id.sql new file mode 100644 index 00000000..daf4f9fa --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_price.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_price.sql new file mode 100644 index 00000000..800a0ccf --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet" +where price is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..d205ef0a --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_account_id.sql new file mode 100644 index 00000000..86d56137 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_block_number.sql new file mode 100644 index 00000000..e9369610 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..baf59aea --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_contract.sql new file mode 100644 index 00000000..fec7dcfb --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_event_name.sql new file mode 100644 index 00000000..70bf23d5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_id.sql new file mode 100644 index 00000000..91ebfcc8 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_market_id.sql new file mode 100644 index 00000000..e65074cc --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..3b5b0b11 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_account_id.sql new file mode 100644 index 00000000..74d736d3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_block_number.sql new file mode 100644 index 00000000..b8b5bdc1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..937b4507 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_collected_fees.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_collected_fees.sql new file mode 100644 index 00000000..2856bba3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_collected_fees.sql @@ -0,0 +1,11 @@ + + + + + + +select collected_fees +from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet" +where collected_fees is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_contract.sql new file mode 100644 index 00000000..4a4bd802 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_event_name.sql new file mode 100644 index 00000000..eee0af20 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_id.sql new file mode 100644 index 00000000..4efd9cda --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_market_id.sql new file mode 100644 index 00000000..6dac1b11 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..b0c5ce69 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquida_b28667496979508a7c6e6f6dfd67a51c.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquida_b28667496979508a7c6e6f6dfd67a51c.sql new file mode 100644 index 00000000..257a746a --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquida_b28667496979508a7c6e6f6dfd67a51c.sql @@ -0,0 +1,11 @@ + + + + + + +select current_position_size +from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet" +where current_position_size is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquida_e894eb4d26a331b04c111a86938cef02.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquida_e894eb4d26a331b04c111a86938cef02.sql new file mode 100644 index 00000000..7a901e56 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquida_e894eb4d26a331b04c111a86938cef02.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_liquidated +from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet" +where amount_liquidated is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_account_id.sql new file mode 100644 index 00000000..8840d5fd --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_block_number.sql new file mode 100644 index 00000000..f347cba2 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..1f677931 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_contract.sql new file mode 100644 index 00000000..cc933e07 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_event_name.sql new file mode 100644 index 00000000..79b8a744 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_id.sql new file mode 100644 index 00000000..e4990dcc --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_market_id.sql new file mode 100644 index 00000000..1d0f8e48 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..8de10481 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_e_10da57e3dd965c93c9a634fba1bbc051.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_e_10da57e3dd965c93c9a634fba1bbc051.sql new file mode 100644 index 00000000..45e3311d --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_e_10da57e3dd965c93c9a634fba1bbc051.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_e_fe68f0f2547780fe942fbab172b4b175.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_e_fe68f0f2547780fe942fbab172b4b175.sql new file mode 100644 index 00000000..eab85d87 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_e_fe68f0f2547780fe942fbab172b4b175.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_account_id.sql new file mode 100644 index 00000000..cbbb457f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_block_number.sql new file mode 100644 index 00000000..cc37a4da --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_contract.sql new file mode 100644 index 00000000..96931be4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_event_name.sql new file mode 100644 index 00000000..89025bd3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_id.sql new file mode 100644 index 00000000..a6fcfd0f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_market_id.sql new file mode 100644 index 00000000..4bf92e15 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_account_created_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_account_created_base_mainnet_id.sql new file mode 100644 index 00000000..2c0b931b --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_account_created_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_account_liquidation_attempt_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_account_liquidation_attempt_base_mainnet_id.sql new file mode 100644 index 00000000..94cacabe --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_account_liquidation_attempt_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_collateral_modified_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_collateral_modified_base_mainnet_id.sql new file mode 100644 index 00000000..eb121c50 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_collateral_modified_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_interest_charged_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_interest_charged_base_mainnet_id.sql new file mode 100644 index 00000000..c80254bf --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_interest_charged_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."perp_interest_charged_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_interest_rate_updated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_interest_rate_updated_base_mainnet_id.sql new file mode 100644 index 00000000..2dbd26cb --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_interest_rate_updated_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."perp_interest_rate_updated_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_market_created_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_market_created_base_mainnet_id.sql new file mode 100644 index 00000000..f5a96534 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_market_created_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_market_updated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_market_updated_base_mainnet_id.sql new file mode 100644 index 00000000..a896bd2e --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_market_updated_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_order_committed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_order_committed_base_mainnet_id.sql new file mode 100644 index 00000000..6bed39cf --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_order_committed_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_order_settled_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_order_settled_base_mainnet_id.sql new file mode 100644 index 00000000..c4838d67 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_order_settled_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_position_liquidated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_position_liquidated_base_mainnet_id.sql new file mode 100644 index 00000000..9510fbd7 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_position_liquidated_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_previous_order_expired_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_previous_order_expired_base_mainnet_id.sql new file mode 100644 index 00000000..99e3a8c5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_previous_order_expired_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/schema.yml/dbt_utils_recency_blocks_base_mainnet_hour__ts__1.sql b/compiled/synthetix/models/raw/base/mainnet/schema.yml/dbt_utils_recency_blocks_base_mainnet_hour__ts__1.sql new file mode 100644 index 00000000..f3c1f271 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/schema.yml/dbt_utils_recency_blocks_base_mainnet_hour__ts__1.sql @@ -0,0 +1,38 @@ + + + + + + + +with recency as ( + + select + + + + max(ts) as most_recent + + from "analytics"."prod_raw_base_mainnet"."blocks_base_mainnet" + + + +) + +select + + + most_recent, + cast( + + now() + ((interval '1 hour') * (-1)) + + as timestamp) as threshold + +from recency +where most_recent < cast( + + now() + ((interval '1 hour') * (-1)) + + as timestamp) + diff --git a/compiled/synthetix/models/raw/base/mainnet/schema.yml/not_null_blocks_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/schema.yml/not_null_blocks_base_mainnet_block_number.sql new file mode 100644 index 00000000..7eb90e2b --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/schema.yml/not_null_blocks_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."blocks_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/schema.yml/unique_blocks_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/schema.yml/unique_blocks_base_mainnet_block_number.sql new file mode 100644 index 00000000..d2fab6f6 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/schema.yml/unique_blocks_base_mainnet_block_number.sql @@ -0,0 +1,14 @@ + + + + +select + block_number as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."blocks_base_mainnet" +where block_number is not null +group by block_number +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_order_can_0445d0d0a5554ede316ae609adf168f1.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_order_can_0445d0d0a5554ede316ae609adf168f1.sql new file mode 100644 index 00000000..0f481e27 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_order_can_0445d0d0a5554ede316ae609adf168f1.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."spot_order_cancelled_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'OrderCancelled' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_order_com_4c433d07e02d38aa839b7507d28bfcd9.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_order_com_4c433d07e02d38aa839b7507d28bfcd9.sql new file mode 100644 index 00000000..6253bfdb --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_order_com_4c433d07e02d38aa839b7507d28bfcd9.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'OrderCommitted' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_order_set_c626d10dbdef75cbd4bd6eb843c8cf29.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_order_set_c626d10dbdef75cbd4bd6eb843c8cf29.sql new file mode 100644 index 00000000..332f863f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_order_set_c626d10dbdef75cbd4bd6eb843c8cf29.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'OrderSettled' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_bou_a55733eb176c0d23184e39c1d58c98e5.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_bou_a55733eb176c0d23184e39c1d58c98e5.sql new file mode 100644 index 00000000..f4587000 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_bou_a55733eb176c0d23184e39c1d58c98e5.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'SynthBought' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_reg_3920d4f5f9000c77b7e57edd1215082f.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_reg_3920d4f5f9000c77b7e57edd1215082f.sql new file mode 100644 index 00000000..67a7e7b5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_reg_3920d4f5f9000c77b7e57edd1215082f.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'SynthRegistered' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_sol_89dd9a47ec996eaf7ec5b9a35c28d020.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_sol_89dd9a47ec996eaf7ec5b9a35c28d020.sql new file mode 100644 index 00000000..fc67a7c1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_sol_89dd9a47ec996eaf7ec5b9a35c28d020.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'SynthSold' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_unw_92fd6cebfb41d6dc648b4b6e6220b046.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_unw_92fd6cebfb41d6dc648b4b6e6220b046.sql new file mode 100644 index 00000000..9f58d1c0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_unw_92fd6cebfb41d6dc648b4b6e6220b046.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'SynthUnwrapped' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_wra_37b6ba7e578861182698bcc3fa863c97.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_wra_37b6ba7e578861182698bcc3fa863c97.sql new file mode 100644 index 00000000..60f1847b --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_wra_37b6ba7e578861182698bcc3fa863c97.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'SynthWrapped' +) + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__00502a3092faf88f9c4cf1c70e3ecabb.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__00502a3092faf88f9c4cf1c70e3ecabb.sql new file mode 100644 index 00000000..56975d51 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__00502a3092faf88f9c4cf1c70e3ecabb.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_unwrapped >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__0427270c22e9a0d08a1ac96e1fd2383a.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__0427270c22e9a0d08a1ac96e1fd2383a.sql new file mode 100644 index 00000000..565171ff --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__0427270c22e9a0d08a1ac96e1fd2383a.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__102836450220e70de6301980e5d5950a.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__102836450220e70de6301980e5d5950a.sql new file mode 100644 index 00000000..44855211 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__102836450220e70de6301980e5d5950a.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__2d95324b7c4d22cc127b07539bade00d.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__2d95324b7c4d22cc127b07539bade00d.sql new file mode 100644 index 00000000..1b02773f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__2d95324b7c4d22cc127b07539bade00d.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__3a40fbba6ab3616b984b245c89d7dbfe.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__3a40fbba6ab3616b984b245c89d7dbfe.sql new file mode 100644 index 00000000..7f7d28c4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__3a40fbba6ab3616b984b245c89d7dbfe.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."spot_order_cancelled_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__4bab578943a7ebfec47867006c5ba2c0.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__4bab578943a7ebfec47867006c5ba2c0.sql new file mode 100644 index 00000000..58c035e1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__4bab578943a7ebfec47867006c5ba2c0.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collected_fees >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__54093ccd823429dbfa551dd083c43381.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__54093ccd823429dbfa551dd083c43381.sql new file mode 100644 index 00000000..f4b4142f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__54093ccd823429dbfa551dd083c43381.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__584d45f3a8837e04a304f44a0b6d6352.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__584d45f3a8837e04a304f44a0b6d6352.sql new file mode 100644 index 00000000..38cf5210 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__584d45f3a8837e04a304f44a0b6d6352.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__65d3e3580b09d62b0665c39e0dd6b655.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__65d3e3580b09d62b0665c39e0dd6b655.sql new file mode 100644 index 00000000..6d33318f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__65d3e3580b09d62b0665c39e0dd6b655.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__6b757397105f64d96d8f1df579ff67af.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__6b757397105f64d96d8f1df579ff67af.sql new file mode 100644 index 00000000..007e9271 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__6b757397105f64d96d8f1df579ff67af.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_returned >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__709479046502cb2d832f1681b840dc68.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__709479046502cb2d832f1681b840dc68.sql new file mode 100644 index 00000000..bf40fbb1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__709479046502cb2d832f1681b840dc68.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__869a9b7964b126ecc6b81ac7e9732147.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__869a9b7964b126ecc6b81ac7e9732147.sql new file mode 100644 index 00000000..a9f02825 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__869a9b7964b126ecc6b81ac7e9732147.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collected_fees >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__8d96f308a14c2fcecde8c2bb1366d4b7.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__8d96f308a14c2fcecde8c2bb1366d4b7.sql new file mode 100644 index 00000000..227f04c6 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__8d96f308a14c2fcecde8c2bb1366d4b7.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__8e5e66ec037d024a9853963d0b4aaac2.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__8e5e66ec037d024a9853963d0b4aaac2.sql new file mode 100644 index 00000000..5db05c5e --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__8e5e66ec037d024a9853963d0b4aaac2.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__a02cf2343cb17dff85dc6395f9049952.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__a02cf2343cb17dff85dc6395f9049952.sql new file mode 100644 index 00000000..b1709f86 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__a02cf2343cb17dff85dc6395f9049952.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_provided >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__aea7b1bee7446de9ad2a7c38052a0c1b.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__aea7b1bee7446de9ad2a7c38052a0c1b.sql new file mode 100644 index 00000000..9466fdcf --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__aea7b1bee7446de9ad2a7c38052a0c1b.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not final_order_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__b37085988ce7eb72a15d977d1710fe8c.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__b37085988ce7eb72a15d977d1710fe8c.sql new file mode 100644 index 00000000..222a6e3a --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__b37085988ce7eb72a15d977d1710fe8c.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not fees_collected >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__cad30ffa5fa2a073ff58756383e7e777.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__cad30ffa5fa2a073ff58756383e7e777.sql new file mode 100644 index 00000000..88b43541 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__cad30ffa5fa2a073ff58756383e7e777.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not fees_collected >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__ccae977edf5724b7ce9a1f918e477245.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__ccae977edf5724b7ce9a1f918e477245.sql new file mode 100644 index 00000000..130d4b33 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__ccae977edf5724b7ce9a1f918e477245.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__f3e751dfd2dc590260940c7b6ee31646.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__f3e751dfd2dc590260940c7b6ee31646.sql new file mode 100644 index 00000000..88a7cf61 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__f3e751dfd2dc590260940c7b6ee31646.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collected_fees >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_block_number.sql new file mode 100644 index 00000000..6616aa83 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."spot_order_cancelled_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..a356ce2b --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."spot_order_cancelled_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_contract.sql new file mode 100644 index 00000000..33a17427 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."spot_order_cancelled_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_event_name.sql new file mode 100644 index 00000000..2d1488c3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."spot_order_cancelled_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_id.sql new file mode 100644 index 00000000..d6c8b906 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."spot_order_cancelled_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_market_id.sql new file mode 100644 index 00000000..cdf0be7c --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_base_mainnet"."spot_order_cancelled_base_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_sender.sql new file mode 100644 index 00000000..76770d07 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_mainnet"."spot_order_cancelled_base_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..7a0b3442 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."spot_order_cancelled_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_amount_provided.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_amount_provided.sql new file mode 100644 index 00000000..a3622a50 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_amount_provided.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_provided +from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet" +where amount_provided is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_block_number.sql new file mode 100644 index 00000000..f330117d --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..42afbaab --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_contract.sql new file mode 100644 index 00000000..590c762f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_event_name.sql new file mode 100644 index 00000000..09b93f5f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_id.sql new file mode 100644 index 00000000..3eabae30 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_market_id.sql new file mode 100644 index 00000000..d9b0a753 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_order_type.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_order_type.sql new file mode 100644 index 00000000..dbfb2a81 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_order_type.sql @@ -0,0 +1,11 @@ + + + + + + +select order_type +from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet" +where order_type is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_referrer.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_referrer.sql new file mode 100644 index 00000000..c5152ebc --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_referrer.sql @@ -0,0 +1,11 @@ + + + + + + +select referrer +from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet" +where referrer is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_sender.sql new file mode 100644 index 00000000..8bef929e --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..7b7beac3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_block_number.sql new file mode 100644 index 00000000..39feb47d --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..7b5d55f8 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_collected_fees.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_collected_fees.sql new file mode 100644 index 00000000..bde9942f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_collected_fees.sql @@ -0,0 +1,11 @@ + + + + + + +select collected_fees +from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet" +where collected_fees is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_contract.sql new file mode 100644 index 00000000..0ce45253 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_event_name.sql new file mode 100644 index 00000000..c0fb1432 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_id.sql new file mode 100644 index 00000000..c6837c74 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_market_id.sql new file mode 100644 index 00000000..dc6c92a1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_order_type.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_order_type.sql new file mode 100644 index 00000000..2c2facf0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_order_type.sql @@ -0,0 +1,11 @@ + + + + + + +select order_type +from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet" +where order_type is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_price.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_price.sql new file mode 100644 index 00000000..5d9e9f25 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet" +where price is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_settler.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_settler.sql new file mode 100644 index 00000000..c9d0734e --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_settler.sql @@ -0,0 +1,11 @@ + + + + + + +select settler +from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet" +where settler is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..2d7b5df1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_block_number.sql new file mode 100644 index 00000000..dc624852 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..4bdbf418 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_collected_fees.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_collected_fees.sql new file mode 100644 index 00000000..0dd9a28c --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_collected_fees.sql @@ -0,0 +1,11 @@ + + + + + + +select collected_fees +from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet" +where collected_fees is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_contract.sql new file mode 100644 index 00000000..294a8991 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_event_name.sql new file mode 100644 index 00000000..0c8a3b27 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_id.sql new file mode 100644 index 00000000..9d6dc442 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_price.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_price.sql new file mode 100644 index 00000000..d7b85a1b --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet" +where price is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_referrer.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_referrer.sql new file mode 100644 index 00000000..cd8f50bd --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_referrer.sql @@ -0,0 +1,11 @@ + + + + + + +select referrer +from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet" +where referrer is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_synth_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_synth_market_id.sql new file mode 100644 index 00000000..19be29ff --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..074cb36d --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_block_number.sql new file mode 100644 index 00000000..5b1ee0be --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..6bc6877e --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_contract.sql new file mode 100644 index 00000000..a6e852c2 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_event_name.sql new file mode 100644 index 00000000..84e92e7d --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_id.sql new file mode 100644 index 00000000..d714b8ba --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_synth_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_synth_market_id.sql new file mode 100644 index 00000000..fc6a2e70 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_synth_token_address.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_synth_token_address.sql new file mode 100644 index 00000000..4487e9c3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_synth_token_address.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_token_address +from "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet" +where synth_token_address is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..467139c5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_amount_returned.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_amount_returned.sql new file mode 100644 index 00000000..104eb6ff --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_amount_returned.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_returned +from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet" +where amount_returned is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_block_number.sql new file mode 100644 index 00000000..c1165de9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..6d194510 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_collected_fees.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_collected_fees.sql new file mode 100644 index 00000000..0b97f1b9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_collected_fees.sql @@ -0,0 +1,11 @@ + + + + + + +select collected_fees +from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet" +where collected_fees is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_contract.sql new file mode 100644 index 00000000..34840e7a --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_event_name.sql new file mode 100644 index 00000000..b8681f45 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_id.sql new file mode 100644 index 00000000..00106c6e --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_price.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_price.sql new file mode 100644 index 00000000..24e0fc23 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet" +where price is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_referrer.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_referrer.sql new file mode 100644 index 00000000..17d02a80 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_referrer.sql @@ -0,0 +1,11 @@ + + + + + + +select referrer +from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet" +where referrer is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_synth_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_synth_market_id.sql new file mode 100644 index 00000000..a81ecb00 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..3f59613f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped.sql new file mode 100644 index 00000000..f806419a --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_unwrapped +from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet" +where amount_unwrapped is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_block_number.sql new file mode 100644 index 00000000..61d24005 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..52545ad1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_contract.sql new file mode 100644 index 00000000..17f47dbe --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_event_name.sql new file mode 100644 index 00000000..f2c4ce50 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_fees_collected.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_fees_collected.sql new file mode 100644 index 00000000..7b5505d3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_fees_collected.sql @@ -0,0 +1,11 @@ + + + + + + +select fees_collected +from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet" +where fees_collected is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_id.sql new file mode 100644 index 00000000..39cff499 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_synth_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_synth_market_id.sql new file mode 100644 index 00000000..b68be475 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..ea42df07 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_block_number.sql new file mode 100644 index 00000000..c3c4d2b8 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_block_timestamp.sql new file mode 100644 index 00000000..f6a9055e --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_contract.sql new file mode 100644 index 00000000..0a65f85e --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_event_name.sql new file mode 100644 index 00000000..16e347b9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_fees_collected.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_fees_collected.sql new file mode 100644 index 00000000..77794d4e --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_fees_collected.sql @@ -0,0 +1,11 @@ + + + + + + +select fees_collected +from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet" +where fees_collected is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_id.sql new file mode 100644 index 00000000..d12eed65 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_synth_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_synth_market_id.sql new file mode 100644 index 00000000..7f1d4797 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_transaction_hash.sql new file mode 100644 index 00000000..b66370a1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_cancelled_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_cancelled_base_mainnet_id.sql new file mode 100644 index 00000000..4ba9dc38 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_cancelled_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."spot_order_cancelled_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_committed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_committed_base_mainnet_id.sql new file mode 100644 index 00000000..896f3982 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_committed_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_settled_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_settled_base_mainnet_id.sql new file mode 100644 index 00000000..cff6d35d --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_settled_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_bought_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_bought_base_mainnet_id.sql new file mode 100644 index 00000000..0cbab168 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_bought_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_registered_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_registered_base_mainnet_id.sql new file mode 100644 index 00000000..08f0e37a --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_registered_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_sold_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_sold_base_mainnet_id.sql new file mode 100644 index 00000000..5233a55d --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_sold_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_unwrapped_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_unwrapped_base_mainnet_id.sql new file mode 100644 index 00000000..3d88d610 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_unwrapped_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_wrapped_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_wrapped_base_mainnet_id.sql new file mode 100644 index 00000000..15a634e1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_wrapped_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_cancelled_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_cancelled_base_mainnet.sql new file mode 100644 index 00000000..47c477f9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_cancelled_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."spot_market_proxy_event_order_cancelled" diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_committed_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_committed_base_mainnet.sql new file mode 100644 index 00000000..69164ba7 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_committed_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."spot_market_proxy_event_order_committed" diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_settled_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_settled_base_mainnet.sql new file mode 100644 index 00000000..b75cc49a --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_settled_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."spot_market_proxy_event_order_settled" diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_bought_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_bought_base_mainnet.sql new file mode 100644 index 00000000..3243fc5d --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_bought_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."spot_market_proxy_event_synth_bought" diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_registered_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_registered_base_mainnet.sql new file mode 100644 index 00000000..b295b169 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_registered_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."spot_market_proxy_event_synth_registered" diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_sold_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_sold_base_mainnet.sql new file mode 100644 index 00000000..31384625 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_sold_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."spot_market_proxy_event_synth_sold" diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_unwrapped_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_unwrapped_base_mainnet.sql new file mode 100644 index 00000000..4c1f2a97 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_unwrapped_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."spot_market_proxy_event_synth_unwrapped" diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_wrapped_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_wrapped_base_mainnet.sql new file mode 100644 index 00000000..5c8e643e --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_wrapped_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."spot_market_proxy_event_synth_wrapped" diff --git a/compiled/synthetix/models/raw/base/sepolia/blocks_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/blocks_base_sepolia.sql new file mode 100644 index 00000000..fd9a7c60 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/blocks_base_sepolia.sql @@ -0,0 +1,38 @@ +WITH indexer_blocks AS ( + SELECT + "timestamp" AS ts, + CAST( + "number" AS INTEGER + ) AS block_number + FROM + "analytics"."raw_base_sepolia"."block" +), +parquet_blocks AS ( + SELECT + TO_TIMESTAMP("timestamp") AS ts, + CAST( + "block_number" AS INTEGER + ) AS block_number + FROM + "analytics"."raw_base_sepolia"."blocks_parquet" +), +combined_blocks AS ( + SELECT + * + FROM + indexer_blocks + + UNION ALL + + SELECT + * + FROM + parquet_blocks +) +SELECT + DISTINCT MIN(ts) AS ts, + block_number +FROM + combined_blocks +GROUP BY + block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/buyback_processed_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/buyback_processed_base_sepolia.sql new file mode 100644 index 00000000..87c0917a --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/buyback/buyback_processed_base_sepolia.sql @@ -0,0 +1,21 @@ +WITH current_events AS ( + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."buyback_snx_event_buyback_processed" + +) + +SELECT + id, + block_number, + block_timestamp, + transaction_hash, + event_name, + contract, + buyer, + snx, + usd +FROM + current_events \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/accepted_values_buyback_proces_278b574eac2c05984e56351d66a915ac.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/accepted_values_buyback_proces_278b574eac2c05984e56351d66a915ac.sql new file mode 100644 index 00000000..05de3d39 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/accepted_values_buyback_proces_278b574eac2c05984e56351d66a915ac.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'BuybackProcessed' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_buyba_4c16679cd6617813c00fd0278fc36e29.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_buyba_4c16679cd6617813c00fd0278fc36e29.sql new file mode 100644 index 00000000..d2e6096d --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_buyba_4c16679cd6617813c00fd0278fc36e29.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not usd >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_buyba_8430c2349004ae4699c6275eda5a9b16.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_buyba_8430c2349004ae4699c6275eda5a9b16.sql new file mode 100644 index 00000000..2e91e90b --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_buyba_8430c2349004ae4699c6275eda5a9b16.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not snx >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_block_number.sql new file mode 100644 index 00000000..17b3d4cf --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..8cb0bf05 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_buyer.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_buyer.sql new file mode 100644 index 00000000..c4a081f2 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_buyer.sql @@ -0,0 +1,11 @@ + + + + + + +select buyer +from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia" +where buyer is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_contract.sql new file mode 100644 index 00000000..4db383ea --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_event_name.sql new file mode 100644 index 00000000..f80933c0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_id.sql new file mode 100644 index 00000000..9da51256 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_snx.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_snx.sql new file mode 100644 index 00000000..b7313603 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_snx.sql @@ -0,0 +1,11 @@ + + + + + + +select snx +from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia" +where snx is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..e00abded --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_usd.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_usd.sql new file mode 100644 index 00000000..421749ee --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_usd.sql @@ -0,0 +1,11 @@ + + + + + + +select usd +from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia" +where usd is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/unique_buyback_processed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/unique_buyback_processed_base_sepolia_id.sql new file mode 100644 index 00000000..5d5d1a1d --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/unique_buyback_processed_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_account_created_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_account_created_base_sepolia.sql new file mode 100644 index 00000000..2fd652e4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_account_created_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_account_created" diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_delegation_updated_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_delegation_updated_base_sepolia.sql new file mode 100644 index 00000000..0a1d8aa4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_delegation_updated_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_delegation_updated" diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_deposited_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_deposited_base_sepolia.sql new file mode 100644 index 00000000..7a59fd71 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_deposited_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_deposited" diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_liquidation_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_liquidation_base_sepolia.sql new file mode 100644 index 00000000..5715b0af --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_liquidation_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_liquidation" diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_market_registered_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_market_registered_base_sepolia.sql new file mode 100644 index 00000000..e85f8178 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_market_registered_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_market_registered" diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_market_updated_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_market_updated_base_sepolia.sql new file mode 100644 index 00000000..a8176c81 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_market_updated_base_sepolia.sql @@ -0,0 +1,151 @@ +WITH events AS ( + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + "contract", + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_legacy_event_market_usd_deposited" + + ) legacy_usd_deposited + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + "contract", + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_legacy_event_market_usd_withdrawn" + + ) legacy_usd_withdrawn + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_market_collateral_deposited" + + ) collateral_deposited + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_market_collateral_withdrawn" + + ) collateral_withdrawn + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_market_usd_deposited" + + ) usd_deposited + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_market_usd_withdrawn" + + ) usd_withdrawn +) +SELECT + * +FROM + events +ORDER BY + block_timestamp \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_pool_created_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_pool_created_base_sepolia.sql new file mode 100644 index 00000000..a65e7ca8 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_pool_created_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_pool_created" diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_rewards_claimed_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_rewards_claimed_base_sepolia.sql new file mode 100644 index 00000000..2ea04e0c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_rewards_claimed_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_rewards_claimed" diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_rewards_distributed_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_rewards_distributed_base_sepolia.sql new file mode 100644 index 00000000..0ddf120f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_rewards_distributed_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_rewards_distributed" diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_usd_burned_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_usd_burned_base_sepolia.sql new file mode 100644 index 00000000..53fb3bae --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_usd_burned_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_usd_burned" diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_usd_minted_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_usd_minted_base_sepolia.sql new file mode 100644 index 00000000..c93d46a3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_usd_minted_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_usd_minted" diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_vault_collateral_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_vault_collateral_base_sepolia.sql new file mode 100644 index 00000000..76fffd22 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_vault_collateral_base_sepolia.sql @@ -0,0 +1,41 @@ +with base as ( + select + block_number, + contract_address, + chain_id, + pool_id, + collateral_type, + cast( + amount as numeric + ) as amount, + cast( + value as numeric + ) as collateral_value + from + "analytics"."raw_base_sepolia"."core_get_vault_collateral" + where + amount is not null +) + +select + to_timestamp(blocks.timestamp) as ts, + cast( + blocks.block_number as integer + ) as block_number, + base.contract_address, + cast( + base.pool_id as integer + ) as pool_id, + cast( + base.collateral_type as varchar + ) as collateral_type, + + base.amount / 1e18 + as amount, + + base.collateral_value / 1e18 + as collateral_value +from + base +inner join "analytics"."raw_base_sepolia"."blocks_parquet" as blocks + on base.block_number = blocks.block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_vault_debt_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_vault_debt_base_sepolia.sql new file mode 100644 index 00000000..ee69f8bf --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_vault_debt_base_sepolia.sql @@ -0,0 +1,35 @@ +with base as ( + select + block_number, + contract_address, + chain_id, + pool_id, + collateral_type, + cast( + value_1 as numeric + ) as debt + from + "analytics"."raw_base_sepolia"."core_get_vault_debt" + where + value_1 is not null +) + +select + to_timestamp(blocks.timestamp) as ts, + cast( + blocks.block_number as integer + ) as block_number, + base.contract_address, + cast( + base.pool_id as integer + ) as pool_id, + cast( + base.collateral_type as varchar + ) as collateral_type, + + base.debt / 1e18 + as debt +from + base +inner join "analytics"."raw_base_sepolia"."blocks_parquet" as blocks + on base.block_number = blocks.block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_vault_liquidation_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_vault_liquidation_base_sepolia.sql new file mode 100644 index 00000000..c997512f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_vault_liquidation_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_vault_liquidation" diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_withdrawn_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_withdrawn_base_sepolia.sql new file mode 100644 index 00000000..e4483001 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_withdrawn_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_withdrawn" diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_account_c_3e560a33ed75ab9f3872a29c8a231ca8.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_account_c_3e560a33ed75ab9f3872a29c8a231ca8.sql new file mode 100644 index 00000000..840525c6 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_account_c_3e560a33ed75ab9f3872a29c8a231ca8.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."core_account_created_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'AccountCreated' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_delegatio_3cc50a9d03b2fc3894884bfb42b624bd.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_delegatio_3cc50a9d03b2fc3894884bfb42b624bd.sql new file mode 100644 index 00000000..85315e6c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_delegatio_3cc50a9d03b2fc3894884bfb42b624bd.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'DelegationUpdated' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_deposited_3f28be051707e07ce49c471e6d63c3f3.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_deposited_3f28be051707e07ce49c471e6d63c3f3.sql new file mode 100644 index 00000000..189f6aaa --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_deposited_3f28be051707e07ce49c471e6d63c3f3.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'Deposited' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_liquidati_403bf0adbdcc35a44535d0751240d87f.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_liquidati_403bf0adbdcc35a44535d0751240d87f.sql new file mode 100644 index 00000000..cf4d3a7d --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_liquidati_403bf0adbdcc35a44535d0751240d87f.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'Liquidation' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_market_re_36cb85f36ba2c74163a4c4448bb62b02.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_market_re_36cb85f36ba2c74163a4c4448bb62b02.sql new file mode 100644 index 00000000..2cd7434e --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_market_re_36cb85f36ba2c74163a4c4448bb62b02.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'MarketRegistered' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_market_up_6a9d36b124a389235dd15ee41453426c.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_market_up_6a9d36b124a389235dd15ee41453426c.sql new file mode 100644 index 00000000..7076658a --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_market_up_6a9d36b124a389235dd15ee41453426c.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_pool_crea_f149b376f2612493bb2657de678259ef.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_pool_crea_f149b376f2612493bb2657de678259ef.sql new file mode 100644 index 00000000..4f2b0c96 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_pool_crea_f149b376f2612493bb2657de678259ef.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'PoolCreated' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_rewards_c_4448c26ebe83d53dc3e5ff23eac82e61.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_rewards_c_4448c26ebe83d53dc3e5ff23eac82e61.sql new file mode 100644 index 00000000..e62d8c44 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_rewards_c_4448c26ebe83d53dc3e5ff23eac82e61.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'RewardsClaimed' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_rewards_d_f07bd9c528d3bae951d8e15a0780508d.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_rewards_d_f07bd9c528d3bae951d8e15a0780508d.sql new file mode 100644 index 00000000..1aa8921f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_rewards_d_f07bd9c528d3bae951d8e15a0780508d.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'RewardsDistributed' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_usd_burne_d3586b835d1259940e91cd6748c1e3b6.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_usd_burne_d3586b835d1259940e91cd6748c1e3b6.sql new file mode 100644 index 00000000..e48ea782 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_usd_burne_d3586b835d1259940e91cd6748c1e3b6.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'UsdBurned' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_usd_minte_af3da772d555dc79c452effc7b6f9002.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_usd_minte_af3da772d555dc79c452effc7b6f9002.sql new file mode 100644 index 00000000..237833f9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_usd_minte_af3da772d555dc79c452effc7b6f9002.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'UsdMinted' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_vault_liq_e9d47b42f69123eccbff3f66c69b6af2.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_vault_liq_e9d47b42f69123eccbff3f66c69b6af2.sql new file mode 100644 index 00000000..2e95e262 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_vault_liq_e9d47b42f69123eccbff3f66c69b6af2.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'VaultLiquidation' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_withdrawn_c342407a773b81d94509df74947a9c6c.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_withdrawn_c342407a773b81d94509df74947a9c6c.sql new file mode 100644 index 00000000..60bee6c0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_withdrawn_c342407a773b81d94509df74947a9c6c.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'Withdrawn' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__004b356febea592d3109c0bef0abafe4.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__004b356febea592d3109c0bef0abafe4.sql new file mode 100644 index 00000000..d3ef1261 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__004b356febea592d3109c0bef0abafe4.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collateral_value >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__132ab4d1c8172ce2cb80905b0a0c3cdc.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__132ab4d1c8172ce2cb80905b0a0c3cdc.sql new file mode 100644 index 00000000..ea8fcb8e --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__132ab4d1c8172ce2cb80905b0a0c3cdc.sql @@ -0,0 +1,22 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not leverage >= 1000000000000000000 + -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule. + or not leverage <= 1000000000000000000 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__21d67e7351992bfcaf34c4320a800a0b.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__21d67e7351992bfcaf34c4320a800a0b.sql new file mode 100644 index 00000000..5896d561 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__21d67e7351992bfcaf34c4320a800a0b.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__2284faf96de80368edab3a7fd3bfd950.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__2284faf96de80368edab3a7fd3bfd950.sql new file mode 100644 index 00000000..816b9b28 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__2284faf96de80368edab3a7fd3bfd950.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__30addf18b8430be0f27259ef4cf0ca29.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__30addf18b8430be0f27259ef4cf0ca29.sql new file mode 100644 index 00000000..5bb81fcd --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__30addf18b8430be0f27259ef4cf0ca29.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__34edbab1962097faf1f212e944103c00.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__34edbab1962097faf1f212e944103c00.sql new file mode 100644 index 00000000..60cb537e --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__34edbab1962097faf1f212e944103c00.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not token_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__3f4f8909ee14cc3497685cd59d23ce69.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__3f4f8909ee14cc3497685cd59d23ce69.sql new file mode 100644 index 00000000..bcc9cc7f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__3f4f8909ee14cc3497685cd59d23ce69.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not token_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__440ce9f5e13972a7244fa20cf3774431.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__440ce9f5e13972a7244fa20cf3774431.sql new file mode 100644 index 00000000..6a42676e --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__440ce9f5e13972a7244fa20cf3774431.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__4a5c58685176282790b5abfce94b3fda.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__4a5c58685176282790b5abfce94b3fda.sql new file mode 100644 index 00000000..c892523f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__4a5c58685176282790b5abfce94b3fda.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__5cc557d00b8bbfff4bcafb03a349a3e5.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__5cc557d00b8bbfff4bcafb03a349a3e5.sql new file mode 100644 index 00000000..612d2551 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__5cc557d00b8bbfff4bcafb03a349a3e5.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__6ee41a6e3287d72360197537a51f9db1.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__6ee41a6e3287d72360197537a51f9db1.sql new file mode 100644 index 00000000..a1ba3bad --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__6ee41a6e3287d72360197537a51f9db1.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__736987a49cbb6d26a37612d9e59d0559.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__736987a49cbb6d26a37612d9e59d0559.sql new file mode 100644 index 00000000..d2731b06 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__736987a49cbb6d26a37612d9e59d0559.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__78a5a46b1c28cb5b628273e180683827.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__78a5a46b1c28cb5b628273e180683827.sql new file mode 100644 index 00000000..a4d1ca07 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__78a5a46b1c28cb5b628273e180683827.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__7d95e57f607809456a28cc4204cd2f2a.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__7d95e57f607809456a28cc4204cd2f2a.sql new file mode 100644 index 00000000..13f8480b --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__7d95e57f607809456a28cc4204cd2f2a.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__7de5af8c2738f779d5328e285ca02cbb.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__7de5af8c2738f779d5328e285ca02cbb.sql new file mode 100644 index 00000000..9bda28d9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__7de5af8c2738f779d5328e285ca02cbb.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not deposited_collateral_value >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__8485599cff2a5b7ec94419989fe730df.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__8485599cff2a5b7ec94419989fe730df.sql new file mode 100644 index 00000000..f4ca60e1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__8485599cff2a5b7ec94419989fe730df.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not liquidate_as_account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__888419f8ec40f915d627bef6dd080939.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__888419f8ec40f915d627bef6dd080939.sql new file mode 100644 index 00000000..bedf2949 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__888419f8ec40f915d627bef6dd080939.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__90930c81d4f99b4175faf8c7a85c04c6.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__90930c81d4f99b4175faf8c7a85c04c6.sql new file mode 100644 index 00000000..c18fe448 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__90930c81d4f99b4175faf8c7a85c04c6.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not token_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__9f186c48b6a0a65e3e2215713d7a5386.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__9f186c48b6a0a65e3e2215713d7a5386.sql new file mode 100644 index 00000000..61c78c3b --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__9f186c48b6a0a65e3e2215713d7a5386.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__a9f1cefb42f63cfea9358db70fa1ce94.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__a9f1cefb42f63cfea9358db70fa1ce94.sql new file mode 100644 index 00000000..eabb8988 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__a9f1cefb42f63cfea9358db70fa1ce94.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__abb1b0bc7f310977dda9900b3a5b48d9.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__abb1b0bc7f310977dda9900b3a5b48d9.sql new file mode 100644 index 00000000..0600436e --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__abb1b0bc7f310977dda9900b3a5b48d9.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ad2f9918d005f63ca46e07c60cad1fbf.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ad2f9918d005f63ca46e07c60cad1fbf.sql new file mode 100644 index 00000000..dfa8bde0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ad2f9918d005f63ca46e07c60cad1fbf.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not duration >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b285d1683b541821a1af29f6f7139b36.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b285d1683b541821a1af29f6f7139b36.sql new file mode 100644 index 00000000..3128755c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b285d1683b541821a1af29f6f7139b36.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b4b4efd00a516ca3c87897d592dce4cd.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b4b4efd00a516ca3c87897d592dce4cd.sql new file mode 100644 index 00000000..eebd89eb --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b4b4efd00a516ca3c87897d592dce4cd.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not liquidate_as_account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b68f23db9faa77f31eed02ece247d791.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b68f23db9faa77f31eed02ece247d791.sql new file mode 100644 index 00000000..48c4e4ae --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b68f23db9faa77f31eed02ece247d791.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c292312a15973d99cb86f687346188af.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c292312a15973d99cb86f687346188af.sql new file mode 100644 index 00000000..06024225 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c292312a15973d99cb86f687346188af.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c3c8a8df64e53bf44d1b404363693677.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c3c8a8df64e53bf44d1b404363693677.sql new file mode 100644 index 00000000..c10ebcf2 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c3c8a8df64e53bf44d1b404363693677.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ca499a4e3f4cd07ae655ddd7a8f4bc00.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ca499a4e3f4cd07ae655ddd7a8f4bc00.sql new file mode 100644 index 00000000..6f3bb061 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ca499a4e3f4cd07ae655ddd7a8f4bc00.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__d061ce3ecbf42aec12efd22a8b725531.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__d061ce3ecbf42aec12efd22a8b725531.sql new file mode 100644 index 00000000..7594dfcf --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__d061ce3ecbf42aec12efd22a8b725531.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__eab389880894a47bfee753ee70198494.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__eab389880894a47bfee753ee70198494.sql new file mode 100644 index 00000000..14d39be0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__eab389880894a47bfee753ee70198494.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_account_created_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ec287bdbeb3be735d4aeade13621291c.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ec287bdbeb3be735d4aeade13621291c.sql new file mode 100644 index 00000000..b6fe46d8 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ec287bdbeb3be735d4aeade13621291c.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__f5541c6f76ecd75f65e2b608fa9333ae.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__f5541c6f76ecd75f65e2b608fa9333ae.sql new file mode 100644 index 00000000..a71358bb --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__f5541c6f76ecd75f65e2b608fa9333ae.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__f9ddb6660b6e63be6156d0d4beb89947.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__f9ddb6660b6e63be6156d0d4beb89947.sql new file mode 100644 index 00000000..52d01a05 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__f9ddb6660b6e63be6156d0d4beb89947.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__fe372a67c8b1ea27c6fdd5c876afec7c.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__fe372a67c8b1ea27c6fdd5c876afec7c.sql new file mode 100644 index 00000000..95769d1c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__fe372a67c8b1ea27c6fdd5c876afec7c.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."core_vault_debt_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_account_id.sql new file mode 100644 index 00000000..ce83a1df --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_sepolia"."core_account_created_base_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_block_number.sql new file mode 100644 index 00000000..66514a46 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."core_account_created_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..cd7ad098 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."core_account_created_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_contract.sql new file mode 100644 index 00000000..afe36533 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."core_account_created_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_event_name.sql new file mode 100644 index 00000000..b91b3f3b --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."core_account_created_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_id.sql new file mode 100644 index 00000000..2b16ce4c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_account_created_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_owner.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_owner.sql new file mode 100644 index 00000000..3b5e4c53 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_owner.sql @@ -0,0 +1,11 @@ + + + + + + +select owner +from "analytics"."prod_raw_base_sepolia"."core_account_created_base_sepolia" +where owner is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..d089bc1b --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."core_account_created_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_account_id.sql new file mode 100644 index 00000000..8aacd8b9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_amount.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_amount.sql new file mode 100644 index 00000000..adc3370f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia" +where amount is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_block_number.sql new file mode 100644 index 00000000..595d282b --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..b5fc92ff --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_collateral_type.sql new file mode 100644 index 00000000..f486cbc3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_contract.sql new file mode 100644 index 00000000..529b8acb --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_event_name.sql new file mode 100644 index 00000000..b9e4c292 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_id.sql new file mode 100644 index 00000000..a54eb52c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_leverage.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_leverage.sql new file mode 100644 index 00000000..1162a489 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_leverage.sql @@ -0,0 +1,11 @@ + + + + + + +select leverage +from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia" +where leverage is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_pool_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_pool_id.sql new file mode 100644 index 00000000..b7c01772 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_sender.sql new file mode 100644 index 00000000..9da7c5ac --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..c3738d12 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_account_id.sql new file mode 100644 index 00000000..b2fda164 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_block_number.sql new file mode 100644 index 00000000..b1b4c3c3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..35401225 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_collateral_type.sql new file mode 100644 index 00000000..5c28ac3b --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_contract.sql new file mode 100644 index 00000000..7a884f5d --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_event_name.sql new file mode 100644 index 00000000..5993aae1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_id.sql new file mode 100644 index 00000000..9575815c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_sender.sql new file mode 100644 index 00000000..7ae9665f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_token_amount.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_token_amount.sql new file mode 100644 index 00000000..6b0a2b12 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_token_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select token_amount +from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia" +where token_amount is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..ab5c6e46 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_account_id.sql new file mode 100644 index 00000000..728bcd8c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_block_number.sql new file mode 100644 index 00000000..de80d4c3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..21034d05 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_collateral_type.sql new file mode 100644 index 00000000..5d76007c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_contract.sql new file mode 100644 index 00000000..769874ee --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_event_name.sql new file mode 100644 index 00000000..262ea2e5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_id.sql new file mode 100644 index 00000000..e39b3676 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_liquidate_as_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_liquidate_as_account_id.sql new file mode 100644 index 00000000..dc047c5e --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_liquidate_as_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select liquidate_as_account_id +from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia" +where liquidate_as_account_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_pool_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_pool_id.sql new file mode 100644 index 00000000..30dda932 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_sender.sql new file mode 100644 index 00000000..4dff0af1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..9ba1be0a --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_block_number.sql new file mode 100644 index 00000000..22f80956 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..0fe9ee71 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_contract.sql new file mode 100644 index 00000000..5d924b42 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_event_name.sql new file mode 100644 index 00000000..c765d6cc --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_id.sql new file mode 100644 index 00000000..c0fe8bb4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_market.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_market.sql new file mode 100644 index 00000000..766b97fc --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_market.sql @@ -0,0 +1,11 @@ + + + + + + +select market +from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia" +where market is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_market_id.sql new file mode 100644 index 00000000..8273310c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_sender.sql new file mode 100644 index 00000000..da69707f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..d08479c7 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_b_3efbf3bbb6987dd33d2575ce535e8be9.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_b_3efbf3bbb6987dd33d2575ce535e8be9.sql new file mode 100644 index 00000000..0276ce68 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_b_3efbf3bbb6987dd33d2575ce535e8be9.sql @@ -0,0 +1,11 @@ + + + + + + +select deposited_collateral_value +from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia" +where deposited_collateral_value is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_block_number.sql new file mode 100644 index 00000000..c0be8b0b --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..ac07bc4d --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_collateral_type.sql new file mode 100644 index 00000000..9ef31260 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_contract.sql new file mode 100644 index 00000000..a3a9b89c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_credit_capacity.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_credit_capacity.sql new file mode 100644 index 00000000..6abf0c32 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_credit_capacity.sql @@ -0,0 +1,11 @@ + + + + + + +select credit_capacity +from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia" +where credit_capacity is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_event_name.sql new file mode 100644 index 00000000..d54f12bb --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_id.sql new file mode 100644 index 00000000..0e043816 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_market_id.sql new file mode 100644 index 00000000..b1ff8404 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_net_issuance.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_net_issuance.sql new file mode 100644 index 00000000..7a2696e4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_net_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select net_issuance +from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia" +where net_issuance is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_sender.sql new file mode 100644 index 00000000..dfe5a7da --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_token_amount.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_token_amount.sql new file mode 100644 index 00000000..0d6c8ae0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_token_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select token_amount +from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia" +where token_amount is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..8f5aa398 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_block_number.sql new file mode 100644 index 00000000..cae02ad5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..0c647d8f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_contract.sql new file mode 100644 index 00000000..ac98f214 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_event_name.sql new file mode 100644 index 00000000..3fe53125 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_id.sql new file mode 100644 index 00000000..bae2e61f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_owner.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_owner.sql new file mode 100644 index 00000000..68f571bd --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_owner.sql @@ -0,0 +1,11 @@ + + + + + + +select owner +from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia" +where owner is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_pool_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_pool_id.sql new file mode 100644 index 00000000..60a35901 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_sender.sql new file mode 100644 index 00000000..c0e94ccb --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..16f824ed --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_account_id.sql new file mode 100644 index 00000000..aa4c0f3d --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_amount.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_amount.sql new file mode 100644 index 00000000..761e76e6 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia" +where amount is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_block_number.sql new file mode 100644 index 00000000..82eafe15 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..8db5b81d --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_collateral_type.sql new file mode 100644 index 00000000..35bde73f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_contract.sql new file mode 100644 index 00000000..1a99e9d7 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_distributor.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_distributor.sql new file mode 100644 index 00000000..ea0db338 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_distributor.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor +from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia" +where distributor is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_event_name.sql new file mode 100644 index 00000000..7f4f4754 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_id.sql new file mode 100644 index 00000000..975c545f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_pool_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_pool_id.sql new file mode 100644 index 00000000..784cc94e --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..b0dc5aa1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_amount.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_amount.sql new file mode 100644 index 00000000..e8190dd9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia" +where amount is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_block_number.sql new file mode 100644 index 00000000..2c85cf87 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..fcae6c8e --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_collateral_type.sql new file mode 100644 index 00000000..65765177 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_contract.sql new file mode 100644 index 00000000..256095d4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_distributor.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_distributor.sql new file mode 100644 index 00000000..89f5b5c4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_distributor.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor +from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia" +where distributor is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_duration.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_duration.sql new file mode 100644 index 00000000..87ebeb97 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_duration.sql @@ -0,0 +1,11 @@ + + + + + + +select duration +from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia" +where duration is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_event_name.sql new file mode 100644 index 00000000..3a523e9c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_id.sql new file mode 100644 index 00000000..1f22834f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_pool_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_pool_id.sql new file mode 100644 index 00000000..00b39a7d --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..02cdf3dc --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_account_id.sql new file mode 100644 index 00000000..3a3067a6 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_amount.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_amount.sql new file mode 100644 index 00000000..751c90a3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia" +where amount is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_block_number.sql new file mode 100644 index 00000000..66753681 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..a4709103 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_collateral_type.sql new file mode 100644 index 00000000..c795f309 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_contract.sql new file mode 100644 index 00000000..dc49f1a0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_event_name.sql new file mode 100644 index 00000000..05d83a71 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_id.sql new file mode 100644 index 00000000..dde6593b --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_pool_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_pool_id.sql new file mode 100644 index 00000000..2e7bf70b --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_sender.sql new file mode 100644 index 00000000..b761c9b4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..23f4b087 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_account_id.sql new file mode 100644 index 00000000..07d8b58d --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_amount.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_amount.sql new file mode 100644 index 00000000..b89288d9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia" +where amount is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_block_number.sql new file mode 100644 index 00000000..c0a0a281 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..fdf73ab0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_collateral_type.sql new file mode 100644 index 00000000..983f36f9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_contract.sql new file mode 100644 index 00000000..56c224fe --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_event_name.sql new file mode 100644 index 00000000..f23e03b3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_id.sql new file mode 100644 index 00000000..9f97825e --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_pool_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_pool_id.sql new file mode 100644 index 00000000..6b735377 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_sender.sql new file mode 100644 index 00000000..193daa7c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..b546be4c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_amount.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_amount.sql new file mode 100644 index 00000000..74a096d2 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia" +where amount is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_block_number.sql new file mode 100644 index 00000000..b9f0f241 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_collateral_type.sql new file mode 100644 index 00000000..adc5819a --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_collateral_value.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_collateral_value.sql new file mode 100644 index 00000000..b97cbcef --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_collateral_value.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_value +from "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia" +where collateral_value is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_contract_address.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_contract_address.sql new file mode 100644 index 00000000..aa6f2fef --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_contract_address.sql @@ -0,0 +1,11 @@ + + + + + + +select contract_address +from "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia" +where contract_address is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_pool_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_pool_id.sql new file mode 100644 index 00000000..64106c6b --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_ts.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_ts.sql new file mode 100644 index 00000000..19d2cde2 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_block_number.sql new file mode 100644 index 00000000..2ae1b850 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."core_vault_debt_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_collateral_type.sql new file mode 100644 index 00000000..d26c89bb --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_base_sepolia"."core_vault_debt_base_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_contract_address.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_contract_address.sql new file mode 100644 index 00000000..6a58c77c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_contract_address.sql @@ -0,0 +1,11 @@ + + + + + + +select contract_address +from "analytics"."prod_raw_base_sepolia"."core_vault_debt_base_sepolia" +where contract_address is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_debt.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_debt.sql new file mode 100644 index 00000000..e753d803 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_debt.sql @@ -0,0 +1,11 @@ + + + + + + +select debt +from "analytics"."prod_raw_base_sepolia"."core_vault_debt_base_sepolia" +where debt is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_pool_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_pool_id.sql new file mode 100644 index 00000000..8fa7480a --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_base_sepolia"."core_vault_debt_base_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_ts.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_ts.sql new file mode 100644 index 00000000..e258249e --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_raw_base_sepolia"."core_vault_debt_base_sepolia" +where ts is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidatio_53dd6224c744d10360ffff7b324992d2.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidatio_53dd6224c744d10360ffff7b324992d2.sql new file mode 100644 index 00000000..19508e52 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidatio_53dd6224c744d10360ffff7b324992d2.sql @@ -0,0 +1,11 @@ + + + + + + +select liquidate_as_account_id +from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia" +where liquidate_as_account_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_block_number.sql new file mode 100644 index 00000000..cef1d97e --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..1860d8cb --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_collateral_type.sql new file mode 100644 index 00000000..48834b97 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_contract.sql new file mode 100644 index 00000000..d2828bb2 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_event_name.sql new file mode 100644 index 00000000..244b6e12 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_id.sql new file mode 100644 index 00000000..67996b20 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_liquidation_data.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_liquidation_data.sql new file mode 100644 index 00000000..360978b8 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_liquidation_data.sql @@ -0,0 +1,11 @@ + + + + + + +select liquidation_data +from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia" +where liquidation_data is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_pool_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_pool_id.sql new file mode 100644 index 00000000..d85c48be --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_sender.sql new file mode 100644 index 00000000..53c3b137 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..3dbfb73c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_account_id.sql new file mode 100644 index 00000000..33410bbb --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_block_number.sql new file mode 100644 index 00000000..449df2bb --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..b940134f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_collateral_type.sql new file mode 100644 index 00000000..d83a5511 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_contract.sql new file mode 100644 index 00000000..f62715a4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_event_name.sql new file mode 100644 index 00000000..bd864176 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_id.sql new file mode 100644 index 00000000..5451b429 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_sender.sql new file mode 100644 index 00000000..7a57b794 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_token_amount.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_token_amount.sql new file mode 100644 index 00000000..121dbfcf --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_token_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select token_amount +from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia" +where token_amount is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..5ef6cf54 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_account_created_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_account_created_base_sepolia_id.sql new file mode 100644 index 00000000..bcaa88a6 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_account_created_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_account_created_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_delegation_updated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_delegation_updated_base_sepolia_id.sql new file mode 100644 index 00000000..ad57ab2f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_delegation_updated_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_deposited_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_deposited_base_sepolia_id.sql new file mode 100644 index 00000000..69662d9d --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_deposited_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_liquidation_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_liquidation_base_sepolia_id.sql new file mode 100644 index 00000000..324539fb --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_liquidation_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_registered_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_registered_base_sepolia_id.sql new file mode 100644 index 00000000..de92bc9b --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_registered_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_registered_base_sepolia_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_registered_base_sepolia_market_id.sql new file mode 100644 index 00000000..466bb830 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_registered_base_sepolia_market_id.sql @@ -0,0 +1,14 @@ + + + + +select + market_id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia" +where market_id is not null +group by market_id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_updated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_updated_base_sepolia_id.sql new file mode 100644 index 00000000..19cc040a --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_updated_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_pool_created_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_pool_created_base_sepolia_id.sql new file mode 100644 index 00000000..d551f47b --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_pool_created_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_rewards_claimed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_rewards_claimed_base_sepolia_id.sql new file mode 100644 index 00000000..682fd3aa --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_rewards_claimed_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_rewards_distributed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_rewards_distributed_base_sepolia_id.sql new file mode 100644 index 00000000..61fc4e55 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_rewards_distributed_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_usd_burned_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_usd_burned_base_sepolia_id.sql new file mode 100644 index 00000000..2f570332 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_usd_burned_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_usd_minted_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_usd_minted_base_sepolia_id.sql new file mode 100644 index 00000000..1afa29d4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_usd_minted_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_vault_liquidation_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_vault_liquidation_base_sepolia_id.sql new file mode 100644 index 00000000..afae4dbf --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_vault_liquidation_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_withdrawn_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_withdrawn_base_sepolia_id.sql new file mode 100644 index 00000000..a615eacd --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_withdrawn_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_account_created_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_account_created_base_sepolia.sql new file mode 100644 index 00000000..31f9c3ad --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_account_created_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_event_account_created" diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_account_liquidation_attempt_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_account_liquidation_attempt_base_sepolia.sql new file mode 100644 index 00000000..62b4656e --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_account_liquidation_attempt_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_event_account_liquidation_attempt" diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_collateral_modified_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_collateral_modified_base_sepolia.sql new file mode 100644 index 00000000..67c764a7 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_collateral_modified_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_event_collateral_modified" diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_interest_charged_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_interest_charged_base_sepolia.sql new file mode 100644 index 00000000..702df676 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_interest_charged_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_event_interest_charged" diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_interest_rate_updated_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_interest_rate_updated_base_sepolia.sql new file mode 100644 index 00000000..7c24b6b0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_interest_rate_updated_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_event_interest_rate_updated" diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_market_created_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_market_created_base_sepolia.sql new file mode 100644 index 00000000..469c9e9c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_market_created_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_event_market_created" diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_market_updated_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_market_updated_base_sepolia.sql new file mode 100644 index 00000000..4fd47c2e --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_market_updated_base_sepolia.sql @@ -0,0 +1,51 @@ +WITH legacy_events AS ( + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_legacy_event_market_updated" + +), +current_events AS ( + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_event_market_updated" + +) +SELECT + id, + block_number, + block_timestamp, + transaction_hash, + "contract", + event_name, + market_id, + price, + skew, + SIZE, + size_delta, + current_funding_rate, + current_funding_velocity, + 0 AS interest_rate +FROM + legacy_events +UNION ALL +SELECT + id, + block_number, + block_timestamp, + transaction_hash, + "contract", + event_name, + market_id, + price, + skew, + SIZE, + size_delta, + current_funding_rate, + current_funding_velocity, + interest_rate +FROM + current_events \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_order_committed_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_order_committed_base_sepolia.sql new file mode 100644 index 00000000..e5072c35 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_order_committed_base_sepolia.sql @@ -0,0 +1,59 @@ +WITH legacy_events AS ( + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_legacy_event_order_committed" + +), +current_events AS ( + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_event_order_committed" + +) +SELECT + id, + block_number, + block_timestamp, + transaction_hash, + "contract", + event_name, + market_id, + account_id, + commitment_time, + expiration_time, + settlement_time, + CAST( + NULL AS numeric + ) AS expected_price_time, + acceptable_price, + order_type, + size_delta, + sender, + tracking_code +FROM + legacy_events +UNION ALL +SELECT + id, + block_number, + block_timestamp, + transaction_hash, + "contract", + event_name, + market_id, + account_id, + commitment_time, + expiration_time, + settlement_time, + expected_price_time, + acceptable_price, + order_type, + size_delta, + sender, + tracking_code +FROM + current_events \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_order_settled_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_order_settled_base_sepolia.sql new file mode 100644 index 00000000..78cde474 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_order_settled_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_event_order_settled" diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_position_liquidated_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_position_liquidated_base_sepolia.sql new file mode 100644 index 00000000..534ed44f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_position_liquidated_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_event_position_liquidated" diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_previous_order_expired_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_previous_order_expired_base_sepolia.sql new file mode 100644 index 00000000..0d5b6dc4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_previous_order_expired_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_event_previous_order_expired" diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_account_c_0df2eed834318151661d6fb3bb9d3b0f.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_account_c_0df2eed834318151661d6fb3bb9d3b0f.sql new file mode 100644 index 00000000..86411345 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_account_c_0df2eed834318151661d6fb3bb9d3b0f.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'AccountCreated' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_account_l_67eca61ac1b5aae2bd26cd263656e075.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_account_l_67eca61ac1b5aae2bd26cd263656e075.sql new file mode 100644 index 00000000..d6276110 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_account_l_67eca61ac1b5aae2bd26cd263656e075.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'AccountLiquidationAttempt' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_collatera_4aa5a3b1883058d72748a519b4a291f7.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_collatera_4aa5a3b1883058d72748a519b4a291f7.sql new file mode 100644 index 00000000..5120cac1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_collatera_4aa5a3b1883058d72748a519b4a291f7.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'CollateralModified' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_interest__03eef0b63f71cd3c0c9a527343a0518f.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_interest__03eef0b63f71cd3c0c9a527343a0518f.sql new file mode 100644 index 00000000..8a6ffec0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_interest__03eef0b63f71cd3c0c9a527343a0518f.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."perp_interest_rate_updated_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'InterestRateUpdated' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_interest__229673e7ed7cad4e966a1e3e27b5f808.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_interest__229673e7ed7cad4e966a1e3e27b5f808.sql new file mode 100644 index 00000000..14b86c38 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_interest__229673e7ed7cad4e966a1e3e27b5f808.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."perp_interest_charged_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'InterestCharged' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_market_cr_b60bbfed45b45d6f23aef96b3bd0d35c.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_market_cr_b60bbfed45b45d6f23aef96b3bd0d35c.sql new file mode 100644 index 00000000..bb374980 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_market_cr_b60bbfed45b45d6f23aef96b3bd0d35c.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'MarketCreated' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_market_up_ca05ad7cd3f28a4fb6cce4c337cdbbd6.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_market_up_ca05ad7cd3f28a4fb6cce4c337cdbbd6.sql new file mode 100644 index 00000000..944d53ab --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_market_up_ca05ad7cd3f28a4fb6cce4c337cdbbd6.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'MarketUpdated' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_order_com_b53fd8aed05d75151e18f1149c77d2ba.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_order_com_b53fd8aed05d75151e18f1149c77d2ba.sql new file mode 100644 index 00000000..14cbf3df --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_order_com_b53fd8aed05d75151e18f1149c77d2ba.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'OrderCommitted' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_order_set_5099c7fdf58fd29a12dfcb88b71da723.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_order_set_5099c7fdf58fd29a12dfcb88b71da723.sql new file mode 100644 index 00000000..28df8b82 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_order_set_5099c7fdf58fd29a12dfcb88b71da723.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'OrderSettled' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_position__02724455b21e167f5f8636cd46a2fb74.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_position__02724455b21e167f5f8636cd46a2fb74.sql new file mode 100644 index 00000000..81c9124a --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_position__02724455b21e167f5f8636cd46a2fb74.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'PositionLiquidated' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_previous__924b97398579b32f41492d0a8a89a41e.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_previous__924b97398579b32f41492d0a8a89a41e.sql new file mode 100644 index 00000000..65416d4c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_previous__924b97398579b32f41492d0a8a89a41e.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'PreviousOrderExpired' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__082778f8edfaff850195781d5ee1fef0.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__082778f8edfaff850195781d5ee1fef0.sql new file mode 100644 index 00000000..cd99ab5a --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__082778f8edfaff850195781d5ee1fef0.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not interest_rate >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__0e3a28ddf01309c6736ad211d083eb1a.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__0e3a28ddf01309c6736ad211d083eb1a.sql new file mode 100644 index 00000000..d79725a3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__0e3a28ddf01309c6736ad211d083eb1a.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."perp_interest_rate_updated_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not interest_rate >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__128e9e7163cc2e42c8b52ec3fcb1fd6b.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__128e9e7163cc2e42c8b52ec3fcb1fd6b.sql new file mode 100644 index 00000000..d7d636f9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__128e9e7163cc2e42c8b52ec3fcb1fd6b.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__163bbc57a8dc9538aa2432e5b8005522.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__163bbc57a8dc9538aa2432e5b8005522.sql new file mode 100644 index 00000000..e78d2601 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__163bbc57a8dc9538aa2432e5b8005522.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not reward >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__1f410c4654f898aaeb357aba5018fb9c.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__1f410c4654f898aaeb357aba5018fb9c.sql new file mode 100644 index 00000000..9bd6834a --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__1f410c4654f898aaeb357aba5018fb9c.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."perp_interest_rate_updated_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not super_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__1f89c9bf58cb645a7ad32435c8ea54ba.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__1f89c9bf58cb645a7ad32435c8ea54ba.sql new file mode 100644 index 00000000..61edb935 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__1f89c9bf58cb645a7ad32435c8ea54ba.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__238caaa4c9da525973e0ffdf11d7962f.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__238caaa4c9da525973e0ffdf11d7962f.sql new file mode 100644 index 00000000..e193e7aa --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__238caaa4c9da525973e0ffdf11d7962f.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__32bff774279ea000b047c8cebe75f284.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__32bff774279ea000b047c8cebe75f284.sql new file mode 100644 index 00000000..f2b858b4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__32bff774279ea000b047c8cebe75f284.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__6ddccf3112e80ef886edae57ff38daa3.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__6ddccf3112e80ef886edae57ff38daa3.sql new file mode 100644 index 00000000..177da9c1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__6ddccf3112e80ef886edae57ff38daa3.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not perps_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__71f814ad6975e1687f0021bd06fdd301.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__71f814ad6975e1687f0021bd06fdd301.sql new file mode 100644 index 00000000..33155e8e --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__71f814ad6975e1687f0021bd06fdd301.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not current_position_size >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__9395ead0982c35ab3dce9e81e002ce88.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__9395ead0982c35ab3dce9e81e002ce88.sql new file mode 100644 index 00000000..d0c122a0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__9395ead0982c35ab3dce9e81e002ce88.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__962702eb1b8cc78c3e3273f03d6bdf84.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__962702eb1b8cc78c3e3273f03d6bdf84.sql new file mode 100644 index 00000000..94099295 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__962702eb1b8cc78c3e3273f03d6bdf84.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__a231ce38ffc5928ab779f075323dcb4d.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__a231ce38ffc5928ab779f075323dcb4d.sql new file mode 100644 index 00000000..145dacca --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__a231ce38ffc5928ab779f075323dcb4d.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."perp_interest_charged_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__a9692fd23ce53b0aca9b4f2d1cc10df5.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__a9692fd23ce53b0aca9b4f2d1cc10df5.sql new file mode 100644 index 00000000..cf013fae --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__a9692fd23ce53b0aca9b4f2d1cc10df5.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collected_fees >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__b454dfc80e6800727e2855b12c0a2d02.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__b454dfc80e6800727e2855b12c0a2d02.sql new file mode 100644 index 00000000..587f4b3b --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__b454dfc80e6800727e2855b12c0a2d02.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__b545f062eb0610bae8a1add02d198b2f.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__b545f062eb0610bae8a1add02d198b2f.sql new file mode 100644 index 00000000..17833ba4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__b545f062eb0610bae8a1add02d198b2f.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__c19fd149c08ec64755e6ad4613b88dd7.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__c19fd149c08ec64755e6ad4613b88dd7.sql new file mode 100644 index 00000000..459583ca --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__c19fd149c08ec64755e6ad4613b88dd7.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__d44e36b4e9777c29a7cbc92e9f91ef6f.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__d44e36b4e9777c29a7cbc92e9f91ef6f.sql new file mode 100644 index 00000000..e2e2ae72 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__d44e36b4e9777c29a7cbc92e9f91ef6f.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_liquidated >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__de3912ca0eeebc30d0bd44a0e1324f6e.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__de3912ca0eeebc30d0bd44a0e1324f6e.sql new file mode 100644 index 00000000..16b71468 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__de3912ca0eeebc30d0bd44a0e1324f6e.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__e9248f5179d5c8ee4dde26ada955e6de.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__e9248f5179d5c8ee4dde26ada955e6de.sql new file mode 100644 index 00000000..592d06db --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__e9248f5179d5c8ee4dde26ada955e6de.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__f2ccc70c56fd6122b82f3cdb3006994e.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__f2ccc70c56fd6122b82f3cdb3006994e.sql new file mode 100644 index 00000000..8cf7aa06 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__f2ccc70c56fd6122b82f3cdb3006994e.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__f3628702694c24e67ee15061ee68a534.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__f3628702694c24e67ee15061ee68a534.sql new file mode 100644 index 00000000..dcf9f644 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__f3628702694c24e67ee15061ee68a534.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__f5c3aec99c1be7b2af186f36b87ce820.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__f5c3aec99c1be7b2af186f36b87ce820.sql new file mode 100644 index 00000000..99c7e24c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__f5c3aec99c1be7b2af186f36b87ce820.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_account_id.sql new file mode 100644 index 00000000..11d648d4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_block_number.sql new file mode 100644 index 00000000..8fecf850 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..8ddd2371 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_contract.sql new file mode 100644 index 00000000..62b71530 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_event_name.sql new file mode 100644 index 00000000..1edea44f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_id.sql new file mode 100644 index 00000000..bcc587a9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_owner.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_owner.sql new file mode 100644 index 00000000..1cb13eae --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_owner.sql @@ -0,0 +1,11 @@ + + + + + + +select owner +from "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia" +where owner is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..c0ed5263 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_11cab9b0e41c1ca8db32ddae42bfb3f6.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_11cab9b0e41c1ca8db32ddae42bfb3f6.sql new file mode 100644 index 00000000..0012bffb --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_11cab9b0e41c1ca8db32ddae42bfb3f6.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_1ee4bf4dc8f47c61291654f150f2e068.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_1ee4bf4dc8f47c61291654f150f2e068.sql new file mode 100644 index 00000000..3c9e382c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_1ee4bf4dc8f47c61291654f150f2e068.sql @@ -0,0 +1,11 @@ + + + + + + +select full_liquidation +from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia" +where full_liquidation is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_6a9bdb905f130851e6f1770ae67db387.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_6a9bdb905f130851e6f1770ae67db387.sql new file mode 100644 index 00000000..6fbd5bec --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_6a9bdb905f130851e6f1770ae67db387.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_7425045e61c0e9f721ff1e0c8c42cc33.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_7425045e61c0e9f721ff1e0c8c42cc33.sql new file mode 100644 index 00000000..b87eafcb --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_7425045e61c0e9f721ff1e0c8c42cc33.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_ef6e9d962c8f62d80fbce53e767de544.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_ef6e9d962c8f62d80fbce53e767de544.sql new file mode 100644 index 00000000..0a7386d1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_ef6e9d962c8f62d80fbce53e767de544.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_f30b280f2a8fcd7526653cd4fcb20ab9.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_f30b280f2a8fcd7526653cd4fcb20ab9.sql new file mode 100644 index 00000000..dbbaacff --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_f30b280f2a8fcd7526653cd4fcb20ab9.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_sepolia_contract.sql new file mode 100644 index 00000000..6791858f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_sepolia_id.sql new file mode 100644 index 00000000..32d82d41 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_sepolia_reward.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_sepolia_reward.sql new file mode 100644 index 00000000..c1c272e0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_sepolia_reward.sql @@ -0,0 +1,11 @@ + + + + + + +select reward +from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia" +where reward is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_account_id.sql new file mode 100644 index 00000000..461bf596 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_block_number.sql new file mode 100644 index 00000000..36576d96 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..b21e64f8 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_contract.sql new file mode 100644 index 00000000..8bebeb41 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_event_name.sql new file mode 100644 index 00000000..af3b21d4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_id.sql new file mode 100644 index 00000000..17888e3a --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_sender.sql new file mode 100644 index 00000000..b8071d65 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_synth_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_synth_market_id.sql new file mode 100644 index 00000000..31086ad9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..c9a1ec03 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_account_id.sql new file mode 100644 index 00000000..27283f59 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_sepolia"."perp_interest_charged_base_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_block_number.sql new file mode 100644 index 00000000..692e2f09 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."perp_interest_charged_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..fe34df66 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."perp_interest_charged_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_contract.sql new file mode 100644 index 00000000..9c128a8d --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."perp_interest_charged_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_event_name.sql new file mode 100644 index 00000000..d052eace --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."perp_interest_charged_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_id.sql new file mode 100644 index 00000000..13f98388 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."perp_interest_charged_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..75aec04a --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."perp_interest_charged_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_4db0f289bb45575dc6d471b64ca8bdeb.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_4db0f289bb45575dc6d471b64ca8bdeb.sql new file mode 100644 index 00000000..53b18dc9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_4db0f289bb45575dc6d471b64ca8bdeb.sql @@ -0,0 +1,11 @@ + + + + + + +select super_market_id +from "analytics"."prod_raw_base_sepolia"."perp_interest_rate_updated_base_sepolia" +where super_market_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_fa062a57a8dbd18074c526d583abb4ae.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_fa062a57a8dbd18074c526d583abb4ae.sql new file mode 100644 index 00000000..e3850732 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_fa062a57a8dbd18074c526d583abb4ae.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."perp_interest_rate_updated_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_fee36b14df770498ea315ef2b3a75182.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_fee36b14df770498ea315ef2b3a75182.sql new file mode 100644 index 00000000..17efede0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_fee36b14df770498ea315ef2b3a75182.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."perp_interest_rate_updated_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_block_number.sql new file mode 100644 index 00000000..d9ef6c4e --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."perp_interest_rate_updated_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_contract.sql new file mode 100644 index 00000000..f50c5f07 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."perp_interest_rate_updated_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_event_name.sql new file mode 100644 index 00000000..bd83cbe9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."perp_interest_rate_updated_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_id.sql new file mode 100644 index 00000000..bb46e2ac --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."perp_interest_rate_updated_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_interest_rate.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_interest_rate.sql new file mode 100644 index 00000000..1aef9c2c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_interest_rate.sql @@ -0,0 +1,11 @@ + + + + + + +select interest_rate +from "analytics"."prod_raw_base_sepolia"."perp_interest_rate_updated_base_sepolia" +where interest_rate is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_block_number.sql new file mode 100644 index 00000000..dc1b0734 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..5762824d --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_contract.sql new file mode 100644 index 00000000..7dfb380b --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_event_name.sql new file mode 100644 index 00000000..0cc3f4dd --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_id.sql new file mode 100644 index 00000000..90dee969 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_market_name.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_market_name.sql new file mode 100644 index 00000000..97891754 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_market_name.sql @@ -0,0 +1,11 @@ + + + + + + +select market_name +from "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia" +where market_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_market_symbol.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_market_symbol.sql new file mode 100644 index 00000000..eab90adf --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_market_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select market_symbol +from "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia" +where market_symbol is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_perps_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_perps_market_id.sql new file mode 100644 index 00000000..c57333d5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_perps_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select perps_market_id +from "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia" +where perps_market_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..ab2aa94f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_block_number.sql new file mode 100644 index 00000000..0e47749a --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..78892ea0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_contract.sql new file mode 100644 index 00000000..7ae850d1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_event_name.sql new file mode 100644 index 00000000..1d2fcc7f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_id.sql new file mode 100644 index 00000000..e042f06c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_interest_rate.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_interest_rate.sql new file mode 100644 index 00000000..a1bb3c00 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_interest_rate.sql @@ -0,0 +1,11 @@ + + + + + + +select interest_rate +from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia" +where interest_rate is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_market_id.sql new file mode 100644 index 00000000..23357c43 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_price.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_price.sql new file mode 100644 index 00000000..2d122714 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia" +where price is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..a2612a85 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_account_id.sql new file mode 100644 index 00000000..4642e1ff --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_block_number.sql new file mode 100644 index 00000000..d6c34a4c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..5de8d855 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_contract.sql new file mode 100644 index 00000000..caf97e5b --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_event_name.sql new file mode 100644 index 00000000..cea76699 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_id.sql new file mode 100644 index 00000000..1bb361f9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_market_id.sql new file mode 100644 index 00000000..6ccd5ec3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..149689c0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_account_id.sql new file mode 100644 index 00000000..0ec81d52 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_block_number.sql new file mode 100644 index 00000000..8fa5bb90 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..ff8d9799 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_collected_fees.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_collected_fees.sql new file mode 100644 index 00000000..471cf07a --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_collected_fees.sql @@ -0,0 +1,11 @@ + + + + + + +select collected_fees +from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia" +where collected_fees is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_contract.sql new file mode 100644 index 00000000..607b6b0c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_event_name.sql new file mode 100644 index 00000000..46cdea2d --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_id.sql new file mode 100644 index 00000000..301ba8bc --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_market_id.sql new file mode 100644 index 00000000..fa4e7d76 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..8f05bedf --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquida_f1dc08d150cabf234a05a9e18e0a3f4e.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquida_f1dc08d150cabf234a05a9e18e0a3f4e.sql new file mode 100644 index 00000000..b0af6773 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquida_f1dc08d150cabf234a05a9e18e0a3f4e.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_liquidated +from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia" +where amount_liquidated is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquida_f43c3b03bc780f5f29cf4d5d62fa0760.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquida_f43c3b03bc780f5f29cf4d5d62fa0760.sql new file mode 100644 index 00000000..cf270761 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquida_f43c3b03bc780f5f29cf4d5d62fa0760.sql @@ -0,0 +1,11 @@ + + + + + + +select current_position_size +from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia" +where current_position_size is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_account_id.sql new file mode 100644 index 00000000..e647c518 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_block_number.sql new file mode 100644 index 00000000..fb21f8a6 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..4ebd8fa5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_contract.sql new file mode 100644 index 00000000..c14c2d9c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_event_name.sql new file mode 100644 index 00000000..ba618e61 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_id.sql new file mode 100644 index 00000000..2d00f540 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_market_id.sql new file mode 100644 index 00000000..83b18fd4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..a2ab7603 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_e_a6874c0dda750d58015d0a2ec6c1340d.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_e_a6874c0dda750d58015d0a2ec6c1340d.sql new file mode 100644 index 00000000..fcc6dbc0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_e_a6874c0dda750d58015d0a2ec6c1340d.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_e_e38903d61a1ff0cf57766e5049ddde82.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_e_e38903d61a1ff0cf57766e5049ddde82.sql new file mode 100644 index 00000000..985a52cf --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_e_e38903d61a1ff0cf57766e5049ddde82.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_account_id.sql new file mode 100644 index 00000000..1c79a26c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_block_number.sql new file mode 100644 index 00000000..ef18e280 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_contract.sql new file mode 100644 index 00000000..6184ebc5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_event_name.sql new file mode 100644 index 00000000..24cd8f02 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_id.sql new file mode 100644 index 00000000..a3ada392 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_market_id.sql new file mode 100644 index 00000000..5fb7c4a0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_account_created_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_account_created_base_sepolia_id.sql new file mode 100644 index 00000000..4a0c71f9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_account_created_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_account_liquidation_attempt_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_account_liquidation_attempt_base_sepolia_id.sql new file mode 100644 index 00000000..e1490ccb --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_account_liquidation_attempt_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_collateral_modified_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_collateral_modified_base_sepolia_id.sql new file mode 100644 index 00000000..74128dc4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_collateral_modified_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_interest_charged_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_interest_charged_base_sepolia_id.sql new file mode 100644 index 00000000..49dbec1b --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_interest_charged_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."perp_interest_charged_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_interest_rate_updated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_interest_rate_updated_base_sepolia_id.sql new file mode 100644 index 00000000..441ee433 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_interest_rate_updated_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."perp_interest_rate_updated_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_market_created_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_market_created_base_sepolia_id.sql new file mode 100644 index 00000000..a1dd58b1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_market_created_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_market_updated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_market_updated_base_sepolia_id.sql new file mode 100644 index 00000000..53b640b9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_market_updated_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_order_committed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_order_committed_base_sepolia_id.sql new file mode 100644 index 00000000..6618ffc6 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_order_committed_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_order_settled_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_order_settled_base_sepolia_id.sql new file mode 100644 index 00000000..daff45ac --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_order_settled_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_position_liquidated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_position_liquidated_base_sepolia_id.sql new file mode 100644 index 00000000..587b9418 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_position_liquidated_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_previous_order_expired_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_previous_order_expired_base_sepolia_id.sql new file mode 100644 index 00000000..b969c1aa --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_previous_order_expired_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/schema.yml/dbt_utils_recency_blocks_base_sepolia_hour__ts__1.sql b/compiled/synthetix/models/raw/base/sepolia/schema.yml/dbt_utils_recency_blocks_base_sepolia_hour__ts__1.sql new file mode 100644 index 00000000..297c5e6c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/schema.yml/dbt_utils_recency_blocks_base_sepolia_hour__ts__1.sql @@ -0,0 +1,38 @@ + + + + + + + +with recency as ( + + select + + + + max(ts) as most_recent + + from "analytics"."prod_raw_base_sepolia"."blocks_base_sepolia" + + + +) + +select + + + most_recent, + cast( + + now() + ((interval '1 hour') * (-1)) + + as timestamp) as threshold + +from recency +where most_recent < cast( + + now() + ((interval '1 hour') * (-1)) + + as timestamp) + diff --git a/compiled/synthetix/models/raw/base/sepolia/schema.yml/not_null_blocks_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/schema.yml/not_null_blocks_base_sepolia_block_number.sql new file mode 100644 index 00000000..034d3dda --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/schema.yml/not_null_blocks_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."blocks_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/schema.yml/unique_blocks_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/schema.yml/unique_blocks_base_sepolia_block_number.sql new file mode 100644 index 00000000..850d36b5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/schema.yml/unique_blocks_base_sepolia_block_number.sql @@ -0,0 +1,14 @@ + + + + +select + block_number as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."blocks_base_sepolia" +where block_number is not null +group by block_number +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_order_can_3690236c38a3115c311350297982d981.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_order_can_3690236c38a3115c311350297982d981.sql new file mode 100644 index 00000000..f59e476a --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_order_can_3690236c38a3115c311350297982d981.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."spot_order_cancelled_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'OrderCancelled' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_order_com_ef6d06586407466691e8d01de71aba4f.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_order_com_ef6d06586407466691e8d01de71aba4f.sql new file mode 100644 index 00000000..bde95f90 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_order_com_ef6d06586407466691e8d01de71aba4f.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'OrderCommitted' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_order_set_d1c46e9e2adad296d75fa712f4250930.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_order_set_d1c46e9e2adad296d75fa712f4250930.sql new file mode 100644 index 00000000..7d9de782 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_order_set_d1c46e9e2adad296d75fa712f4250930.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'OrderSettled' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_bou_aa2a6971760377ea577d960171ae6483.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_bou_aa2a6971760377ea577d960171ae6483.sql new file mode 100644 index 00000000..2050e0c1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_bou_aa2a6971760377ea577d960171ae6483.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'SynthBought' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_reg_471967b994e90555bd28aca32fc1028a.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_reg_471967b994e90555bd28aca32fc1028a.sql new file mode 100644 index 00000000..08e5e6f9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_reg_471967b994e90555bd28aca32fc1028a.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'SynthRegistered' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_sol_4a303f29675a493155ab1c8c405d5788.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_sol_4a303f29675a493155ab1c8c405d5788.sql new file mode 100644 index 00000000..7b49996f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_sol_4a303f29675a493155ab1c8c405d5788.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'SynthSold' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_unw_a652e41c73419299bd7282cc028e6446.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_unw_a652e41c73419299bd7282cc028e6446.sql new file mode 100644 index 00000000..2c28ee3b --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_unw_a652e41c73419299bd7282cc028e6446.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'SynthUnwrapped' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_wra_9ee9951c121b860154825f1775b31b57.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_wra_9ee9951c121b860154825f1775b31b57.sql new file mode 100644 index 00000000..7941a7d5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_wra_9ee9951c121b860154825f1775b31b57.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'SynthWrapped' +) + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__13a01d419f0c01220bde33d48208a6d3.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__13a01d419f0c01220bde33d48208a6d3.sql new file mode 100644 index 00000000..c9168751 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__13a01d419f0c01220bde33d48208a6d3.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__15365b5e9ca07c7e777db2b143822aff.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__15365b5e9ca07c7e777db2b143822aff.sql new file mode 100644 index 00000000..c7780c11 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__15365b5e9ca07c7e777db2b143822aff.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__1eeca95b22fbea01362853fe19dd5d34.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__1eeca95b22fbea01362853fe19dd5d34.sql new file mode 100644 index 00000000..e70c5311 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__1eeca95b22fbea01362853fe19dd5d34.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_unwrapped >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__300cfb1565a2e5a0373aab21735eb780.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__300cfb1565a2e5a0373aab21735eb780.sql new file mode 100644 index 00000000..65a34cbb --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__300cfb1565a2e5a0373aab21735eb780.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collected_fees >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__45f3aefc6a56a878e2902b146dc2bcb4.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__45f3aefc6a56a878e2902b146dc2bcb4.sql new file mode 100644 index 00000000..2110548f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__45f3aefc6a56a878e2902b146dc2bcb4.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_provided >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4f13a7868119bca201bdeaa525a3d0fd.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4f13a7868119bca201bdeaa525a3d0fd.sql new file mode 100644 index 00000000..27f7383c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4f13a7868119bca201bdeaa525a3d0fd.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not final_order_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__50066068b3f5b64e057fb6537a1b1685.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__50066068b3f5b64e057fb6537a1b1685.sql new file mode 100644 index 00000000..aa60cdc8 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__50066068b3f5b64e057fb6537a1b1685.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount_returned >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__5c81b12a2b7d8abf5e9e3b24937fc80b.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__5c81b12a2b7d8abf5e9e3b24937fc80b.sql new file mode 100644 index 00000000..91761642 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__5c81b12a2b7d8abf5e9e3b24937fc80b.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__7a17e96e4a0ec8e420005d9b7f38ad05.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__7a17e96e4a0ec8e420005d9b7f38ad05.sql new file mode 100644 index 00000000..f62e9e2a --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__7a17e96e4a0ec8e420005d9b7f38ad05.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__8d225b547c2425ebaa8b38fe55a2c4cc.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__8d225b547c2425ebaa8b38fe55a2c4cc.sql new file mode 100644 index 00000000..cc40ca98 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__8d225b547c2425ebaa8b38fe55a2c4cc.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not fees_collected >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__92b3915b24936d3e739e69bedf15be06.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__92b3915b24936d3e739e69bedf15be06.sql new file mode 100644 index 00000000..04bd9dc2 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__92b3915b24936d3e739e69bedf15be06.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__966d446920709dfdf243c21a8e245c96.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__966d446920709dfdf243c21a8e245c96.sql new file mode 100644 index 00000000..21bc6a5c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__966d446920709dfdf243c21a8e245c96.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collected_fees >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__9e68c7f5395a0920fa09a175c31f3639.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__9e68c7f5395a0920fa09a175c31f3639.sql new file mode 100644 index 00000000..59e88ae4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__9e68c7f5395a0920fa09a175c31f3639.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not fees_collected >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__b7cc818868b90483e6c7f3bbc2f3b338.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__b7cc818868b90483e6c7f3bbc2f3b338.sql new file mode 100644 index 00000000..2ec5e187 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__b7cc818868b90483e6c7f3bbc2f3b338.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__b91d9ecd06c3f68bcfa4965064d38638.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__b91d9ecd06c3f68bcfa4965064d38638.sql new file mode 100644 index 00000000..379ce258 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__b91d9ecd06c3f68bcfa4965064d38638.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."spot_order_cancelled_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__c04a0814c5b3928f067817c3c1073c16.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__c04a0814c5b3928f067817c3c1073c16.sql new file mode 100644 index 00000000..e4719669 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__c04a0814c5b3928f067817c3c1073c16.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__cb754edcca977002ee1bf5c8e8d2cda3.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__cb754edcca977002ee1bf5c8e8d2cda3.sql new file mode 100644 index 00000000..bc170303 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__cb754edcca977002ee1bf5c8e8d2cda3.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collected_fees >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__cd269306f3b2f0353d6196cda647b5bb.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__cd269306f3b2f0353d6196cda647b5bb.sql new file mode 100644 index 00000000..7fd0fcb9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__cd269306f3b2f0353d6196cda647b5bb.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not price >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__db70217fe7008de187cf1916f01ad9ac.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__db70217fe7008de187cf1916f01ad9ac.sql new file mode 100644 index 00000000..7d5bd430 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__db70217fe7008de187cf1916f01ad9ac.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__ef48f492828e0921df76e6dd121631dd.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__ef48f492828e0921df76e6dd121631dd.sql new file mode 100644 index 00000000..970d0e93 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__ef48f492828e0921df76e6dd121631dd.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not synth_market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_block_number.sql new file mode 100644 index 00000000..628231ae --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."spot_order_cancelled_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..85c80e23 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."spot_order_cancelled_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_contract.sql new file mode 100644 index 00000000..5c980520 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."spot_order_cancelled_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_event_name.sql new file mode 100644 index 00000000..61818533 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."spot_order_cancelled_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_id.sql new file mode 100644 index 00000000..256b80c4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."spot_order_cancelled_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_market_id.sql new file mode 100644 index 00000000..3b7e56b6 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_base_sepolia"."spot_order_cancelled_base_sepolia" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_sender.sql new file mode 100644 index 00000000..6e25e62d --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_sepolia"."spot_order_cancelled_base_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..cb67d22f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."spot_order_cancelled_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_amount_provided.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_amount_provided.sql new file mode 100644 index 00000000..067abe3c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_amount_provided.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_provided +from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia" +where amount_provided is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_block_number.sql new file mode 100644 index 00000000..2e193966 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..a93a8541 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_contract.sql new file mode 100644 index 00000000..5467c454 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_event_name.sql new file mode 100644 index 00000000..10836dc4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_id.sql new file mode 100644 index 00000000..88b4f9cf --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_market_id.sql new file mode 100644 index 00000000..e0cf1b71 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_order_type.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_order_type.sql new file mode 100644 index 00000000..0f045c19 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_order_type.sql @@ -0,0 +1,11 @@ + + + + + + +select order_type +from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia" +where order_type is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_referrer.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_referrer.sql new file mode 100644 index 00000000..b792eeda --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_referrer.sql @@ -0,0 +1,11 @@ + + + + + + +select referrer +from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia" +where referrer is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_sender.sql new file mode 100644 index 00000000..0672e07a --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia" +where sender is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..0f650c39 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_block_number.sql new file mode 100644 index 00000000..eaa86efe --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..8a923696 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_collected_fees.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_collected_fees.sql new file mode 100644 index 00000000..8a08c9db --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_collected_fees.sql @@ -0,0 +1,11 @@ + + + + + + +select collected_fees +from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia" +where collected_fees is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_contract.sql new file mode 100644 index 00000000..8829657d --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_event_name.sql new file mode 100644 index 00000000..4134e6fe --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_id.sql new file mode 100644 index 00000000..405cf6f5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_market_id.sql new file mode 100644 index 00000000..1d50c31c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_order_type.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_order_type.sql new file mode 100644 index 00000000..1c65736f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_order_type.sql @@ -0,0 +1,11 @@ + + + + + + +select order_type +from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia" +where order_type is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_price.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_price.sql new file mode 100644 index 00000000..f43e98a6 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia" +where price is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_settler.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_settler.sql new file mode 100644 index 00000000..20648e6e --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_settler.sql @@ -0,0 +1,11 @@ + + + + + + +select settler +from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia" +where settler is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..b7852ec1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_block_number.sql new file mode 100644 index 00000000..a752c021 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..714cd6f9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_collected_fees.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_collected_fees.sql new file mode 100644 index 00000000..f0912c5c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_collected_fees.sql @@ -0,0 +1,11 @@ + + + + + + +select collected_fees +from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia" +where collected_fees is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_contract.sql new file mode 100644 index 00000000..5b3062dc --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_event_name.sql new file mode 100644 index 00000000..0221468c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_id.sql new file mode 100644 index 00000000..b67aa194 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_price.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_price.sql new file mode 100644 index 00000000..2a74eb63 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia" +where price is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_referrer.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_referrer.sql new file mode 100644 index 00000000..abc8226a --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_referrer.sql @@ -0,0 +1,11 @@ + + + + + + +select referrer +from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia" +where referrer is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_synth_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_synth_market_id.sql new file mode 100644 index 00000000..1e2acd0c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..bf0faae7 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_block_number.sql new file mode 100644 index 00000000..021e063c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..ad2c3ec6 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_contract.sql new file mode 100644 index 00000000..0d37d336 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_event_name.sql new file mode 100644 index 00000000..728cc84f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_id.sql new file mode 100644 index 00000000..4ed3a9e9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_synth_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_synth_market_id.sql new file mode 100644 index 00000000..457e9447 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_synth_token_address.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_synth_token_address.sql new file mode 100644 index 00000000..4acde7d6 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_synth_token_address.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_token_address +from "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia" +where synth_token_address is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..4744e7ee --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_amount_returned.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_amount_returned.sql new file mode 100644 index 00000000..abb680d0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_amount_returned.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_returned +from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia" +where amount_returned is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_block_number.sql new file mode 100644 index 00000000..3092ac81 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..999a5802 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_collected_fees.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_collected_fees.sql new file mode 100644 index 00000000..47235d90 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_collected_fees.sql @@ -0,0 +1,11 @@ + + + + + + +select collected_fees +from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia" +where collected_fees is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_contract.sql new file mode 100644 index 00000000..7ad2fe7b --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_event_name.sql new file mode 100644 index 00000000..cf4e3934 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_id.sql new file mode 100644 index 00000000..b757b4b4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_price.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_price.sql new file mode 100644 index 00000000..fa359856 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_price.sql @@ -0,0 +1,11 @@ + + + + + + +select price +from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia" +where price is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_referrer.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_referrer.sql new file mode 100644 index 00000000..6b1a78e3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_referrer.sql @@ -0,0 +1,11 @@ + + + + + + +select referrer +from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia" +where referrer is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_synth_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_synth_market_id.sql new file mode 100644 index 00000000..e4798c13 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..5d436370 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped.sql new file mode 100644 index 00000000..dd492773 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped.sql @@ -0,0 +1,11 @@ + + + + + + +select amount_unwrapped +from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia" +where amount_unwrapped is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_block_number.sql new file mode 100644 index 00000000..0770d594 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..541b25b2 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_contract.sql new file mode 100644 index 00000000..638094dc --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_event_name.sql new file mode 100644 index 00000000..b40b250a --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_fees_collected.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_fees_collected.sql new file mode 100644 index 00000000..1077e0f0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_fees_collected.sql @@ -0,0 +1,11 @@ + + + + + + +select fees_collected +from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia" +where fees_collected is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_id.sql new file mode 100644 index 00000000..4182bd78 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_synth_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_synth_market_id.sql new file mode 100644 index 00000000..4c1d7fe7 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..18a6763d --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_block_number.sql new file mode 100644 index 00000000..2ca596cd --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_block_timestamp.sql new file mode 100644 index 00000000..cfb6611f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_contract.sql new file mode 100644 index 00000000..ce119294 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia" +where contract is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_event_name.sql new file mode 100644 index 00000000..cc8af45c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_fees_collected.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_fees_collected.sql new file mode 100644 index 00000000..84c88a0d --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_fees_collected.sql @@ -0,0 +1,11 @@ + + + + + + +select fees_collected +from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia" +where fees_collected is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_id.sql new file mode 100644 index 00000000..a5ea32e7 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_synth_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_synth_market_id.sql new file mode 100644 index 00000000..e8a12265 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_synth_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select synth_market_id +from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia" +where synth_market_id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_transaction_hash.sql new file mode 100644 index 00000000..fad27863 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_cancelled_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_cancelled_base_sepolia_id.sql new file mode 100644 index 00000000..a540623e --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_cancelled_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."spot_order_cancelled_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_committed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_committed_base_sepolia_id.sql new file mode 100644 index 00000000..2e76d835 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_committed_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_settled_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_settled_base_sepolia_id.sql new file mode 100644 index 00000000..5cbf18e9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_settled_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_bought_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_bought_base_sepolia_id.sql new file mode 100644 index 00000000..7a852dc5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_bought_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_registered_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_registered_base_sepolia_id.sql new file mode 100644 index 00000000..ad591c27 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_registered_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_sold_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_sold_base_sepolia_id.sql new file mode 100644 index 00000000..61a60ba5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_sold_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_unwrapped_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_unwrapped_base_sepolia_id.sql new file mode 100644 index 00000000..703aaca9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_unwrapped_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_wrapped_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_wrapped_base_sepolia_id.sql new file mode 100644 index 00000000..df7bcbbf --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_wrapped_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_cancelled_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_cancelled_base_sepolia.sql new file mode 100644 index 00000000..f79bcb5c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_cancelled_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."spot_market_proxy_event_order_cancelled" diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_committed_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_committed_base_sepolia.sql new file mode 100644 index 00000000..89cf3b8e --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_committed_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."spot_market_proxy_event_order_committed" diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_settled_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_settled_base_sepolia.sql new file mode 100644 index 00000000..3c346c24 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_settled_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."spot_market_proxy_event_order_settled" diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_bought_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_bought_base_sepolia.sql new file mode 100644 index 00000000..baaae970 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_bought_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."spot_market_proxy_event_synth_bought" diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_registered_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_registered_base_sepolia.sql new file mode 100644 index 00000000..09c94a2f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_registered_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."spot_market_proxy_event_synth_registered" diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_sold_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_sold_base_sepolia.sql new file mode 100644 index 00000000..2477afdb --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_sold_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."spot_market_proxy_event_synth_sold" diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_unwrapped_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_unwrapped_base_sepolia.sql new file mode 100644 index 00000000..063e49f4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_unwrapped_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."spot_market_proxy_event_synth_unwrapped" diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_wrapped_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_wrapped_base_sepolia.sql new file mode 100644 index 00000000..603d60ea --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_wrapped_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."spot_market_proxy_event_synth_wrapped" diff --git a/compiled/synthetix/models/raw/eth/mainnet/blocks_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/blocks_eth_mainnet.sql new file mode 100644 index 00000000..db899603 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/blocks_eth_mainnet.sql @@ -0,0 +1,38 @@ +WITH indexer_blocks AS ( + SELECT + "timestamp" AS ts, + CAST( + "number" AS INTEGER + ) AS block_number + FROM + "analytics"."raw_eth_mainnet"."block" +), +parquet_blocks AS ( + SELECT + TO_TIMESTAMP("timestamp") AS ts, + CAST( + "block_number" AS INTEGER + ) AS block_number + FROM + "analytics"."raw_eth_mainnet"."blocks_parquet" +), + +combined_blocks AS ( + SELECT + * + FROM + indexer_blocks + + UNION ALL + SELECT + * + FROM + parquet_blocks +) +SELECT + DISTINCT MIN(ts) AS ts, + block_number +FROM + combined_blocks +GROUP BY + block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_account_created_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_account_created_eth_mainnet.sql new file mode 100644 index 00000000..aaec4e3f --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_account_created_eth_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_eth_mainnet"."core_proxy_event_account_created" diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_account_migrated_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_account_migrated_eth_mainnet.sql new file mode 100644 index 00000000..6ec30003 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_account_migrated_eth_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_eth_mainnet"."legacy_market_proxy_event_account_migrated" diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_delegation_updated_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_delegation_updated_eth_mainnet.sql new file mode 100644 index 00000000..ac0e4bc2 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_delegation_updated_eth_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_eth_mainnet"."core_proxy_event_delegation_updated" diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_deposited_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_deposited_eth_mainnet.sql new file mode 100644 index 00000000..2b15ac1a --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_deposited_eth_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_eth_mainnet"."core_proxy_event_deposited" diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_liquidation_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_liquidation_eth_mainnet.sql new file mode 100644 index 00000000..a07fb9b2 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_liquidation_eth_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_eth_mainnet"."core_proxy_event_liquidation" diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_market_registered_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_market_registered_eth_mainnet.sql new file mode 100644 index 00000000..b2ef8a78 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_market_registered_eth_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_eth_mainnet"."core_proxy_event_market_registered" diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_market_updated_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_market_updated_eth_mainnet.sql new file mode 100644 index 00000000..275f7d77 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_market_updated_eth_mainnet.sql @@ -0,0 +1,103 @@ +WITH events AS ( + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_eth_mainnet"."core_proxy_event_market_collateral_deposited" + + ) collateral_deposited + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_eth_mainnet"."core_proxy_event_market_collateral_withdrawn" + + ) collateral_withdrawn + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_eth_mainnet"."core_proxy_event_market_usd_deposited" + + ) usd_deposited + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_eth_mainnet"."core_proxy_event_market_usd_withdrawn" + + ) usd_withdrawn +) +SELECT + * +FROM + events +ORDER BY + block_timestamp \ No newline at end of file diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_pool_created_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_pool_created_eth_mainnet.sql new file mode 100644 index 00000000..12478efb --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_pool_created_eth_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_eth_mainnet"."core_proxy_event_pool_created" diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_rewards_claimed_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_rewards_claimed_eth_mainnet.sql new file mode 100644 index 00000000..43dbb7ab --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_rewards_claimed_eth_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_eth_mainnet"."core_proxy_event_rewards_claimed" diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_rewards_distributed_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_rewards_distributed_eth_mainnet.sql new file mode 100644 index 00000000..5b53cb6c --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_rewards_distributed_eth_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_eth_mainnet"."core_proxy_event_rewards_distributed" diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_usd_burned_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_usd_burned_eth_mainnet.sql new file mode 100644 index 00000000..fbe396dd --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_usd_burned_eth_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_eth_mainnet"."core_proxy_event_usd_burned" diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_usd_minted_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_usd_minted_eth_mainnet.sql new file mode 100644 index 00000000..ebd621ff --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_usd_minted_eth_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_eth_mainnet"."core_proxy_event_usd_minted" diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_collateral_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_collateral_eth_mainnet.sql new file mode 100644 index 00000000..78f166e6 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_collateral_eth_mainnet.sql @@ -0,0 +1,38 @@ +WITH base AS ( + SELECT + block_number, + contract_address, + chain_id, + pool_id, + collateral_type, + CAST( + amount AS numeric + ) AS amount, + CAST( + "value" AS numeric + ) AS collateral_value + FROM + "analytics"."raw_eth_mainnet"."core_get_vault_collateral" + WHERE + amount IS NOT NULL +) +SELECT + blocks.ts, + base.block_number, + base.contract_address, + CAST( + base.pool_id AS INTEGER + ) AS pool_id, + CAST( + base.collateral_type AS VARCHAR + ) AS collateral_type, + + base.amount / 1e18 + AS amount, + + base.collateral_value / 1e18 + AS collateral_value +FROM + base + JOIN "analytics"."raw_eth_mainnet"."blocks_parquet" AS blocks + ON base.block_number = blocks.block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_debt_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_debt_eth_mainnet.sql new file mode 100644 index 00000000..21afa592 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_debt_eth_mainnet.sql @@ -0,0 +1,32 @@ +WITH base AS ( + SELECT + block_number, + contract_address, + chain_id, + pool_id, + collateral_type, + CAST( + value_1 AS numeric + ) AS debt + FROM + "analytics"."raw_eth_mainnet"."core_get_vault_debt" + WHERE + value_1 IS NOT NULL +) +SELECT + blocks.ts, + base.block_number, + base.contract_address, + CAST( + base.pool_id AS INTEGER + ) AS pool_id, + CAST( + base.collateral_type AS VARCHAR + ) AS collateral_type, + + base.debt / 1e18 + AS debt +FROM + base + JOIN "analytics"."raw_eth_mainnet"."blocks_parquet" AS blocks + ON base.block_number = blocks.block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_liquidation_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_liquidation_eth_mainnet.sql new file mode 100644 index 00000000..03572e02 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_liquidation_eth_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_eth_mainnet"."core_proxy_event_vault_liquidation" diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_withdrawn_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_withdrawn_eth_mainnet.sql new file mode 100644 index 00000000..13d594e6 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_withdrawn_eth_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_eth_mainnet"."core_proxy_event_withdrawn" diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_account_c_0f48537cd74cb798591ed4f9c612985c.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_account_c_0f48537cd74cb798591ed4f9c612985c.sql new file mode 100644 index 00000000..d5ab64fa --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_account_c_0f48537cd74cb798591ed4f9c612985c.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_eth_mainnet"."core_account_created_eth_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'AccountCreated' +) + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_delegatio_4394e6d3658f80520484c746bbda874b.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_delegatio_4394e6d3658f80520484c746bbda874b.sql new file mode 100644 index 00000000..90418fb0 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_delegatio_4394e6d3658f80520484c746bbda874b.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'DelegationUpdated' +) + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_deposited_d0c36d861e4f6802850a07c61cd63dac.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_deposited_d0c36d861e4f6802850a07c61cd63dac.sql new file mode 100644 index 00000000..bf566bad --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_deposited_d0c36d861e4f6802850a07c61cd63dac.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'Deposited' +) + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_liquidati_81995d17c81a92034aeec108b3c3ac2a.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_liquidati_81995d17c81a92034aeec108b3c3ac2a.sql new file mode 100644 index 00000000..82d06452 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_liquidati_81995d17c81a92034aeec108b3c3ac2a.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'Liquidation' +) + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_market_re_2dfb6bc88e97780111c93264c2a9579e.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_market_re_2dfb6bc88e97780111c93264c2a9579e.sql new file mode 100644 index 00000000..0bcce330 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_market_re_2dfb6bc88e97780111c93264c2a9579e.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_eth_mainnet"."core_market_registered_eth_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'MarketRegistered' +) + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_market_up_7ba076211cbbb640a048ec7634d09886.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_market_up_7ba076211cbbb640a048ec7634d09886.sql new file mode 100644 index 00000000..e5939ebd --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_market_up_7ba076211cbbb640a048ec7634d09886.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited' +) + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_pool_crea_46b6678307559277d42bf31c285cce68.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_pool_crea_46b6678307559277d42bf31c285cce68.sql new file mode 100644 index 00000000..558cabf6 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_pool_crea_46b6678307559277d42bf31c285cce68.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'PoolCreated' +) + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_rewards_c_3400470aa0b3513778ddaae1366c24b7.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_rewards_c_3400470aa0b3513778ddaae1366c24b7.sql new file mode 100644 index 00000000..32855907 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_rewards_c_3400470aa0b3513778ddaae1366c24b7.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'RewardsClaimed' +) + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_rewards_d_422012a5b2e64aa65e3be081b505e9bb.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_rewards_d_422012a5b2e64aa65e3be081b505e9bb.sql new file mode 100644 index 00000000..5a4ea006 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_rewards_d_422012a5b2e64aa65e3be081b505e9bb.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'RewardsDistributed' +) + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_usd_burne_d199b1326f4abeafe146163d7e82cac2.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_usd_burne_d199b1326f4abeafe146163d7e82cac2.sql new file mode 100644 index 00000000..658969ab --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_usd_burne_d199b1326f4abeafe146163d7e82cac2.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'UsdBurned' +) + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_usd_minte_1cdd80f9a41233e7e9492176e8e94f66.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_usd_minte_1cdd80f9a41233e7e9492176e8e94f66.sql new file mode 100644 index 00000000..c3a13ac4 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_usd_minte_1cdd80f9a41233e7e9492176e8e94f66.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'UsdMinted' +) + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_vault_liq_4acb6756b2875f23c737e6e121320177.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_vault_liq_4acb6756b2875f23c737e6e121320177.sql new file mode 100644 index 00000000..182d3a3c --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_vault_liq_4acb6756b2875f23c737e6e121320177.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'VaultLiquidation' +) + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_withdrawn_061e5bf4357070ce9d2bb3c4fa4488f2.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_withdrawn_061e5bf4357070ce9d2bb3c4fa4488f2.sql new file mode 100644 index 00000000..ec00f1d6 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_withdrawn_061e5bf4357070ce9d2bb3c4fa4488f2.sql @@ -0,0 +1,22 @@ + + + + +with all_values as ( + + select + event_name as value_field, + count(*) as n_records + + from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet" + group by event_name + +) + +select * +from all_values +where value_field not in ( + 'Withdrawn' +) + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__0e00d04e52857726685b46491eb3126f.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__0e00d04e52857726685b46491eb3126f.sql new file mode 100644 index 00000000..2200cfe5 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__0e00d04e52857726685b46491eb3126f.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not deposited_collateral_value >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__142a88aa23e7aab522cfeb4e97f9dede.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__142a88aa23e7aab522cfeb4e97f9dede.sql new file mode 100644 index 00000000..c8abfaea --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__142a88aa23e7aab522cfeb4e97f9dede.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not token_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__157d6b4dbbb0fac88dba100ee1b9cfd9.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__157d6b4dbbb0fac88dba100ee1b9cfd9.sql new file mode 100644 index 00000000..be3ae6c4 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__157d6b4dbbb0fac88dba100ee1b9cfd9.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__1863fd816f138e8a3f0169dc6031f846.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__1863fd816f138e8a3f0169dc6031f846.sql new file mode 100644 index 00000000..2f722697 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__1863fd816f138e8a3f0169dc6031f846.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__2334d836541a83e1bf5131c9f2ebcf12.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__2334d836541a83e1bf5131c9f2ebcf12.sql new file mode 100644 index 00000000..39841a09 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__2334d836541a83e1bf5131c9f2ebcf12.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__28e82948dc6ab678ad812a53741a8b45.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__28e82948dc6ab678ad812a53741a8b45.sql new file mode 100644 index 00000000..87d975ce --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__28e82948dc6ab678ad812a53741a8b45.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_vault_collateral_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3ced14a391cf32c49396edfc10aeea56.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3ced14a391cf32c49396edfc10aeea56.sql new file mode 100644 index 00000000..64664802 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3ced14a391cf32c49396edfc10aeea56.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4933a15ad47f5808b128f72fc5a2f764.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4933a15ad47f5808b128f72fc5a2f764.sql new file mode 100644 index 00000000..574d0896 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4933a15ad47f5808b128f72fc5a2f764.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4a27e7f269078fd6d52dcbdc1f4cccaa.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4a27e7f269078fd6d52dcbdc1f4cccaa.sql new file mode 100644 index 00000000..2dc6d7f7 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4a27e7f269078fd6d52dcbdc1f4cccaa.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not token_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__55547c93691aab2c68f12ab54bd8eeb6.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__55547c93691aab2c68f12ab54bd8eeb6.sql new file mode 100644 index 00000000..89c35b64 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__55547c93691aab2c68f12ab54bd8eeb6.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__5e1ce99b75b0a3f820babda67941da0a.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__5e1ce99b75b0a3f820babda67941da0a.sql new file mode 100644 index 00000000..f8ed321d --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__5e1ce99b75b0a3f820babda67941da0a.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_vault_collateral_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collateral_value >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__64b2bd4201fb2e04ff0fdf39861a2977.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__64b2bd4201fb2e04ff0fdf39861a2977.sql new file mode 100644 index 00000000..3e418940 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__64b2bd4201fb2e04ff0fdf39861a2977.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not liquidate_as_account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__64fe8859043095bb79f806a2fc2e3ad0.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__64fe8859043095bb79f806a2fc2e3ad0.sql new file mode 100644 index 00000000..ed59bfe2 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__64fe8859043095bb79f806a2fc2e3ad0.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not duration >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__6b66c2ba0887795645e99b88deb4f1ea.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__6b66c2ba0887795645e99b88deb4f1ea.sql new file mode 100644 index 00000000..a7e0dce6 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__6b66c2ba0887795645e99b88deb4f1ea.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__850d1d54cc44743490eead197c78549e.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__850d1d54cc44743490eead197c78549e.sql new file mode 100644 index 00000000..e36580ce --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__850d1d54cc44743490eead197c78549e.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not market_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__87da3698c05a0c2dec1c49bbf2c2dc1a.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__87da3698c05a0c2dec1c49bbf2c2dc1a.sql new file mode 100644 index 00000000..dd6eaed5 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__87da3698c05a0c2dec1c49bbf2c2dc1a.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9da9ecf517a1cca467ef0aa90b794d23.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9da9ecf517a1cca467ef0aa90b794d23.sql new file mode 100644 index 00000000..7cd545c3 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9da9ecf517a1cca467ef0aa90b794d23.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not debt_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9decc85dc8999bd440933d85c2c93145.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9decc85dc8999bd440933d85c2c93145.sql new file mode 100644 index 00000000..0b37b4db --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9decc85dc8999bd440933d85c2c93145.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not liquidate_as_account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9f11a2c2f57a755a3f6b1e0ffeaa9b87.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9f11a2c2f57a755a3f6b1e0ffeaa9b87.sql new file mode 100644 index 00000000..f236a5eb --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9f11a2c2f57a755a3f6b1e0ffeaa9b87.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_vault_debt_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a490407e83132725bbc6fc0001adefe6.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a490407e83132725bbc6fc0001adefe6.sql new file mode 100644 index 00000000..22e0fa08 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a490407e83132725bbc6fc0001adefe6.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a5076d6da76c2ebdad71369ab529d017.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a5076d6da76c2ebdad71369ab529d017.sql new file mode 100644 index 00000000..27837c37 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a5076d6da76c2ebdad71369ab529d017.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ab3340df585e5d39571d087ca7bda546.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ab3340df585e5d39571d087ca7bda546.sql new file mode 100644 index 00000000..c841d51a --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ab3340df585e5d39571d087ca7bda546.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b5c763d35850d0285215e75d16281f41.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b5c763d35850d0285215e75d16281f41.sql new file mode 100644 index 00000000..c05e3087 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b5c763d35850d0285215e75d16281f41.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__bb6ebbb6a6ce6d43f01be8ed59f2504d.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__bb6ebbb6a6ce6d43f01be8ed59f2504d.sql new file mode 100644 index 00000000..e0699ded --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__bb6ebbb6a6ce6d43f01be8ed59f2504d.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__bdc679a230626364ca0549f88b5432ea.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__bdc679a230626364ca0549f88b5432ea.sql new file mode 100644 index 00000000..11fb63ac --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__bdc679a230626364ca0549f88b5432ea.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c5fcdbeaa3e1d24749794a9960190a70.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c5fcdbeaa3e1d24749794a9960190a70.sql new file mode 100644 index 00000000..02cd1471 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c5fcdbeaa3e1d24749794a9960190a70.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__d133a92aff53649ad809d9856f6093bb.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__d133a92aff53649ad809d9856f6093bb.sql new file mode 100644 index 00000000..055a1422 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__d133a92aff53649ad809d9856f6093bb.sql @@ -0,0 +1,22 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not leverage >= 1000000000000000000 + -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule. + or not leverage <= 1000000000000000000 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__dcb9f3d0eb710936590e4744a1dba9a1.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__dcb9f3d0eb710936590e4744a1dba9a1.sql new file mode 100644 index 00000000..48bd02ab --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__dcb9f3d0eb710936590e4744a1dba9a1.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not token_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e27d22f3bc14a0c94336e4f54758e361.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e27d22f3bc14a0c94336e4f54758e361.sql new file mode 100644 index 00000000..7e4e03d0 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e27d22f3bc14a0c94336e4f54758e361.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e62759940a69e060a2ee4d98660274e8.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e62759940a69e060a2ee4d98660274e8.sql new file mode 100644 index 00000000..ea78c2c2 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e62759940a69e060a2ee4d98660274e8.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_account_created_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e78cd25c31d029d1b39b35fd267f9885.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e78cd25c31d029d1b39b35fd267f9885.sql new file mode 100644 index 00000000..844c8f21 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e78cd25c31d029d1b39b35fd267f9885.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not collateral_amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e8596be14723c2504d1e35c74d629953.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e8596be14723c2504d1e35c74d629953.sql new file mode 100644 index 00000000..d8e314c6 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e8596be14723c2504d1e35c74d629953.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ed349b171986df3283564b0b5bc71aea.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ed349b171986df3283564b0b5bc71aea.sql new file mode 100644 index 00000000..e2eb190b --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ed349b171986df3283564b0b5bc71aea.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__f44247063799070cde0de14f062cb55c.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__f44247063799070cde0de14f062cb55c.sql new file mode 100644 index 00000000..09cb40b4 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__f44247063799070cde0de14f062cb55c.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not pool_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fe48a8a9210850d9b04cdea08008e5c6.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fe48a8a9210850d9b04cdea08008e5c6.sql new file mode 100644 index 00000000..a05157fb --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fe48a8a9210850d9b04cdea08008e5c6.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fecc8306cd07aafea6c325ce7fc34ce1.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fecc8306cd07aafea6c325ce7fc34ce1.sql new file mode 100644 index 00000000..7efa7d36 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fecc8306cd07aafea6c325ce7fc34ce1.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_vault_collateral_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not amount >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ffb3ff84b8a74f473ae464c2a79b3009.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ffb3ff84b8a74f473ae464c2a79b3009.sql new file mode 100644 index 00000000..c2d8c374 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ffb3ff84b8a74f473ae464c2a79b3009.sql @@ -0,0 +1,20 @@ + + +with meet_condition as( + select * + from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet" +), + +validation_errors as ( + select * + from meet_condition + where + -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds + 1 = 2 + -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule. + or not account_id >= 0 +) + +select * +from validation_errors + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_account_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_account_id.sql new file mode 100644 index 00000000..7c7409f1 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_eth_mainnet"."core_account_created_eth_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_block_number.sql new file mode 100644 index 00000000..cf1cb2a2 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_eth_mainnet"."core_account_created_eth_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_block_timestamp.sql new file mode 100644 index 00000000..3cb87463 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_eth_mainnet"."core_account_created_eth_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_contract.sql new file mode 100644 index 00000000..9515c4f6 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_eth_mainnet"."core_account_created_eth_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_event_name.sql new file mode 100644 index 00000000..5d71abe9 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_eth_mainnet"."core_account_created_eth_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_id.sql new file mode 100644 index 00000000..b779f9dc --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_eth_mainnet"."core_account_created_eth_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_owner.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_owner.sql new file mode 100644 index 00000000..8aa58347 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_owner.sql @@ -0,0 +1,11 @@ + + + + + + +select owner +from "analytics"."prod_raw_eth_mainnet"."core_account_created_eth_mainnet" +where owner is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_transaction_hash.sql new file mode 100644 index 00000000..a2b0e969 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_eth_mainnet"."core_account_created_eth_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_account_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_account_id.sql new file mode 100644 index 00000000..458420e7 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_block_number.sql new file mode 100644 index 00000000..62da63f8 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_block_timestamp.sql new file mode 100644 index 00000000..75809174 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_collateral_amount.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_collateral_amount.sql new file mode 100644 index 00000000..a930efa1 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_collateral_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_amount +from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet" +where collateral_amount is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_contract.sql new file mode 100644 index 00000000..5c4724d7 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_debt_amount.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_debt_amount.sql new file mode 100644 index 00000000..09822025 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_debt_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select debt_amount +from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet" +where debt_amount is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_event_name.sql new file mode 100644 index 00000000..de339ead --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_id.sql new file mode 100644 index 00000000..fda16091 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_staker.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_staker.sql new file mode 100644 index 00000000..bacfa895 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_staker.sql @@ -0,0 +1,11 @@ + + + + + + +select staker +from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet" +where staker is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_transaction_hash.sql new file mode 100644 index 00000000..478db5b0 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_account_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_account_id.sql new file mode 100644 index 00000000..ad4712dd --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_amount.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_amount.sql new file mode 100644 index 00000000..72a08397 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_block_number.sql new file mode 100644 index 00000000..89351f9b --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_block_timestamp.sql new file mode 100644 index 00000000..33855b1d --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_collateral_type.sql new file mode 100644 index 00000000..4c086c0f --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_contract.sql new file mode 100644 index 00000000..eed9a68c --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_event_name.sql new file mode 100644 index 00000000..2dd91155 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_id.sql new file mode 100644 index 00000000..e5fb3e43 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_leverage.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_leverage.sql new file mode 100644 index 00000000..f5acfb3e --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_leverage.sql @@ -0,0 +1,11 @@ + + + + + + +select leverage +from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet" +where leverage is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_pool_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_pool_id.sql new file mode 100644 index 00000000..6640e83f --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_sender.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_sender.sql new file mode 100644 index 00000000..5d4654b3 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_transaction_hash.sql new file mode 100644 index 00000000..548a3e3c --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_account_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_account_id.sql new file mode 100644 index 00000000..cfcced62 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_block_number.sql new file mode 100644 index 00000000..8bdc0104 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_block_timestamp.sql new file mode 100644 index 00000000..cce59261 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_collateral_type.sql new file mode 100644 index 00000000..c270fa5a --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_contract.sql new file mode 100644 index 00000000..db204ee5 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_event_name.sql new file mode 100644 index 00000000..a930bc61 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_id.sql new file mode 100644 index 00000000..90110082 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_sender.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_sender.sql new file mode 100644 index 00000000..624c8aa1 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_token_amount.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_token_amount.sql new file mode 100644 index 00000000..29bced20 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_token_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select token_amount +from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet" +where token_amount is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_transaction_hash.sql new file mode 100644 index 00000000..24300b4b --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_account_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_account_id.sql new file mode 100644 index 00000000..61e483da --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_block_number.sql new file mode 100644 index 00000000..1005e359 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_block_timestamp.sql new file mode 100644 index 00000000..91625676 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_collateral_type.sql new file mode 100644 index 00000000..d2e3e828 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_contract.sql new file mode 100644 index 00000000..adbac835 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_event_name.sql new file mode 100644 index 00000000..0d9d2817 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_id.sql new file mode 100644 index 00000000..a9468fca --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_liquidate_as_account_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_liquidate_as_account_id.sql new file mode 100644 index 00000000..006ce1bd --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_liquidate_as_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select liquidate_as_account_id +from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet" +where liquidate_as_account_id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_pool_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_pool_id.sql new file mode 100644 index 00000000..df4f5606 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_sender.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_sender.sql new file mode 100644 index 00000000..33b779e1 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_transaction_hash.sql new file mode 100644 index 00000000..2235c13c --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_block_number.sql new file mode 100644 index 00000000..76433f5b --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_eth_mainnet"."core_market_registered_eth_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_block_timestamp.sql new file mode 100644 index 00000000..1b681a8c --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_eth_mainnet"."core_market_registered_eth_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_contract.sql new file mode 100644 index 00000000..8172901a --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_eth_mainnet"."core_market_registered_eth_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_event_name.sql new file mode 100644 index 00000000..8a2278a0 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_eth_mainnet"."core_market_registered_eth_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_id.sql new file mode 100644 index 00000000..2e8cebd6 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_eth_mainnet"."core_market_registered_eth_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_market.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_market.sql new file mode 100644 index 00000000..a04d0589 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_market.sql @@ -0,0 +1,11 @@ + + + + + + +select market +from "analytics"."prod_raw_eth_mainnet"."core_market_registered_eth_mainnet" +where market is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_market_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_market_id.sql new file mode 100644 index 00000000..0e9bd70a --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_eth_mainnet"."core_market_registered_eth_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_sender.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_sender.sql new file mode 100644 index 00000000..757b01fb --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_eth_mainnet"."core_market_registered_eth_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_transaction_hash.sql new file mode 100644 index 00000000..b8523bc8 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_eth_mainnet"."core_market_registered_eth_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_e_f4a48863c0b61b139248c098c824a58f.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_e_f4a48863c0b61b139248c098c824a58f.sql new file mode 100644 index 00000000..0dd5d6f6 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_e_f4a48863c0b61b139248c098c824a58f.sql @@ -0,0 +1,11 @@ + + + + + + +select deposited_collateral_value +from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet" +where deposited_collateral_value is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_block_number.sql new file mode 100644 index 00000000..169cf8d2 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_block_timestamp.sql new file mode 100644 index 00000000..dd0a76fb --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_collateral_type.sql new file mode 100644 index 00000000..4aa069fe --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_contract.sql new file mode 100644 index 00000000..13b49e12 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_credit_capacity.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_credit_capacity.sql new file mode 100644 index 00000000..9a9e8fac --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_credit_capacity.sql @@ -0,0 +1,11 @@ + + + + + + +select credit_capacity +from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet" +where credit_capacity is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_event_name.sql new file mode 100644 index 00000000..8fd8cf40 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_id.sql new file mode 100644 index 00000000..092fe940 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_market_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_market_id.sql new file mode 100644 index 00000000..7325d5a4 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_market_id.sql @@ -0,0 +1,11 @@ + + + + + + +select market_id +from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet" +where market_id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_net_issuance.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_net_issuance.sql new file mode 100644 index 00000000..40cccc62 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_net_issuance.sql @@ -0,0 +1,11 @@ + + + + + + +select net_issuance +from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet" +where net_issuance is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_sender.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_sender.sql new file mode 100644 index 00000000..71c572d3 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_token_amount.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_token_amount.sql new file mode 100644 index 00000000..ba475566 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_token_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select token_amount +from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet" +where token_amount is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_transaction_hash.sql new file mode 100644 index 00000000..07fcbc82 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_block_number.sql new file mode 100644 index 00000000..1010c666 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_block_timestamp.sql new file mode 100644 index 00000000..57e96c3d --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_contract.sql new file mode 100644 index 00000000..81f06791 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_event_name.sql new file mode 100644 index 00000000..67e5f797 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_id.sql new file mode 100644 index 00000000..2da71770 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_owner.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_owner.sql new file mode 100644 index 00000000..dfce3ca4 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_owner.sql @@ -0,0 +1,11 @@ + + + + + + +select owner +from "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet" +where owner is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_pool_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_pool_id.sql new file mode 100644 index 00000000..d678aa9e --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_sender.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_sender.sql new file mode 100644 index 00000000..dc2b3670 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_transaction_hash.sql new file mode 100644 index 00000000..dc405ae4 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_account_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_account_id.sql new file mode 100644 index 00000000..525815a3 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_amount.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_amount.sql new file mode 100644 index 00000000..f34943c3 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_block_number.sql new file mode 100644 index 00000000..8e58d67d --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_block_timestamp.sql new file mode 100644 index 00000000..d38dcd8b --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_collateral_type.sql new file mode 100644 index 00000000..be580d1c --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_contract.sql new file mode 100644 index 00000000..66d337fa --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_distributor.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_distributor.sql new file mode 100644 index 00000000..9963ecba --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_distributor.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor +from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet" +where distributor is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_event_name.sql new file mode 100644 index 00000000..3f70ab02 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_id.sql new file mode 100644 index 00000000..d7e05849 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_pool_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_pool_id.sql new file mode 100644 index 00000000..d7306fc5 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_transaction_hash.sql new file mode 100644 index 00000000..f0129975 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_amount.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_amount.sql new file mode 100644 index 00000000..eb27fd45 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_block_number.sql new file mode 100644 index 00000000..27398703 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_block_timestamp.sql new file mode 100644 index 00000000..76d084e1 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_collateral_type.sql new file mode 100644 index 00000000..f3a80c64 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_contract.sql new file mode 100644 index 00000000..d68a2fe4 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_distributor.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_distributor.sql new file mode 100644 index 00000000..fd9a61db --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_distributor.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor +from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet" +where distributor is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_duration.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_duration.sql new file mode 100644 index 00000000..3a9df87a --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_duration.sql @@ -0,0 +1,11 @@ + + + + + + +select duration +from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet" +where duration is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_event_name.sql new file mode 100644 index 00000000..a79e7fb2 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_id.sql new file mode 100644 index 00000000..98c176fb --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_pool_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_pool_id.sql new file mode 100644 index 00000000..28fd215d --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_transaction_hash.sql new file mode 100644 index 00000000..b0b92ee0 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_account_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_account_id.sql new file mode 100644 index 00000000..e6c69b1a --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_amount.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_amount.sql new file mode 100644 index 00000000..a2fefbb2 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_block_number.sql new file mode 100644 index 00000000..f6ef0190 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_block_timestamp.sql new file mode 100644 index 00000000..3a4f30c1 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_collateral_type.sql new file mode 100644 index 00000000..c0dbcf8a --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_contract.sql new file mode 100644 index 00000000..220adeec --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_event_name.sql new file mode 100644 index 00000000..a61fe789 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_id.sql new file mode 100644 index 00000000..f1e43522 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_pool_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_pool_id.sql new file mode 100644 index 00000000..655b2c66 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_sender.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_sender.sql new file mode 100644 index 00000000..1b9ca624 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_transaction_hash.sql new file mode 100644 index 00000000..621ed640 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_account_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_account_id.sql new file mode 100644 index 00000000..3b4c19c1 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_amount.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_amount.sql new file mode 100644 index 00000000..135aba4b --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_block_number.sql new file mode 100644 index 00000000..5fb066fe --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_block_timestamp.sql new file mode 100644 index 00000000..8cb5c268 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_collateral_type.sql new file mode 100644 index 00000000..4b2fd407 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_contract.sql new file mode 100644 index 00000000..9d65e722 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_event_name.sql new file mode 100644 index 00000000..dae5ae37 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_id.sql new file mode 100644 index 00000000..7f3f0749 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_pool_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_pool_id.sql new file mode 100644 index 00000000..c9854f60 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_sender.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_sender.sql new file mode 100644 index 00000000..0f13b08d --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_transaction_hash.sql new file mode 100644 index 00000000..463c404f --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_amount.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_amount.sql new file mode 100644 index 00000000..d28328b1 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select amount +from "analytics"."prod_raw_eth_mainnet"."core_vault_collateral_eth_mainnet" +where amount is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_block_number.sql new file mode 100644 index 00000000..8d470f2b --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_eth_mainnet"."core_vault_collateral_eth_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_collateral_type.sql new file mode 100644 index 00000000..3d5c31ba --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_eth_mainnet"."core_vault_collateral_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_collateral_value.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_collateral_value.sql new file mode 100644 index 00000000..a9616b50 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_collateral_value.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_value +from "analytics"."prod_raw_eth_mainnet"."core_vault_collateral_eth_mainnet" +where collateral_value is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_contract_address.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_contract_address.sql new file mode 100644 index 00000000..985d1f01 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_contract_address.sql @@ -0,0 +1,11 @@ + + + + + + +select contract_address +from "analytics"."prod_raw_eth_mainnet"."core_vault_collateral_eth_mainnet" +where contract_address is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_pool_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_pool_id.sql new file mode 100644 index 00000000..b5db8ceb --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_eth_mainnet"."core_vault_collateral_eth_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_ts.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_ts.sql new file mode 100644 index 00000000..4a5e9590 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_raw_eth_mainnet"."core_vault_collateral_eth_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_block_number.sql new file mode 100644 index 00000000..d9495fcc --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_eth_mainnet"."core_vault_debt_eth_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_collateral_type.sql new file mode 100644 index 00000000..96b2feff --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_eth_mainnet"."core_vault_debt_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_contract_address.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_contract_address.sql new file mode 100644 index 00000000..e5cb1247 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_contract_address.sql @@ -0,0 +1,11 @@ + + + + + + +select contract_address +from "analytics"."prod_raw_eth_mainnet"."core_vault_debt_eth_mainnet" +where contract_address is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_debt.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_debt.sql new file mode 100644 index 00000000..224d5d22 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_debt.sql @@ -0,0 +1,11 @@ + + + + + + +select debt +from "analytics"."prod_raw_eth_mainnet"."core_vault_debt_eth_mainnet" +where debt is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_pool_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_pool_id.sql new file mode 100644 index 00000000..2b929991 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_eth_mainnet"."core_vault_debt_eth_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_ts.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_ts.sql new file mode 100644 index 00000000..83a0ee4e --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_ts.sql @@ -0,0 +1,11 @@ + + + + + + +select ts +from "analytics"."prod_raw_eth_mainnet"."core_vault_debt_eth_mainnet" +where ts is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidatio_4be498920f5476d4fbe5b11196fb1973.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidatio_4be498920f5476d4fbe5b11196fb1973.sql new file mode 100644 index 00000000..03f6f57c --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidatio_4be498920f5476d4fbe5b11196fb1973.sql @@ -0,0 +1,11 @@ + + + + + + +select liquidate_as_account_id +from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet" +where liquidate_as_account_id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_block_number.sql new file mode 100644 index 00000000..4a0dd323 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_block_timestamp.sql new file mode 100644 index 00000000..405bf2f3 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_collateral_type.sql new file mode 100644 index 00000000..32c98004 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_contract.sql new file mode 100644 index 00000000..2cc7dd37 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_event_name.sql new file mode 100644 index 00000000..0c8fc63d --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_id.sql new file mode 100644 index 00000000..484e9263 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_liquidation_data.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_liquidation_data.sql new file mode 100644 index 00000000..95392adf --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_liquidation_data.sql @@ -0,0 +1,11 @@ + + + + + + +select liquidation_data +from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet" +where liquidation_data is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_pool_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_pool_id.sql new file mode 100644 index 00000000..bc9d82a0 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_pool_id.sql @@ -0,0 +1,11 @@ + + + + + + +select pool_id +from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet" +where pool_id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_sender.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_sender.sql new file mode 100644 index 00000000..4b334e43 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_transaction_hash.sql new file mode 100644 index 00000000..728aed6f --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_account_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_account_id.sql new file mode 100644 index 00000000..543f7cea --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_account_id.sql @@ -0,0 +1,11 @@ + + + + + + +select account_id +from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet" +where account_id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_block_number.sql new file mode 100644 index 00000000..49316613 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_block_timestamp.sql new file mode 100644 index 00000000..32617330 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_block_timestamp.sql @@ -0,0 +1,11 @@ + + + + + + +select block_timestamp +from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet" +where block_timestamp is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_collateral_type.sql new file mode 100644 index 00000000..a5bc9eef --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_collateral_type.sql @@ -0,0 +1,11 @@ + + + + + + +select collateral_type +from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet" +where collateral_type is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_contract.sql new file mode 100644 index 00000000..9e5390a6 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_contract.sql @@ -0,0 +1,11 @@ + + + + + + +select contract +from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet" +where contract is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_event_name.sql new file mode 100644 index 00000000..9305ec05 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_event_name.sql @@ -0,0 +1,11 @@ + + + + + + +select event_name +from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet" +where event_name is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_id.sql new file mode 100644 index 00000000..0743bf27 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_sender.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_sender.sql new file mode 100644 index 00000000..9b08d90d --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_sender.sql @@ -0,0 +1,11 @@ + + + + + + +select sender +from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet" +where sender is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_token_amount.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_token_amount.sql new file mode 100644 index 00000000..231db26d --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_token_amount.sql @@ -0,0 +1,11 @@ + + + + + + +select token_amount +from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet" +where token_amount is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_transaction_hash.sql new file mode 100644 index 00000000..9a5d0783 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_transaction_hash.sql @@ -0,0 +1,11 @@ + + + + + + +select transaction_hash +from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet" +where transaction_hash is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_account_created_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_account_created_eth_mainnet_id.sql new file mode 100644 index 00000000..68a6d6f2 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_account_created_eth_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_eth_mainnet"."core_account_created_eth_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_account_migrated_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_account_migrated_eth_mainnet_id.sql new file mode 100644 index 00000000..268a3007 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_account_migrated_eth_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_delegation_updated_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_delegation_updated_eth_mainnet_id.sql new file mode 100644 index 00000000..d672fe10 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_delegation_updated_eth_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_deposited_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_deposited_eth_mainnet_id.sql new file mode 100644 index 00000000..87326b30 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_deposited_eth_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_liquidation_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_liquidation_eth_mainnet_id.sql new file mode 100644 index 00000000..8c1f84b2 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_liquidation_eth_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_market_registered_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_market_registered_eth_mainnet_id.sql new file mode 100644 index 00000000..d11818e8 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_market_registered_eth_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_eth_mainnet"."core_market_registered_eth_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_market_registered_eth_mainnet_market_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_market_registered_eth_mainnet_market_id.sql new file mode 100644 index 00000000..4fc91781 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_market_registered_eth_mainnet_market_id.sql @@ -0,0 +1,14 @@ + + + + +select + market_id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_eth_mainnet"."core_market_registered_eth_mainnet" +where market_id is not null +group by market_id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_market_updated_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_market_updated_eth_mainnet_id.sql new file mode 100644 index 00000000..62bbaade --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_market_updated_eth_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_pool_created_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_pool_created_eth_mainnet_id.sql new file mode 100644 index 00000000..767bd345 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_pool_created_eth_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_rewards_claimed_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_rewards_claimed_eth_mainnet_id.sql new file mode 100644 index 00000000..0f9c2717 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_rewards_claimed_eth_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_rewards_distributed_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_rewards_distributed_eth_mainnet_id.sql new file mode 100644 index 00000000..6d958cc5 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_rewards_distributed_eth_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_usd_burned_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_usd_burned_eth_mainnet_id.sql new file mode 100644 index 00000000..b5eef7cd --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_usd_burned_eth_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_usd_minted_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_usd_minted_eth_mainnet_id.sql new file mode 100644 index 00000000..343539b7 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_usd_minted_eth_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_vault_liquidation_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_vault_liquidation_eth_mainnet_id.sql new file mode 100644 index 00000000..f5e8c869 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_vault_liquidation_eth_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_withdrawn_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_withdrawn_eth_mainnet_id.sql new file mode 100644 index 00000000..7ced34d8 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_withdrawn_eth_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/schema.yml/dbt_utils_recency_blocks_eth_mainnet_hour__ts__1.sql b/compiled/synthetix/models/raw/eth/mainnet/schema.yml/dbt_utils_recency_blocks_eth_mainnet_hour__ts__1.sql new file mode 100644 index 00000000..1103bbd8 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/schema.yml/dbt_utils_recency_blocks_eth_mainnet_hour__ts__1.sql @@ -0,0 +1,38 @@ + + + + + + + +with recency as ( + + select + + + + max(ts) as most_recent + + from "analytics"."prod_raw_eth_mainnet"."blocks_eth_mainnet" + + + +) + +select + + + most_recent, + cast( + + now() + ((interval '1 hour') * (-1)) + + as timestamp) as threshold + +from recency +where most_recent < cast( + + now() + ((interval '1 hour') * (-1)) + + as timestamp) + diff --git a/compiled/synthetix/models/raw/eth/mainnet/schema.yml/not_null_blocks_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/schema.yml/not_null_blocks_eth_mainnet_block_number.sql new file mode 100644 index 00000000..a2e5a7b2 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/schema.yml/not_null_blocks_eth_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_eth_mainnet"."blocks_eth_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/eth/mainnet/schema.yml/unique_blocks_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/schema.yml/unique_blocks_eth_mainnet_block_number.sql new file mode 100644 index 00000000..bbf62522 --- /dev/null +++ b/compiled/synthetix/models/raw/eth/mainnet/schema.yml/unique_blocks_eth_mainnet_block_number.sql @@ -0,0 +1,14 @@ + + + + +select + block_number as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_eth_mainnet"."blocks_eth_mainnet" +where block_number is not null +group by block_number +having count(*) > 1 + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1.sql b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1.sql new file mode 100644 index 00000000..992cf3f9 --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor_address +from "analytics"."prod_seeds"."arbitrum_mainnet_reward_distributors" +where distributor_address is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_reward_distributors_token_symbol.sql b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_reward_distributors_token_symbol.sql new file mode 100644 index 00000000..9831dbed --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_reward_distributors_token_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_seeds"."arbitrum_mainnet_reward_distributors" +where token_symbol is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_tokens_token_address.sql b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_tokens_token_address.sql new file mode 100644 index 00000000..70baaa32 --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_tokens_token_address.sql @@ -0,0 +1,11 @@ + + + + + + +select token_address +from "analytics"."prod_seeds"."arbitrum_mainnet_tokens" +where token_address is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_tokens_token_symbol.sql b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_tokens_token_symbol.sql new file mode 100644 index 00000000..16f53cac --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_tokens_token_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_seeds"."arbitrum_mainnet_tokens" +where token_symbol is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_rewa_3a4a8df81e818d95a18f5f2753e2c60f.sql b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_rewa_3a4a8df81e818d95a18f5f2753e2c60f.sql new file mode 100644 index 00000000..c081dc44 --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_rewa_3a4a8df81e818d95a18f5f2753e2c60f.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor_address +from "analytics"."prod_seeds"."arbitrum_sepolia_reward_distributors" +where distributor_address is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_reward_distributors_token_symbol.sql b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_reward_distributors_token_symbol.sql new file mode 100644 index 00000000..5541020e --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_reward_distributors_token_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_seeds"."arbitrum_sepolia_reward_distributors" +where token_symbol is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_tokens_token_address.sql b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_tokens_token_address.sql new file mode 100644 index 00000000..1a584e66 --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_tokens_token_address.sql @@ -0,0 +1,11 @@ + + + + + + +select token_address +from "analytics"."prod_seeds"."arbitrum_sepolia_tokens" +where token_address is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_tokens_token_symbol.sql b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_tokens_token_symbol.sql new file mode 100644 index 00000000..eaee7180 --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_tokens_token_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_seeds"."arbitrum_sepolia_tokens" +where token_symbol is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_reward_distributors_distributor_address.sql b/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_reward_distributors_distributor_address.sql new file mode 100644 index 00000000..5518e365 --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_reward_distributors_distributor_address.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor_address +from "analytics"."prod_seeds"."base_mainnet_reward_distributors" +where distributor_address is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_reward_distributors_token_symbol.sql b/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_reward_distributors_token_symbol.sql new file mode 100644 index 00000000..3d5e533f --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_reward_distributors_token_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_seeds"."base_mainnet_reward_distributors" +where token_symbol is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_tokens_token_address.sql b/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_tokens_token_address.sql new file mode 100644 index 00000000..f430a1e1 --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_tokens_token_address.sql @@ -0,0 +1,11 @@ + + + + + + +select token_address +from "analytics"."prod_seeds"."base_mainnet_tokens" +where token_address is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_tokens_token_symbol.sql b/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_tokens_token_symbol.sql new file mode 100644 index 00000000..f3ca43b5 --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_tokens_token_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_seeds"."base_mainnet_tokens" +where token_symbol is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_reward_distributors_distributor_address.sql b/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_reward_distributors_distributor_address.sql new file mode 100644 index 00000000..199c7b9e --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_reward_distributors_distributor_address.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor_address +from "analytics"."prod_seeds"."base_sepolia_reward_distributors" +where distributor_address is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_reward_distributors_token_symbol.sql b/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_reward_distributors_token_symbol.sql new file mode 100644 index 00000000..c0bcd57f --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_reward_distributors_token_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_seeds"."base_sepolia_reward_distributors" +where token_symbol is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_tokens_token_address.sql b/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_tokens_token_address.sql new file mode 100644 index 00000000..1a8b74f2 --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_tokens_token_address.sql @@ -0,0 +1,11 @@ + + + + + + +select token_address +from "analytics"."prod_seeds"."base_sepolia_tokens" +where token_address is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_tokens_token_symbol.sql b/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_tokens_token_symbol.sql new file mode 100644 index 00000000..75814f13 --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_tokens_token_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_seeds"."base_sepolia_tokens" +where token_symbol is null + + diff --git a/graph.gpickle b/graph.gpickle new file mode 100644 index 00000000..4d7117d5 Binary files /dev/null and b/graph.gpickle differ diff --git a/graph_summary.json b/graph_summary.json new file mode 100644 index 00000000..3283281e --- /dev/null +++ b/graph_summary.json @@ -0,0 +1 @@ +{"_invocation_id": "7acd4e94-8d2f-4261-b197-0931428af2be", "linked": {"0": {"name": "source.synthetix.raw_eth_mainnet.block", "type": "source", "succ": [1079]}, "1": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_account_created", "type": "source", "succ": [1080]}, "2": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_delegation_updated", "type": "source", "succ": [1091]}, "3": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_deposited", "type": "source", "succ": [1084]}, "4": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_withdrawn", "type": "source", "succ": [1089]}, "5": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_liquidation", "type": "source", "succ": [1092]}, "6": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_registered", "type": "source", "succ": [1086]}, "7": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_pool_created", "type": "source", "succ": [1085]}, "8": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_claimed", "type": "source", "succ": [1090]}, "9": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_distributed", "type": "source", "succ": [1088]}, "10": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_usd_burned", "type": "source", "succ": [1094]}, "11": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_usd_minted", "type": "source", "succ": [1095]}, "12": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_vault_liquidation", "type": "source", "succ": [1083]}, "13": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_collateral_deposited", "type": "source", "succ": [1087]}, "14": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_collateral_withdrawn", "type": "source", "succ": [1087]}, "15": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_usd_deposited", "type": "source", "succ": [1087]}, "16": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_usd_withdrawn", "type": "source", "succ": [1087]}, "17": {"name": "source.synthetix.raw_eth_mainnet.legacy_market_proxy_event_account_migrated", "type": "source", "succ": [1093]}, "18": {"name": "source.synthetix.raw_eth_mainnet.core_get_vault_collateral", "type": "source", "succ": [1082]}, "19": {"name": "source.synthetix.raw_eth_mainnet.core_get_vault_debt", "type": "source", "succ": [1081]}, "20": {"name": "source.synthetix.raw_eth_mainnet.blocks_parquet", "type": "source", "succ": [1079, 1081, 1082]}, "21": {"name": "source.synthetix.raw_base_sepolia.block", "type": "source", "succ": [1180]}, "22": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_created", "type": "source", "succ": [1186]}, "23": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_liquidation_attempt", "type": "source", "succ": [1188]}, "24": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_collateral_modified", "type": "source", "succ": [1184]}, "25": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_created", "type": "source", "succ": [1187]}, "26": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_updated", "type": "source", "succ": [1183]}, "27": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_market_updated", "type": "source", "succ": [1183]}, "28": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_committed", "type": "source", "succ": [1181]}, "29": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_order_committed", "type": "source", "succ": [1181]}, "30": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_settled", "type": "source", "succ": [1182]}, "31": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_position_liquidated", "type": "source", "succ": [1190]}, "32": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_previous_order_expired", "type": "source", "succ": [1191]}, "33": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_rate_updated", "type": "source", "succ": [1185]}, "34": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_charged", "type": "source", "succ": [1189]}, "35": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_committed", "type": "source", "succ": [1208]}, "36": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_settled", "type": "source", "succ": [1215]}, "37": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_cancelled", "type": "source", "succ": [1213]}, "38": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_registered", "type": "source", "succ": [1210]}, "39": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_bought", "type": "source", "succ": [1214]}, "40": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_sold", "type": "source", "succ": [1211]}, "41": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_wrapped", "type": "source", "succ": [1209]}, "42": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_unwrapped", "type": "source", "succ": [1212]}, "43": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_account_created", "type": "source", "succ": [1196]}, "44": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_delegation_updated", "type": "source", "succ": [1203]}, "45": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_deposited", "type": "source", "succ": [1195]}, "46": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_withdrawn", "type": "source", "succ": [1198]}, "47": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_liquidation", "type": "source", "succ": [1201]}, "48": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_market_registered", "type": "source", "succ": [1206]}, "49": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_pool_created", "type": "source", "succ": [1207]}, "50": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_claimed", "type": "source", "succ": [1200]}, "51": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_distributed", "type": "source", "succ": [1193]}, "52": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_usd_burned", "type": "source", "succ": [1205]}, "53": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_usd_minted", "type": "source", "succ": [1202]}, "54": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_vault_liquidation", "type": "source", "succ": [1199]}, "55": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_deposited", "type": "source", "succ": [1194]}, "56": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_withdrawn", "type": "source", "succ": [1194]}, "57": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_deposited", "type": "source", "succ": [1194]}, "58": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_withdrawn", "type": "source", "succ": [1194]}, "59": {"name": "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_deposited", "type": "source", "succ": [1194]}, "60": {"name": "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_withdrawn", "type": "source", "succ": [1194]}, "61": {"name": "source.synthetix.raw_base_sepolia.buyback_snx_event_buyback_processed", "type": "source", "succ": [1192]}, "62": {"name": "source.synthetix.raw_base_sepolia.core_get_vault_collateral", "type": "source", "succ": [1197]}, "63": {"name": "source.synthetix.raw_base_sepolia.core_get_vault_debt", "type": "source", "succ": [1204]}, "64": {"name": "source.synthetix.raw_base_sepolia.blocks_parquet", "type": "source", "succ": [1180, 1197, 1204]}, "65": {"name": "source.synthetix.raw_arbitrum_sepolia.block", "type": "source", "succ": [1120]}, "66": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_committed", "type": "source", "succ": [1140]}, "67": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_settled", "type": "source", "succ": [1136]}, "68": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_cancelled", "type": "source", "succ": [1142]}, "69": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_registered", "type": "source", "succ": [1143]}, "70": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_bought", "type": "source", "succ": [1139]}, "71": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_sold", "type": "source", "succ": [1138]}, "72": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_wrapped", "type": "source", "succ": [1137]}, "73": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_unwrapped", "type": "source", "succ": [1141]}, "74": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created", "type": "source", "succ": [1128]}, "75": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated", "type": "source", "succ": [1124]}, "76": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_deposited", "type": "source", "succ": [1125]}, "77": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_withdrawn", "type": "source", "succ": [1132]}, "78": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_liquidation", "type": "source", "succ": [1126]}, "79": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_registered", "type": "source", "succ": [1129]}, "80": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_pool_created", "type": "source", "succ": [1127]}, "81": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_claimed", "type": "source"}, "82": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_distributed", "type": "source", "succ": [1122]}, "83": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_burned", "type": "source", "succ": [1135]}, "84": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_minted", "type": "source", "succ": [1134]}, "85": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_vault_liquidation", "type": "source", "succ": [1121]}, "86": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_deposited", "type": "source", "succ": [1130]}, "87": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_withdrawn", "type": "source", "succ": [1130]}, "88": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_deposited", "type": "source", "succ": [1130]}, "89": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_withdrawn", "type": "source", "succ": [1130]}, "90": {"name": "source.synthetix.raw_arbitrum_sepolia.core_get_vault_collateral", "type": "source", "succ": [1123]}, "91": {"name": "source.synthetix.raw_arbitrum_sepolia.core_get_vault_debt", "type": "source", "succ": [1131]}, "92": {"name": "source.synthetix.raw_arbitrum_sepolia.blocks_parquet", "type": "source", "succ": [1120, 1123, 1131]}, "93": {"name": "source.synthetix.raw_arbitrum_mainnet.block", "type": "source", "succ": [1096]}, "94": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_committed", "type": "source", "succ": [1114]}, "95": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_settled", "type": "source", "succ": [1117]}, "96": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_cancelled", "type": "source", "succ": [1116]}, "97": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_registered", "type": "source", "succ": [1115]}, "98": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_bought", "type": "source", "succ": [1113]}, "99": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_sold", "type": "source", "succ": [1112]}, "100": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_wrapped", "type": "source", "succ": [1119]}, "101": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_unwrapped", "type": "source", "succ": [1118]}, "102": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created", "type": "source", "succ": [1100]}, "103": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_delegation_updated", "type": "source", "succ": [1101]}, "104": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_deposited", "type": "source", "succ": [1105]}, "105": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn", "type": "source", "succ": [1108]}, "106": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_liquidation", "type": "source", "succ": [1104]}, "107": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered", "type": "source", "succ": [1098]}, "108": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created", "type": "source", "succ": [1103]}, "109": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed", "type": "source", "succ": [1097, 1133]}, "110": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_distributed", "type": "source", "succ": [1102]}, "111": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_burned", "type": "source", "succ": [1107]}, "112": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_minted", "type": "source", "succ": [1110]}, "113": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation", "type": "source", "succ": [1111]}, "114": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_deposited", "type": "source", "succ": [1109]}, "115": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_withdrawn", "type": "source", "succ": [1109]}, "116": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_deposited", "type": "source", "succ": [1109]}, "117": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_withdrawn", "type": "source", "succ": [1109]}, "118": {"name": "source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral", "type": "source", "succ": [1099]}, "119": {"name": "source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt", "type": "source", "succ": [1106]}, "120": {"name": "source.synthetix.raw_arbitrum_mainnet.blocks_parquet", "type": "source", "succ": [1096, 1099, 1106]}, "121": {"name": "source.synthetix.raw_base_mainnet.block", "type": "source", "succ": [1144]}, "122": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_created", "type": "source", "succ": [1146]}, "123": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_liquidation_attempt", "type": "source", "succ": [1155]}, "124": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_collateral_modified", "type": "source", "succ": [1149]}, "125": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_created", "type": "source", "succ": [1145]}, "126": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_updated", "type": "source", "succ": [1154]}, "127": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_market_updated", "type": "source", "succ": [1154]}, "128": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_committed", "type": "source", "succ": [1148]}, "129": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_order_committed", "type": "source", "succ": [1148]}, "130": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_settled", "type": "source", "succ": [1153]}, "131": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_position_liquidated", "type": "source", "succ": [1152]}, "132": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_previous_order_expired", "type": "source", "succ": [1151]}, "133": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_rate_updated", "type": "source", "succ": [1147]}, "134": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_charged", "type": "source", "succ": [1150]}, "135": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_committed", "type": "source", "succ": [1175]}, "136": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_settled", "type": "source", "succ": [1177]}, "137": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_cancelled", "type": "source", "succ": [1178]}, "138": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_registered", "type": "source", "succ": [1174]}, "139": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_bought", "type": "source", "succ": [1176]}, "140": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_sold", "type": "source", "succ": [1179]}, "141": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_wrapped", "type": "source", "succ": [1172]}, "142": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_unwrapped", "type": "source", "succ": [1173]}, "143": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_account_created", "type": "source", "succ": [1165]}, "144": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_delegation_updated", "type": "source", "succ": [1171]}, "145": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_deposited", "type": "source", "succ": [1157]}, "146": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_withdrawn", "type": "source", "succ": [1164]}, "147": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_liquidation", "type": "source", "succ": [1162]}, "148": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_market_registered", "type": "source", "succ": [1170]}, "149": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_pool_created", "type": "source", "succ": [1159]}, "150": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_claimed", "type": "source", "succ": [1158]}, "151": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_distributed", "type": "source", "succ": [1167]}, "152": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_usd_burned", "type": "source", "succ": [1161]}, "153": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_usd_minted", "type": "source", "succ": [1168]}, "154": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_vault_liquidation", "type": "source", "succ": [1163]}, "155": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_deposited", "type": "source", "succ": [1166]}, "156": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_withdrawn", "type": "source", "succ": [1166]}, "157": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_deposited", "type": "source", "succ": [1166]}, "158": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_withdrawn", "type": "source", "succ": [1166]}, "159": {"name": "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_deposited", "type": "source", "succ": [1166]}, "160": {"name": "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_withdrawn", "type": "source", "succ": [1166]}, "161": {"name": "source.synthetix.raw_base_mainnet.buyback_snx_legacy_event_buyback_processed", "type": "source", "succ": [1156]}, "162": {"name": "source.synthetix.raw_base_mainnet.buyback_snx_event_buyback_processed", "type": "source", "succ": [1156]}, "163": {"name": "source.synthetix.raw_base_mainnet.core_get_vault_collateral", "type": "source", "succ": [1160]}, "164": {"name": "source.synthetix.raw_base_mainnet.core_get_vault_debt", "type": "source", "succ": [1169]}, "165": {"name": "source.synthetix.raw_base_mainnet.blocks_parquet", "type": "source", "succ": [1144, 1160, 1169]}, "166": {"name": "source.synthetix.raw_optimism_mainnet.block", "type": "source"}, "167": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_committed", "type": "source"}, "168": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_settled", "type": "source"}, "169": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_cancelled", "type": "source"}, "170": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_registered", "type": "source"}, "171": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_bought", "type": "source"}, "172": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_sold", "type": "source"}, "173": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_wrapped", "type": "source"}, "174": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_unwrapped", "type": "source"}, "175": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_account_created", "type": "source"}, "176": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_delegation_updated", "type": "source"}, "177": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_deposited", "type": "source"}, "178": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_withdrawn", "type": "source"}, "179": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_liquidation", "type": "source"}, "180": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_registered", "type": "source"}, "181": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_pool_created", "type": "source"}, "182": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_claimed", "type": "source"}, "183": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_distributed", "type": "source"}, "184": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_burned", "type": "source"}, "185": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_minted", "type": "source"}, "186": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_vault_liquidation", "type": "source"}, "187": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_deposited", "type": "source"}, "188": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_withdrawn", "type": "source"}, "189": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_removed", "type": "source"}, "190": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_submitted", "type": "source"}, "191": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_funding_recomputed", "type": "source"}, "192": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_margin_transferred", "type": "source"}, "193": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_perps_tracking", "type": "source"}, "194": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_flagged", "type": "source"}, "195": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated0", "type": "source"}, "196": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated1", "type": "source"}, "197": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified0", "type": "source"}, "198": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified1", "type": "source"}, "199": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_removed", "type": "source"}, "200": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_submitted", "type": "source"}, "201": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_funding_recomputed", "type": "source"}, "202": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_margin_transferred", "type": "source"}, "203": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_perps_tracking", "type": "source"}, "204": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_flagged", "type": "source"}, "205": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated0", "type": "source"}, "206": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated1", "type": "source"}, "207": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified0", "type": "source"}, "208": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified1", "type": "source"}, "209": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_removed", "type": "source"}, "210": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_submitted", "type": "source"}, "211": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_funding_recomputed", "type": "source"}, "212": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_margin_transferred", "type": "source"}, "213": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_perps_tracking", "type": "source"}, "214": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_flagged", "type": "source"}, "215": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated0", "type": "source"}, "216": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated1", "type": "source"}, "217": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified0", "type": "source"}, "218": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified1", "type": "source"}, "219": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_removed", "type": "source"}, "220": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_submitted", "type": "source"}, "221": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_funding_recomputed", "type": "source"}, "222": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_margin_transferred", "type": "source"}, "223": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_perps_tracking", "type": "source"}, "224": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_flagged", "type": "source"}, "225": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated0", "type": "source"}, "226": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated1", "type": "source"}, "227": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified0", "type": "source"}, "228": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified1", "type": "source"}, "229": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_removed", "type": "source"}, "230": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_submitted", "type": "source"}, "231": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_funding_recomputed", "type": "source"}, "232": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_margin_transferred", "type": "source"}, "233": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_perps_tracking", "type": "source"}, "234": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_flagged", "type": "source"}, "235": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated0", "type": "source"}, "236": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated1", "type": "source"}, "237": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified0", "type": "source"}, "238": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified1", "type": "source"}, "239": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_removed", "type": "source"}, "240": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_submitted", "type": "source"}, "241": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_funding_recomputed", "type": "source"}, "242": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_margin_transferred", "type": "source"}, "243": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_perps_tracking", "type": "source"}, "244": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_flagged", "type": "source"}, "245": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated0", "type": "source"}, "246": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated1", "type": "source"}, "247": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified0", "type": "source"}, "248": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified1", "type": "source"}, "249": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_removed", "type": "source"}, "250": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_submitted", "type": "source"}, "251": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_funding_recomputed", "type": "source"}, "252": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_margin_transferred", "type": "source"}, "253": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_perps_tracking", "type": "source"}, "254": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_flagged", "type": "source"}, "255": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated0", "type": "source"}, "256": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated1", "type": "source"}, "257": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified0", "type": "source"}, "258": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified1", "type": "source"}, "259": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_removed", "type": "source"}, "260": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_submitted", "type": "source"}, "261": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_funding_recomputed", "type": "source"}, "262": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_margin_transferred", "type": "source"}, "263": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_perps_tracking", "type": "source"}, "264": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_flagged", "type": "source"}, "265": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated0", "type": "source"}, "266": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated1", "type": "source"}, "267": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified0", "type": "source"}, "268": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified1", "type": "source"}, "269": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_removed", "type": "source"}, "270": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_submitted", "type": "source"}, "271": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_funding_recomputed", "type": "source"}, "272": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_margin_transferred", "type": "source"}, "273": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_perps_tracking", "type": "source"}, "274": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_flagged", "type": "source"}, "275": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated0", "type": "source"}, "276": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated1", "type": "source"}, "277": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified0", "type": "source"}, "278": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified1", "type": "source"}, "279": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_removed", "type": "source"}, "280": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_submitted", "type": "source"}, "281": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_funding_recomputed", "type": "source"}, "282": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_margin_transferred", "type": "source"}, "283": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_perps_tracking", "type": "source"}, "284": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_flagged", "type": "source"}, "285": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated0", "type": "source"}, "286": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated1", "type": "source"}, "287": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified0", "type": "source"}, "288": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified1", "type": "source"}, "289": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_removed", "type": "source"}, "290": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_submitted", "type": "source"}, "291": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_funding_recomputed", "type": "source"}, "292": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_margin_transferred", "type": "source"}, "293": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_perps_tracking", "type": "source"}, "294": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_flagged", "type": "source"}, "295": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated0", "type": "source"}, "296": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated1", "type": "source"}, "297": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified0", "type": "source"}, "298": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified1", "type": "source"}, "299": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_removed", "type": "source"}, "300": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_submitted", "type": "source"}, "301": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_funding_recomputed", "type": "source"}, "302": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_margin_transferred", "type": "source"}, "303": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_perps_tracking", "type": "source"}, "304": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_flagged", "type": "source"}, "305": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated0", "type": "source"}, "306": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated1", "type": "source"}, "307": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified0", "type": "source"}, "308": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified1", "type": "source"}, "309": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_removed", "type": "source"}, "310": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_submitted", "type": "source"}, "311": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_funding_recomputed", "type": "source"}, "312": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_margin_transferred", "type": "source"}, "313": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_perps_tracking", "type": "source"}, "314": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_flagged", "type": "source"}, "315": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated0", "type": "source"}, "316": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated1", "type": "source"}, "317": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified0", "type": "source"}, "318": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified1", "type": "source"}, "319": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_removed", "type": "source"}, "320": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_submitted", "type": "source"}, "321": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_funding_recomputed", "type": "source"}, "322": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_margin_transferred", "type": "source"}, "323": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_perps_tracking", "type": "source"}, "324": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_flagged", "type": "source"}, "325": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated0", "type": "source"}, "326": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated1", "type": "source"}, "327": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified0", "type": "source"}, "328": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified1", "type": "source"}, "329": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_removed", "type": "source"}, "330": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_submitted", "type": "source"}, "331": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_funding_recomputed", "type": "source"}, "332": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_margin_transferred", "type": "source"}, "333": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_perps_tracking", "type": "source"}, "334": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_flagged", "type": "source"}, "335": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated0", "type": "source"}, "336": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated1", "type": "source"}, "337": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified0", "type": "source"}, "338": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified1", "type": "source"}, "339": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_removed", "type": "source"}, "340": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_submitted", "type": "source"}, "341": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_funding_recomputed", "type": "source"}, "342": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_margin_transferred", "type": "source"}, "343": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_perps_tracking", "type": "source"}, "344": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_flagged", "type": "source"}, "345": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated0", "type": "source"}, "346": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated1", "type": "source"}, "347": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified0", "type": "source"}, "348": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified1", "type": "source"}, "349": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_removed", "type": "source"}, "350": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_submitted", "type": "source"}, "351": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_funding_recomputed", "type": "source"}, "352": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_margin_transferred", "type": "source"}, "353": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_perps_tracking", "type": "source"}, "354": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_flagged", "type": "source"}, "355": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated0", "type": "source"}, "356": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated1", "type": "source"}, "357": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified0", "type": "source"}, "358": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified1", "type": "source"}, "359": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_removed", "type": "source"}, "360": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_submitted", "type": "source"}, "361": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_funding_recomputed", "type": "source"}, "362": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_margin_transferred", "type": "source"}, "363": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_perps_tracking", "type": "source"}, "364": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_flagged", "type": "source"}, "365": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated0", "type": "source"}, "366": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated1", "type": "source"}, "367": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified0", "type": "source"}, "368": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified1", "type": "source"}, "369": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_removed", "type": "source"}, "370": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_submitted", "type": "source"}, "371": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_funding_recomputed", "type": "source"}, "372": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_margin_transferred", "type": "source"}, "373": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_perps_tracking", "type": "source"}, "374": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_flagged", "type": "source"}, "375": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated0", "type": "source"}, "376": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated1", "type": "source"}, "377": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified0", "type": "source"}, "378": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified1", "type": "source"}, "379": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_removed", "type": "source"}, "380": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_submitted", "type": "source"}, "381": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_funding_recomputed", "type": "source"}, "382": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_margin_transferred", "type": "source"}, "383": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_perps_tracking", "type": "source"}, "384": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_flagged", "type": "source"}, "385": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated0", "type": "source"}, "386": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated1", "type": "source"}, "387": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified0", "type": "source"}, "388": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified1", "type": "source"}, "389": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_removed", "type": "source"}, "390": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_submitted", "type": "source"}, "391": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_funding_recomputed", "type": "source"}, "392": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_margin_transferred", "type": "source"}, "393": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_perps_tracking", "type": "source"}, "394": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_flagged", "type": "source"}, "395": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated0", "type": "source"}, "396": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated1", "type": "source"}, "397": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified0", "type": "source"}, "398": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified1", "type": "source"}, "399": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_removed", "type": "source"}, "400": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_submitted", "type": "source"}, "401": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_funding_recomputed", "type": "source"}, "402": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_margin_transferred", "type": "source"}, "403": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_perps_tracking", "type": "source"}, "404": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_flagged", "type": "source"}, "405": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated0", "type": "source"}, "406": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated1", "type": "source"}, "407": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified0", "type": "source"}, "408": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified1", "type": "source"}, "409": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_removed", "type": "source"}, "410": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_submitted", "type": "source"}, "411": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_funding_recomputed", "type": "source"}, "412": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_margin_transferred", "type": "source"}, "413": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_perps_tracking", "type": "source"}, "414": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_flagged", "type": "source"}, "415": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated0", "type": "source"}, "416": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated1", "type": "source"}, "417": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified0", "type": "source"}, "418": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified1", "type": "source"}, "419": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_removed", "type": "source"}, "420": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_submitted", "type": "source"}, "421": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_funding_recomputed", "type": "source"}, "422": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_margin_transferred", "type": "source"}, "423": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_perps_tracking", "type": "source"}, "424": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_flagged", "type": "source"}, "425": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated0", "type": "source"}, "426": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated1", "type": "source"}, "427": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified0", "type": "source"}, "428": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified1", "type": "source"}, "429": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_removed", "type": "source"}, "430": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_submitted", "type": "source"}, "431": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_funding_recomputed", "type": "source"}, "432": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_margin_transferred", "type": "source"}, "433": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_perps_tracking", "type": "source"}, "434": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_flagged", "type": "source"}, "435": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated0", "type": "source"}, "436": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated1", "type": "source"}, "437": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified0", "type": "source"}, "438": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified1", "type": "source"}, "439": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_removed", "type": "source"}, "440": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_submitted", "type": "source"}, "441": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_funding_recomputed", "type": "source"}, "442": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_margin_transferred", "type": "source"}, "443": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_perps_tracking", "type": "source"}, "444": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_flagged", "type": "source"}, "445": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated0", "type": "source"}, "446": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated1", "type": "source"}, "447": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified0", "type": "source"}, "448": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified1", "type": "source"}, "449": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_removed", "type": "source"}, "450": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_submitted", "type": "source"}, "451": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_funding_recomputed", "type": "source"}, "452": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_margin_transferred", "type": "source"}, "453": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_perps_tracking", "type": "source"}, "454": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_flagged", "type": "source"}, "455": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated0", "type": "source"}, "456": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated1", "type": "source"}, "457": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified0", "type": "source"}, "458": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified1", "type": "source"}, "459": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_removed", "type": "source"}, "460": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_submitted", "type": "source"}, "461": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_funding_recomputed", "type": "source"}, "462": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_margin_transferred", "type": "source"}, "463": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_perps_tracking", "type": "source"}, "464": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_flagged", "type": "source"}, "465": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated0", "type": "source"}, "466": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated1", "type": "source"}, "467": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified0", "type": "source"}, "468": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified1", "type": "source"}, "469": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_removed", "type": "source"}, "470": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_submitted", "type": "source"}, "471": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_funding_recomputed", "type": "source"}, "472": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_margin_transferred", "type": "source"}, "473": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_perps_tracking", "type": "source"}, "474": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_flagged", "type": "source"}, "475": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated0", "type": "source"}, "476": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated1", "type": "source"}, "477": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified0", "type": "source"}, "478": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified1", "type": "source"}, "479": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_removed", "type": "source"}, "480": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_submitted", "type": "source"}, "481": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_funding_recomputed", "type": "source"}, "482": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_margin_transferred", "type": "source"}, "483": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_perps_tracking", "type": "source"}, "484": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_flagged", "type": "source"}, "485": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated0", "type": "source"}, "486": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated1", "type": "source"}, "487": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified0", "type": "source"}, "488": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified1", "type": "source"}, "489": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_removed", "type": "source"}, "490": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_submitted", "type": "source"}, "491": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_funding_recomputed", "type": "source"}, "492": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_margin_transferred", "type": "source"}, "493": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_perps_tracking", "type": "source"}, "494": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_flagged", "type": "source"}, "495": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated0", "type": "source"}, "496": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated1", "type": "source"}, "497": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified0", "type": "source"}, "498": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified1", "type": "source"}, "499": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_removed", "type": "source"}, "500": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_submitted", "type": "source"}, "501": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_funding_recomputed", "type": "source"}, "502": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_margin_transferred", "type": "source"}, "503": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_perps_tracking", "type": "source"}, "504": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_flagged", "type": "source"}, "505": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated0", "type": "source"}, "506": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated1", "type": "source"}, "507": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified0", "type": "source"}, "508": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified1", "type": "source"}, "509": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_removed", "type": "source"}, "510": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_submitted", "type": "source"}, "511": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_funding_recomputed", "type": "source"}, "512": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_margin_transferred", "type": "source"}, "513": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_perps_tracking", "type": "source"}, "514": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_flagged", "type": "source"}, "515": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated0", "type": "source"}, "516": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated1", "type": "source"}, "517": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified0", "type": "source"}, "518": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified1", "type": "source"}, "519": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_removed", "type": "source"}, "520": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_submitted", "type": "source"}, "521": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_funding_recomputed", "type": "source"}, "522": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_margin_transferred", "type": "source"}, "523": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_perps_tracking", "type": "source"}, "524": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_flagged", "type": "source"}, "525": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated0", "type": "source"}, "526": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated1", "type": "source"}, "527": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified0", "type": "source"}, "528": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified1", "type": "source"}, "529": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_removed", "type": "source"}, "530": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_submitted", "type": "source"}, "531": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_funding_recomputed", "type": "source"}, "532": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_margin_transferred", "type": "source"}, "533": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_perps_tracking", "type": "source"}, "534": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_flagged", "type": "source"}, "535": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated0", "type": "source"}, "536": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated1", "type": "source"}, "537": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified0", "type": "source"}, "538": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified1", "type": "source"}, "539": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_removed", "type": "source"}, "540": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_submitted", "type": "source"}, "541": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_funding_recomputed", "type": "source"}, "542": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_margin_transferred", "type": "source"}, "543": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_perps_tracking", "type": "source"}, "544": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_flagged", "type": "source"}, "545": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated0", "type": "source"}, "546": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated1", "type": "source"}, "547": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified0", "type": "source"}, "548": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified1", "type": "source"}, "549": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_removed", "type": "source"}, "550": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_submitted", "type": "source"}, "551": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_funding_recomputed", "type": "source"}, "552": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_margin_transferred", "type": "source"}, "553": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_perps_tracking", "type": "source"}, "554": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_flagged", "type": "source"}, "555": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated0", "type": "source"}, "556": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated1", "type": "source"}, "557": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified0", "type": "source"}, "558": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified1", "type": "source"}, "559": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_removed", "type": "source"}, "560": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_submitted", "type": "source"}, "561": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_funding_recomputed", "type": "source"}, "562": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_margin_transferred", "type": "source"}, "563": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_perps_tracking", "type": "source"}, "564": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_flagged", "type": "source"}, "565": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated0", "type": "source"}, "566": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated1", "type": "source"}, "567": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified0", "type": "source"}, "568": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified1", "type": "source"}, "569": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_removed", "type": "source"}, "570": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_submitted", "type": "source"}, "571": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_funding_recomputed", "type": "source"}, "572": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_margin_transferred", "type": "source"}, "573": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_perps_tracking", "type": "source"}, "574": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_flagged", "type": "source"}, "575": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated0", "type": "source"}, "576": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated1", "type": "source"}, "577": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified0", "type": "source"}, "578": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified1", "type": "source"}, "579": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_removed", "type": "source"}, "580": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_submitted", "type": "source"}, "581": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_funding_recomputed", "type": "source"}, "582": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_margin_transferred", "type": "source"}, "583": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_perps_tracking", "type": "source"}, "584": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_flagged", "type": "source"}, "585": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated0", "type": "source"}, "586": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated1", "type": "source"}, "587": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified0", "type": "source"}, "588": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified1", "type": "source"}, "589": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_removed", "type": "source"}, "590": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_submitted", "type": "source"}, "591": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_funding_recomputed", "type": "source"}, "592": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_margin_transferred", "type": "source"}, "593": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_perps_tracking", "type": "source"}, "594": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_flagged", "type": "source"}, "595": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated0", "type": "source"}, "596": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated1", "type": "source"}, "597": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified0", "type": "source"}, "598": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified1", "type": "source"}, "599": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_removed", "type": "source"}, "600": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_submitted", "type": "source"}, "601": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_funding_recomputed", "type": "source"}, "602": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_margin_transferred", "type": "source"}, "603": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_perps_tracking", "type": "source"}, "604": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_flagged", "type": "source"}, "605": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated0", "type": "source"}, "606": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated1", "type": "source"}, "607": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified0", "type": "source"}, "608": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified1", "type": "source"}, "609": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_removed", "type": "source"}, "610": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_submitted", "type": "source"}, "611": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_funding_recomputed", "type": "source"}, "612": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_margin_transferred", "type": "source"}, "613": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_perps_tracking", "type": "source"}, "614": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_flagged", "type": "source"}, "615": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated0", "type": "source"}, "616": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated1", "type": "source"}, "617": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified0", "type": "source"}, "618": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified1", "type": "source"}, "619": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_removed", "type": "source"}, "620": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_submitted", "type": "source"}, "621": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_funding_recomputed", "type": "source"}, "622": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_margin_transferred", "type": "source"}, "623": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_perps_tracking", "type": "source"}, "624": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_flagged", "type": "source"}, "625": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated0", "type": "source"}, "626": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated1", "type": "source"}, "627": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified0", "type": "source"}, "628": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified1", "type": "source"}, "629": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_removed", "type": "source"}, "630": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_submitted", "type": "source"}, "631": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_funding_recomputed", "type": "source"}, "632": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_margin_transferred", "type": "source"}, "633": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_perps_tracking", "type": "source"}, "634": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_flagged", "type": "source"}, "635": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated0", "type": "source"}, "636": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated1", "type": "source"}, "637": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified0", "type": "source"}, "638": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified1", "type": "source"}, "639": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_removed", "type": "source"}, "640": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_submitted", "type": "source"}, "641": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_funding_recomputed", "type": "source"}, "642": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_margin_transferred", "type": "source"}, "643": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_perps_tracking", "type": "source"}, "644": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_flagged", "type": "source"}, "645": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated0", "type": "source"}, "646": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated1", "type": "source"}, "647": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified0", "type": "source"}, "648": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified1", "type": "source"}, "649": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_removed", "type": "source"}, "650": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_submitted", "type": "source"}, "651": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_funding_recomputed", "type": "source"}, "652": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_margin_transferred", "type": "source"}, "653": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_perps_tracking", "type": "source"}, "654": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_flagged", "type": "source"}, "655": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated0", "type": "source"}, "656": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated1", "type": "source"}, "657": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified0", "type": "source"}, "658": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified1", "type": "source"}, "659": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_removed", "type": "source"}, "660": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_submitted", "type": "source"}, "661": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_funding_recomputed", "type": "source"}, "662": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_margin_transferred", "type": "source"}, "663": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_perps_tracking", "type": "source"}, "664": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_flagged", "type": "source"}, "665": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated0", "type": "source"}, "666": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated1", "type": "source"}, "667": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified0", "type": "source"}, "668": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified1", "type": "source"}, "669": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_removed", "type": "source"}, "670": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_submitted", "type": "source"}, "671": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_funding_recomputed", "type": "source"}, "672": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_margin_transferred", "type": "source"}, "673": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_perps_tracking", "type": "source"}, "674": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_flagged", "type": "source"}, "675": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated0", "type": "source"}, "676": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated1", "type": "source"}, "677": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified0", "type": "source"}, "678": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified1", "type": "source"}, "679": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_removed", "type": "source"}, "680": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_submitted", "type": "source"}, "681": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_funding_recomputed", "type": "source"}, "682": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_margin_transferred", "type": "source"}, "683": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_perps_tracking", "type": "source"}, "684": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_flagged", "type": "source"}, "685": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated0", "type": "source"}, "686": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated1", "type": "source"}, "687": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified0", "type": "source"}, "688": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified1", "type": "source"}, "689": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_removed", "type": "source"}, "690": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_submitted", "type": "source"}, "691": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_funding_recomputed", "type": "source"}, "692": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_margin_transferred", "type": "source"}, "693": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_perps_tracking", "type": "source"}, "694": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_flagged", "type": "source"}, "695": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated0", "type": "source"}, "696": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated1", "type": "source"}, "697": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified0", "type": "source"}, "698": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified1", "type": "source"}, "699": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_removed", "type": "source"}, "700": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_submitted", "type": "source"}, "701": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_funding_recomputed", "type": "source"}, "702": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_margin_transferred", "type": "source"}, "703": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_perps_tracking", "type": "source"}, "704": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_flagged", "type": "source"}, "705": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated0", "type": "source"}, "706": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated1", "type": "source"}, "707": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified0", "type": "source"}, "708": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified1", "type": "source"}, "709": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_removed", "type": "source"}, "710": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_submitted", "type": "source"}, "711": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_funding_recomputed", "type": "source"}, "712": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_margin_transferred", "type": "source"}, "713": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_perps_tracking", "type": "source"}, "714": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_flagged", "type": "source"}, "715": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated0", "type": "source"}, "716": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated1", "type": "source"}, "717": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified0", "type": "source"}, "718": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified1", "type": "source"}, "719": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_removed", "type": "source"}, "720": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_submitted", "type": "source"}, "721": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_funding_recomputed", "type": "source"}, "722": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_margin_transferred", "type": "source"}, "723": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_perps_tracking", "type": "source"}, "724": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_flagged", "type": "source"}, "725": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated0", "type": "source"}, "726": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated1", "type": "source"}, "727": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified0", "type": "source"}, "728": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified1", "type": "source"}, "729": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_removed", "type": "source"}, "730": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_submitted", "type": "source"}, "731": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_funding_recomputed", "type": "source"}, "732": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_margin_transferred", "type": "source"}, "733": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_perps_tracking", "type": "source"}, "734": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_flagged", "type": "source"}, "735": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated0", "type": "source"}, "736": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated1", "type": "source"}, "737": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified0", "type": "source"}, "738": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified1", "type": "source"}, "739": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_removed", "type": "source"}, "740": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_submitted", "type": "source"}, "741": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_funding_recomputed", "type": "source"}, "742": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_margin_transferred", "type": "source"}, "743": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_perps_tracking", "type": "source"}, "744": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_flagged", "type": "source"}, "745": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated0", "type": "source"}, "746": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated1", "type": "source"}, "747": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified0", "type": "source"}, "748": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified1", "type": "source"}, "749": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_removed", "type": "source"}, "750": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_submitted", "type": "source"}, "751": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_funding_recomputed", "type": "source"}, "752": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_margin_transferred", "type": "source"}, "753": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_perps_tracking", "type": "source"}, "754": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_flagged", "type": "source"}, "755": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated0", "type": "source"}, "756": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated1", "type": "source"}, "757": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified0", "type": "source"}, "758": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified1", "type": "source"}, "759": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_removed", "type": "source"}, "760": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_submitted", "type": "source"}, "761": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_funding_recomputed", "type": "source"}, "762": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_margin_transferred", "type": "source"}, "763": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_perps_tracking", "type": "source"}, "764": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_flagged", "type": "source"}, "765": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated0", "type": "source"}, "766": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated1", "type": "source"}, "767": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified0", "type": "source"}, "768": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified1", "type": "source"}, "769": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_removed", "type": "source"}, "770": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_submitted", "type": "source"}, "771": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_funding_recomputed", "type": "source"}, "772": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_margin_transferred", "type": "source"}, "773": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_perps_tracking", "type": "source"}, "774": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_flagged", "type": "source"}, "775": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated0", "type": "source"}, "776": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated1", "type": "source"}, "777": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified0", "type": "source"}, "778": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified1", "type": "source"}, "779": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_removed", "type": "source"}, "780": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_submitted", "type": "source"}, "781": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_funding_recomputed", "type": "source"}, "782": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_margin_transferred", "type": "source"}, "783": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_perps_tracking", "type": "source"}, "784": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_flagged", "type": "source"}, "785": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated0", "type": "source"}, "786": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated1", "type": "source"}, "787": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified0", "type": "source"}, "788": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified1", "type": "source"}, "789": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_removed", "type": "source"}, "790": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_submitted", "type": "source"}, "791": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_funding_recomputed", "type": "source"}, "792": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_margin_transferred", "type": "source"}, "793": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_perps_tracking", "type": "source"}, "794": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_flagged", "type": "source"}, "795": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated0", "type": "source"}, "796": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated1", "type": "source"}, "797": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified0", "type": "source"}, "798": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified1", "type": "source"}, "799": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_removed", "type": "source"}, "800": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_submitted", "type": "source"}, "801": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_funding_recomputed", "type": "source"}, "802": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_margin_transferred", "type": "source"}, "803": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_perps_tracking", "type": "source"}, "804": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_flagged", "type": "source"}, "805": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated0", "type": "source"}, "806": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated1", "type": "source"}, "807": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified0", "type": "source"}, "808": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified1", "type": "source"}, "809": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_removed", "type": "source"}, "810": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_submitted", "type": "source"}, "811": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_funding_recomputed", "type": "source"}, "812": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_margin_transferred", "type": "source"}, "813": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_perps_tracking", "type": "source"}, "814": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_flagged", "type": "source"}, "815": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated0", "type": "source"}, "816": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated1", "type": "source"}, "817": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified0", "type": "source"}, "818": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified1", "type": "source"}, "819": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_removed", "type": "source"}, "820": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_submitted", "type": "source"}, "821": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_funding_recomputed", "type": "source"}, "822": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_margin_transferred", "type": "source"}, "823": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_perps_tracking", "type": "source"}, "824": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_flagged", "type": "source"}, "825": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated0", "type": "source"}, "826": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated1", "type": "source"}, "827": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified0", "type": "source"}, "828": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified1", "type": "source"}, "829": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_removed", "type": "source"}, "830": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_submitted", "type": "source"}, "831": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_funding_recomputed", "type": "source"}, "832": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_margin_transferred", "type": "source"}, "833": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_perps_tracking", "type": "source"}, "834": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_flagged", "type": "source"}, "835": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated0", "type": "source"}, "836": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated1", "type": "source"}, "837": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified0", "type": "source"}, "838": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified1", "type": "source"}, "839": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_removed", "type": "source"}, "840": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_submitted", "type": "source"}, "841": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_funding_recomputed", "type": "source"}, "842": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_margin_transferred", "type": "source"}, "843": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_perps_tracking", "type": "source"}, "844": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_flagged", "type": "source"}, "845": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated0", "type": "source"}, "846": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated1", "type": "source"}, "847": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified0", "type": "source"}, "848": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified1", "type": "source"}, "849": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_removed", "type": "source"}, "850": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_submitted", "type": "source"}, "851": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_funding_recomputed", "type": "source"}, "852": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_margin_transferred", "type": "source"}, "853": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_perps_tracking", "type": "source"}, "854": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_flagged", "type": "source"}, "855": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated0", "type": "source"}, "856": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated1", "type": "source"}, "857": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified0", "type": "source"}, "858": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified1", "type": "source"}, "859": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_removed", "type": "source"}, "860": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_submitted", "type": "source"}, "861": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_funding_recomputed", "type": "source"}, "862": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_margin_transferred", "type": "source"}, "863": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_perps_tracking", "type": "source"}, "864": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_flagged", "type": "source"}, "865": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated0", "type": "source"}, "866": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated1", "type": "source"}, "867": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified0", "type": "source"}, "868": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified1", "type": "source"}, "869": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_removed", "type": "source"}, "870": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_submitted", "type": "source"}, "871": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_funding_recomputed", "type": "source"}, "872": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_margin_transferred", "type": "source"}, "873": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_perps_tracking", "type": "source"}, "874": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_flagged", "type": "source"}, "875": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated0", "type": "source"}, "876": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated1", "type": "source"}, "877": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified0", "type": "source"}, "878": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified1", "type": "source"}, "879": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_removed", "type": "source"}, "880": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_submitted", "type": "source"}, "881": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_funding_recomputed", "type": "source"}, "882": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_margin_transferred", "type": "source"}, "883": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_perps_tracking", "type": "source"}, "884": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_flagged", "type": "source"}, "885": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated0", "type": "source"}, "886": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated1", "type": "source"}, "887": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified0", "type": "source"}, "888": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified1", "type": "source"}, "889": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_removed", "type": "source"}, "890": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_submitted", "type": "source"}, "891": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_funding_recomputed", "type": "source"}, "892": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_margin_transferred", "type": "source"}, "893": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_perps_tracking", "type": "source"}, "894": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_flagged", "type": "source"}, "895": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated0", "type": "source"}, "896": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated1", "type": "source"}, "897": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified0", "type": "source"}, "898": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified1", "type": "source"}, "899": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_removed", "type": "source"}, "900": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_submitted", "type": "source"}, "901": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_funding_recomputed", "type": "source"}, "902": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_margin_transferred", "type": "source"}, "903": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_perps_tracking", "type": "source"}, "904": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_flagged", "type": "source"}, "905": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated0", "type": "source"}, "906": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated1", "type": "source"}, "907": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified0", "type": "source"}, "908": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified1", "type": "source"}, "909": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_removed", "type": "source"}, "910": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_submitted", "type": "source"}, "911": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_funding_recomputed", "type": "source"}, "912": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_margin_transferred", "type": "source"}, "913": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_perps_tracking", "type": "source"}, "914": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_flagged", "type": "source"}, "915": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated0", "type": "source"}, "916": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated1", "type": "source"}, "917": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified0", "type": "source"}, "918": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified1", "type": "source"}, "919": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_removed", "type": "source"}, "920": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_submitted", "type": "source"}, "921": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_funding_recomputed", "type": "source"}, "922": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_margin_transferred", "type": "source"}, "923": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_perps_tracking", "type": "source"}, "924": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_flagged", "type": "source"}, "925": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated0", "type": "source"}, "926": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated1", "type": "source"}, "927": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified0", "type": "source"}, "928": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified1", "type": "source"}, "929": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_removed", "type": "source"}, "930": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_submitted", "type": "source"}, "931": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_funding_recomputed", "type": "source"}, "932": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_margin_transferred", "type": "source"}, "933": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_perps_tracking", "type": "source"}, "934": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_flagged", "type": "source"}, "935": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated0", "type": "source"}, "936": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated1", "type": "source"}, "937": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified0", "type": "source"}, "938": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified1", "type": "source"}, "939": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_removed", "type": "source"}, "940": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_submitted", "type": "source"}, "941": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_funding_recomputed", "type": "source"}, "942": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_margin_transferred", "type": "source"}, "943": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_perps_tracking", "type": "source"}, "944": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_flagged", "type": "source"}, "945": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated0", "type": "source"}, "946": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated1", "type": "source"}, "947": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified0", "type": "source"}, "948": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified1", "type": "source"}, "949": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_removed", "type": "source"}, "950": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_submitted", "type": "source"}, "951": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_funding_recomputed", "type": "source"}, "952": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_margin_transferred", "type": "source"}, "953": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_perps_tracking", "type": "source"}, "954": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_flagged", "type": "source"}, "955": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated0", "type": "source"}, "956": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated1", "type": "source"}, "957": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified0", "type": "source"}, "958": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified1", "type": "source"}, "959": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_removed", "type": "source"}, "960": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_submitted", "type": "source"}, "961": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_funding_recomputed", "type": "source"}, "962": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_margin_transferred", "type": "source"}, "963": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_perps_tracking", "type": "source"}, "964": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_flagged", "type": "source"}, "965": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated0", "type": "source"}, "966": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated1", "type": "source"}, "967": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified0", "type": "source"}, "968": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified1", "type": "source"}, "969": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_removed", "type": "source"}, "970": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_submitted", "type": "source"}, "971": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_funding_recomputed", "type": "source"}, "972": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_margin_transferred", "type": "source"}, "973": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_perps_tracking", "type": "source"}, "974": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_flagged", "type": "source"}, "975": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated0", "type": "source"}, "976": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated1", "type": "source"}, "977": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified0", "type": "source"}, "978": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified1", "type": "source"}, "979": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_removed", "type": "source"}, "980": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_submitted", "type": "source"}, "981": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_funding_recomputed", "type": "source"}, "982": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_margin_transferred", "type": "source"}, "983": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_perps_tracking", "type": "source"}, "984": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_flagged", "type": "source"}, "985": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated0", "type": "source"}, "986": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated1", "type": "source"}, "987": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified0", "type": "source"}, "988": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified1", "type": "source"}, "989": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_removed", "type": "source"}, "990": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_submitted", "type": "source"}, "991": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_funding_recomputed", "type": "source"}, "992": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_margin_transferred", "type": "source"}, "993": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_perps_tracking", "type": "source"}, "994": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_flagged", "type": "source"}, "995": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated0", "type": "source"}, "996": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated1", "type": "source"}, "997": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified0", "type": "source"}, "998": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified1", "type": "source"}, "999": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_removed", "type": "source"}, "1000": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_submitted", "type": "source"}, "1001": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_funding_recomputed", "type": "source"}, "1002": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_margin_transferred", "type": "source"}, "1003": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_perps_tracking", "type": "source"}, "1004": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_flagged", "type": "source"}, "1005": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated0", "type": "source"}, "1006": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated1", "type": "source"}, "1007": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified0", "type": "source"}, "1008": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified1", "type": "source"}, "1009": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_removed", "type": "source"}, "1010": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_submitted", "type": "source"}, "1011": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_funding_recomputed", "type": "source"}, "1012": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_margin_transferred", "type": "source"}, "1013": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_perps_tracking", "type": "source"}, "1014": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_flagged", "type": "source"}, "1015": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated0", "type": "source"}, "1016": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated1", "type": "source"}, "1017": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified0", "type": "source"}, "1018": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified1", "type": "source"}, "1019": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_removed", "type": "source"}, "1020": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_submitted", "type": "source"}, "1021": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_funding_recomputed", "type": "source"}, "1022": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_margin_transferred", "type": "source"}, "1023": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_perps_tracking", "type": "source"}, "1024": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_flagged", "type": "source"}, "1025": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated0", "type": "source"}, "1026": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated1", "type": "source"}, "1027": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified0", "type": "source"}, "1028": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified1", "type": "source"}, "1029": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_removed", "type": "source"}, "1030": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_submitted", "type": "source"}, "1031": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_funding_recomputed", "type": "source"}, "1032": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_margin_transferred", "type": "source"}, "1033": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_perps_tracking", "type": "source"}, "1034": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_flagged", "type": "source"}, "1035": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated0", "type": "source"}, "1036": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated1", "type": "source"}, "1037": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified0", "type": "source"}, "1038": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified1", "type": "source"}, "1039": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_removed", "type": "source"}, "1040": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_submitted", "type": "source"}, "1041": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_funding_recomputed", "type": "source"}, "1042": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_margin_transferred", "type": "source"}, "1043": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_perps_tracking", "type": "source"}, "1044": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_flagged", "type": "source"}, "1045": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated0", "type": "source"}, "1046": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated1", "type": "source"}, "1047": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified0", "type": "source"}, "1048": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified1", "type": "source"}, "1049": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_removed", "type": "source"}, "1050": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_submitted", "type": "source"}, "1051": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_funding_recomputed", "type": "source"}, "1052": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_margin_transferred", "type": "source"}, "1053": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_perps_tracking", "type": "source"}, "1054": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_flagged", "type": "source"}, "1055": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated0", "type": "source"}, "1056": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated1", "type": "source"}, "1057": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified0", "type": "source"}, "1058": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified1", "type": "source"}, "1059": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_removed", "type": "source"}, "1060": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_submitted", "type": "source"}, "1061": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_funding_recomputed", "type": "source"}, "1062": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_margin_transferred", "type": "source"}, "1063": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_perps_tracking", "type": "source"}, "1064": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_flagged", "type": "source"}, "1065": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated0", "type": "source"}, "1066": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated1", "type": "source"}, "1067": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified0", "type": "source"}, "1068": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified1", "type": "source"}, "1069": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_removed", "type": "source"}, "1070": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_submitted", "type": "source"}, "1071": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_funding_recomputed", "type": "source"}, "1072": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_margin_transferred", "type": "source"}, "1073": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_perps_tracking", "type": "source"}, "1074": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_flagged", "type": "source"}, "1075": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated0", "type": "source"}, "1076": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated1", "type": "source"}, "1077": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified0", "type": "source"}, "1078": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified1", "type": "source"}, "1079": {"name": "model.synthetix.blocks_eth_mainnet", "type": "model", "succ": [1394, 1395, 1396]}, "1080": {"name": "model.synthetix.core_account_created_eth_mainnet", "type": "model", "succ": [1397, 1398, 1399, 1400, 1401, 1402, 1403, 1404, 1405, 1406, 1407]}, "1081": {"name": "model.synthetix.core_vault_debt_eth_mainnet", "type": "model", "succ": [1220, 1615, 1616, 1617, 1618, 1619, 1620, 1621]}, "1082": {"name": "model.synthetix.core_vault_collateral_eth_mainnet", "type": "model", "succ": [1219, 1235, 1605, 1606, 1607, 1608, 1609, 1610, 1611, 1612, 1613, 1614]}, "1083": {"name": "model.synthetix.core_vault_liquidation_eth_mainnet", "type": "model", "succ": [1590, 1591, 1592, 1593, 1594, 1595, 1596, 1597, 1598, 1599, 1600, 1601, 1602, 1603, 1604]}, "1084": {"name": "model.synthetix.core_deposited_eth_mainnet", "type": "model", "succ": [1216, 1440, 1441, 1442, 1443, 1444, 1445, 1446, 1447, 1448, 1449, 1450, 1451, 1452, 1453]}, "1085": {"name": "model.synthetix.core_pool_created_eth_mainnet", "type": "model", "succ": [1233, 1514, 1515, 1516, 1517, 1518, 1519, 1520, 1521, 1522, 1523, 1524, 1525]}, "1086": {"name": "model.synthetix.core_market_registered_eth_mainnet", "type": "model", "succ": [1502, 1503, 1504, 1505, 1506, 1507, 1508, 1509, 1510, 1511, 1512, 1513]}, "1087": {"name": "model.synthetix.core_market_updated_eth_mainnet", "type": "model", "succ": [1229, 1484, 1485, 1486, 1487, 1488, 1489, 1490, 1491, 1492, 1493, 1494, 1495, 1496, 1497, 1498, 1499, 1500, 1501]}, "1088": {"name": "model.synthetix.core_rewards_distributed_eth_mainnet", "type": "model", "succ": [1231, 1542, 1543, 1544, 1545, 1546, 1547, 1548, 1549, 1550, 1551, 1552, 1553, 1554, 1555, 1556, 1557]}, "1089": {"name": "model.synthetix.core_withdrawn_eth_mainnet", "type": "model", "succ": [1216, 1454, 1455, 1456, 1457, 1458, 1459, 1460, 1461, 1462, 1463, 1464, 1465, 1466, 1467]}, "1090": {"name": "model.synthetix.core_rewards_claimed_eth_mainnet", "type": "model", "succ": [1526, 1527, 1528, 1529, 1530, 1531, 1532, 1533, 1534, 1535, 1536, 1537, 1538, 1539, 1540, 1541]}, "1091": {"name": "model.synthetix.core_delegation_updated_eth_mainnet", "type": "model", "succ": [1227, 1228, 1422, 1423, 1424, 1425, 1426, 1427, 1428, 1429, 1430, 1431, 1432, 1433, 1434, 1435, 1436, 1437, 1438, 1439]}, "1092": {"name": "model.synthetix.core_liquidation_eth_mainnet", "type": "model", "succ": [1468, 1469, 1470, 1471, 1472, 1473, 1474, 1475, 1476, 1477, 1478, 1479, 1480, 1481, 1482, 1483]}, "1093": {"name": "model.synthetix.core_account_migrated_eth_mainnet", "type": "model", "succ": [1225, 1408, 1409, 1410, 1411, 1412, 1413, 1414, 1415, 1416, 1417, 1418, 1419, 1420, 1421]}, "1094": {"name": "model.synthetix.core_usd_burned_eth_mainnet", "type": "model", "succ": [1226, 1558, 1559, 1560, 1561, 1562, 1563, 1564, 1565, 1566, 1567, 1568, 1569, 1570, 1571, 1572, 1573]}, "1095": {"name": "model.synthetix.core_usd_minted_eth_mainnet", "type": "model", "succ": [1226, 1574, 1575, 1576, 1577, 1578, 1579, 1580, 1581, 1582, 1583, 1584, 1585, 1586, 1587, 1588, 1589]}, "1096": {"name": "model.synthetix.blocks_arbitrum_mainnet", "type": "model", "succ": [1622, 1623, 1624]}, "1097": {"name": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "type": "model", "succ": [1740, 1741, 1742, 1743, 1744, 1745, 1746, 1747, 1748, 1749, 1750, 1751, 1752, 1753, 1754, 1755]}, "1098": {"name": "model.synthetix.core_market_registered_arbitrum_mainnet", "type": "model", "succ": [1716, 1717, 1718, 1719, 1720, 1721, 1722, 1723, 1724, 1725, 1726, 1727]}, "1099": {"name": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "type": "model", "succ": [1240, 1258, 1819, 1820, 1821, 1822, 1823, 1824, 1825, 1826, 1827, 1828]}, "1100": {"name": "model.synthetix.core_account_created_arbitrum_mainnet", "type": "model", "succ": [1625, 1626, 1627, 1628, 1629, 1630, 1631, 1632, 1633, 1634, 1635]}, "1101": {"name": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "type": "model", "succ": [1238, 1248, 1636, 1637, 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650, 1651, 1652, 1653]}, "1102": {"name": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "type": "model", "succ": [1242, 1756, 1757, 1758, 1759, 1760, 1761, 1762, 1763, 1764, 1765, 1766, 1767, 1768, 1769, 1770, 1771]}, "1103": {"name": "model.synthetix.core_pool_created_arbitrum_mainnet", "type": "model", "succ": [1246, 1728, 1729, 1730, 1731, 1732, 1733, 1734, 1735, 1736, 1737, 1738, 1739]}, "1104": {"name": "model.synthetix.core_liquidation_arbitrum_mainnet", "type": "model", "succ": [1682, 1683, 1684, 1685, 1686, 1687, 1688, 1689, 1690, 1691, 1692, 1693, 1694, 1695, 1696, 1697]}, "1105": {"name": "model.synthetix.core_deposited_arbitrum_mainnet", "type": "model", "succ": [1253, 1654, 1655, 1656, 1657, 1658, 1659, 1660, 1661, 1662, 1663, 1664, 1665, 1666, 1667]}, "1106": {"name": "model.synthetix.core_vault_debt_arbitrum_mainnet", "type": "model", "succ": [1237, 1829, 1830, 1831, 1832, 1833, 1834, 1835]}, "1107": {"name": "model.synthetix.core_usd_burned_arbitrum_mainnet", "type": "model", "succ": [1245, 1255, 1772, 1773, 1774, 1775, 1776, 1777, 1778, 1779, 1780, 1781, 1782, 1783, 1784, 1785, 1786, 1787]}, "1108": {"name": "model.synthetix.core_withdrawn_arbitrum_mainnet", "type": "model", "succ": [1253, 1668, 1669, 1670, 1671, 1672, 1673, 1674, 1675, 1676, 1677, 1678, 1679, 1680, 1681]}, "1109": {"name": "model.synthetix.core_market_updated_arbitrum_mainnet", "type": "model", "succ": [1247, 1698, 1699, 1700, 1701, 1702, 1703, 1704, 1705, 1706, 1707, 1708, 1709, 1710, 1711, 1712, 1713, 1714, 1715]}, "1110": {"name": "model.synthetix.core_usd_minted_arbitrum_mainnet", "type": "model", "succ": [1245, 1255, 1788, 1789, 1790, 1791, 1792, 1793, 1794, 1795, 1796, 1797, 1798, 1799, 1800, 1801, 1802, 1803]}, "1111": {"name": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "type": "model", "succ": [1804, 1805, 1806, 1807, 1808, 1809, 1810, 1811, 1812, 1813, 1814, 1815, 1816, 1817, 1818]}, "1112": {"name": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "type": "model", "succ": [1254, 1905, 1906, 1907, 1908, 1909, 1910, 1911, 1912, 1913, 1914, 1915, 1916, 1917, 1918, 1919, 1920, 1921]}, "1113": {"name": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "type": "model", "succ": [1254, 1890, 1891, 1892, 1893, 1894, 1895, 1896, 1897, 1898, 1899, 1900, 1901, 1902, 1903, 1904]}, "1114": {"name": "model.synthetix.spot_order_committed_arbitrum_mainnet", "type": "model", "succ": [1836, 1837, 1838, 1839, 1840, 1841, 1842, 1843, 1844, 1845, 1846, 1847, 1848, 1849, 1850]}, "1115": {"name": "model.synthetix.spot_synth_registered_arbitrum_mainnet", "type": "model", "succ": [1257, 1879, 1880, 1881, 1882, 1883, 1884, 1885, 1886, 1887, 1888, 1889]}, "1116": {"name": "model.synthetix.spot_order_cancelled_arbitrum_mainnet", "type": "model", "succ": [1868, 1869, 1870, 1871, 1872, 1873, 1874, 1875, 1876, 1877, 1878]}, "1117": {"name": "model.synthetix.spot_order_settled_arbitrum_mainnet", "type": "model", "succ": [1851, 1852, 1853, 1854, 1855, 1856, 1857, 1858, 1859, 1860, 1861, 1862, 1863, 1864, 1865, 1866, 1867]}, "1118": {"name": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "type": "model", "succ": [1256, 1934, 1935, 1936, 1937, 1938, 1939, 1940, 1941, 1942, 1943, 1944, 1945, 1946, 1947]}, "1119": {"name": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "type": "model", "succ": [1256, 1922, 1923, 1924, 1925, 1926, 1927, 1928, 1929, 1930, 1931, 1932, 1933]}, "1120": {"name": "model.synthetix.blocks_arbitrum_sepolia", "type": "model", "succ": [1948, 1949, 1950]}, "1121": {"name": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "type": "model", "succ": [2130, 2131, 2132, 2133, 2134, 2135, 2136, 2137, 2138, 2139, 2140, 2141, 2142, 2143, 2144]}, "1122": {"name": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "type": "model", "succ": [1261, 2082, 2083, 2084, 2085, 2086, 2087, 2088, 2089, 2090, 2091, 2092, 2093, 2094, 2095, 2096, 2097]}, "1123": {"name": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "type": "model", "succ": [1264, 1281, 2145, 2146, 2147, 2148, 2149, 2150, 2151, 2152, 2153, 2154]}, "1124": {"name": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "type": "model", "succ": [1266, 1274, 1962, 1963, 1964, 1965, 1966, 1967, 1968, 1969, 1970, 1971, 1972, 1973, 1974, 1975, 1976, 1977, 1978, 1979]}, "1125": {"name": "model.synthetix.core_deposited_arbitrum_sepolia", "type": "model", "succ": [1270, 1980, 1981, 1982, 1983, 1984, 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993]}, "1126": {"name": "model.synthetix.core_liquidation_arbitrum_sepolia", "type": "model", "succ": [2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023]}, "1127": {"name": "model.synthetix.core_pool_created_arbitrum_sepolia", "type": "model", "succ": [1265, 2054, 2055, 2056, 2057, 2058, 2059, 2060, 2061, 2062, 2063, 2064, 2065]}, "1128": {"name": "model.synthetix.core_account_created_arbitrum_sepolia", "type": "model", "succ": [1951, 1952, 1953, 1954, 1955, 1956, 1957, 1958, 1959, 1960, 1961]}, "1129": {"name": "model.synthetix.core_market_registered_arbitrum_sepolia", "type": "model", "succ": [2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 2051, 2052, 2053]}, "1130": {"name": "model.synthetix.core_market_updated_arbitrum_sepolia", "type": "model", "succ": [1276, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041]}, "1131": {"name": "model.synthetix.core_vault_debt_arbitrum_sepolia", "type": "model", "succ": [1267, 2155, 2156, 2157, 2158, 2159, 2160, 2161]}, "1132": {"name": "model.synthetix.core_withdrawn_arbitrum_sepolia", "type": "model", "succ": [1270, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007]}, "1133": {"name": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "type": "model", "succ": [2066, 2067, 2068, 2069, 2070, 2071, 2072, 2073, 2074, 2075, 2076, 2077, 2078, 2079, 2080, 2081]}, "1134": {"name": "model.synthetix.core_usd_minted_arbitrum_sepolia", "type": "model", "succ": [1260, 1277, 2114, 2115, 2116, 2117, 2118, 2119, 2120, 2121, 2122, 2123, 2124, 2125, 2126, 2127, 2128, 2129]}, "1135": {"name": "model.synthetix.core_usd_burned_arbitrum_sepolia", "type": "model", "succ": [1260, 1277, 2098, 2099, 2100, 2101, 2102, 2103, 2104, 2105, 2106, 2107, 2108, 2109, 2110, 2111, 2112, 2113]}, "1136": {"name": "model.synthetix.spot_order_settled_arbitrum_sepolia", "type": "model", "succ": [2177, 2178, 2179, 2180, 2181, 2182, 2183, 2184, 2185, 2186, 2187, 2188, 2189, 2190, 2191, 2192, 2193]}, "1137": {"name": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "type": "model", "succ": [1278, 2248, 2249, 2250, 2251, 2252, 2253, 2254, 2255, 2256, 2257, 2258, 2259]}, "1138": {"name": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "type": "model", "succ": [1279, 2231, 2232, 2233, 2234, 2235, 2236, 2237, 2238, 2239, 2240, 2241, 2242, 2243, 2244, 2245, 2246, 2247]}, "1139": {"name": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "type": "model", "succ": [1279, 2216, 2217, 2218, 2219, 2220, 2221, 2222, 2223, 2224, 2225, 2226, 2227, 2228, 2229, 2230]}, "1140": {"name": "model.synthetix.spot_order_committed_arbitrum_sepolia", "type": "model", "succ": [2162, 2163, 2164, 2165, 2166, 2167, 2168, 2169, 2170, 2171, 2172, 2173, 2174, 2175, 2176]}, "1141": {"name": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "type": "model", "succ": [1278, 2260, 2261, 2262, 2263, 2264, 2265, 2266, 2267, 2268, 2269, 2270, 2271, 2272, 2273]}, "1142": {"name": "model.synthetix.spot_order_cancelled_arbitrum_sepolia", "type": "model", "succ": [2194, 2195, 2196, 2197, 2198, 2199, 2200, 2201, 2202, 2203, 2204]}, "1143": {"name": "model.synthetix.spot_synth_registered_arbitrum_sepolia", "type": "model", "succ": [1280, 2205, 2206, 2207, 2208, 2209, 2210, 2211, 2212, 2213, 2214, 2215]}, "1144": {"name": "model.synthetix.blocks_base_mainnet", "type": "model", "succ": [2274, 2275, 2276]}, "1145": {"name": "model.synthetix.perp_market_created_base_mainnet", "type": "model", "succ": [1284, 2382, 2383, 2384, 2385, 2386, 2387, 2388, 2389, 2390, 2391, 2392, 2393]}, "1146": {"name": "model.synthetix.perp_account_created_base_mainnet", "type": "model", "succ": [1293, 2277, 2278, 2279, 2280, 2281, 2282, 2283, 2284, 2285, 2286, 2287]}, "1147": {"name": "model.synthetix.perp_interest_rate_updated_base_mainnet", "type": "model", "succ": [2404, 2405, 2406, 2407, 2408, 2409, 2410, 2411, 2412, 2413, 2414, 2415]}, "1148": {"name": "model.synthetix.perp_order_committed_base_mainnet", "type": "model", "succ": [1287, 2288, 2289, 2290, 2291, 2292, 2293, 2294, 2295, 2296, 2297, 2298, 2299]}, "1149": {"name": "model.synthetix.perp_collateral_modified_base_mainnet", "type": "model", "succ": [1288, 2357, 2358, 2359, 2360, 2361, 2362, 2363, 2364, 2365, 2366, 2367, 2368, 2369]}, "1150": {"name": "model.synthetix.perp_interest_charged_base_mainnet", "type": "model", "succ": [1289, 2394, 2395, 2396, 2397, 2398, 2399, 2400, 2401, 2402, 2403]}, "1151": {"name": "model.synthetix.perp_previous_order_expired_base_mainnet", "type": "model", "succ": [1285, 2370, 2371, 2372, 2373, 2374, 2375, 2376, 2377, 2378, 2379, 2380, 2381]}, "1152": {"name": "model.synthetix.perp_position_liquidated_base_mainnet", "type": "model", "succ": [1291, 2328, 2329, 2330, 2331, 2332, 2333, 2334, 2335, 2336, 2337, 2338, 2339, 2340, 2341, 2342, 2343]}, "1153": {"name": "model.synthetix.perp_order_settled_base_mainnet", "type": "model", "succ": [1283, 2300, 2301, 2302, 2303, 2304, 2305, 2306, 2307, 2308, 2309, 2310, 2311, 2312, 2313]}, "1154": {"name": "model.synthetix.perp_market_updated_base_mainnet", "type": "model", "succ": [1286, 2314, 2315, 2316, 2317, 2318, 2319, 2320, 2321, 2322, 2323, 2324, 2325, 2326, 2327]}, "1155": {"name": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "type": "model", "succ": [1292, 2344, 2345, 2346, 2347, 2348, 2349, 2350, 2351, 2352, 2353, 2354, 2355, 2356]}, "1156": {"name": "model.synthetix.buyback_processed_base_mainnet", "type": "model", "succ": [1295, 2416, 2417, 2418, 2419, 2420, 2421, 2422, 2423, 2424, 2425, 2426, 2427, 2428]}, "1157": {"name": "model.synthetix.core_deposited_base_mainnet", "type": "model", "succ": [1313, 2458, 2459, 2460, 2461, 2462, 2463, 2464, 2465, 2466, 2467, 2468, 2469, 2470, 2471]}, "1158": {"name": "model.synthetix.core_rewards_claimed_base_mainnet", "type": "model", "succ": [2544, 2545, 2546, 2547, 2548, 2549, 2550, 2551, 2552, 2553, 2554, 2555, 2556, 2557, 2558, 2559]}, "1159": {"name": "model.synthetix.core_pool_created_base_mainnet", "type": "model", "succ": [1297, 2532, 2533, 2534, 2535, 2536, 2537, 2538, 2539, 2540, 2541, 2542, 2543]}, "1160": {"name": "model.synthetix.core_vault_collateral_base_mainnet", "type": "model", "succ": [1300, 1303, 1329, 2623, 2624, 2625, 2626, 2627, 2628, 2629, 2630, 2631, 2632]}, "1161": {"name": "model.synthetix.core_usd_burned_base_mainnet", "type": "model", "succ": [1306, 1326, 2576, 2577, 2578, 2579, 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, 2589, 2590, 2591]}, "1162": {"name": "model.synthetix.core_liquidation_base_mainnet", "type": "model", "succ": [2486, 2487, 2488, 2489, 2490, 2491, 2492, 2493, 2494, 2495, 2496, 2497, 2498, 2499, 2500, 2501]}, "1163": {"name": "model.synthetix.core_vault_liquidation_base_mainnet", "type": "model", "succ": [2608, 2609, 2610, 2611, 2612, 2613, 2614, 2615, 2616, 2617, 2618, 2619, 2620, 2621, 2622]}, "1164": {"name": "model.synthetix.core_withdrawn_base_mainnet", "type": "model", "succ": [1313, 2472, 2473, 2474, 2475, 2476, 2477, 2478, 2479, 2480, 2481, 2482, 2483, 2484, 2485]}, "1165": {"name": "model.synthetix.core_account_created_base_mainnet", "type": "model", "succ": [2429, 2430, 2431, 2432, 2433, 2434, 2435, 2436, 2437, 2438, 2439]}, "1166": {"name": "model.synthetix.core_market_updated_base_mainnet", "type": "model", "succ": [1301, 2502, 2503, 2504, 2505, 2506, 2507, 2508, 2509, 2510, 2511, 2512, 2513, 2514, 2515, 2516, 2517, 2518, 2519]}, "1167": {"name": "model.synthetix.core_rewards_distributed_base_mainnet", "type": "model", "succ": [1304, 2560, 2561, 2562, 2563, 2564, 2565, 2566, 2567, 2568, 2569, 2570, 2571, 2572, 2573, 2574, 2575]}, "1168": {"name": "model.synthetix.core_usd_minted_base_mainnet", "type": "model", "succ": [1306, 1326, 2592, 2593, 2594, 2595, 2596, 2597, 2598, 2599, 2600, 2601, 2602, 2603, 2604, 2605, 2606, 2607]}, "1169": {"name": "model.synthetix.core_vault_debt_base_mainnet", "type": "model", "succ": [1290, 1309, 2633, 2634, 2635, 2636, 2637, 2638, 2639]}, "1170": {"name": "model.synthetix.core_market_registered_base_mainnet", "type": "model", "succ": [2520, 2521, 2522, 2523, 2524, 2525, 2526, 2527, 2528, 2529, 2530, 2531]}, "1171": {"name": "model.synthetix.core_delegation_updated_base_mainnet", "type": "model", "succ": [1310, 1312, 2440, 2441, 2442, 2443, 2444, 2445, 2446, 2447, 2448, 2449, 2450, 2451, 2452, 2453, 2454, 2455, 2456, 2457]}, "1172": {"name": "model.synthetix.spot_synth_wrapped_base_mainnet", "type": "model", "succ": [1327, 2726, 2727, 2728, 2729, 2730, 2731, 2732, 2733, 2734, 2735, 2736, 2737]}, "1173": {"name": "model.synthetix.spot_synth_unwrapped_base_mainnet", "type": "model", "succ": [1327, 2738, 2739, 2740, 2741, 2742, 2743, 2744, 2745, 2746, 2747, 2748, 2749, 2750, 2751]}, "1174": {"name": "model.synthetix.spot_synth_registered_base_mainnet", "type": "model", "succ": [1325, 2683, 2684, 2685, 2686, 2687, 2688, 2689, 2690, 2691, 2692, 2693]}, "1175": {"name": "model.synthetix.spot_order_committed_base_mainnet", "type": "model", "succ": [2640, 2641, 2642, 2643, 2644, 2645, 2646, 2647, 2648, 2649, 2650, 2651, 2652, 2653, 2654]}, "1176": {"name": "model.synthetix.spot_synth_bought_base_mainnet", "type": "model", "succ": [1328, 2694, 2695, 2696, 2697, 2698, 2699, 2700, 2701, 2702, 2703, 2704, 2705, 2706, 2707, 2708]}, "1177": {"name": "model.synthetix.spot_order_settled_base_mainnet", "type": "model", "succ": [2655, 2656, 2657, 2658, 2659, 2660, 2661, 2662, 2663, 2664, 2665, 2666, 2667, 2668, 2669, 2670, 2671]}, "1178": {"name": "model.synthetix.spot_order_cancelled_base_mainnet", "type": "model", "succ": [2672, 2673, 2674, 2675, 2676, 2677, 2678, 2679, 2680, 2681, 2682]}, "1179": {"name": "model.synthetix.spot_synth_sold_base_mainnet", "type": "model", "succ": [1328, 2709, 2710, 2711, 2712, 2713, 2714, 2715, 2716, 2717, 2718, 2719, 2720, 2721, 2722, 2723, 2724, 2725]}, "1180": {"name": "model.synthetix.blocks_base_sepolia", "type": "model", "succ": [2752, 2753, 2754]}, "1181": {"name": "model.synthetix.perp_order_committed_base_sepolia", "type": "model", "succ": [1341, 2766, 2767, 2768, 2769, 2770, 2771, 2772, 2773, 2774, 2775, 2776, 2777]}, "1182": {"name": "model.synthetix.perp_order_settled_base_sepolia", "type": "model", "succ": [1338, 2778, 2779, 2780, 2781, 2782, 2783, 2784, 2785, 2786, 2787, 2788, 2789, 2790, 2791]}, "1183": {"name": "model.synthetix.perp_market_updated_base_sepolia", "type": "model", "succ": [1331, 2792, 2793, 2794, 2795, 2796, 2797, 2798, 2799, 2800, 2801, 2802, 2803, 2804, 2805]}, "1184": {"name": "model.synthetix.perp_collateral_modified_base_sepolia", "type": "model", "succ": [1337, 2835, 2836, 2837, 2838, 2839, 2840, 2841, 2842, 2843, 2844, 2845, 2846, 2847]}, "1185": {"name": "model.synthetix.perp_interest_rate_updated_base_sepolia", "type": "model", "succ": [2882, 2883, 2884, 2885, 2886, 2887, 2888, 2889, 2890, 2891, 2892, 2893]}, "1186": {"name": "model.synthetix.perp_account_created_base_sepolia", "type": "model", "succ": [1333, 2755, 2756, 2757, 2758, 2759, 2760, 2761, 2762, 2763, 2764, 2765]}, "1187": {"name": "model.synthetix.perp_market_created_base_sepolia", "type": "model", "succ": [1332, 2860, 2861, 2862, 2863, 2864, 2865, 2866, 2867, 2868, 2869, 2870, 2871]}, "1188": {"name": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "type": "model", "succ": [1336, 2822, 2823, 2824, 2825, 2826, 2827, 2828, 2829, 2830, 2831, 2832, 2833, 2834]}, "1189": {"name": "model.synthetix.perp_interest_charged_base_sepolia", "type": "model", "succ": [1335, 2872, 2873, 2874, 2875, 2876, 2877, 2878, 2879, 2880, 2881]}, "1190": {"name": "model.synthetix.perp_position_liquidated_base_sepolia", "type": "model", "succ": [1340, 2806, 2807, 2808, 2809, 2810, 2811, 2812, 2813, 2814, 2815, 2816, 2817, 2818, 2819, 2820, 2821]}, "1191": {"name": "model.synthetix.perp_previous_order_expired_base_sepolia", "type": "model", "succ": [1334, 2848, 2849, 2850, 2851, 2852, 2853, 2854, 2855, 2856, 2857, 2858, 2859]}, "1192": {"name": "model.synthetix.buyback_processed_base_sepolia", "type": "model", "succ": [1343, 2894, 2895, 2896, 2897, 2898, 2899, 2900, 2901, 2902, 2903, 2904, 2905, 2906]}, "1193": {"name": "model.synthetix.core_rewards_distributed_base_sepolia", "type": "model", "succ": [1345, 3038, 3039, 3040, 3041, 3042, 3043, 3044, 3045, 3046, 3047, 3048, 3049, 3050, 3051, 3052, 3053]}, "1194": {"name": "model.synthetix.core_market_updated_base_sepolia", "type": "model", "succ": [1358, 2980, 2981, 2982, 2983, 2984, 2985, 2986, 2987, 2988, 2989, 2990, 2991, 2992, 2993, 2994, 2995, 2996, 2997]}, "1195": {"name": "model.synthetix.core_deposited_base_sepolia", "type": "model", "succ": [1361, 2936, 2937, 2938, 2939, 2940, 2941, 2942, 2943, 2944, 2945, 2946, 2947, 2948, 2949]}, "1196": {"name": "model.synthetix.core_account_created_base_sepolia", "type": "model", "succ": [2907, 2908, 2909, 2910, 2911, 2912, 2913, 2914, 2915, 2916, 2917]}, "1197": {"name": "model.synthetix.core_vault_collateral_base_sepolia", "type": "model", "succ": [1348, 1376, 3101, 3102, 3103, 3104, 3105, 3106, 3107, 3108, 3109, 3110]}, "1198": {"name": "model.synthetix.core_withdrawn_base_sepolia", "type": "model", "succ": [1361, 2950, 2951, 2952, 2953, 2954, 2955, 2956, 2957, 2958, 2959, 2960, 2961, 2962, 2963]}, "1199": {"name": "model.synthetix.core_vault_liquidation_base_sepolia", "type": "model", "succ": [3086, 3087, 3088, 3089, 3090, 3091, 3092, 3093, 3094, 3095, 3096, 3097, 3098, 3099, 3100]}, "1200": {"name": "model.synthetix.core_rewards_claimed_base_sepolia", "type": "model", "succ": [3022, 3023, 3024, 3025, 3026, 3027, 3028, 3029, 3030, 3031, 3032, 3033, 3034, 3035, 3036, 3037]}, "1201": {"name": "model.synthetix.core_liquidation_base_sepolia", "type": "model", "succ": [2964, 2965, 2966, 2967, 2968, 2969, 2970, 2971, 2972, 2973, 2974, 2975, 2976, 2977, 2978, 2979]}, "1202": {"name": "model.synthetix.core_usd_minted_base_sepolia", "type": "model", "succ": [1352, 1372, 3070, 3071, 3072, 3073, 3074, 3075, 3076, 3077, 3078, 3079, 3080, 3081, 3082, 3083, 3084, 3085]}, "1203": {"name": "model.synthetix.core_delegation_updated_base_sepolia", "type": "model", "succ": [1355, 1360, 2918, 2919, 2920, 2921, 2922, 2923, 2924, 2925, 2926, 2927, 2928, 2929, 2930, 2931, 2932, 2933, 2934, 2935]}, "1204": {"name": "model.synthetix.core_vault_debt_base_sepolia", "type": "model", "succ": [1339, 1353, 3111, 3112, 3113, 3114, 3115, 3116, 3117]}, "1205": {"name": "model.synthetix.core_usd_burned_base_sepolia", "type": "model", "succ": [1352, 1372, 3054, 3055, 3056, 3057, 3058, 3059, 3060, 3061, 3062, 3063, 3064, 3065, 3066, 3067, 3068, 3069]}, "1206": {"name": "model.synthetix.core_market_registered_base_sepolia", "type": "model", "succ": [2998, 2999, 3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007, 3008, 3009]}, "1207": {"name": "model.synthetix.core_pool_created_base_sepolia", "type": "model", "succ": [1350, 3010, 3011, 3012, 3013, 3014, 3015, 3016, 3017, 3018, 3019, 3020, 3021]}, "1208": {"name": "model.synthetix.spot_order_committed_base_sepolia", "type": "model", "succ": [3118, 3119, 3120, 3121, 3122, 3123, 3124, 3125, 3126, 3127, 3128, 3129, 3130, 3131, 3132]}, "1209": {"name": "model.synthetix.spot_synth_wrapped_base_sepolia", "type": "model", "succ": [1373, 3204, 3205, 3206, 3207, 3208, 3209, 3210, 3211, 3212, 3213, 3214, 3215]}, "1210": {"name": "model.synthetix.spot_synth_registered_base_sepolia", "type": "model", "succ": [1375, 3161, 3162, 3163, 3164, 3165, 3166, 3167, 3168, 3169, 3170, 3171]}, "1211": {"name": "model.synthetix.spot_synth_sold_base_sepolia", "type": "model", "succ": [1374, 3187, 3188, 3189, 3190, 3191, 3192, 3193, 3194, 3195, 3196, 3197, 3198, 3199, 3200, 3201, 3202, 3203]}, "1212": {"name": "model.synthetix.spot_synth_unwrapped_base_sepolia", "type": "model", "succ": [1373, 3216, 3217, 3218, 3219, 3220, 3221, 3222, 3223, 3224, 3225, 3226, 3227, 3228, 3229]}, "1213": {"name": "model.synthetix.spot_order_cancelled_base_sepolia", "type": "model", "succ": [3150, 3151, 3152, 3153, 3154, 3155, 3156, 3157, 3158, 3159, 3160]}, "1214": {"name": "model.synthetix.spot_synth_bought_base_sepolia", "type": "model", "succ": [1374, 3172, 3173, 3174, 3175, 3176, 3177, 3178, 3179, 3180, 3181, 3182, 3183, 3184, 3185, 3186]}, "1215": {"name": "model.synthetix.spot_order_settled_base_sepolia", "type": "model", "succ": [3133, 3134, 3135, 3136, 3137, 3138, 3139, 3140, 3141, 3142, 3143, 3144, 3145, 3146, 3147, 3148, 3149]}, "1216": {"name": "model.synthetix.fct_core_pool_collateral_eth_mainnet", "type": "model", "succ": [3281, 3282, 3283]}, "1217": {"name": "model.synthetix.fct_core_apr_rewards_eth_mainnet", "type": "model"}, "1218": {"name": "model.synthetix.fct_pool_pnl_hourly_reward_eth_mainnet", "type": "model", "succ": [1217]}, "1219": {"name": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "type": "model", "succ": [1218, 1230, 3312, 3313, 3314, 3315, 3316, 3317, 3318, 3319, 3320, 3321, 3322, 3323, 3324, 3325, 3326, 3327, 3328]}, "1220": {"name": "model.synthetix.fct_pool_debt_eth_mainnet", "type": "model", "succ": [1219, 1221, 1223, 1224, 3293, 3294, 3295, 3296, 3297, 3298]}, "1221": {"name": "model.synthetix.fct_pool_issuance_hourly_eth_mainnet", "type": "model", "succ": [1219, 3299, 3300, 3301, 3302, 3303]}, "1222": {"name": "model.synthetix.fct_pool_rewards_hourly_eth_mainnet", "type": "model", "succ": [1219, 3329, 3330, 3331, 3332, 3333, 3334]}, "1223": {"name": "model.synthetix.fct_core_migration_hourly_eth_mainnet", "type": "model", "succ": [1219, 3361, 3362, 3363, 3364, 3365, 3366]}, "1224": {"name": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "type": "model", "succ": [1218, 1222, 3335, 3336, 3337, 3338, 3339, 3340, 3341, 3342, 3343, 3344, 3345, 3346, 3347, 3348]}, "1225": {"name": "model.synthetix.fct_core_migration_eth_mainnet", "type": "model", "succ": [1223, 3349, 3350, 3351, 3352, 3353, 3354, 3355, 3356, 3357, 3358, 3359, 3360]}, "1226": {"name": "model.synthetix.fct_pool_issuance_eth_mainnet", "type": "model", "succ": [1221, 3304, 3305, 3306, 3307, 3308, 3309, 3310, 3311]}, "1227": {"name": "model.synthetix.fct_core_pool_delegation_eth_mainnet", "type": "model", "succ": [3284, 3285, 3286, 3287]}, "1228": {"name": "model.synthetix.fct_core_account_delegation_eth_mainnet", "type": "model", "succ": [3238, 3239, 3240, 3241, 3242, 3243, 3244]}, "1229": {"name": "model.synthetix.fct_core_market_updated_eth_mainnet", "type": "model", "succ": [3269, 3270, 3271, 3272, 3273, 3274, 3275, 3276, 3277, 3278, 3279, 3280]}, "1230": {"name": "model.synthetix.fct_core_apr_eth_mainnet", "type": "model", "succ": [3245, 3246, 3247, 3248, 3249, 3250, 3251, 3252, 3253, 3254, 3255, 3256, 3257, 3258, 3259, 3260, 3261, 3262, 3263, 3264, 3265, 3266, 3267, 3268]}, "1231": {"name": "model.synthetix.fct_pool_rewards_eth_mainnet", "type": "model", "succ": [1224, 3230, 3231, 3232, 3233, 3234, 3235, 3236, 3237]}, "1232": {"name": "seed.synthetix.eth_mainnet_reward_distributors", "type": "seed", "succ": [1231]}, "1233": {"name": "model.synthetix.fct_core_pools_eth_mainnet", "type": "model", "succ": [3288, 3289, 3290, 3291, 3292]}, "1234": {"name": "model.synthetix.fct_prices_hourly_eth_mainnet", "type": "model", "succ": [1224, 3371, 3372, 3373, 3374]}, "1235": {"name": "model.synthetix.fct_prices_eth_mainnet", "type": "model", "succ": [1234, 3367, 3368, 3369, 3370]}, "1236": {"name": "seed.synthetix.eth_mainnet_tokens", "type": "seed", "succ": [1235]}, "1237": {"name": "model.synthetix.fct_pool_debt_arbitrum_mainnet", "type": "model", "succ": [1241, 1244, 1240, 3437, 3438, 3439, 3440, 3441, 3442]}, "1238": {"name": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet", "type": "model", "succ": [3383, 3384, 3385, 3386, 3387, 3388, 3389]}, "1239": {"name": "model.synthetix.fct_core_apr_arbitrum_mainnet", "type": "model", "succ": [3390, 3391, 3392, 3393, 3394, 3395, 3396, 3397, 3398, 3399, 3400, 3401, 3402, 3403, 3404, 3405, 3406, 3407, 3408, 3409, 3410, 3411, 3412]}, "1240": {"name": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "type": "model", "succ": [1239, 1252, 3456, 3457, 3458, 3459, 3460, 3461, 3462, 3463, 3464, 3465, 3466, 3467, 3468, 3469, 3470, 3471]}, "1241": {"name": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "type": "model", "succ": [1250, 1252, 3478, 3479, 3480, 3481, 3482, 3483, 3484, 3485, 3486, 3487, 3488, 3489, 3490, 3491]}, "1242": {"name": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "type": "model", "succ": [1241, 3375, 3376, 3377, 3378, 3379, 3380, 3381, 3382]}, "1243": {"name": "model.synthetix.fct_prices_hourly_arbitrum_mainnet", "type": "model", "succ": [1241, 3524, 3525, 3526, 3527]}, "1244": {"name": "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "type": "model", "succ": [1240, 3443, 3444, 3445, 3446, 3447]}, "1245": {"name": "model.synthetix.fct_pool_issuance_arbitrum_mainnet", "type": "model", "succ": [1244, 3448, 3449, 3450, 3451, 3452, 3453, 3454, 3455]}, "1246": {"name": "model.synthetix.fct_core_pools_arbitrum_mainnet", "type": "model", "succ": [3432, 3433, 3434, 3435, 3436]}, "1247": {"name": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "type": "model", "succ": [3413, 3414, 3415, 3416, 3417, 3418, 3419, 3420, 3421, 3422, 3423, 3424]}, "1248": {"name": "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet", "type": "model", "succ": [3428, 3429, 3430, 3431]}, "1249": {"name": "seed.synthetix.arbitrum_mainnet_reward_distributors", "type": "seed", "succ": [1242, 1378, 1379]}, "1250": {"name": "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet", "type": "model", "succ": [1240, 3472, 3473, 3474, 3475, 3476, 3477]}, "1251": {"name": "model.synthetix.fct_core_apr_rewards_arbitrum_mainnet", "type": "model"}, "1252": {"name": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet", "type": "model", "succ": [1251]}, "1253": {"name": "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet", "type": "model", "succ": [3425, 3426, 3427]}, "1254": {"name": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "type": "model", "succ": [1255, 3497, 3498, 3499, 3500, 3501, 3502, 3503, 3504, 3505, 3506]}, "1255": {"name": "model.synthetix.fct_synth_supply_arbitrum_mainnet", "type": "model", "succ": [3492, 3493, 3494, 3495, 3496]}, "1256": {"name": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "type": "model", "succ": [1255, 3512, 3513, 3514, 3515, 3516, 3517, 3518, 3519]}, "1257": {"name": "model.synthetix.fct_spot_markets_arbitrum_mainnet", "type": "model", "succ": [3507, 3508, 3509, 3510, 3511]}, "1258": {"name": "model.synthetix.fct_prices_arbitrum_mainnet", "type": "model", "succ": [1243, 3520, 3521, 3522, 3523]}, "1259": {"name": "seed.synthetix.arbitrum_mainnet_tokens", "type": "seed", "succ": [1258, 1386, 1387]}, "1260": {"name": "model.synthetix.fct_pool_issuance_arbitrum_sepolia", "type": "model", "succ": [1268, 3601, 3602, 3603, 3604, 3605, 3606, 3607, 3608]}, "1261": {"name": "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "type": "model", "succ": [1271, 3528, 3529, 3530, 3531, 3532, 3533, 3534, 3535]}, "1262": {"name": "seed.synthetix.arbitrum_sepolia_reward_distributors", "type": "seed", "succ": [1261, 1380, 1381]}, "1263": {"name": "model.synthetix.fct_core_apr_arbitrum_sepolia", "type": "model", "succ": [3543, 3544, 3545, 3546, 3547, 3548, 3549, 3550, 3551, 3552, 3553, 3554, 3555, 3556, 3557, 3558, 3559, 3560, 3561, 3562, 3563, 3564, 3565]}, "1264": {"name": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "type": "model", "succ": [1263, 1273, 3609, 3610, 3611, 3612, 3613, 3614, 3615, 3616, 3617, 3618, 3619, 3620, 3621, 3622, 3623, 3624]}, "1265": {"name": "model.synthetix.fct_core_pools_arbitrum_sepolia", "type": "model", "succ": [3585, 3586, 3587, 3588, 3589]}, "1266": {"name": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "type": "model", "succ": [3536, 3537, 3538, 3539, 3540, 3541, 3542]}, "1267": {"name": "model.synthetix.fct_pool_debt_arbitrum_sepolia", "type": "model", "succ": [1264, 1271, 1268, 3590, 3591, 3592, 3593, 3594, 3595]}, "1268": {"name": "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "type": "model", "succ": [1264, 3596, 3597, 3598, 3599, 3600]}, "1269": {"name": "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia", "type": "model", "succ": [1264, 3625, 3626, 3627, 3628, 3629, 3630]}, "1270": {"name": "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia", "type": "model", "succ": [3578, 3579, 3580]}, "1271": {"name": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "type": "model", "succ": [1273, 1269, 3631, 3632, 3633, 3634, 3635, 3636, 3637, 3638, 3639, 3640, 3641, 3642, 3643, 3644]}, "1272": {"name": "model.synthetix.fct_prices_hourly_arbitrum_sepolia", "type": "model", "succ": [1271, 3677, 3678, 3679, 3680]}, "1273": {"name": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia", "type": "model", "succ": [1275]}, "1274": {"name": "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia", "type": "model", "succ": [3581, 3582, 3583, 3584]}, "1275": {"name": "model.synthetix.fct_core_apr_rewards_arbitrum_sepolia", "type": "model"}, "1276": {"name": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "type": "model", "succ": [3566, 3567, 3568, 3569, 3570, 3571, 3572, 3573, 3574, 3575, 3576, 3577]}, "1277": {"name": "model.synthetix.fct_synth_supply_arbitrum_sepolia", "type": "model", "succ": [3645, 3646, 3647, 3648, 3649]}, "1278": {"name": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "type": "model", "succ": [1277, 3665, 3666, 3667, 3668, 3669, 3670, 3671, 3672]}, "1279": {"name": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "type": "model", "succ": [1277, 3650, 3651, 3652, 3653, 3654, 3655, 3656, 3657, 3658, 3659]}, "1280": {"name": "model.synthetix.fct_spot_markets_arbitrum_sepolia", "type": "model", "succ": [3660, 3661, 3662, 3663, 3664]}, "1281": {"name": "model.synthetix.fct_prices_arbitrum_sepolia", "type": "model", "succ": [1272, 3673, 3674, 3675, 3676]}, "1282": {"name": "seed.synthetix.arbitrum_sepolia_tokens", "type": "seed", "succ": [1281, 1388, 1389]}, "1283": {"name": "model.synthetix.fct_perp_trades_base_mainnet", "type": "model", "succ": [1317, 1319, 1322, 1321, 1318, 3716, 3717, 3718, 3719, 3720, 3721, 3722, 3723, 3724, 3725, 3726, 3727, 3728, 3729, 3730, 3731, 3732, 3733, 3734, 3735, 3736, 3737, 3738, 3739, 3740, 3741, 3742, 3743, 3744, 3745, 3746, 3747]}, "1284": {"name": "model.synthetix.fct_perp_markets_base_mainnet", "type": "model", "succ": [1283, 1286, 1287, 1291, 3761, 3762, 3763, 3764, 3765, 3766]}, "1285": {"name": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "type": "model", "succ": [3704, 3705, 3706, 3707, 3708, 3709, 3710, 3711, 3712, 3713, 3714, 3715]}, "1286": {"name": "model.synthetix.fct_perp_market_history_base_mainnet", "type": "model", "succ": [1329, 3767, 3768, 3769, 3770, 3771, 3772, 3773, 3774, 3775, 3776, 3777, 3778, 3779, 3780, 3781, 3782, 3783, 3784, 3785]}, "1287": {"name": "model.synthetix.fct_perp_orders_base_mainnet", "type": "model", "succ": [3751, 3752, 3753, 3754, 3755, 3756, 3757, 3758, 3759, 3760]}, "1288": {"name": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "type": "model", "succ": [3693, 3694, 3695, 3696, 3697, 3698, 3699, 3700, 3701, 3702, 3703]}, "1289": {"name": "model.synthetix.fct_perp_interest_charged_base_mainnet", "type": "model", "succ": [3681, 3682, 3683, 3684, 3685, 3686, 3687, 3688, 3689, 3690, 3691, 3692]}, "1290": {"name": "model.synthetix.fct_perp_pnl_base_mainnet", "type": "model", "succ": [3748, 3749, 3750]}, "1291": {"name": "model.synthetix.fct_perp_liq_position_base_mainnet", "type": "model", "succ": [1319, 1321, 3786, 3787, 3788, 3789, 3790, 3791, 3792, 3793, 3794, 3795, 3796, 3797, 3798]}, "1292": {"name": "model.synthetix.fct_perp_liq_account_base_mainnet", "type": "model", "succ": [1316, 3799, 3800, 3801, 3802]}, "1293": {"name": "model.synthetix.fct_perp_accounts_base_mainnet", "type": "model", "succ": [3803, 3804, 3805, 3806]}, "1294": {"name": "model.synthetix.fct_buyback_hourly_base_mainnet", "type": "model", "succ": [3816, 3817, 3818, 3819, 3820, 3821, 3822, 3823, 3824]}, "1295": {"name": "model.synthetix.fct_buyback_base_mainnet", "type": "model", "succ": [1294, 1296, 1329, 3825, 3826, 3827, 3828, 3829, 3830, 3831, 3832, 3833, 3834]}, "1296": {"name": "model.synthetix.fct_buyback_daily_base_mainnet", "type": "model", "succ": [3807, 3808, 3809, 3810, 3811, 3812, 3813, 3814, 3815]}, "1297": {"name": "model.synthetix.fct_core_pools_base_mainnet", "type": "model", "succ": [3901, 3902, 3903, 3904, 3905]}, "1298": {"name": "model.synthetix.fct_pool_rewards_hourly_base_mainnet", "type": "model", "succ": [1303, 3940, 3941, 3942, 3943, 3944, 3945]}, "1299": {"name": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "type": "model", "succ": [1298, 1302, 3946, 3947, 3948, 3949, 3950, 3951, 3952, 3953, 3954, 3955, 3956, 3957, 3958, 3959]}, "1300": {"name": "model.synthetix.fct_core_vault_collateral_base_mainnet", "type": "model", "succ": [3835, 3836, 3837, 3838, 3839, 3840, 3841, 3842, 3843, 3844]}, "1301": {"name": "model.synthetix.fct_core_market_updated_base_mainnet", "type": "model", "succ": [3882, 3883, 3884, 3885, 3886, 3887, 3888, 3889, 3890, 3891, 3892, 3893]}, "1302": {"name": "model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet", "type": "model", "succ": [1307]}, "1303": {"name": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "type": "model", "succ": [1302, 1314, 3925, 3926, 3927, 3928, 3929, 3930, 3931, 3932, 3933, 3934, 3935, 3936, 3937, 3938, 3939]}, "1304": {"name": "model.synthetix.fct_pool_rewards_base_mainnet", "type": "model", "succ": [1299, 3845, 3846, 3847, 3848, 3849, 3850, 3851, 3852]}, "1305": {"name": "seed.synthetix.base_mainnet_reward_distributors", "type": "seed", "succ": [1304, 1382, 1383]}, "1306": {"name": "model.synthetix.fct_pool_issuance_base_mainnet", "type": "model", "succ": [1308, 3917, 3918, 3919, 3920, 3921, 3922, 3923, 3924]}, "1307": {"name": "model.synthetix.fct_core_apr_rewards_base_mainnet", "type": "model"}, "1308": {"name": "model.synthetix.fct_pool_issuance_hourly_base_mainnet", "type": "model", "succ": [1303, 3912, 3913, 3914, 3915, 3916]}, "1309": {"name": "model.synthetix.fct_pool_debt_base_mainnet", "type": "model", "succ": [1308, 1303, 1299, 3906, 3907, 3908, 3909, 3910, 3911]}, "1310": {"name": "model.synthetix.fct_core_account_delegation_base_mainnet", "type": "model", "succ": [3853, 3854, 3855, 3856, 3857, 3858, 3859]}, "1311": {"name": "model.synthetix.fct_prices_hourly_base_mainnet", "type": "model", "succ": [1299, 3992, 3993, 3994, 3995]}, "1312": {"name": "model.synthetix.fct_core_pool_delegation_base_mainnet", "type": "model", "succ": [3897, 3898, 3899, 3900]}, "1313": {"name": "model.synthetix.fct_core_pool_collateral_base_mainnet", "type": "model", "succ": [3894, 3895, 3896]}, "1314": {"name": "model.synthetix.fct_core_apr_base_mainnet", "type": "model", "succ": [3860, 3861, 3862, 3863, 3864, 3865, 3866, 3867, 3868, 3869, 3870, 3871, 3872, 3873, 3874, 3875, 3876, 3877, 3878, 3879, 3880, 3881]}, "1315": {"name": "model.synthetix.fct_perp_stats_daily_base_mainnet", "type": "model"}, "1316": {"name": "model.synthetix.fct_perp_stats_hourly_base_mainnet", "type": "model", "succ": [1315]}, "1317": {"name": "model.synthetix.fct_perp_tracking_stats_daily_base_mainnet", "type": "model"}, "1318": {"name": "model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet", "type": "model", "succ": [1317]}, "1319": {"name": "model.synthetix.fct_perp_market_stats_hourly_base_mainnet", "type": "model", "succ": [1316, 1323]}, "1320": {"name": "model.synthetix.fct_perp_account_stats_daily_base_mainnet", "type": "model"}, "1321": {"name": "model.synthetix.fct_perp_account_stats_hourly_base_mainnet", "type": "model", "succ": [1320]}, "1322": {"name": "model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet", "type": "model", "succ": [1324]}, "1323": {"name": "model.synthetix.fct_perp_market_stats_daily_base_mainnet", "type": "model"}, "1324": {"name": "model.synthetix.fct_perp_keeper_stats_daily_base_mainnet", "type": "model"}, "1325": {"name": "model.synthetix.fct_spot_markets_base_mainnet", "type": "model", "succ": [3975, 3976, 3977, 3978, 3979]}, "1326": {"name": "model.synthetix.fct_synth_supply_base_mainnet", "type": "model", "succ": [3960, 3961, 3962, 3963, 3964]}, "1327": {"name": "model.synthetix.fct_spot_wrapper_base_mainnet", "type": "model", "succ": [1326, 3980, 3981, 3982, 3983, 3984, 3985, 3986, 3987]}, "1328": {"name": "model.synthetix.fct_spot_atomics_base_mainnet", "type": "model", "succ": [1326, 3965, 3966, 3967, 3968, 3969, 3970, 3971, 3972, 3973, 3974]}, "1329": {"name": "model.synthetix.fct_prices_base_mainnet", "type": "model", "succ": [1311, 3988, 3989, 3990, 3991]}, "1330": {"name": "seed.synthetix.base_mainnet_tokens", "type": "seed", "succ": [1329, 1390, 1391]}, "1331": {"name": "model.synthetix.fct_perp_market_history_base_sepolia", "type": "model", "succ": [1376, 4082, 4083, 4084, 4085, 4086, 4087, 4088, 4089, 4090, 4091, 4092, 4093, 4094, 4095, 4096, 4097, 4098, 4099, 4100]}, "1332": {"name": "model.synthetix.fct_perp_markets_base_sepolia", "type": "model", "succ": [1331, 1338, 1340, 1341, 4076, 4077, 4078, 4079, 4080, 4081]}, "1333": {"name": "model.synthetix.fct_perp_accounts_base_sepolia", "type": "model", "succ": [4118, 4119, 4120, 4121]}, "1334": {"name": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "type": "model", "succ": [4019, 4020, 4021, 4022, 4023, 4024, 4025, 4026, 4027, 4028, 4029, 4030]}, "1335": {"name": "model.synthetix.fct_perp_interest_charged_base_sepolia", "type": "model", "succ": [3996, 3997, 3998, 3999, 4000, 4001, 4002, 4003, 4004, 4005, 4006, 4007]}, "1336": {"name": "model.synthetix.fct_perp_liq_account_base_sepolia", "type": "model", "succ": [1365, 4114, 4115, 4116, 4117]}, "1337": {"name": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "type": "model", "succ": [4008, 4009, 4010, 4011, 4012, 4013, 4014, 4015, 4016, 4017, 4018]}, "1338": {"name": "model.synthetix.fct_perp_trades_base_sepolia", "type": "model", "succ": [1366, 1367, 1363, 1370, 1371, 4031, 4032, 4033, 4034, 4035, 4036, 4037, 4038, 4039, 4040, 4041, 4042, 4043, 4044, 4045, 4046, 4047, 4048, 4049, 4050, 4051, 4052, 4053, 4054, 4055, 4056, 4057, 4058, 4059, 4060, 4061, 4062]}, "1339": {"name": "model.synthetix.fct_perp_pnl_base_sepolia", "type": "model", "succ": [4063, 4064, 4065]}, "1340": {"name": "model.synthetix.fct_perp_liq_position_base_sepolia", "type": "model", "succ": [1366, 1367, 4101, 4102, 4103, 4104, 4105, 4106, 4107, 4108, 4109, 4110, 4111, 4112, 4113]}, "1341": {"name": "model.synthetix.fct_perp_orders_base_sepolia", "type": "model", "succ": [4066, 4067, 4068, 4069, 4070, 4071, 4072, 4073, 4074, 4075]}, "1342": {"name": "model.synthetix.fct_buyback_daily_base_sepolia", "type": "model", "succ": [4122, 4123, 4124, 4125, 4126, 4127, 4128, 4129, 4130]}, "1343": {"name": "model.synthetix.fct_buyback_base_sepolia", "type": "model", "succ": [1342, 1344, 1376, 4140, 4141, 4142, 4143, 4144, 4145, 4146, 4147, 4148, 4149]}, "1344": {"name": "model.synthetix.fct_buyback_hourly_base_sepolia", "type": "model", "succ": [4131, 4132, 4133, 4134, 4135, 4136, 4137, 4138, 4139]}, "1345": {"name": "model.synthetix.fct_pool_rewards_base_sepolia", "type": "model", "succ": [1349, 4150, 4151, 4152, 4153, 4154, 4155, 4156, 4157]}, "1346": {"name": "seed.synthetix.base_sepolia_reward_distributors", "type": "seed", "succ": [1345, 1384, 1385]}, "1347": {"name": "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia", "type": "model", "succ": [1356]}, "1348": {"name": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "type": "model", "succ": [1347, 1359, 4230, 4231, 4232, 4233, 4234, 4235, 4236, 4237, 4238, 4239, 4240, 4241, 4242, 4243, 4244]}, "1349": {"name": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "type": "model", "succ": [1347, 1354, 4251, 4252, 4253, 4254, 4255, 4256, 4257, 4258, 4259, 4260, 4261, 4262, 4263, 4264]}, "1350": {"name": "model.synthetix.fct_core_pools_base_sepolia", "type": "model", "succ": [4206, 4207, 4208, 4209, 4210]}, "1351": {"name": "model.synthetix.fct_pool_issuance_hourly_base_sepolia", "type": "model", "succ": [1348, 4217, 4218, 4219, 4220, 4221]}, "1352": {"name": "model.synthetix.fct_pool_issuance_base_sepolia", "type": "model", "succ": [1351, 4222, 4223, 4224, 4225, 4226, 4227, 4228, 4229]}, "1353": {"name": "model.synthetix.fct_pool_debt_base_sepolia", "type": "model", "succ": [1351, 1349, 1348, 4211, 4212, 4213, 4214, 4215, 4216]}, "1354": {"name": "model.synthetix.fct_pool_rewards_hourly_base_sepolia", "type": "model", "succ": [1348, 4245, 4246, 4247, 4248, 4249, 4250]}, "1355": {"name": "model.synthetix.fct_core_pool_delegation_base_sepolia", "type": "model", "succ": [4202, 4203, 4204, 4205]}, "1356": {"name": "model.synthetix.fct_core_apr_rewards_base_sepolia", "type": "model"}, "1357": {"name": "model.synthetix.fct_prices_hourly_base_sepolia", "type": "model", "succ": [1349, 4297, 4298, 4299, 4300]}, "1358": {"name": "model.synthetix.fct_core_market_updated_base_sepolia", "type": "model", "succ": [4187, 4188, 4189, 4190, 4191, 4192, 4193, 4194, 4195, 4196, 4197, 4198]}, "1359": {"name": "model.synthetix.fct_core_apr_base_sepolia", "type": "model", "succ": [4165, 4166, 4167, 4168, 4169, 4170, 4171, 4172, 4173, 4174, 4175, 4176, 4177, 4178, 4179, 4180, 4181, 4182, 4183, 4184, 4185, 4186]}, "1360": {"name": "model.synthetix.fct_core_account_delegation_base_sepolia", "type": "model", "succ": [4158, 4159, 4160, 4161, 4162, 4163, 4164]}, "1361": {"name": "model.synthetix.fct_core_pool_collateral_base_sepolia", "type": "model", "succ": [4199, 4200, 4201]}, "1362": {"name": "model.synthetix.fct_perp_keeper_stats_daily_base_sepolia", "type": "model"}, "1363": {"name": "model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia", "type": "model", "succ": [1362]}, "1364": {"name": "model.synthetix.fct_perp_stats_daily_base_sepolia", "type": "model"}, "1365": {"name": "model.synthetix.fct_perp_stats_hourly_base_sepolia", "type": "model", "succ": [1364]}, "1366": {"name": "model.synthetix.fct_perp_account_stats_hourly_base_sepolia", "type": "model", "succ": [1368]}, "1367": {"name": "model.synthetix.fct_perp_market_stats_hourly_base_sepolia", "type": "model", "succ": [1365, 1369]}, "1368": {"name": "model.synthetix.fct_perp_account_stats_daily_base_sepolia", "type": "model"}, "1369": {"name": "model.synthetix.fct_perp_market_stats_daily_base_sepolia", "type": "model"}, "1370": {"name": "model.synthetix.fct_perp_tracking_stats_daily_base_sepolia", "type": "model"}, "1371": {"name": "model.synthetix.fct_perp_tracking_stats_hourly_base_sepolia", "type": "model", "succ": [1370]}, "1372": {"name": "model.synthetix.fct_synth_supply_base_sepolia", "type": "model", "succ": [4265, 4266, 4267, 4268, 4269]}, "1373": {"name": "model.synthetix.fct_spot_wrapper_base_sepolia", "type": "model", "succ": [1372, 4285, 4286, 4287, 4288, 4289, 4290, 4291, 4292]}, "1374": {"name": "model.synthetix.fct_spot_atomics_base_sepolia", "type": "model", "succ": [1372, 4270, 4271, 4272, 4273, 4274, 4275, 4276, 4277, 4278, 4279]}, "1375": {"name": "model.synthetix.fct_spot_markets_base_sepolia", "type": "model", "succ": [4280, 4281, 4282, 4283, 4284]}, "1376": {"name": "model.synthetix.fct_prices_base_sepolia", "type": "model", "succ": [1357, 4293, 4294, 4295, 4296]}, "1377": {"name": "seed.synthetix.base_sepolia_tokens", "type": "seed", "succ": [1376, 1392, 1393]}, "1378": {"name": "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_distributor_address.700581d5a6", "type": "test"}, "1379": {"name": "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_token_symbol.a65060c57e", "type": "test"}, "1380": {"name": "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_distributor_address.6379395bc6", "type": "test"}, "1381": {"name": "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_token_symbol.62adebb178", "type": "test"}, "1382": {"name": "test.synthetix.not_null_base_mainnet_reward_distributors_distributor_address.d0aab9bee0", "type": "test"}, "1383": {"name": "test.synthetix.not_null_base_mainnet_reward_distributors_token_symbol.d94311a8fc", "type": "test"}, "1384": {"name": "test.synthetix.not_null_base_sepolia_reward_distributors_distributor_address.08551b149c", "type": "test"}, "1385": {"name": "test.synthetix.not_null_base_sepolia_reward_distributors_token_symbol.37319f3c5c", "type": "test"}, "1386": {"name": "test.synthetix.not_null_arbitrum_mainnet_tokens_token_address.08d3db4ee2", "type": "test"}, "1387": {"name": "test.synthetix.not_null_arbitrum_mainnet_tokens_token_symbol.619d115f2e", "type": "test"}, "1388": {"name": "test.synthetix.not_null_arbitrum_sepolia_tokens_token_address.9daa149fb1", "type": "test"}, "1389": {"name": "test.synthetix.not_null_arbitrum_sepolia_tokens_token_symbol.17ecd3a7d8", "type": "test"}, "1390": {"name": "test.synthetix.not_null_base_mainnet_tokens_token_address.47a3f5acd2", "type": "test"}, "1391": {"name": "test.synthetix.not_null_base_mainnet_tokens_token_symbol.77007fd576", "type": "test"}, "1392": {"name": "test.synthetix.not_null_base_sepolia_tokens_token_address.73f3c4e0ef", "type": "test"}, "1393": {"name": "test.synthetix.not_null_base_sepolia_tokens_token_symbol.1afdd41b38", "type": "test"}, "1394": {"name": "test.synthetix.not_null_blocks_eth_mainnet_block_number.aba38b4904", "type": "test"}, "1395": {"name": "test.synthetix.unique_blocks_eth_mainnet_block_number.ddb4ca7d09", "type": "test"}, "1396": {"name": "test.synthetix.dbt_utils_recency_blocks_eth_mainnet_hour__ts__1.7c6c4534db", "type": "test"}, "1397": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_owner.9141d07512", "type": "test"}, "1398": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_account_id.162a9a11ae", "type": "test"}, "1399": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_created_eth_mainnet_account_id__True__0.4d9379ebdc", "type": "test"}, "1400": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_id.0d5cd71e99", "type": "test"}, "1401": {"name": "test.synthetix.unique_core_account_created_eth_mainnet_id.51b373b820", "type": "test"}, "1402": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_transaction_hash.5349e51024", "type": "test"}, "1403": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_block_number.be5f037644", "type": "test"}, "1404": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_block_timestamp.8287155cde", "type": "test"}, "1405": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_event_name.5a44f6813f", "type": "test"}, "1406": {"name": "test.synthetix.accepted_values_core_account_created_eth_mainnet_event_name__AccountCreated.7bff7383b3", "type": "test"}, "1407": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_contract.84cae83ab9", "type": "test"}, "1408": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_staker.cb3d4f410b", "type": "test"}, "1409": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_account_id.6263532792", "type": "test"}, "1410": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_account_id__True__0.f1da2d38e8", "type": "test"}, "1411": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_id.3f18fc79cf", "type": "test"}, "1412": {"name": "test.synthetix.unique_core_account_migrated_eth_mainnet_id.b21ce76ba7", "type": "test"}, "1413": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_transaction_hash.bb710f8259", "type": "test"}, "1414": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_block_number.8a5aa490b5", "type": "test"}, "1415": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_block_timestamp.29c8a3ae97", "type": "test"}, "1416": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_event_name.969c074241", "type": "test"}, "1417": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_contract.ccd34b4a40", "type": "test"}, "1418": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_collateral_amount.3673a78a7a", "type": "test"}, "1419": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_collateral_amount__True__0.b1df54815d", "type": "test"}, "1420": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_debt_amount.37622c6a60", "type": "test"}, "1421": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_debt_amount__True__0.a8e29325c2", "type": "test"}, "1422": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_contract.5d369822a4", "type": "test"}, "1423": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_id.622c20c239", "type": "test"}, "1424": {"name": "test.synthetix.unique_core_delegation_updated_eth_mainnet_id.2467edf8ec", "type": "test"}, "1425": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_account_id.141fb0f466", "type": "test"}, "1426": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_account_id__True__0.3a3f9a0475", "type": "test"}, "1427": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_collateral_type.e3d73862e4", "type": "test"}, "1428": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_pool_id.914b411c12", "type": "test"}, "1429": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_pool_id__True__0.fb370aa2ca", "type": "test"}, "1430": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_sender.3a40ed8f3a", "type": "test"}, "1431": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_block_timestamp.cd7fa2f4ff", "type": "test"}, "1432": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_block_number.5479fa5e08", "type": "test"}, "1433": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_leverage.3edfe7323e", "type": "test"}, "1434": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_leverage__True__1000000000000000000__1000000000000000000.eb061a2128", "type": "test"}, "1435": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_transaction_hash.048b7a5c68", "type": "test"}, "1436": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_amount.256481de3c", "type": "test"}, "1437": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_amount__True__0.94b97c0270", "type": "test"}, "1438": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_event_name.69b76075f5", "type": "test"}, "1439": {"name": "test.synthetix.accepted_values_core_delegation_updated_eth_mainnet_event_name__DelegationUpdated.ec623b86f2", "type": "test"}, "1440": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_collateral_type.f940e4eba6", "type": "test"}, "1441": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_id.9c5a20c527", "type": "test"}, "1442": {"name": "test.synthetix.unique_core_deposited_eth_mainnet_id.97fd3624a5", "type": "test"}, "1443": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_contract.d1fbae48f5", "type": "test"}, "1444": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_event_name.e185f199f1", "type": "test"}, "1445": {"name": "test.synthetix.accepted_values_core_deposited_eth_mainnet_event_name__Deposited.18727c72b0", "type": "test"}, "1446": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_transaction_hash.7087a2e09e", "type": "test"}, "1447": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_account_id.527d2b71c3", "type": "test"}, "1448": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_eth_mainnet_account_id__True__0.5e26b84f6a", "type": "test"}, "1449": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_sender.4c70b365da", "type": "test"}, "1450": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_block_timestamp.6194c9ac03", "type": "test"}, "1451": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_block_number.5e2350a777", "type": "test"}, "1452": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_token_amount.dc8696c011", "type": "test"}, "1453": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_eth_mainnet_token_amount__True__0.a57f2edd1b", "type": "test"}, "1454": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_block_timestamp.b6326ea438", "type": "test"}, "1455": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_contract.a4eb9c51f7", "type": "test"}, "1456": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_block_number.74ee30eaa5", "type": "test"}, "1457": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_transaction_hash.6b6f75c74b", "type": "test"}, "1458": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_token_amount.d3547c3837", "type": "test"}, "1459": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_eth_mainnet_token_amount__True__0.8bd25add1c", "type": "test"}, "1460": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_collateral_type.28458fb6de", "type": "test"}, "1461": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_account_id.7846828c26", "type": "test"}, "1462": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_eth_mainnet_account_id__True__0.cdf381b428", "type": "test"}, "1463": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_id.b0e6ed95b5", "type": "test"}, "1464": {"name": "test.synthetix.unique_core_withdrawn_eth_mainnet_id.3d5210133c", "type": "test"}, "1465": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_sender.b7bc5bdadc", "type": "test"}, "1466": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_event_name.2d3b6771d6", "type": "test"}, "1467": {"name": "test.synthetix.accepted_values_core_withdrawn_eth_mainnet_event_name__Withdrawn.cbf35f5a80", "type": "test"}, "1468": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_pool_id.0966ab4339", "type": "test"}, "1469": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_pool_id__True__0.0b09af0400", "type": "test"}, "1470": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_block_timestamp.c85990976a", "type": "test"}, "1471": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_block_number.8c6c1cbe38", "type": "test"}, "1472": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_id.8175916dcc", "type": "test"}, "1473": {"name": "test.synthetix.unique_core_liquidation_eth_mainnet_id.05a09be0f1", "type": "test"}, "1474": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_contract.05fe5f9d13", "type": "test"}, "1475": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_event_name.a70ed0a4dd", "type": "test"}, "1476": {"name": "test.synthetix.accepted_values_core_liquidation_eth_mainnet_event_name__Liquidation.10d3a28f0f", "type": "test"}, "1477": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_collateral_type.59a2516e40", "type": "test"}, "1478": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_sender.734f70adf9", "type": "test"}, "1479": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_account_id.13c94e5d02", "type": "test"}, "1480": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_account_id__True__0.d050e2f72d", "type": "test"}, "1481": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_transaction_hash.e3478512f6", "type": "test"}, "1482": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_liquidate_as_account_id.778690c632", "type": "test"}, "1483": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_liquidate_as_account_id__True__0.02ffa79c7a", "type": "test"}, "1484": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_id.f7dedb5ddb", "type": "test"}, "1485": {"name": "test.synthetix.unique_core_market_updated_eth_mainnet_id.7cd00231f1", "type": "test"}, "1486": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_block_timestamp.683bea78d4", "type": "test"}, "1487": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_block_number.f4a7497fbe", "type": "test"}, "1488": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_transaction_hash.3a0d8e52a3", "type": "test"}, "1489": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_contract.97f87c3b4a", "type": "test"}, "1490": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_event_name.6d64c2a842", "type": "test"}, "1491": {"name": "test.synthetix.accepted_values_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.7de7687ac0", "type": "test"}, "1492": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_market_id.649fb28529", "type": "test"}, "1493": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_market_id__True__0.58438c84b4", "type": "test"}, "1494": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_net_issuance.3e92a0dc4a", "type": "test"}, "1495": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_deposited_collateral_value.93b2bdea02", "type": "test"}, "1496": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_deposited_collateral_value__True__0.06de946dba", "type": "test"}, "1497": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_sender.12a64a65ef", "type": "test"}, "1498": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_collateral_type.c83211fd2f", "type": "test"}, "1499": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_credit_capacity.baa89e2e5a", "type": "test"}, "1500": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_token_amount.a9f6d4a588", "type": "test"}, "1501": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_token_amount__True__0.fdf0db60b7", "type": "test"}, "1502": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_market.fccda96dc8", "type": "test"}, "1503": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_market_id.2e945dec67", "type": "test"}, "1504": {"name": "test.synthetix.unique_core_market_registered_eth_mainnet_market_id.496c543395", "type": "test"}, "1505": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_id.35b1e4e0f3", "type": "test"}, "1506": {"name": "test.synthetix.unique_core_market_registered_eth_mainnet_id.ae732b851b", "type": "test"}, "1507": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_block_timestamp.0b8054a50c", "type": "test"}, "1508": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_contract.f582853f53", "type": "test"}, "1509": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_transaction_hash.7c581f179e", "type": "test"}, "1510": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_block_number.7eec7e8f2c", "type": "test"}, "1511": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_event_name.0d26c502fa", "type": "test"}, "1512": {"name": "test.synthetix.accepted_values_core_market_registered_eth_mainnet_event_name__MarketRegistered.db8e4ac8d2", "type": "test"}, "1513": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_sender.6e63d1acbc", "type": "test"}, "1514": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_contract.31bb49a3da", "type": "test"}, "1515": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_sender.0e2161372e", "type": "test"}, "1516": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_block_timestamp.edc63e1dd6", "type": "test"}, "1517": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_id.d903c0dfc4", "type": "test"}, "1518": {"name": "test.synthetix.unique_core_pool_created_eth_mainnet_id.8a7d542185", "type": "test"}, "1519": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_block_number.2f99b31050", "type": "test"}, "1520": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_transaction_hash.c51273100e", "type": "test"}, "1521": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_event_name.86049849e6", "type": "test"}, "1522": {"name": "test.synthetix.accepted_values_core_pool_created_eth_mainnet_event_name__PoolCreated.109464a698", "type": "test"}, "1523": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_owner.4ac2c4d7d7", "type": "test"}, "1524": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_pool_id.6662208418", "type": "test"}, "1525": {"name": "test.synthetix.dbt_utils_accepted_range_core_pool_created_eth_mainnet_pool_id__True__0.7c8df298df", "type": "test"}, "1526": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_transaction_hash.db7f7a63db", "type": "test"}, "1527": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_account_id.a671c2ed40", "type": "test"}, "1528": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_account_id__True__0.7eae5581d0", "type": "test"}, "1529": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_collateral_type.440762309c", "type": "test"}, "1530": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_event_name.b83d684e5d", "type": "test"}, "1531": {"name": "test.synthetix.accepted_values_core_rewards_claimed_eth_mainnet_event_name__RewardsClaimed.e5c952f144", "type": "test"}, "1532": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_contract.fba4f37c05", "type": "test"}, "1533": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_amount.aa1ebaa88c", "type": "test"}, "1534": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_amount__True__0.8d7de0dad3", "type": "test"}, "1535": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_distributor.728609281c", "type": "test"}, "1536": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_block_timestamp.890e664a3c", "type": "test"}, "1537": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_id.d534df2fd8", "type": "test"}, "1538": {"name": "test.synthetix.unique_core_rewards_claimed_eth_mainnet_id.b73c8da16c", "type": "test"}, "1539": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_pool_id.760bae7f85", "type": "test"}, "1540": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_pool_id__True__0.4ee2d574e0", "type": "test"}, "1541": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_block_number.fb82a92db5", "type": "test"}, "1542": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_id.cb5898e934", "type": "test"}, "1543": {"name": "test.synthetix.unique_core_rewards_distributed_eth_mainnet_id.48f45b85d1", "type": "test"}, "1544": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_event_name.193bdd11d3", "type": "test"}, "1545": {"name": "test.synthetix.accepted_values_core_rewards_distributed_eth_mainnet_event_name__RewardsDistributed.fae0bd904b", "type": "test"}, "1546": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_amount.a39a6908b6", "type": "test"}, "1547": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_amount__True__0.43de804120", "type": "test"}, "1548": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_contract.4cb5b10595", "type": "test"}, "1549": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_block_timestamp.f066e2381d", "type": "test"}, "1550": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_transaction_hash.dd811ca405", "type": "test"}, "1551": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_collateral_type.2475fcd59d", "type": "test"}, "1552": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_block_number.79a91ea969", "type": "test"}, "1553": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_duration.07b5947e7c", "type": "test"}, "1554": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_duration__True__0.7d6965f572", "type": "test"}, "1555": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_distributor.7022e12146", "type": "test"}, "1556": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_pool_id.059709c3dd", "type": "test"}, "1557": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_pool_id__True__0.37dd01cd96", "type": "test"}, "1558": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_amount.45ebd0ede8", "type": "test"}, "1559": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_amount__True__0.7cba0ca593", "type": "test"}, "1560": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_pool_id.e4d58d3b63", "type": "test"}, "1561": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_pool_id__True__0.cc44e47fc8", "type": "test"}, "1562": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_event_name.7f0fc644d5", "type": "test"}, "1563": {"name": "test.synthetix.accepted_values_core_usd_burned_eth_mainnet_event_name__UsdBurned.1eb7853972", "type": "test"}, "1564": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_id.161a49599f", "type": "test"}, "1565": {"name": "test.synthetix.unique_core_usd_burned_eth_mainnet_id.482b04a60c", "type": "test"}, "1566": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_block_number.b5e8a371fc", "type": "test"}, "1567": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_account_id.fc5fb3a0e5", "type": "test"}, "1568": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_account_id__True__0.6d8f7f7d85", "type": "test"}, "1569": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_sender.62bbe0ad28", "type": "test"}, "1570": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_transaction_hash.e57add79d6", "type": "test"}, "1571": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_contract.f9009e6423", "type": "test"}, "1572": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_collateral_type.6dbc31d2ac", "type": "test"}, "1573": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_block_timestamp.616215c03f", "type": "test"}, "1574": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_pool_id.dd8998f0f3", "type": "test"}, "1575": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_pool_id__True__0.2d561e9842", "type": "test"}, "1576": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_block_timestamp.e1477f67df", "type": "test"}, "1577": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_account_id.e32d9e9621", "type": "test"}, "1578": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_account_id__True__0.b6d81dac3d", "type": "test"}, "1579": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_collateral_type.3bc61e56d9", "type": "test"}, "1580": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_block_number.8475901994", "type": "test"}, "1581": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_id.5b1199f72c", "type": "test"}, "1582": {"name": "test.synthetix.unique_core_usd_minted_eth_mainnet_id.ccad3381ec", "type": "test"}, "1583": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_sender.31025fd349", "type": "test"}, "1584": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_amount.d50e5f0da5", "type": "test"}, "1585": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_amount__True__0.17e2d727c5", "type": "test"}, "1586": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_event_name.061c40bc0a", "type": "test"}, "1587": {"name": "test.synthetix.accepted_values_core_usd_minted_eth_mainnet_event_name__UsdMinted.c8d883ddfa", "type": "test"}, "1588": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_transaction_hash.dba64c6cd2", "type": "test"}, "1589": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_contract.2287afa612", "type": "test"}, "1590": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_transaction_hash.5e22cb6ded", "type": "test"}, "1591": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_collateral_type.22405706c4", "type": "test"}, "1592": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_pool_id.ca9bfaf7f3", "type": "test"}, "1593": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_pool_id__True__0.cccb8c7cca", "type": "test"}, "1594": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_event_name.e6bd41012e", "type": "test"}, "1595": {"name": "test.synthetix.accepted_values_core_vault_liquidation_eth_mainnet_event_name__VaultLiquidation.8d1cb5eebf", "type": "test"}, "1596": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_id.11becd0eff", "type": "test"}, "1597": {"name": "test.synthetix.unique_core_vault_liquidation_eth_mainnet_id.9b474978a9", "type": "test"}, "1598": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_block_timestamp.439cb16960", "type": "test"}, "1599": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_liquidate_as_account_id.978ffc7da9", "type": "test"}, "1600": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_liquidate_as_account_id__True__0.a9d184de0a", "type": "test"}, "1601": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_liquidation_data.485b65c6b5", "type": "test"}, "1602": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_contract.65501d763b", "type": "test"}, "1603": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_block_number.39193d7213", "type": "test"}, "1604": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_sender.03a447332b", "type": "test"}, "1605": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_ts.dc63e45225", "type": "test"}, "1606": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_block_number.68d8b02925", "type": "test"}, "1607": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_pool_id.f31cb4b3e6", "type": "test"}, "1608": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_pool_id__True__0.509da6a489", "type": "test"}, "1609": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_collateral_type.9ba1fda62f", "type": "test"}, "1610": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_amount.62dc926f36", "type": "test"}, "1611": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_amount__True__0.320b16493d", "type": "test"}, "1612": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_collateral_value.53d42edc8a", "type": "test"}, "1613": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_collateral_value__True__0.17170969dc", "type": "test"}, "1614": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_contract_address.8b336867d2", "type": "test"}, "1615": {"name": "test.synthetix.not_null_core_vault_debt_eth_mainnet_ts.3b5cb40175", "type": "test"}, "1616": {"name": "test.synthetix.not_null_core_vault_debt_eth_mainnet_block_number.930416e329", "type": "test"}, "1617": {"name": "test.synthetix.not_null_core_vault_debt_eth_mainnet_pool_id.2f8f15549f", "type": "test"}, "1618": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_eth_mainnet_pool_id__True__0.55f388e287", "type": "test"}, "1619": {"name": "test.synthetix.not_null_core_vault_debt_eth_mainnet_collateral_type.557a042f2b", "type": "test"}, "1620": {"name": "test.synthetix.not_null_core_vault_debt_eth_mainnet_debt.a314c480fe", "type": "test"}, "1621": {"name": "test.synthetix.not_null_core_vault_debt_eth_mainnet_contract_address.d43dcb9614", "type": "test"}, "1622": {"name": "test.synthetix.not_null_blocks_arbitrum_mainnet_block_number.60351acf6d", "type": "test"}, "1623": {"name": "test.synthetix.unique_blocks_arbitrum_mainnet_block_number.d70bece923", "type": "test"}, "1624": {"name": "test.synthetix.dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1.e5882e697a", "type": "test"}, "1625": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_owner.510bc65b8e", "type": "test"}, "1626": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_account_id.80fd41e8a3", "type": "test"}, "1627": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_created_arbitrum_mainnet_account_id__True__0.1a60fd1c13", "type": "test"}, "1628": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_id.ccb85216a1", "type": "test"}, "1629": {"name": "test.synthetix.unique_core_account_created_arbitrum_mainnet_id.572cf5cf85", "type": "test"}, "1630": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_transaction_hash.ca429d274c", "type": "test"}, "1631": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_block_number.ad85823ab6", "type": "test"}, "1632": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_block_timestamp.707ea51d9b", "type": "test"}, "1633": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_event_name.f044350ea8", "type": "test"}, "1634": {"name": "test.synthetix.accepted_values_core_account_created_arbitrum_mainnet_event_name__AccountCreated.8d24ea0d1c", "type": "test"}, "1635": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_contract.51a2890c59", "type": "test"}, "1636": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_contract.ae8a4f4c27", "type": "test"}, "1637": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_id.a1e63ca6e1", "type": "test"}, "1638": {"name": "test.synthetix.unique_core_delegation_updated_arbitrum_mainnet_id.53afc27917", "type": "test"}, "1639": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_account_id.1f6cadcc5d", "type": "test"}, "1640": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_account_id__True__0.eb3b030871", "type": "test"}, "1641": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_collateral_type.ca955a713e", "type": "test"}, "1642": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_pool_id.0fcc7a403c", "type": "test"}, "1643": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_pool_id__True__0.ceaf47901a", "type": "test"}, "1644": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_sender.7b21b54d07", "type": "test"}, "1645": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_block_timestamp.bf7b6f5a50", "type": "test"}, "1646": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_block_number.e7dff1a919", "type": "test"}, "1647": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_leverage.e240b1993e", "type": "test"}, "1648": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_leverage__True__1000000000000000000__1000000000000000000.fa830910e7", "type": "test"}, "1649": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_transaction_hash.df3b0b1ada", "type": "test"}, "1650": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_amount.790af0bbca", "type": "test"}, "1651": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_amount__True__0.4dc42e5b67", "type": "test"}, "1652": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_event_name.124ce539d9", "type": "test"}, "1653": {"name": "test.synthetix.accepted_values_core_delegation_updated_arbitrum_mainnet_event_name__DelegationUpdated.8158a7cafc", "type": "test"}, "1654": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_collateral_type.42a3d10d97", "type": "test"}, "1655": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_id.2f7b341009", "type": "test"}, "1656": {"name": "test.synthetix.unique_core_deposited_arbitrum_mainnet_id.65592bb86d", "type": "test"}, "1657": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_contract.a2cd7b2bb5", "type": "test"}, "1658": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_event_name.8f5b81cb40", "type": "test"}, "1659": {"name": "test.synthetix.accepted_values_core_deposited_arbitrum_mainnet_event_name__Deposited.63620c995c", "type": "test"}, "1660": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_transaction_hash.649446c0bd", "type": "test"}, "1661": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_account_id.c7afbe52a5", "type": "test"}, "1662": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_account_id__True__0.2fc937f08c", "type": "test"}, "1663": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_sender.5f276242f7", "type": "test"}, "1664": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_block_timestamp.a16e8ef361", "type": "test"}, "1665": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_block_number.689c18351b", "type": "test"}, "1666": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_token_amount.238a5119e6", "type": "test"}, "1667": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_token_amount__True__0.825b012474", "type": "test"}, "1668": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_block_timestamp.0605d1994e", "type": "test"}, "1669": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_contract.a8c5968db3", "type": "test"}, "1670": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_block_number.29891eb70b", "type": "test"}, "1671": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_transaction_hash.492d634608", "type": "test"}, "1672": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_token_amount.4bc0081148", "type": "test"}, "1673": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_token_amount__True__0.0008eb5d09", "type": "test"}, "1674": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_collateral_type.772b018013", "type": "test"}, "1675": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_account_id.ccf8b71875", "type": "test"}, "1676": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_account_id__True__0.8873db614c", "type": "test"}, "1677": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_id.46c5fcd073", "type": "test"}, "1678": {"name": "test.synthetix.unique_core_withdrawn_arbitrum_mainnet_id.9810244f0d", "type": "test"}, "1679": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_sender.665f4ade6b", "type": "test"}, "1680": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_event_name.69a5a9a880", "type": "test"}, "1681": {"name": "test.synthetix.accepted_values_core_withdrawn_arbitrum_mainnet_event_name__Withdrawn.e5deebfa14", "type": "test"}, "1682": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_pool_id.910c4e273f", "type": "test"}, "1683": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_pool_id__True__0.5d8232e38f", "type": "test"}, "1684": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_block_timestamp.e8b33f1dcb", "type": "test"}, "1685": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_block_number.c43f5e1404", "type": "test"}, "1686": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_id.428529a968", "type": "test"}, "1687": {"name": "test.synthetix.unique_core_liquidation_arbitrum_mainnet_id.ab79adeb33", "type": "test"}, "1688": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_contract.b02df4336b", "type": "test"}, "1689": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_event_name.c11ebbad99", "type": "test"}, "1690": {"name": "test.synthetix.accepted_values_core_liquidation_arbitrum_mainnet_event_name__Liquidation.85cae70384", "type": "test"}, "1691": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_collateral_type.7eae92d91d", "type": "test"}, "1692": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_sender.de5e917bc2", "type": "test"}, "1693": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_account_id.2b9f90b003", "type": "test"}, "1694": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_account_id__True__0.71c92954dd", "type": "test"}, "1695": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_transaction_hash.7c4641c1db", "type": "test"}, "1696": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_liquidate_as_account_id.00768ed71d", "type": "test"}, "1697": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0.6ad1a29899", "type": "test"}, "1698": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_id.6634d79b97", "type": "test"}, "1699": {"name": "test.synthetix.unique_core_market_updated_arbitrum_mainnet_id.ef7b2e2622", "type": "test"}, "1700": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_block_timestamp.2bd177f07f", "type": "test"}, "1701": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_block_number.eea9214a4b", "type": "test"}, "1702": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_transaction_hash.9db6bb9d6b", "type": "test"}, "1703": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_contract.3ed1c1d699", "type": "test"}, "1704": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_event_name.1198969560", "type": "test"}, "1705": {"name": "test.synthetix.accepted_values_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.b6d0a34129", "type": "test"}, "1706": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_market_id.92b8458e5c", "type": "test"}, "1707": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_market_id__True__0.8e0b3e9147", "type": "test"}, "1708": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_net_issuance.016c84545c", "type": "test"}, "1709": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_deposited_collateral_value.45b375717f", "type": "test"}, "1710": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_deposited_collateral_value__True__0.f78663cae5", "type": "test"}, "1711": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_sender.fe1f2d4275", "type": "test"}, "1712": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_collateral_type.5ccd7ace00", "type": "test"}, "1713": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_credit_capacity.09c391d59d", "type": "test"}, "1714": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_token_amount.b89be9c43a", "type": "test"}, "1715": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_token_amount__True__0.bfc2ca181b", "type": "test"}, "1716": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_market.4671a5874b", "type": "test"}, "1717": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_market_id.edc1b5f010", "type": "test"}, "1718": {"name": "test.synthetix.unique_core_market_registered_arbitrum_mainnet_market_id.f4e9d45c5f", "type": "test"}, "1719": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_id.4c7305111a", "type": "test"}, "1720": {"name": "test.synthetix.unique_core_market_registered_arbitrum_mainnet_id.c4fce94bc5", "type": "test"}, "1721": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_block_timestamp.9ccff6bb17", "type": "test"}, "1722": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_contract.705a5b5579", "type": "test"}, "1723": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_transaction_hash.2e6db31571", "type": "test"}, "1724": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_block_number.49f898432d", "type": "test"}, "1725": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_event_name.5833e57631", "type": "test"}, "1726": {"name": "test.synthetix.accepted_values_core_market_registered_arbitrum_mainnet_event_name__MarketRegistered.61c1a17f46", "type": "test"}, "1727": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_sender.a9f878c2c9", "type": "test"}, "1728": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_contract.ad227a594e", "type": "test"}, "1729": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_sender.b85ac4e404", "type": "test"}, "1730": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_block_timestamp.4bcfbab318", "type": "test"}, "1731": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_id.b0e9e6535d", "type": "test"}, "1732": {"name": "test.synthetix.unique_core_pool_created_arbitrum_mainnet_id.4a0435d902", "type": "test"}, "1733": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_block_number.184c04858e", "type": "test"}, "1734": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_transaction_hash.762082599b", "type": "test"}, "1735": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_event_name.67b202a2ae", "type": "test"}, "1736": {"name": "test.synthetix.accepted_values_core_pool_created_arbitrum_mainnet_event_name__PoolCreated.e7fda490fd", "type": "test"}, "1737": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_owner.749821fb46", "type": "test"}, "1738": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_pool_id.ce6f3bd570", "type": "test"}, "1739": {"name": "test.synthetix.dbt_utils_accepted_range_core_pool_created_arbitrum_mainnet_pool_id__True__0.fc42e6b4ce", "type": "test"}, "1740": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash.b143b485c4", "type": "test"}, "1741": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_account_id.657d0a650c", "type": "test"}, "1742": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_account_id__True__0.34b4de86db", "type": "test"}, "1743": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type.868513a78c", "type": "test"}, "1744": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_event_name.c85b97045f", "type": "test"}, "1745": {"name": "test.synthetix.accepted_values_core_rewards_claimed_arbitrum_mainnet_event_name__RewardsClaimed.3c1cd34ad1", "type": "test"}, "1746": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_contract.dbeede65a0", "type": "test"}, "1747": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_amount.b7ad8d34fd", "type": "test"}, "1748": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_amount__True__0.d98a3e4cc7", "type": "test"}, "1749": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_distributor.cfe4797061", "type": "test"}, "1750": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp.830ba4bdac", "type": "test"}, "1751": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_id.ec96b450dd", "type": "test"}, "1752": {"name": "test.synthetix.unique_core_rewards_claimed_arbitrum_mainnet_id.0aa80585e9", "type": "test"}, "1753": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_pool_id.bd58480578", "type": "test"}, "1754": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_pool_id__True__0.1c91c56a7b", "type": "test"}, "1755": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_block_number.90a2165709", "type": "test"}, "1756": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_id.2d439b2dff", "type": "test"}, "1757": {"name": "test.synthetix.unique_core_rewards_distributed_arbitrum_mainnet_id.b2d650e4fd", "type": "test"}, "1758": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_event_name.bb49accedd", "type": "test"}, "1759": {"name": "test.synthetix.accepted_values_core_rewards_distributed_arbitrum_mainnet_event_name__RewardsDistributed.3370ace359", "type": "test"}, "1760": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_amount.efe177b3e7", "type": "test"}, "1761": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_amount__True__0.09cd5040a6", "type": "test"}, "1762": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_contract.cad4a84b49", "type": "test"}, "1763": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_block_timestamp.b6efe37fde", "type": "test"}, "1764": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_transaction_hash.a791a80876", "type": "test"}, "1765": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_collateral_type.d8c598b114", "type": "test"}, "1766": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_block_number.4692e1b237", "type": "test"}, "1767": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_duration.8dfbbf7a51", "type": "test"}, "1768": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_duration__True__0.00212b4134", "type": "test"}, "1769": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_distributor.b8c551ebf5", "type": "test"}, "1770": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_pool_id.06cc36de8b", "type": "test"}, "1771": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_pool_id__True__0.d68e3c64d9", "type": "test"}, "1772": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_amount.638bb23cb6", "type": "test"}, "1773": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_amount__True__0.2bf9da99f6", "type": "test"}, "1774": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_pool_id.574d8e09b8", "type": "test"}, "1775": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_pool_id__True__0.dad5587ce6", "type": "test"}, "1776": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_event_name.2c934d7229", "type": "test"}, "1777": {"name": "test.synthetix.accepted_values_core_usd_burned_arbitrum_mainnet_event_name__UsdBurned.9ecdb75459", "type": "test"}, "1778": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_id.f07377da8d", "type": "test"}, "1779": {"name": "test.synthetix.unique_core_usd_burned_arbitrum_mainnet_id.1918882dbf", "type": "test"}, "1780": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_block_number.9d57cfa9ee", "type": "test"}, "1781": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_account_id.c71695a669", "type": "test"}, "1782": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_account_id__True__0.f8708303cd", "type": "test"}, "1783": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_sender.1b76ecab38", "type": "test"}, "1784": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_transaction_hash.6535b2db90", "type": "test"}, "1785": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_contract.718a1f61dd", "type": "test"}, "1786": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_collateral_type.6f8f53a6c9", "type": "test"}, "1787": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_block_timestamp.da67490d2d", "type": "test"}, "1788": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_pool_id.4593996ffd", "type": "test"}, "1789": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_pool_id__True__0.5d700fe50b", "type": "test"}, "1790": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_block_timestamp.8ca5480dbc", "type": "test"}, "1791": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_account_id.9ccf9039ea", "type": "test"}, "1792": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_account_id__True__0.6487cbbb70", "type": "test"}, "1793": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_collateral_type.0129f350e1", "type": "test"}, "1794": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_block_number.2c3c8fc1e5", "type": "test"}, "1795": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_id.3157330f1c", "type": "test"}, "1796": {"name": "test.synthetix.unique_core_usd_minted_arbitrum_mainnet_id.557dbdade9", "type": "test"}, "1797": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_sender.829a4593b0", "type": "test"}, "1798": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_amount.f37a3a83d0", "type": "test"}, "1799": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_amount__True__0.9400183d7a", "type": "test"}, "1800": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_event_name.8c280cde80", "type": "test"}, "1801": {"name": "test.synthetix.accepted_values_core_usd_minted_arbitrum_mainnet_event_name__UsdMinted.cb75bc5dc7", "type": "test"}, "1802": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_transaction_hash.74c68bc07e", "type": "test"}, "1803": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_contract.317c6e89d1", "type": "test"}, "1804": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_transaction_hash.5da9d8cd8f", "type": "test"}, "1805": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_collateral_type.ba4823f6ed", "type": "test"}, "1806": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_pool_id.f9e6978af1", "type": "test"}, "1807": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_pool_id__True__0.c4b79598cb", "type": "test"}, "1808": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_event_name.fcb481b7e9", "type": "test"}, "1809": {"name": "test.synthetix.accepted_values_core_vault_liquidation_arbitrum_mainnet_event_name__VaultLiquidation.429345a118", "type": "test"}, "1810": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_id.c7ac33a6c3", "type": "test"}, "1811": {"name": "test.synthetix.unique_core_vault_liquidation_arbitrum_mainnet_id.3f5a30c375", "type": "test"}, "1812": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_block_timestamp.3054b6aeaa", "type": "test"}, "1813": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id.5e1fa876a7", "type": "test"}, "1814": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0.c9be297afd", "type": "test"}, "1815": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_liquidation_data.2555b245ad", "type": "test"}, "1816": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_contract.625029e21f", "type": "test"}, "1817": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_block_number.1dc8ebaf67", "type": "test"}, "1818": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_sender.d35f8c0cc2", "type": "test"}, "1819": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_ts.d7d74011cb", "type": "test"}, "1820": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_block_number.5a68e5a2c2", "type": "test"}, "1821": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_pool_id.4536274374", "type": "test"}, "1822": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_pool_id__True__0.14e1d9edc3", "type": "test"}, "1823": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_collateral_type.50f0a76c9d", "type": "test"}, "1824": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_amount.0bdb85ef31", "type": "test"}, "1825": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_amount__True__0.b98dc30014", "type": "test"}, "1826": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_collateral_value.09fcd07f3a", "type": "test"}, "1827": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_collateral_value__True__0.9fa49aae71", "type": "test"}, "1828": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_contract_address.8cc08e1bbc", "type": "test"}, "1829": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_ts.d2363d0b7d", "type": "test"}, "1830": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_block_number.3ef5dfaa45", "type": "test"}, "1831": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_pool_id.8f94082342", "type": "test"}, "1832": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_arbitrum_mainnet_pool_id__True__0.8e3a2c72e9", "type": "test"}, "1833": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_collateral_type.f9fb1089d7", "type": "test"}, "1834": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_debt.7a33d30f43", "type": "test"}, "1835": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_contract_address.fee8a6440d", "type": "test"}, "1836": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_id.2bedbed49c", "type": "test"}, "1837": {"name": "test.synthetix.unique_spot_order_committed_arbitrum_mainnet_id.715535831f", "type": "test"}, "1838": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_event_name.364a2ed7fd", "type": "test"}, "1839": {"name": "test.synthetix.accepted_values_spot_order_committed_arbitrum_mainnet_event_name__OrderCommitted.e30a77b9b3", "type": "test"}, "1840": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_sender.d7cbd6bc05", "type": "test"}, "1841": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_block_timestamp.a4f827fd66", "type": "test"}, "1842": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_referrer.23dc146929", "type": "test"}, "1843": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_amount_provided.618d749652", "type": "test"}, "1844": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_amount_provided__True__0.a0c5711e24", "type": "test"}, "1845": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_transaction_hash.47ac362f75", "type": "test"}, "1846": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_contract.1d73e820e2", "type": "test"}, "1847": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_market_id.eb267aefe6", "type": "test"}, "1848": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_market_id__True__0.fcb0bd480c", "type": "test"}, "1849": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_block_number.bbd3030ffd", "type": "test"}, "1850": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_order_type.9bedf0c3bc", "type": "test"}, "1851": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_final_order_amount__True__0.d78aeda819", "type": "test"}, "1852": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_settler.2f85667062", "type": "test"}, "1853": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_block_number.876a0a0282", "type": "test"}, "1854": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_transaction_hash.a8b7f93ae5", "type": "test"}, "1855": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_block_timestamp.483fdb2a21", "type": "test"}, "1856": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_id.1124fb8990", "type": "test"}, "1857": {"name": "test.synthetix.unique_spot_order_settled_arbitrum_mainnet_id.a1ec7e590f", "type": "test"}, "1858": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_order_type.cc9846cfde", "type": "test"}, "1859": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_contract.7d4f904249", "type": "test"}, "1860": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_price.3e2897303c", "type": "test"}, "1861": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_price__True__0.94dec93a68", "type": "test"}, "1862": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_market_id.84635206a3", "type": "test"}, "1863": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_market_id__True__0.498546554e", "type": "test"}, "1864": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_collected_fees.4c46cfb386", "type": "test"}, "1865": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_collected_fees__True__0.e9fce02c77", "type": "test"}, "1866": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_event_name.32a64f7398", "type": "test"}, "1867": {"name": "test.synthetix.accepted_values_spot_order_settled_arbitrum_mainnet_event_name__OrderSettled.c43865614e", "type": "test"}, "1868": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_id.bf2929fb2c", "type": "test"}, "1869": {"name": "test.synthetix.unique_spot_order_cancelled_arbitrum_mainnet_id.de40647c46", "type": "test"}, "1870": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp.a2656a614b", "type": "test"}, "1871": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash.43ee88aad5", "type": "test"}, "1872": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_sender.a796a774d3", "type": "test"}, "1873": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_contract.cc9a04e73e", "type": "test"}, "1874": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_event_name.f29a2c6180", "type": "test"}, "1875": {"name": "test.synthetix.accepted_values_spot_order_cancelled_arbitrum_mainnet_event_name__OrderCancelled.bcb12d7741", "type": "test"}, "1876": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_market_id.629e55a158", "type": "test"}, "1877": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_arbitrum_mainnet_market_id__True__0.8d08288d1d", "type": "test"}, "1878": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_block_number.a85db0bd00", "type": "test"}, "1879": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_id.456af96984", "type": "test"}, "1880": {"name": "test.synthetix.unique_spot_synth_registered_arbitrum_mainnet_id.d4fd9eb0ba", "type": "test"}, "1881": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp.155e02a96a", "type": "test"}, "1882": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id.b02a502d7f", "type": "test"}, "1883": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_arbitrum_mainnet_synth_market_id__True__0.03490626a4", "type": "test"}, "1884": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_block_number.c19306427b", "type": "test"}, "1885": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_contract.dc09abd1d6", "type": "test"}, "1886": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_synth_token_address.e815b8c9d4", "type": "test"}, "1887": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_event_name.aa6a178336", "type": "test"}, "1888": {"name": "test.synthetix.accepted_values_spot_synth_registered_arbitrum_mainnet_event_name__SynthRegistered.dab3843a60", "type": "test"}, "1889": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_transaction_hash.ae02976291", "type": "test"}, "1890": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_collected_fees.975bb20444", "type": "test"}, "1891": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_collected_fees__True__0.ffa72f24d6", "type": "test"}, "1892": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash.46c5786b65", "type": "test"}, "1893": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id.11b8c58586", "type": "test"}, "1894": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_synth_market_id__True__0.39b07cbd1a", "type": "test"}, "1895": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_block_number.3db00f8fd2", "type": "test"}, "1896": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp.1e3c9accd9", "type": "test"}, "1897": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_id.94c6a2689e", "type": "test"}, "1898": {"name": "test.synthetix.unique_spot_synth_bought_arbitrum_mainnet_id.97a98f064e", "type": "test"}, "1899": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_price.b7069dc105", "type": "test"}, "1900": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_price__True__0.2666787a3a", "type": "test"}, "1901": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_contract.7f6d914e0b", "type": "test"}, "1902": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_referrer.d5123874c5", "type": "test"}, "1903": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_event_name.aa51f8b10f", "type": "test"}, "1904": {"name": "test.synthetix.accepted_values_spot_synth_bought_arbitrum_mainnet_event_name__SynthBought.6968f2e38e", "type": "test"}, "1905": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_event_name.77e48ea6b8", "type": "test"}, "1906": {"name": "test.synthetix.accepted_values_spot_synth_sold_arbitrum_mainnet_event_name__SynthSold.c2779b95d3", "type": "test"}, "1907": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash.b35ac6eb10", "type": "test"}, "1908": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_collected_fees.ae5a9854f2", "type": "test"}, "1909": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_collected_fees__True__0.ebed4cb6c6", "type": "test"}, "1910": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp.ece96724ff", "type": "test"}, "1911": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_referrer.fc97629e01", "type": "test"}, "1912": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_block_number.21c8144aca", "type": "test"}, "1913": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_price.83b6e6b427", "type": "test"}, "1914": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_price__True__0.736ec6a18f", "type": "test"}, "1915": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_amount_returned.a22fe1e87b", "type": "test"}, "1916": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_amount_returned__True__0.94e383949d", "type": "test"}, "1917": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id.0a9309e0fe", "type": "test"}, "1918": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_synth_market_id__True__0.502a7c73ae", "type": "test"}, "1919": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_id.5672923066", "type": "test"}, "1920": {"name": "test.synthetix.unique_spot_synth_sold_arbitrum_mainnet_id.77e9d1569f", "type": "test"}, "1921": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_contract.7e747f7197", "type": "test"}, "1922": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_id.e6be3c26ab", "type": "test"}, "1923": {"name": "test.synthetix.unique_spot_synth_wrapped_arbitrum_mainnet_id.4240a5b9ed", "type": "test"}, "1924": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash.470b375862", "type": "test"}, "1925": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id.22e9bbcaaf", "type": "test"}, "1926": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_synth_market_id__True__0.69e1aef58d", "type": "test"}, "1927": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_contract.12b8537d63", "type": "test"}, "1928": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_event_name.a537b3bcc9", "type": "test"}, "1929": {"name": "test.synthetix.accepted_values_spot_synth_wrapped_arbitrum_mainnet_event_name__SynthWrapped.c2a7fae75f", "type": "test"}, "1930": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp.62e5fb2f2c", "type": "test"}, "1931": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_block_number.388f222586", "type": "test"}, "1932": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected.ab1cc1a24e", "type": "test"}, "1933": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_fees_collected__True__0.8427a98042", "type": "test"}, "1934": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp.7eb830695e", "type": "test"}, "1935": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped.6338d14461", "type": "test"}, "1936": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped__True__0.dfb2bf555e", "type": "test"}, "1937": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected.82edb6c70c", "type": "test"}, "1938": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_fees_collected__True__0.caa0ab5069", "type": "test"}, "1939": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name.15be4b2d2e", "type": "test"}, "1940": {"name": "test.synthetix.accepted_values_spot_synth_unwrapped_arbitrum_mainnet_event_name__SynthUnwrapped.0156eda083", "type": "test"}, "1941": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number.6c4594ed9b", "type": "test"}, "1942": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash.266bb54277", "type": "test"}, "1943": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_contract.df671e35b9", "type": "test"}, "1944": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_id.c93a8c455f", "type": "test"}, "1945": {"name": "test.synthetix.unique_spot_synth_unwrapped_arbitrum_mainnet_id.81790072c1", "type": "test"}, "1946": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id.597a45b266", "type": "test"}, "1947": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id__True__0.c8e2a0ce2e", "type": "test"}, "1948": {"name": "test.synthetix.not_null_blocks_arbitrum_sepolia_block_number.73833a1893", "type": "test"}, "1949": {"name": "test.synthetix.unique_blocks_arbitrum_sepolia_block_number.4c474d2bd5", "type": "test"}, "1950": {"name": "test.synthetix.dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1.8a321a2874", "type": "test"}, "1951": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_owner.9aad095481", "type": "test"}, "1952": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_account_id.7a98480d2d", "type": "test"}, "1953": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_created_arbitrum_sepolia_account_id__True__0.2ee2f4ab2f", "type": "test"}, "1954": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_id.07253fa9ea", "type": "test"}, "1955": {"name": "test.synthetix.unique_core_account_created_arbitrum_sepolia_id.f9001194ee", "type": "test"}, "1956": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_transaction_hash.59070c07aa", "type": "test"}, "1957": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_block_number.1841c44bbb", "type": "test"}, "1958": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_block_timestamp.74d0052bed", "type": "test"}, "1959": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_event_name.8db7179ccc", "type": "test"}, "1960": {"name": "test.synthetix.accepted_values_core_account_created_arbitrum_sepolia_event_name__AccountCreated.f6de61acf3", "type": "test"}, "1961": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_contract.c63e7e4dbf", "type": "test"}, "1962": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_contract.8f08a5a9da", "type": "test"}, "1963": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_id.12fb857e85", "type": "test"}, "1964": {"name": "test.synthetix.unique_core_delegation_updated_arbitrum_sepolia_id.beef769010", "type": "test"}, "1965": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_account_id.689f7da996", "type": "test"}, "1966": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_account_id__True__0.ead58dff29", "type": "test"}, "1967": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_collateral_type.db67498e80", "type": "test"}, "1968": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_pool_id.8f59052242", "type": "test"}, "1969": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_pool_id__True__0.f9aeca9f9a", "type": "test"}, "1970": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_sender.ef3937b25b", "type": "test"}, "1971": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_block_timestamp.ae4bac2433", "type": "test"}, "1972": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_block_number.fa4a36eaeb", "type": "test"}, "1973": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_leverage.d5bd156a6e", "type": "test"}, "1974": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_leverage__True__1000000000000000000__1000000000000000000.5ff8a67507", "type": "test"}, "1975": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_transaction_hash.8199cb0155", "type": "test"}, "1976": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_amount.77ddc8625f", "type": "test"}, "1977": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_amount__True__0.aefd73a62f", "type": "test"}, "1978": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_event_name.4d0a81b0f4", "type": "test"}, "1979": {"name": "test.synthetix.accepted_values_core_delegation_updated_arbitrum_sepolia_event_name__DelegationUpdated.46889d7476", "type": "test"}, "1980": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_collateral_type.88d590c5ca", "type": "test"}, "1981": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_id.7d3846b9e3", "type": "test"}, "1982": {"name": "test.synthetix.unique_core_deposited_arbitrum_sepolia_id.9f22c1a15e", "type": "test"}, "1983": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_contract.98776e9523", "type": "test"}, "1984": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_event_name.ca52f6033b", "type": "test"}, "1985": {"name": "test.synthetix.accepted_values_core_deposited_arbitrum_sepolia_event_name__Deposited.1c0d375890", "type": "test"}, "1986": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_transaction_hash.8084f934a8", "type": "test"}, "1987": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_account_id.0850a5cdd2", "type": "test"}, "1988": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_account_id__True__0.d3287e563c", "type": "test"}, "1989": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_sender.2aeec9aec1", "type": "test"}, "1990": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_block_timestamp.423f2e9f55", "type": "test"}, "1991": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_block_number.c3036ab47e", "type": "test"}, "1992": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_token_amount.653e14e03e", "type": "test"}, "1993": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_token_amount__True__0.0f0aa65236", "type": "test"}, "1994": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_block_timestamp.7fcd8e34b4", "type": "test"}, "1995": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_contract.7095f79cd5", "type": "test"}, "1996": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_block_number.fb2901f9b9", "type": "test"}, "1997": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_transaction_hash.a4480fb9e0", "type": "test"}, "1998": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_token_amount.df20ce27b8", "type": "test"}, "1999": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_token_amount__True__0.0301b264d6", "type": "test"}, "2000": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_collateral_type.462d8e9d4a", "type": "test"}, "2001": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_account_id.93a7f1c6e0", "type": "test"}, "2002": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_account_id__True__0.d4050dde67", "type": "test"}, "2003": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_id.bdd65cec2b", "type": "test"}, "2004": {"name": "test.synthetix.unique_core_withdrawn_arbitrum_sepolia_id.3f0503a510", "type": "test"}, "2005": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_sender.b2d53e6596", "type": "test"}, "2006": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_event_name.6e275cf97d", "type": "test"}, "2007": {"name": "test.synthetix.accepted_values_core_withdrawn_arbitrum_sepolia_event_name__Withdrawn.cd07ab25e2", "type": "test"}, "2008": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_pool_id.851303c6c6", "type": "test"}, "2009": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_pool_id__True__0.d1a4bd0579", "type": "test"}, "2010": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_block_timestamp.2b65fcd144", "type": "test"}, "2011": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_block_number.28a164853c", "type": "test"}, "2012": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_id.acb7c881c1", "type": "test"}, "2013": {"name": "test.synthetix.unique_core_liquidation_arbitrum_sepolia_id.7489e81022", "type": "test"}, "2014": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_contract.b3848813ec", "type": "test"}, "2015": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_event_name.6dff9cd9a5", "type": "test"}, "2016": {"name": "test.synthetix.accepted_values_core_liquidation_arbitrum_sepolia_event_name__Liquidation.32c120b3b8", "type": "test"}, "2017": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_collateral_type.611a474b69", "type": "test"}, "2018": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_sender.b1951bbf59", "type": "test"}, "2019": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_account_id.2f2251c90a", "type": "test"}, "2020": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_account_id__True__0.fa367d1bc5", "type": "test"}, "2021": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_transaction_hash.aa34dc1b7f", "type": "test"}, "2022": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_liquidate_as_account_id.8fb362bd59", "type": "test"}, "2023": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0.aa641f64fe", "type": "test"}, "2024": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_id.087024faa4", "type": "test"}, "2025": {"name": "test.synthetix.unique_core_market_updated_arbitrum_sepolia_id.7ed403a10d", "type": "test"}, "2026": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_block_timestamp.f0ccbe740a", "type": "test"}, "2027": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_block_number.18b9e7bff4", "type": "test"}, "2028": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_transaction_hash.697e3dd319", "type": "test"}, "2029": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_contract.925fa67624", "type": "test"}, "2030": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_event_name.07d4bde491", "type": "test"}, "2031": {"name": "test.synthetix.accepted_values_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.4a106f8344", "type": "test"}, "2032": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_market_id.4d2767c0b4", "type": "test"}, "2033": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_market_id__True__0.f774945861", "type": "test"}, "2034": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_net_issuance.ab387b275f", "type": "test"}, "2035": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_deposited_collateral_value.2a9afd7205", "type": "test"}, "2036": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_deposited_collateral_value__True__0.bb2ac3f8fc", "type": "test"}, "2037": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_sender.b4216822d2", "type": "test"}, "2038": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_collateral_type.0163e724c2", "type": "test"}, "2039": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_credit_capacity.ed07eaef21", "type": "test"}, "2040": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_token_amount.e980630f1e", "type": "test"}, "2041": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_token_amount__True__0.33dea408c4", "type": "test"}, "2042": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_market.67fc30dc60", "type": "test"}, "2043": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_market_id.c742aae1d0", "type": "test"}, "2044": {"name": "test.synthetix.unique_core_market_registered_arbitrum_sepolia_market_id.78637df31f", "type": "test"}, "2045": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_id.88f5db38d2", "type": "test"}, "2046": {"name": "test.synthetix.unique_core_market_registered_arbitrum_sepolia_id.5964f1fbf3", "type": "test"}, "2047": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_block_timestamp.fa45bb6a23", "type": "test"}, "2048": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_contract.8d5b49ae4d", "type": "test"}, "2049": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_transaction_hash.9904023035", "type": "test"}, "2050": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_block_number.94a8562b13", "type": "test"}, "2051": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_event_name.72e398dd82", "type": "test"}, "2052": {"name": "test.synthetix.accepted_values_core_market_registered_arbitrum_sepolia_event_name__MarketRegistered.0d43228789", "type": "test"}, "2053": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_sender.f940ee9c3a", "type": "test"}, "2054": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_contract.bd9da8f8fc", "type": "test"}, "2055": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_sender.999d6ba1d5", "type": "test"}, "2056": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_block_timestamp.fd0d1a2266", "type": "test"}, "2057": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_id.2ecf600861", "type": "test"}, "2058": {"name": "test.synthetix.unique_core_pool_created_arbitrum_sepolia_id.520ef444f0", "type": "test"}, "2059": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_block_number.28a66d0e74", "type": "test"}, "2060": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_transaction_hash.09e0ac3340", "type": "test"}, "2061": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_event_name.9148e96626", "type": "test"}, "2062": {"name": "test.synthetix.accepted_values_core_pool_created_arbitrum_sepolia_event_name__PoolCreated.d04166c685", "type": "test"}, "2063": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_owner.980ce0b630", "type": "test"}, "2064": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_pool_id.1fccbc8d94", "type": "test"}, "2065": {"name": "test.synthetix.dbt_utils_accepted_range_core_pool_created_arbitrum_sepolia_pool_id__True__0.d3bc479935", "type": "test"}, "2066": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash.680f286a1c", "type": "test"}, "2067": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_account_id.f2bf56343c", "type": "test"}, "2068": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_account_id__True__0.931fbcf6dd", "type": "test"}, "2069": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type.d2183c9d15", "type": "test"}, "2070": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_event_name.a3f0d6ec61", "type": "test"}, "2071": {"name": "test.synthetix.accepted_values_core_rewards_claimed_arbitrum_sepolia_event_name__RewardsClaimed.34f660416a", "type": "test"}, "2072": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_contract.d436fcb4ac", "type": "test"}, "2073": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_amount.c69c35b9b1", "type": "test"}, "2074": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_amount__True__0.4bdbe43c5e", "type": "test"}, "2075": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_distributor.3f6ad9aa55", "type": "test"}, "2076": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp.b87721cc33", "type": "test"}, "2077": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_id.9a1c133f3b", "type": "test"}, "2078": {"name": "test.synthetix.unique_core_rewards_claimed_arbitrum_sepolia_id.f24f1c4553", "type": "test"}, "2079": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_pool_id.a883be69bc", "type": "test"}, "2080": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_pool_id__True__0.8b433a3bc6", "type": "test"}, "2081": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_block_number.9a6d0e0806", "type": "test"}, "2082": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_id.4fea69e81a", "type": "test"}, "2083": {"name": "test.synthetix.unique_core_rewards_distributed_arbitrum_sepolia_id.728eef2ccb", "type": "test"}, "2084": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_event_name.1803af1787", "type": "test"}, "2085": {"name": "test.synthetix.accepted_values_core_rewards_distributed_arbitrum_sepolia_event_name__RewardsDistributed.94958bacc6", "type": "test"}, "2086": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_amount.8682e416ae", "type": "test"}, "2087": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_amount__True__0.a57935c0b7", "type": "test"}, "2088": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_contract.7bb7fd8da4", "type": "test"}, "2089": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_block_timestamp.b3adafb4cf", "type": "test"}, "2090": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_transaction_hash.2ae04c7450", "type": "test"}, "2091": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_collateral_type.099d0e256e", "type": "test"}, "2092": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_block_number.5fbc655c9b", "type": "test"}, "2093": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_duration.a042625996", "type": "test"}, "2094": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_duration__True__0.905006d2f0", "type": "test"}, "2095": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_distributor.f184171df4", "type": "test"}, "2096": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_pool_id.4ae694bfec", "type": "test"}, "2097": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_pool_id__True__0.4ca72a296c", "type": "test"}, "2098": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_amount.6baf89b24c", "type": "test"}, "2099": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_amount__True__0.048d31e429", "type": "test"}, "2100": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_pool_id.7bf8dd6882", "type": "test"}, "2101": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_pool_id__True__0.d19a9e58b9", "type": "test"}, "2102": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_event_name.2334208293", "type": "test"}, "2103": {"name": "test.synthetix.accepted_values_core_usd_burned_arbitrum_sepolia_event_name__UsdBurned.82b5e1f839", "type": "test"}, "2104": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_id.a9d148b478", "type": "test"}, "2105": {"name": "test.synthetix.unique_core_usd_burned_arbitrum_sepolia_id.65a6dbfca4", "type": "test"}, "2106": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_block_number.a36a988eb1", "type": "test"}, "2107": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_account_id.620cecde52", "type": "test"}, "2108": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_account_id__True__0.2bc68923f9", "type": "test"}, "2109": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_sender.e732504915", "type": "test"}, "2110": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_transaction_hash.91ab5b1d0b", "type": "test"}, "2111": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_contract.91add9f346", "type": "test"}, "2112": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_collateral_type.9bcf375dc5", "type": "test"}, "2113": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_block_timestamp.5bcc977f3d", "type": "test"}, "2114": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_pool_id.41123c7a06", "type": "test"}, "2115": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_pool_id__True__0.ae99bd6ea3", "type": "test"}, "2116": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_block_timestamp.baa0ed9288", "type": "test"}, "2117": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_account_id.e8dbb7db41", "type": "test"}, "2118": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_account_id__True__0.3ae041bf59", "type": "test"}, "2119": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_collateral_type.36a06f20c5", "type": "test"}, "2120": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_block_number.3319b5e432", "type": "test"}, "2121": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_id.07b94c915b", "type": "test"}, "2122": {"name": "test.synthetix.unique_core_usd_minted_arbitrum_sepolia_id.d868aed363", "type": "test"}, "2123": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_sender.b183e1c56f", "type": "test"}, "2124": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_amount.cd18eb6390", "type": "test"}, "2125": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_amount__True__0.e93e8d1936", "type": "test"}, "2126": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_event_name.b210011389", "type": "test"}, "2127": {"name": "test.synthetix.accepted_values_core_usd_minted_arbitrum_sepolia_event_name__UsdMinted.5fd40cc553", "type": "test"}, "2128": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_transaction_hash.38f21551fd", "type": "test"}, "2129": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_contract.71d9365153", "type": "test"}, "2130": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_transaction_hash.6b1e45b06a", "type": "test"}, "2131": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_collateral_type.0b2d659b09", "type": "test"}, "2132": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_pool_id.c0c0a011c4", "type": "test"}, "2133": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_pool_id__True__0.6022175c23", "type": "test"}, "2134": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_event_name.6ee4c7edec", "type": "test"}, "2135": {"name": "test.synthetix.accepted_values_core_vault_liquidation_arbitrum_sepolia_event_name__VaultLiquidation.0c7e403f1c", "type": "test"}, "2136": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_id.e478906cc0", "type": "test"}, "2137": {"name": "test.synthetix.unique_core_vault_liquidation_arbitrum_sepolia_id.39f25ec5ad", "type": "test"}, "2138": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_block_timestamp.3f8fcf20ee", "type": "test"}, "2139": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id.557d546c5f", "type": "test"}, "2140": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0.8896409533", "type": "test"}, "2141": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_liquidation_data.0e7de46ea6", "type": "test"}, "2142": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_contract.2bb4203c78", "type": "test"}, "2143": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_block_number.fbedd6aa28", "type": "test"}, "2144": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_sender.e33149c915", "type": "test"}, "2145": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_ts.74e3fe431f", "type": "test"}, "2146": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_block_number.7c4c28bc6d", "type": "test"}, "2147": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_pool_id.11828e6701", "type": "test"}, "2148": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_pool_id__True__0.99b4d66658", "type": "test"}, "2149": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_collateral_type.c23ed9827f", "type": "test"}, "2150": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_amount.e85fb4a97b", "type": "test"}, "2151": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_amount__True__0.ceaca21b1b", "type": "test"}, "2152": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_collateral_value.77882c9c22", "type": "test"}, "2153": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_collateral_value__True__0.5e64981616", "type": "test"}, "2154": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_contract_address.d90d5e4d47", "type": "test"}, "2155": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_ts.6259a43e83", "type": "test"}, "2156": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_block_number.39b83b17e0", "type": "test"}, "2157": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_pool_id.3d27f2e067", "type": "test"}, "2158": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_arbitrum_sepolia_pool_id__True__0.6a7fea5bbc", "type": "test"}, "2159": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_collateral_type.c136eaeaa7", "type": "test"}, "2160": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_debt.13e23e52e8", "type": "test"}, "2161": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_contract_address.7162b1bbad", "type": "test"}, "2162": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_id.3dc77e7585", "type": "test"}, "2163": {"name": "test.synthetix.unique_spot_order_committed_arbitrum_sepolia_id.7dddd93b21", "type": "test"}, "2164": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_event_name.10fb9fe2fd", "type": "test"}, "2165": {"name": "test.synthetix.accepted_values_spot_order_committed_arbitrum_sepolia_event_name__OrderCommitted.48f82592c2", "type": "test"}, "2166": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_sender.6665c965c9", "type": "test"}, "2167": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_block_timestamp.053b915e14", "type": "test"}, "2168": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_referrer.3934248ab9", "type": "test"}, "2169": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_amount_provided.b4fbc53f60", "type": "test"}, "2170": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_amount_provided__True__0.e297093a69", "type": "test"}, "2171": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_transaction_hash.44fbdb881f", "type": "test"}, "2172": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_contract.8724d32b95", "type": "test"}, "2173": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_market_id.4600734bce", "type": "test"}, "2174": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_market_id__True__0.156852fc84", "type": "test"}, "2175": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_block_number.e402f23638", "type": "test"}, "2176": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_order_type.cfe77ca9a2", "type": "test"}, "2177": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_final_order_amount__True__0.976f3b49e5", "type": "test"}, "2178": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_settler.709cf86f6a", "type": "test"}, "2179": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_block_number.f4d15aa1c6", "type": "test"}, "2180": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_transaction_hash.e39d83aa1f", "type": "test"}, "2181": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_block_timestamp.4104ea8ae8", "type": "test"}, "2182": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_id.61da8ff5ef", "type": "test"}, "2183": {"name": "test.synthetix.unique_spot_order_settled_arbitrum_sepolia_id.fce4a382d0", "type": "test"}, "2184": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_order_type.ce3ce512a2", "type": "test"}, "2185": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_contract.2b0e9ad75a", "type": "test"}, "2186": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_price.1a44fe5106", "type": "test"}, "2187": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_price__True__0.6c6c67c752", "type": "test"}, "2188": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_market_id.d28592e51d", "type": "test"}, "2189": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_market_id__True__0.6880f35b4a", "type": "test"}, "2190": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_collected_fees.1010c0a5f8", "type": "test"}, "2191": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_collected_fees__True__0.43d000a1f2", "type": "test"}, "2192": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_event_name.51feaa1c12", "type": "test"}, "2193": {"name": "test.synthetix.accepted_values_spot_order_settled_arbitrum_sepolia_event_name__OrderSettled.3825809881", "type": "test"}, "2194": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_id.8e031ca154", "type": "test"}, "2195": {"name": "test.synthetix.unique_spot_order_cancelled_arbitrum_sepolia_id.463daca854", "type": "test"}, "2196": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp.5b304e425f", "type": "test"}, "2197": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash.7bc3d70f6e", "type": "test"}, "2198": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_sender.dd378adc77", "type": "test"}, "2199": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_contract.b838860ee1", "type": "test"}, "2200": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_event_name.e938eb2758", "type": "test"}, "2201": {"name": "test.synthetix.accepted_values_spot_order_cancelled_arbitrum_sepolia_event_name__OrderCancelled.7763c43292", "type": "test"}, "2202": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_market_id.d248c77fa3", "type": "test"}, "2203": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_arbitrum_sepolia_market_id__True__0.047630938a", "type": "test"}, "2204": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_block_number.6b3267b9d4", "type": "test"}, "2205": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_id.ae9e680918", "type": "test"}, "2206": {"name": "test.synthetix.unique_spot_synth_registered_arbitrum_sepolia_id.a09499cc92", "type": "test"}, "2207": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp.8ad856419d", "type": "test"}, "2208": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id.41d8ffc96a", "type": "test"}, "2209": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_arbitrum_sepolia_synth_market_id__True__0.adc193de63", "type": "test"}, "2210": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_block_number.e17831aecf", "type": "test"}, "2211": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_contract.13305b5b4f", "type": "test"}, "2212": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_synth_token_address.30dd706c48", "type": "test"}, "2213": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_event_name.5caf84c585", "type": "test"}, "2214": {"name": "test.synthetix.accepted_values_spot_synth_registered_arbitrum_sepolia_event_name__SynthRegistered.66b8fe9ef2", "type": "test"}, "2215": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_transaction_hash.211b9e6913", "type": "test"}, "2216": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_collected_fees.32235682bf", "type": "test"}, "2217": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_collected_fees__True__0.e69ec41d5e", "type": "test"}, "2218": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash.b57c5b3476", "type": "test"}, "2219": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id.92397dca4f", "type": "test"}, "2220": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_synth_market_id__True__0.869a31cec1", "type": "test"}, "2221": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_block_number.1414f728f0", "type": "test"}, "2222": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp.af0cba6258", "type": "test"}, "2223": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_id.ed20008417", "type": "test"}, "2224": {"name": "test.synthetix.unique_spot_synth_bought_arbitrum_sepolia_id.3ade424d59", "type": "test"}, "2225": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_price.9dde4ea814", "type": "test"}, "2226": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_price__True__0.d95f1532c7", "type": "test"}, "2227": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_contract.2c9cdafac9", "type": "test"}, "2228": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_referrer.c39eda4686", "type": "test"}, "2229": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_event_name.a810bafafd", "type": "test"}, "2230": {"name": "test.synthetix.accepted_values_spot_synth_bought_arbitrum_sepolia_event_name__SynthBought.134dc8cabd", "type": "test"}, "2231": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_event_name.333367310e", "type": "test"}, "2232": {"name": "test.synthetix.accepted_values_spot_synth_sold_arbitrum_sepolia_event_name__SynthSold.fe13707237", "type": "test"}, "2233": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash.da63dad649", "type": "test"}, "2234": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_collected_fees.0c503232cc", "type": "test"}, "2235": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_collected_fees__True__0.18ef00cae1", "type": "test"}, "2236": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp.5734b00c78", "type": "test"}, "2237": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_referrer.31558bcae3", "type": "test"}, "2238": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_block_number.9eb624134f", "type": "test"}, "2239": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_price.1a5abe8024", "type": "test"}, "2240": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_price__True__0.9416491d1c", "type": "test"}, "2241": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_amount_returned.31fa2e2854", "type": "test"}, "2242": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_amount_returned__True__0.491570b785", "type": "test"}, "2243": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id.2629bdcd49", "type": "test"}, "2244": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_synth_market_id__True__0.2196afe46e", "type": "test"}, "2245": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_id.415e7f2126", "type": "test"}, "2246": {"name": "test.synthetix.unique_spot_synth_sold_arbitrum_sepolia_id.dd4ab72a64", "type": "test"}, "2247": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_contract.d5f31e0816", "type": "test"}, "2248": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_id.ec9012b5a4", "type": "test"}, "2249": {"name": "test.synthetix.unique_spot_synth_wrapped_arbitrum_sepolia_id.25ef0efbd8", "type": "test"}, "2250": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash.60e01a101a", "type": "test"}, "2251": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id.f1fccfdd91", "type": "test"}, "2252": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_synth_market_id__True__0.ca19b05f78", "type": "test"}, "2253": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_contract.410ac0c77b", "type": "test"}, "2254": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_event_name.e16041e32c", "type": "test"}, "2255": {"name": "test.synthetix.accepted_values_spot_synth_wrapped_arbitrum_sepolia_event_name__SynthWrapped.a482cbf84f", "type": "test"}, "2256": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp.cc2e2e7857", "type": "test"}, "2257": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_block_number.c861cf7b58", "type": "test"}, "2258": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected.8c22c01d20", "type": "test"}, "2259": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_fees_collected__True__0.9f8402c770", "type": "test"}, "2260": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp.2897aa2af1", "type": "test"}, "2261": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped.4d83dd17da", "type": "test"}, "2262": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped__True__0.2d01453854", "type": "test"}, "2263": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected.342d8ecaba", "type": "test"}, "2264": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_fees_collected__True__0.f01b734c27", "type": "test"}, "2265": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name.e2e470100a", "type": "test"}, "2266": {"name": "test.synthetix.accepted_values_spot_synth_unwrapped_arbitrum_sepolia_event_name__SynthUnwrapped.20624d41fd", "type": "test"}, "2267": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number.bfaa7aabea", "type": "test"}, "2268": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash.5b5d8f1737", "type": "test"}, "2269": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_contract.9a67446eba", "type": "test"}, "2270": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_id.885fac7a78", "type": "test"}, "2271": {"name": "test.synthetix.unique_spot_synth_unwrapped_arbitrum_sepolia_id.5985d5d1de", "type": "test"}, "2272": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id.0f2f845893", "type": "test"}, "2273": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id__True__0.6744618704", "type": "test"}, "2274": {"name": "test.synthetix.not_null_blocks_base_mainnet_block_number.bb1b2f53c2", "type": "test"}, "2275": {"name": "test.synthetix.unique_blocks_base_mainnet_block_number.e303976d40", "type": "test"}, "2276": {"name": "test.synthetix.dbt_utils_recency_blocks_base_mainnet_hour__ts__1.b0724712c2", "type": "test"}, "2277": {"name": "test.synthetix.unique_perp_account_created_base_mainnet_id.7e77a8a023", "type": "test"}, "2278": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_id.88dc5d9a3e", "type": "test"}, "2279": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_event_name.0ab1553ed8", "type": "test"}, "2280": {"name": "test.synthetix.accepted_values_perp_account_created_base_mainnet_event_name__AccountCreated.c906cbec9d", "type": "test"}, "2281": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_block_number.089e467aa3", "type": "test"}, "2282": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_block_timestamp.4e4344d68a", "type": "test"}, "2283": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_owner.1aca280221", "type": "test"}, "2284": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_account_id.2d9e573ba3", "type": "test"}, "2285": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_created_base_mainnet_account_id__True__0.31cc3873de", "type": "test"}, "2286": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_transaction_hash.0274c58381", "type": "test"}, "2287": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_contract.d77785377c", "type": "test"}, "2288": {"name": "test.synthetix.unique_perp_order_committed_base_mainnet_id.471fd9d19f", "type": "test"}, "2289": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_id.deaaf9a2d9", "type": "test"}, "2290": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_block_number.743f5b2c16", "type": "test"}, "2291": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_block_timestamp.ba049c4adc", "type": "test"}, "2292": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_transaction_hash.ba7bf1fc20", "type": "test"}, "2293": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_contract.ec04bc0cd9", "type": "test"}, "2294": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_event_name.ea7921e749", "type": "test"}, "2295": {"name": "test.synthetix.accepted_values_perp_order_committed_base_mainnet_event_name__OrderCommitted.ce39697ea3", "type": "test"}, "2296": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_market_id.09e2f9dd2e", "type": "test"}, "2297": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_mainnet_market_id__True__0.9964b7c003", "type": "test"}, "2298": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_account_id.4dabd60cd4", "type": "test"}, "2299": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_mainnet_account_id__True__0.c996cff012", "type": "test"}, "2300": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_contract.4999a48971", "type": "test"}, "2301": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_event_name.f1e61c05e6", "type": "test"}, "2302": {"name": "test.synthetix.accepted_values_perp_order_settled_base_mainnet_event_name__OrderSettled.2c75532624", "type": "test"}, "2303": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_account_id.16ba855b23", "type": "test"}, "2304": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_account_id__True__0.e5564d3ff0", "type": "test"}, "2305": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_market_id.6f4d850570", "type": "test"}, "2306": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_market_id__True__0.f0b24bdf87", "type": "test"}, "2307": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_collected_fees.b6a0c12cde", "type": "test"}, "2308": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_collected_fees__True__0.160f85cd41", "type": "test"}, "2309": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_transaction_hash.a60987fbb0", "type": "test"}, "2310": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_block_timestamp.81876ddb40", "type": "test"}, "2311": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_block_number.f58d806635", "type": "test"}, "2312": {"name": "test.synthetix.unique_perp_order_settled_base_mainnet_id.0225a9550b", "type": "test"}, "2313": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_id.5b3863aece", "type": "test"}, "2314": {"name": "test.synthetix.unique_perp_market_updated_base_mainnet_id.a3e4d3e22f", "type": "test"}, "2315": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_id.23f3e68a12", "type": "test"}, "2316": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_block_number.3088915c67", "type": "test"}, "2317": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_block_timestamp.c0b049d2d6", "type": "test"}, "2318": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_transaction_hash.28faaa00e5", "type": "test"}, "2319": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_contract.e19df268b3", "type": "test"}, "2320": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_event_name.de1019fbef", "type": "test"}, "2321": {"name": "test.synthetix.accepted_values_perp_market_updated_base_mainnet_event_name__MarketUpdated.33121cd63c", "type": "test"}, "2322": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_market_id.8ec7a63f6b", "type": "test"}, "2323": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_market_id__True__0.5c7a41566b", "type": "test"}, "2324": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_price.f0d91e2bd5", "type": "test"}, "2325": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_price__True__0.ae7f542736", "type": "test"}, "2326": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_interest_rate.10b7a6c389", "type": "test"}, "2327": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_interest_rate__True__0.7f6ed158d2", "type": "test"}, "2328": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_account_id.498f567370", "type": "test"}, "2329": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_account_id__True__0.4dca14dbcd", "type": "test"}, "2330": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_market_id.564386819e", "type": "test"}, "2331": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_market_id__True__0.f77ba4ae2f", "type": "test"}, "2332": {"name": "test.synthetix.unique_perp_position_liquidated_base_mainnet_id.922d3c5143", "type": "test"}, "2333": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_id.32c367bb62", "type": "test"}, "2334": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_transaction_hash.c67a9607db", "type": "test"}, "2335": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_current_position_size.b48e72d00b", "type": "test"}, "2336": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_current_position_size__True__0.f59eb84311", "type": "test"}, "2337": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_event_name.321097aa34", "type": "test"}, "2338": {"name": "test.synthetix.accepted_values_perp_position_liquidated_base_mainnet_event_name__PositionLiquidated.71fb40cadb", "type": "test"}, "2339": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_block_number.a7b9be436d", "type": "test"}, "2340": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_amount_liquidated.29ad6c9103", "type": "test"}, "2341": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_amount_liquidated__True__0.be0c7ea09d", "type": "test"}, "2342": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_contract.16d824dbca", "type": "test"}, "2343": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_block_timestamp.7e8e3434f7", "type": "test"}, "2344": {"name": "test.synthetix.unique_perp_account_liquidation_attempt_base_mainnet_id.4ca8a36246", "type": "test"}, "2345": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_id.f0a38fed0b", "type": "test"}, "2346": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_account_id.b9af0ad259", "type": "test"}, "2347": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_account_id__True__0.1b7d106a7e", "type": "test"}, "2348": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_block_number.eb82068b1f", "type": "test"}, "2349": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_reward.c18396dc96", "type": "test"}, "2350": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_reward__True__0.cb285aadec", "type": "test"}, "2351": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_block_timestamp.8bb23c25bf", "type": "test"}, "2352": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_contract.52c72e7f83", "type": "test"}, "2353": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_event_name.bdd4a2d793", "type": "test"}, "2354": {"name": "test.synthetix.accepted_values_perp_account_liquidation_attempt_base_mainnet_event_name__AccountLiquidationAttempt.aeb7d6db9c", "type": "test"}, "2355": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_transaction_hash.70575855b6", "type": "test"}, "2356": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_full_liquidation.13fc102881", "type": "test"}, "2357": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_block_timestamp.dba3f4ea26", "type": "test"}, "2358": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_contract.c11139c863", "type": "test"}, "2359": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_event_name.ea66af17fe", "type": "test"}, "2360": {"name": "test.synthetix.accepted_values_perp_collateral_modified_base_mainnet_event_name__CollateralModified.a5e57f2d75", "type": "test"}, "2361": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_block_number.9a27b3b231", "type": "test"}, "2362": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_synth_market_id.d41b8065af", "type": "test"}, "2363": {"name": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_synth_market_id__True__0.d556e7848d", "type": "test"}, "2364": {"name": "test.synthetix.unique_perp_collateral_modified_base_mainnet_id.311ce0d794", "type": "test"}, "2365": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_id.f24bcc6b1b", "type": "test"}, "2366": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_sender.b40c55b7ee", "type": "test"}, "2367": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_account_id.cdccf3f2af", "type": "test"}, "2368": {"name": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_account_id__True__0.9f7c28c3fd", "type": "test"}, "2369": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_transaction_hash.3d3881c53b", "type": "test"}, "2370": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_block_timestamp.8433c78b93", "type": "test"}, "2371": {"name": "test.synthetix.unique_perp_previous_order_expired_base_mainnet_id.f02978148f", "type": "test"}, "2372": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_id.bc7a46deda", "type": "test"}, "2373": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_block_number.a563a713e9", "type": "test"}, "2374": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_market_id.3b39458251", "type": "test"}, "2375": {"name": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_market_id__True__0.edc1c768de", "type": "test"}, "2376": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_event_name.14c38c565c", "type": "test"}, "2377": {"name": "test.synthetix.accepted_values_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired.a675fe5038", "type": "test"}, "2378": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_transaction_hash.97e2d12b2c", "type": "test"}, "2379": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_account_id.c8037fd435", "type": "test"}, "2380": {"name": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_account_id__True__0.e4b1283a09", "type": "test"}, "2381": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_contract.5eed227a76", "type": "test"}, "2382": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_market_name.162fe82996", "type": "test"}, "2383": {"name": "test.synthetix.unique_perp_market_created_base_mainnet_id.e1227e7e46", "type": "test"}, "2384": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_id.eb84eb9821", "type": "test"}, "2385": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_market_symbol.06e88b6544", "type": "test"}, "2386": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_event_name.f103b43404", "type": "test"}, "2387": {"name": "test.synthetix.accepted_values_perp_market_created_base_mainnet_event_name__MarketCreated.d9da845e2f", "type": "test"}, "2388": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_block_number.31d8a749ec", "type": "test"}, "2389": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_block_timestamp.b13b8b381f", "type": "test"}, "2390": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_contract.dd8ab60012", "type": "test"}, "2391": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_perps_market_id.d04a2adf66", "type": "test"}, "2392": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_created_base_mainnet_perps_market_id__True__0.7835f6c4e2", "type": "test"}, "2393": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_transaction_hash.005c8ea981", "type": "test"}, "2394": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_event_name.d0c6828a2c", "type": "test"}, "2395": {"name": "test.synthetix.accepted_values_perp_interest_charged_base_mainnet_event_name__InterestCharged.92bd4d647b", "type": "test"}, "2396": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_contract.637ff31ac5", "type": "test"}, "2397": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_transaction_hash.82d6f4539b", "type": "test"}, "2398": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_block_timestamp.c006ab16a0", "type": "test"}, "2399": {"name": "test.synthetix.unique_perp_interest_charged_base_mainnet_id.849ecb5e38", "type": "test"}, "2400": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_id.a4394853e3", "type": "test"}, "2401": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_block_number.634b5a2ca3", "type": "test"}, "2402": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_account_id.9cea8c57e9", "type": "test"}, "2403": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_base_mainnet_account_id__True__0.a3ec3de479", "type": "test"}, "2404": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_block_timestamp.0d665a1669", "type": "test"}, "2405": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_event_name.36434bd8cd", "type": "test"}, "2406": {"name": "test.synthetix.accepted_values_perp_interest_rate_updated_base_mainnet_event_name__InterestRateUpdated.1f640e1a2e", "type": "test"}, "2407": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_transaction_hash.84f20da856", "type": "test"}, "2408": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_interest_rate.cfecf76356", "type": "test"}, "2409": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_interest_rate__True__0.9e368f0a36", "type": "test"}, "2410": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_block_number.76213ff694", "type": "test"}, "2411": {"name": "test.synthetix.unique_perp_interest_rate_updated_base_mainnet_id.bddddb2671", "type": "test"}, "2412": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_id.e9a20cc82f", "type": "test"}, "2413": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_contract.79599300ad", "type": "test"}, "2414": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_super_market_id.234f62d024", "type": "test"}, "2415": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_super_market_id__True__0.4d69e0aece", "type": "test"}, "2416": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_id.f2ddc16a13", "type": "test"}, "2417": {"name": "test.synthetix.unique_buyback_processed_base_mainnet_id.7d5a3bf3a8", "type": "test"}, "2418": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_block_number.7938e67f70", "type": "test"}, "2419": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_block_timestamp.a03c2a402e", "type": "test"}, "2420": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_transaction_hash.48c42ff159", "type": "test"}, "2421": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_event_name.6b55058ad0", "type": "test"}, "2422": {"name": "test.synthetix.accepted_values_buyback_processed_base_mainnet_event_name__BuybackProcessed.dfe71d53df", "type": "test"}, "2423": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_contract.73ecec38f3", "type": "test"}, "2424": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_buyer.6dc7c79cf3", "type": "test"}, "2425": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_snx.d434d429ea", "type": "test"}, "2426": {"name": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_mainnet_snx__True__0.afaf938419", "type": "test"}, "2427": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_usd.c5f2eba3f9", "type": "test"}, "2428": {"name": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_mainnet_usd__True__0.4acbfc34a4", "type": "test"}, "2429": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_owner.c498d5b28f", "type": "test"}, "2430": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_account_id.9f366bbbab", "type": "test"}, "2431": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_created_base_mainnet_account_id__True__0.13ad3c12e1", "type": "test"}, "2432": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_id.a6878c49cb", "type": "test"}, "2433": {"name": "test.synthetix.unique_core_account_created_base_mainnet_id.d79e3ab0d1", "type": "test"}, "2434": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_transaction_hash.21cf6568c1", "type": "test"}, "2435": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_block_number.1b0ff0bd14", "type": "test"}, "2436": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_block_timestamp.8e5d2b5809", "type": "test"}, "2437": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_event_name.f3ba489917", "type": "test"}, "2438": {"name": "test.synthetix.accepted_values_core_account_created_base_mainnet_event_name__AccountCreated.8d266dd241", "type": "test"}, "2439": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_contract.9c9629d4bf", "type": "test"}, "2440": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_contract.26c790b056", "type": "test"}, "2441": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_id.3f46fc5fef", "type": "test"}, "2442": {"name": "test.synthetix.unique_core_delegation_updated_base_mainnet_id.cb86d131a2", "type": "test"}, "2443": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_account_id.d54eaa7e33", "type": "test"}, "2444": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_account_id__True__0.682b9be0e3", "type": "test"}, "2445": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_collateral_type.ed1a32a32c", "type": "test"}, "2446": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_pool_id.05c5c779bf", "type": "test"}, "2447": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_pool_id__True__0.4316662214", "type": "test"}, "2448": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_sender.0138cb07ed", "type": "test"}, "2449": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_block_timestamp.c521a83475", "type": "test"}, "2450": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_block_number.b7e4e88578", "type": "test"}, "2451": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_leverage.5efc0a9617", "type": "test"}, "2452": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_leverage__True__1000000000000000000__1000000000000000000.d5cf2050cc", "type": "test"}, "2453": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_transaction_hash.6915579646", "type": "test"}, "2454": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_amount.a0ab515e0a", "type": "test"}, "2455": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_amount__True__0.a8783e193f", "type": "test"}, "2456": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_event_name.cfe99ccc6b", "type": "test"}, "2457": {"name": "test.synthetix.accepted_values_core_delegation_updated_base_mainnet_event_name__DelegationUpdated.67d059ef8b", "type": "test"}, "2458": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_collateral_type.be650ff685", "type": "test"}, "2459": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_id.ee16c24c51", "type": "test"}, "2460": {"name": "test.synthetix.unique_core_deposited_base_mainnet_id.c13be8e337", "type": "test"}, "2461": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_contract.6e9ec1150a", "type": "test"}, "2462": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_event_name.31446f5c55", "type": "test"}, "2463": {"name": "test.synthetix.accepted_values_core_deposited_base_mainnet_event_name__Deposited.8716111032", "type": "test"}, "2464": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_transaction_hash.272eb2e81d", "type": "test"}, "2465": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_account_id.7193b1a2c0", "type": "test"}, "2466": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_mainnet_account_id__True__0.64bcc1c124", "type": "test"}, "2467": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_sender.7b7ebe7456", "type": "test"}, "2468": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_block_timestamp.560df883dc", "type": "test"}, "2469": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_block_number.08ee53cd26", "type": "test"}, "2470": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_token_amount.5b0e4b379d", "type": "test"}, "2471": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_mainnet_token_amount__True__0.60382baf55", "type": "test"}, "2472": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_block_timestamp.3b8ffa7210", "type": "test"}, "2473": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_contract.a8511fdb92", "type": "test"}, "2474": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_block_number.03c7cebae3", "type": "test"}, "2475": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_transaction_hash.a3fda71b2a", "type": "test"}, "2476": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_token_amount.fbabce38ba", "type": "test"}, "2477": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_mainnet_token_amount__True__0.54af4bae82", "type": "test"}, "2478": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_collateral_type.f32eb82738", "type": "test"}, "2479": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_account_id.ef84b5b40c", "type": "test"}, "2480": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_mainnet_account_id__True__0.0bf8555841", "type": "test"}, "2481": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_id.8106f47c4d", "type": "test"}, "2482": {"name": "test.synthetix.unique_core_withdrawn_base_mainnet_id.72a24b0786", "type": "test"}, "2483": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_sender.2f5cf91bdf", "type": "test"}, "2484": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_event_name.f423143c4b", "type": "test"}, "2485": {"name": "test.synthetix.accepted_values_core_withdrawn_base_mainnet_event_name__Withdrawn.8eb5613297", "type": "test"}, "2486": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_pool_id.0342c9a9f7", "type": "test"}, "2487": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_pool_id__True__0.9af005d964", "type": "test"}, "2488": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_block_timestamp.cc029a06b8", "type": "test"}, "2489": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_block_number.896bca83af", "type": "test"}, "2490": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_id.c949216a70", "type": "test"}, "2491": {"name": "test.synthetix.unique_core_liquidation_base_mainnet_id.876ec280ff", "type": "test"}, "2492": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_contract.cb2b40daff", "type": "test"}, "2493": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_event_name.b9c8609dd4", "type": "test"}, "2494": {"name": "test.synthetix.accepted_values_core_liquidation_base_mainnet_event_name__Liquidation.b1c18b74aa", "type": "test"}, "2495": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_collateral_type.c78d491846", "type": "test"}, "2496": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_sender.0c2397ee76", "type": "test"}, "2497": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_account_id.2ddc542a47", "type": "test"}, "2498": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_account_id__True__0.136053be04", "type": "test"}, "2499": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_transaction_hash.adee36dc81", "type": "test"}, "2500": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_liquidate_as_account_id.b2d7294162", "type": "test"}, "2501": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_liquidate_as_account_id__True__0.7686495bd9", "type": "test"}, "2502": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_id.bdb44c0b54", "type": "test"}, "2503": {"name": "test.synthetix.unique_core_market_updated_base_mainnet_id.b2a5abdd48", "type": "test"}, "2504": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_block_timestamp.648a5f6e8c", "type": "test"}, "2505": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_block_number.e9e83211a7", "type": "test"}, "2506": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_transaction_hash.7b8eb5d77d", "type": "test"}, "2507": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_contract.6d90834e3f", "type": "test"}, "2508": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_event_name.6afe397967", "type": "test"}, "2509": {"name": "test.synthetix.accepted_values_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.06e57bf5c5", "type": "test"}, "2510": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_market_id.de78147356", "type": "test"}, "2511": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_market_id__True__0.ab7b335af7", "type": "test"}, "2512": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_net_issuance.334062f568", "type": "test"}, "2513": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_deposited_collateral_value.905a08bfbb", "type": "test"}, "2514": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_deposited_collateral_value__True__0.3945f7eca1", "type": "test"}, "2515": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_sender.5b6ff88208", "type": "test"}, "2516": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_collateral_type.6e2d5502d4", "type": "test"}, "2517": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_credit_capacity.4cad1dd5dd", "type": "test"}, "2518": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_token_amount.ce8694585d", "type": "test"}, "2519": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_token_amount__True__0.159f754b68", "type": "test"}, "2520": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_market.6a5311f9b7", "type": "test"}, "2521": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_market_id.8fa95d0adc", "type": "test"}, "2522": {"name": "test.synthetix.unique_core_market_registered_base_mainnet_market_id.e03ba7f671", "type": "test"}, "2523": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_id.58185ba1ad", "type": "test"}, "2524": {"name": "test.synthetix.unique_core_market_registered_base_mainnet_id.b0e87b4cdb", "type": "test"}, "2525": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_block_timestamp.41726ce377", "type": "test"}, "2526": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_contract.0187a84f0b", "type": "test"}, "2527": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_transaction_hash.7e49be40a9", "type": "test"}, "2528": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_block_number.14cb004b58", "type": "test"}, "2529": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_event_name.c5054f10bf", "type": "test"}, "2530": {"name": "test.synthetix.accepted_values_core_market_registered_base_mainnet_event_name__MarketRegistered.b297851ae7", "type": "test"}, "2531": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_sender.9825c848f6", "type": "test"}, "2532": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_contract.6f3850c4d8", "type": "test"}, "2533": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_sender.0c210116c7", "type": "test"}, "2534": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_block_timestamp.94505d3912", "type": "test"}, "2535": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_id.44cc56adee", "type": "test"}, "2536": {"name": "test.synthetix.unique_core_pool_created_base_mainnet_id.f5ca162629", "type": "test"}, "2537": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_block_number.8ef3c64233", "type": "test"}, "2538": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_transaction_hash.88325163ff", "type": "test"}, "2539": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_event_name.0770467455", "type": "test"}, "2540": {"name": "test.synthetix.accepted_values_core_pool_created_base_mainnet_event_name__PoolCreated.a1f7123964", "type": "test"}, "2541": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_owner.875044313e", "type": "test"}, "2542": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_pool_id.d63bf41661", "type": "test"}, "2543": {"name": "test.synthetix.dbt_utils_accepted_range_core_pool_created_base_mainnet_pool_id__True__0.39f67d8bfc", "type": "test"}, "2544": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_transaction_hash.b63233ece5", "type": "test"}, "2545": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_account_id.854e016ff9", "type": "test"}, "2546": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_account_id__True__0.f3a8537aec", "type": "test"}, "2547": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_collateral_type.f4a0d97e20", "type": "test"}, "2548": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_event_name.8699999c22", "type": "test"}, "2549": {"name": "test.synthetix.accepted_values_core_rewards_claimed_base_mainnet_event_name__RewardsClaimed.aa2ca50bfd", "type": "test"}, "2550": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_contract.c7544b70ac", "type": "test"}, "2551": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_amount.2d80149737", "type": "test"}, "2552": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_amount__True__0.d32a48611c", "type": "test"}, "2553": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_distributor.edc7126cd6", "type": "test"}, "2554": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_block_timestamp.365bd8971d", "type": "test"}, "2555": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_id.e1c2a57eae", "type": "test"}, "2556": {"name": "test.synthetix.unique_core_rewards_claimed_base_mainnet_id.3e937354d7", "type": "test"}, "2557": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_pool_id.28e40cfefe", "type": "test"}, "2558": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_pool_id__True__0.4091fd0cb1", "type": "test"}, "2559": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_block_number.4b65195293", "type": "test"}, "2560": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_id.0142695043", "type": "test"}, "2561": {"name": "test.synthetix.unique_core_rewards_distributed_base_mainnet_id.8cb2f0871f", "type": "test"}, "2562": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_event_name.16811bbe2c", "type": "test"}, "2563": {"name": "test.synthetix.accepted_values_core_rewards_distributed_base_mainnet_event_name__RewardsDistributed.c4ccd15bed", "type": "test"}, "2564": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_amount.2580da873a", "type": "test"}, "2565": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_amount__True__0.839843f110", "type": "test"}, "2566": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_contract.5545c1884a", "type": "test"}, "2567": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_block_timestamp.3080d49013", "type": "test"}, "2568": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_transaction_hash.bc1d7442f3", "type": "test"}, "2569": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_collateral_type.7253a5e6ec", "type": "test"}, "2570": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_block_number.8a561feed6", "type": "test"}, "2571": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_duration.78ed8fd436", "type": "test"}, "2572": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_duration__True__0.7efb65f7c3", "type": "test"}, "2573": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_distributor.eb73b71c1b", "type": "test"}, "2574": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_pool_id.8ee087c0fc", "type": "test"}, "2575": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_pool_id__True__0.7d779ece26", "type": "test"}, "2576": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_amount.57fdbdea35", "type": "test"}, "2577": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_amount__True__0.27adfdbff9", "type": "test"}, "2578": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_pool_id.abf28cfdf6", "type": "test"}, "2579": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_pool_id__True__0.52120b282a", "type": "test"}, "2580": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_event_name.0bb05d75cc", "type": "test"}, "2581": {"name": "test.synthetix.accepted_values_core_usd_burned_base_mainnet_event_name__UsdBurned.9df46c6616", "type": "test"}, "2582": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_id.7d6df2e91f", "type": "test"}, "2583": {"name": "test.synthetix.unique_core_usd_burned_base_mainnet_id.5953435682", "type": "test"}, "2584": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_block_number.6f683bcb34", "type": "test"}, "2585": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_account_id.b4f53ab613", "type": "test"}, "2586": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_account_id__True__0.40ca1a8133", "type": "test"}, "2587": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_sender.b813be6ecc", "type": "test"}, "2588": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_transaction_hash.d80af383d5", "type": "test"}, "2589": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_contract.dba51aebb5", "type": "test"}, "2590": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_collateral_type.e208105e0e", "type": "test"}, "2591": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_block_timestamp.346c53ef95", "type": "test"}, "2592": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_pool_id.ee8fc13465", "type": "test"}, "2593": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_pool_id__True__0.38a3f5fcf9", "type": "test"}, "2594": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_block_timestamp.a004821ccd", "type": "test"}, "2595": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_account_id.ccf3e769fe", "type": "test"}, "2596": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_account_id__True__0.fd790b59ca", "type": "test"}, "2597": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_collateral_type.f8bfd4628e", "type": "test"}, "2598": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_block_number.9528b63fbc", "type": "test"}, "2599": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_id.9cb007fc5c", "type": "test"}, "2600": {"name": "test.synthetix.unique_core_usd_minted_base_mainnet_id.476f2a0b45", "type": "test"}, "2601": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_sender.363a1c6bc9", "type": "test"}, "2602": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_amount.196acb6a64", "type": "test"}, "2603": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_amount__True__0.1d256007a1", "type": "test"}, "2604": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_event_name.33ff07927a", "type": "test"}, "2605": {"name": "test.synthetix.accepted_values_core_usd_minted_base_mainnet_event_name__UsdMinted.62f89abcc8", "type": "test"}, "2606": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_transaction_hash.c04da14c24", "type": "test"}, "2607": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_contract.f56e539b17", "type": "test"}, "2608": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_transaction_hash.063cc50ef6", "type": "test"}, "2609": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_collateral_type.e0c76340c5", "type": "test"}, "2610": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_pool_id.4a337176ad", "type": "test"}, "2611": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_pool_id__True__0.bfc340e4f6", "type": "test"}, "2612": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_event_name.1e10a7bb02", "type": "test"}, "2613": {"name": "test.synthetix.accepted_values_core_vault_liquidation_base_mainnet_event_name__VaultLiquidation.b8ea6a7925", "type": "test"}, "2614": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_id.3054417f0f", "type": "test"}, "2615": {"name": "test.synthetix.unique_core_vault_liquidation_base_mainnet_id.74bcb7a076", "type": "test"}, "2616": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_block_timestamp.2dca047589", "type": "test"}, "2617": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_liquidate_as_account_id.042bc52396", "type": "test"}, "2618": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_liquidate_as_account_id__True__0.b04df95186", "type": "test"}, "2619": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_liquidation_data.be698b5245", "type": "test"}, "2620": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_contract.d5acf50762", "type": "test"}, "2621": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_block_number.667cea546c", "type": "test"}, "2622": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_sender.512fed362a", "type": "test"}, "2623": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_ts.a02f87cd0d", "type": "test"}, "2624": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_block_number.6eaab21095", "type": "test"}, "2625": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_pool_id.e1a826b5b2", "type": "test"}, "2626": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_pool_id__True__0.c52772c114", "type": "test"}, "2627": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_collateral_type.bef58af2ef", "type": "test"}, "2628": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_amount.45536133a9", "type": "test"}, "2629": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_amount__True__0.9e07833bf5", "type": "test"}, "2630": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_collateral_value.5805db9c59", "type": "test"}, "2631": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_collateral_value__True__0.7350cb66f7", "type": "test"}, "2632": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_contract_address.bc7a096c7d", "type": "test"}, "2633": {"name": "test.synthetix.not_null_core_vault_debt_base_mainnet_ts.fc19d225e3", "type": "test"}, "2634": {"name": "test.synthetix.not_null_core_vault_debt_base_mainnet_block_number.bd4478b322", "type": "test"}, "2635": {"name": "test.synthetix.not_null_core_vault_debt_base_mainnet_pool_id.e33ea26a56", "type": "test"}, "2636": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_base_mainnet_pool_id__True__0.583a0abe4f", "type": "test"}, "2637": {"name": "test.synthetix.not_null_core_vault_debt_base_mainnet_collateral_type.e3f9b96478", "type": "test"}, "2638": {"name": "test.synthetix.not_null_core_vault_debt_base_mainnet_debt.922a67baf4", "type": "test"}, "2639": {"name": "test.synthetix.not_null_core_vault_debt_base_mainnet_contract_address.f2b82344e4", "type": "test"}, "2640": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_id.4e7c563b12", "type": "test"}, "2641": {"name": "test.synthetix.unique_spot_order_committed_base_mainnet_id.ebe225e3c1", "type": "test"}, "2642": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_event_name.dc08478d35", "type": "test"}, "2643": {"name": "test.synthetix.accepted_values_spot_order_committed_base_mainnet_event_name__OrderCommitted.7219cd261b", "type": "test"}, "2644": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_sender.fcb2f6b8e6", "type": "test"}, "2645": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_block_timestamp.b355df469e", "type": "test"}, "2646": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_referrer.773110510c", "type": "test"}, "2647": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_amount_provided.99b6d3d7c6", "type": "test"}, "2648": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_mainnet_amount_provided__True__0.9f6ff0bd95", "type": "test"}, "2649": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_transaction_hash.bf2697d39d", "type": "test"}, "2650": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_contract.2711d7c5f2", "type": "test"}, "2651": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_market_id.eb878589ce", "type": "test"}, "2652": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_mainnet_market_id__True__0.d412907ad8", "type": "test"}, "2653": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_block_number.b73840a782", "type": "test"}, "2654": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_order_type.af8cf04472", "type": "test"}, "2655": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_final_order_amount__True__0.285227b4ad", "type": "test"}, "2656": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_settler.32eafc3529", "type": "test"}, "2657": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_block_number.0da3f5f83c", "type": "test"}, "2658": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_transaction_hash.cc03e5396c", "type": "test"}, "2659": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_block_timestamp.d6a06e33d2", "type": "test"}, "2660": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_id.bee9f4adc9", "type": "test"}, "2661": {"name": "test.synthetix.unique_spot_order_settled_base_mainnet_id.3552e2a2e6", "type": "test"}, "2662": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_order_type.0e7f500a0a", "type": "test"}, "2663": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_contract.901410d0f9", "type": "test"}, "2664": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_price.a8065724a1", "type": "test"}, "2665": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_price__True__0.a69aaf95b9", "type": "test"}, "2666": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_market_id.ea53981200", "type": "test"}, "2667": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_market_id__True__0.57e7a4e22d", "type": "test"}, "2668": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_collected_fees.f0d64ac401", "type": "test"}, "2669": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_collected_fees__True__0.d7bd810890", "type": "test"}, "2670": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_event_name.b99840eec6", "type": "test"}, "2671": {"name": "test.synthetix.accepted_values_spot_order_settled_base_mainnet_event_name__OrderSettled.30376f4577", "type": "test"}, "2672": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_id.5486ce1cb2", "type": "test"}, "2673": {"name": "test.synthetix.unique_spot_order_cancelled_base_mainnet_id.5ac9e5a86c", "type": "test"}, "2674": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_block_timestamp.81016bb88f", "type": "test"}, "2675": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_transaction_hash.524e2820c0", "type": "test"}, "2676": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_sender.666cd271e1", "type": "test"}, "2677": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_contract.b45f673add", "type": "test"}, "2678": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_event_name.75d1cf92ef", "type": "test"}, "2679": {"name": "test.synthetix.accepted_values_spot_order_cancelled_base_mainnet_event_name__OrderCancelled.468b0aa5ec", "type": "test"}, "2680": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_market_id.3d2e9d2ba5", "type": "test"}, "2681": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_base_mainnet_market_id__True__0.9edddeabb3", "type": "test"}, "2682": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_block_number.59e7d43c87", "type": "test"}, "2683": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_id.9f21a7f761", "type": "test"}, "2684": {"name": "test.synthetix.unique_spot_synth_registered_base_mainnet_id.81eda4804d", "type": "test"}, "2685": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_block_timestamp.9fcd6d9ec6", "type": "test"}, "2686": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_synth_market_id.97f70d1e33", "type": "test"}, "2687": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_base_mainnet_synth_market_id__True__0.289066bb62", "type": "test"}, "2688": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_block_number.fb558416fb", "type": "test"}, "2689": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_contract.a1096e5fd9", "type": "test"}, "2690": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_synth_token_address.f2f086a15a", "type": "test"}, "2691": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_event_name.6d850cc54d", "type": "test"}, "2692": {"name": "test.synthetix.accepted_values_spot_synth_registered_base_mainnet_event_name__SynthRegistered.5528c05ba2", "type": "test"}, "2693": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_transaction_hash.7e53d9e7f0", "type": "test"}, "2694": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_collected_fees.d9c17c84f7", "type": "test"}, "2695": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_collected_fees__True__0.3fcb3fda3a", "type": "test"}, "2696": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_transaction_hash.1e8279de09", "type": "test"}, "2697": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_synth_market_id.32145e8cb4", "type": "test"}, "2698": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_synth_market_id__True__0.e3b9a2a2bf", "type": "test"}, "2699": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_block_number.afabe746ef", "type": "test"}, "2700": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_block_timestamp.5044e48413", "type": "test"}, "2701": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_id.f9e555c962", "type": "test"}, "2702": {"name": "test.synthetix.unique_spot_synth_bought_base_mainnet_id.e00678ebae", "type": "test"}, "2703": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_price.f59f9c339a", "type": "test"}, "2704": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_price__True__0.e25fbf2240", "type": "test"}, "2705": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_contract.d6d311c160", "type": "test"}, "2706": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_referrer.3b61ce852c", "type": "test"}, "2707": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_event_name.8a35f2634d", "type": "test"}, "2708": {"name": "test.synthetix.accepted_values_spot_synth_bought_base_mainnet_event_name__SynthBought.7302486ec0", "type": "test"}, "2709": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_event_name.f76ff966dc", "type": "test"}, "2710": {"name": "test.synthetix.accepted_values_spot_synth_sold_base_mainnet_event_name__SynthSold.b1a44748ed", "type": "test"}, "2711": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_transaction_hash.6957d51d9c", "type": "test"}, "2712": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_collected_fees.99a85c53ea", "type": "test"}, "2713": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_collected_fees__True__0.6cc814f854", "type": "test"}, "2714": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_block_timestamp.1713f1d130", "type": "test"}, "2715": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_referrer.ee678360be", "type": "test"}, "2716": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_block_number.148bf58e52", "type": "test"}, "2717": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_price.3d1a702fbb", "type": "test"}, "2718": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_price__True__0.994b9376fd", "type": "test"}, "2719": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_amount_returned.989a4131c2", "type": "test"}, "2720": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_amount_returned__True__0.250710e6f1", "type": "test"}, "2721": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_synth_market_id.b7dab5388d", "type": "test"}, "2722": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_synth_market_id__True__0.3ec6dae33c", "type": "test"}, "2723": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_id.763b711f62", "type": "test"}, "2724": {"name": "test.synthetix.unique_spot_synth_sold_base_mainnet_id.4cbe90534a", "type": "test"}, "2725": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_contract.46ddd59981", "type": "test"}, "2726": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_id.7d79ad852d", "type": "test"}, "2727": {"name": "test.synthetix.unique_spot_synth_wrapped_base_mainnet_id.77a4ae72ae", "type": "test"}, "2728": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_transaction_hash.9cbd57629d", "type": "test"}, "2729": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_synth_market_id.e2b2f4733f", "type": "test"}, "2730": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_synth_market_id__True__0.3d7fa017bf", "type": "test"}, "2731": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_contract.33e8d1917b", "type": "test"}, "2732": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_event_name.1f22f5789b", "type": "test"}, "2733": {"name": "test.synthetix.accepted_values_spot_synth_wrapped_base_mainnet_event_name__SynthWrapped.e81f79edcb", "type": "test"}, "2734": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_block_timestamp.66ddebcfe0", "type": "test"}, "2735": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_block_number.4bf40252e1", "type": "test"}, "2736": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_fees_collected.9a641530e9", "type": "test"}, "2737": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_fees_collected__True__0.88e8d792fd", "type": "test"}, "2738": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_block_timestamp.0e8329af5c", "type": "test"}, "2739": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped.025e49370b", "type": "test"}, "2740": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_amount_unwrapped__True__0.2e78bc25a2", "type": "test"}, "2741": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_fees_collected.cd35bec369", "type": "test"}, "2742": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_fees_collected__True__0.48d9a0e389", "type": "test"}, "2743": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_event_name.dbfac4a471", "type": "test"}, "2744": {"name": "test.synthetix.accepted_values_spot_synth_unwrapped_base_mainnet_event_name__SynthUnwrapped.a1713eb60e", "type": "test"}, "2745": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_block_number.81e8f4c2ea", "type": "test"}, "2746": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_transaction_hash.e27a71ff2d", "type": "test"}, "2747": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_contract.cba8e61baa", "type": "test"}, "2748": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_id.cd459ace96", "type": "test"}, "2749": {"name": "test.synthetix.unique_spot_synth_unwrapped_base_mainnet_id.1256b6907b", "type": "test"}, "2750": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_synth_market_id.47983f606b", "type": "test"}, "2751": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_synth_market_id__True__0.de01d6cd38", "type": "test"}, "2752": {"name": "test.synthetix.not_null_blocks_base_sepolia_block_number.1adc80fce5", "type": "test"}, "2753": {"name": "test.synthetix.unique_blocks_base_sepolia_block_number.b9de81024b", "type": "test"}, "2754": {"name": "test.synthetix.dbt_utils_recency_blocks_base_sepolia_hour__ts__1.b4197f397a", "type": "test"}, "2755": {"name": "test.synthetix.unique_perp_account_created_base_sepolia_id.d2b0023315", "type": "test"}, "2756": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_id.7da01b5642", "type": "test"}, "2757": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_event_name.d7deee96b5", "type": "test"}, "2758": {"name": "test.synthetix.accepted_values_perp_account_created_base_sepolia_event_name__AccountCreated.e5e94f342c", "type": "test"}, "2759": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_block_number.b9729c0627", "type": "test"}, "2760": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_block_timestamp.1f03770bcc", "type": "test"}, "2761": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_owner.31f8eb801c", "type": "test"}, "2762": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_account_id.e2509a45ab", "type": "test"}, "2763": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_created_base_sepolia_account_id__True__0.72ab89cd5f", "type": "test"}, "2764": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_transaction_hash.6324af1adb", "type": "test"}, "2765": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_contract.1b1ec25344", "type": "test"}, "2766": {"name": "test.synthetix.unique_perp_order_committed_base_sepolia_id.eb024384af", "type": "test"}, "2767": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_id.5b74c78258", "type": "test"}, "2768": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_block_number.f3230cc50d", "type": "test"}, "2769": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_block_timestamp.192957d40c", "type": "test"}, "2770": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_transaction_hash.761f6c5146", "type": "test"}, "2771": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_contract.ad38cda3df", "type": "test"}, "2772": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_event_name.dc8411b8b1", "type": "test"}, "2773": {"name": "test.synthetix.accepted_values_perp_order_committed_base_sepolia_event_name__OrderCommitted.f236dead5d", "type": "test"}, "2774": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_market_id.9c41f762ec", "type": "test"}, "2775": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_sepolia_market_id__True__0.6174df8d83", "type": "test"}, "2776": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_account_id.e0cc9cd7a0", "type": "test"}, "2777": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_sepolia_account_id__True__0.2a5b9bdddf", "type": "test"}, "2778": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_contract.03742630fd", "type": "test"}, "2779": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_event_name.95d61e9b53", "type": "test"}, "2780": {"name": "test.synthetix.accepted_values_perp_order_settled_base_sepolia_event_name__OrderSettled.b82d60a6cd", "type": "test"}, "2781": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_account_id.0505121484", "type": "test"}, "2782": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_account_id__True__0.dd4d18c933", "type": "test"}, "2783": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_market_id.90e9816e9b", "type": "test"}, "2784": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_market_id__True__0.00baab3b06", "type": "test"}, "2785": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_collected_fees.19815f72b6", "type": "test"}, "2786": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_collected_fees__True__0.cfcb7626da", "type": "test"}, "2787": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_transaction_hash.e40380e103", "type": "test"}, "2788": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_block_timestamp.8624d8c529", "type": "test"}, "2789": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_block_number.723c9f9ccf", "type": "test"}, "2790": {"name": "test.synthetix.unique_perp_order_settled_base_sepolia_id.52c8b658a1", "type": "test"}, "2791": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_id.6a51920964", "type": "test"}, "2792": {"name": "test.synthetix.unique_perp_market_updated_base_sepolia_id.5fa0b8a094", "type": "test"}, "2793": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_id.c010e8e9d3", "type": "test"}, "2794": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_block_number.6d91893cd9", "type": "test"}, "2795": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_block_timestamp.eabfe875b1", "type": "test"}, "2796": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_transaction_hash.b36ca2219f", "type": "test"}, "2797": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_contract.7a798ec958", "type": "test"}, "2798": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_event_name.5808660a29", "type": "test"}, "2799": {"name": "test.synthetix.accepted_values_perp_market_updated_base_sepolia_event_name__MarketUpdated.6507eaa7c6", "type": "test"}, "2800": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_market_id.1d15a36e0c", "type": "test"}, "2801": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_market_id__True__0.2aed99d0b6", "type": "test"}, "2802": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_price.821df5b6b3", "type": "test"}, "2803": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_price__True__0.4f4858e59f", "type": "test"}, "2804": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_interest_rate.20f815f06a", "type": "test"}, "2805": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_interest_rate__True__0.82fe5b32f6", "type": "test"}, "2806": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_account_id.8e9f2c1b4b", "type": "test"}, "2807": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_account_id__True__0.a60e1cbb90", "type": "test"}, "2808": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_market_id.6c389de6f5", "type": "test"}, "2809": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_market_id__True__0.c5145fd027", "type": "test"}, "2810": {"name": "test.synthetix.unique_perp_position_liquidated_base_sepolia_id.e92f27d6e6", "type": "test"}, "2811": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_id.985f2af114", "type": "test"}, "2812": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_transaction_hash.b180fd2627", "type": "test"}, "2813": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_current_position_size.f98475edcb", "type": "test"}, "2814": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_current_position_size__True__0.cf9da7d717", "type": "test"}, "2815": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_event_name.1d2d01fa50", "type": "test"}, "2816": {"name": "test.synthetix.accepted_values_perp_position_liquidated_base_sepolia_event_name__PositionLiquidated.e07d1e03f2", "type": "test"}, "2817": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_block_number.d05dfab674", "type": "test"}, "2818": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_amount_liquidated.c878a441e1", "type": "test"}, "2819": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_amount_liquidated__True__0.20b97e678b", "type": "test"}, "2820": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_contract.0a66db5700", "type": "test"}, "2821": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_block_timestamp.1700de694b", "type": "test"}, "2822": {"name": "test.synthetix.unique_perp_account_liquidation_attempt_base_sepolia_id.64895ed40b", "type": "test"}, "2823": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_id.fa21a229e8", "type": "test"}, "2824": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_account_id.72dba0b474", "type": "test"}, "2825": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_account_id__True__0.d9d7f88802", "type": "test"}, "2826": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_block_number.c00ff06028", "type": "test"}, "2827": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_reward.41da25d087", "type": "test"}, "2828": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_reward__True__0.d1fe263182", "type": "test"}, "2829": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_block_timestamp.b212643602", "type": "test"}, "2830": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_contract.5a7ac10d9d", "type": "test"}, "2831": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_event_name.5a524744d4", "type": "test"}, "2832": {"name": "test.synthetix.accepted_values_perp_account_liquidation_attempt_base_sepolia_event_name__AccountLiquidationAttempt.7e035fbfbd", "type": "test"}, "2833": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_transaction_hash.18ed9c33a9", "type": "test"}, "2834": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_full_liquidation.4544a98926", "type": "test"}, "2835": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_block_timestamp.a0b63e8833", "type": "test"}, "2836": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_contract.c669409e90", "type": "test"}, "2837": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_event_name.05505fea35", "type": "test"}, "2838": {"name": "test.synthetix.accepted_values_perp_collateral_modified_base_sepolia_event_name__CollateralModified.35bbd5a11f", "type": "test"}, "2839": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_block_number.5818313783", "type": "test"}, "2840": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_synth_market_id.6b585142fd", "type": "test"}, "2841": {"name": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_synth_market_id__True__0.e6426004ec", "type": "test"}, "2842": {"name": "test.synthetix.unique_perp_collateral_modified_base_sepolia_id.df76a33926", "type": "test"}, "2843": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_id.0306c59b13", "type": "test"}, "2844": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_sender.c5a5dbc794", "type": "test"}, "2845": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_account_id.41a4ca06b6", "type": "test"}, "2846": {"name": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_account_id__True__0.4061e8095e", "type": "test"}, "2847": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_transaction_hash.ccfe215417", "type": "test"}, "2848": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_block_timestamp.2056bbf796", "type": "test"}, "2849": {"name": "test.synthetix.unique_perp_previous_order_expired_base_sepolia_id.a9c841c5f7", "type": "test"}, "2850": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_id.35380c8364", "type": "test"}, "2851": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_block_number.b44f0bbf4b", "type": "test"}, "2852": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_market_id.c3963e0426", "type": "test"}, "2853": {"name": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_market_id__True__0.92c22b0d98", "type": "test"}, "2854": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_event_name.94027cf5fd", "type": "test"}, "2855": {"name": "test.synthetix.accepted_values_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired.1a5af6cb8b", "type": "test"}, "2856": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_transaction_hash.47402badfc", "type": "test"}, "2857": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_account_id.358a8acfe7", "type": "test"}, "2858": {"name": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_account_id__True__0.7ed9f71601", "type": "test"}, "2859": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_contract.d5ae4c2080", "type": "test"}, "2860": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_market_name.2335002c7c", "type": "test"}, "2861": {"name": "test.synthetix.unique_perp_market_created_base_sepolia_id.9af5f482a3", "type": "test"}, "2862": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_id.3651be9d50", "type": "test"}, "2863": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_market_symbol.b99df1cd19", "type": "test"}, "2864": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_event_name.594bfb776d", "type": "test"}, "2865": {"name": "test.synthetix.accepted_values_perp_market_created_base_sepolia_event_name__MarketCreated.da7f65c9d0", "type": "test"}, "2866": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_block_number.f39a76515f", "type": "test"}, "2867": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_block_timestamp.087de488f9", "type": "test"}, "2868": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_contract.9b5b7d63ca", "type": "test"}, "2869": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_perps_market_id.30bf02bc46", "type": "test"}, "2870": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_created_base_sepolia_perps_market_id__True__0.89e2162ed5", "type": "test"}, "2871": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_transaction_hash.83d1940949", "type": "test"}, "2872": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_event_name.7088270e38", "type": "test"}, "2873": {"name": "test.synthetix.accepted_values_perp_interest_charged_base_sepolia_event_name__InterestCharged.b607f55a72", "type": "test"}, "2874": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_contract.ad4bd5bb4b", "type": "test"}, "2875": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_transaction_hash.7d20550a93", "type": "test"}, "2876": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_block_timestamp.6723ccf2f9", "type": "test"}, "2877": {"name": "test.synthetix.unique_perp_interest_charged_base_sepolia_id.7023b7407d", "type": "test"}, "2878": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_id.a8d5a81503", "type": "test"}, "2879": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_block_number.e9b7b9cd80", "type": "test"}, "2880": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_account_id.ec1ea115af", "type": "test"}, "2881": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_base_sepolia_account_id__True__0.7595935b71", "type": "test"}, "2882": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_block_timestamp.609017baeb", "type": "test"}, "2883": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_event_name.30275ad446", "type": "test"}, "2884": {"name": "test.synthetix.accepted_values_perp_interest_rate_updated_base_sepolia_event_name__InterestRateUpdated.5d317c53f3", "type": "test"}, "2885": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_transaction_hash.3601647535", "type": "test"}, "2886": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_interest_rate.7f5f7342cd", "type": "test"}, "2887": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_interest_rate__True__0.c114557661", "type": "test"}, "2888": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_block_number.eeff2c078a", "type": "test"}, "2889": {"name": "test.synthetix.unique_perp_interest_rate_updated_base_sepolia_id.2295efc83a", "type": "test"}, "2890": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_id.24c18054e7", "type": "test"}, "2891": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_contract.ccc079c59c", "type": "test"}, "2892": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_super_market_id.68b732b580", "type": "test"}, "2893": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_super_market_id__True__0.cc3fb6ff17", "type": "test"}, "2894": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_id.e10820e4d2", "type": "test"}, "2895": {"name": "test.synthetix.unique_buyback_processed_base_sepolia_id.c3e20dc22e", "type": "test"}, "2896": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_block_number.73166259d7", "type": "test"}, "2897": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_block_timestamp.c83a09ad33", "type": "test"}, "2898": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_transaction_hash.a38d34613b", "type": "test"}, "2899": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_event_name.755deb59b2", "type": "test"}, "2900": {"name": "test.synthetix.accepted_values_buyback_processed_base_sepolia_event_name__BuybackProcessed.16f3176222", "type": "test"}, "2901": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_contract.b27543f734", "type": "test"}, "2902": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_buyer.4fd04cc021", "type": "test"}, "2903": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_snx.52b876a9f7", "type": "test"}, "2904": {"name": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_sepolia_snx__True__0.628aa3b85b", "type": "test"}, "2905": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_usd.397135feed", "type": "test"}, "2906": {"name": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_sepolia_usd__True__0.f23761f17f", "type": "test"}, "2907": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_owner.adee48eb04", "type": "test"}, "2908": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_account_id.fb36b0b793", "type": "test"}, "2909": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_created_base_sepolia_account_id__True__0.dd17e6e171", "type": "test"}, "2910": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_id.804b852bd8", "type": "test"}, "2911": {"name": "test.synthetix.unique_core_account_created_base_sepolia_id.3342caea87", "type": "test"}, "2912": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_transaction_hash.53f2200f19", "type": "test"}, "2913": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_block_number.01a77f24bc", "type": "test"}, "2914": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_block_timestamp.56ac347427", "type": "test"}, "2915": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_event_name.4849c8704e", "type": "test"}, "2916": {"name": "test.synthetix.accepted_values_core_account_created_base_sepolia_event_name__AccountCreated.419b9196c4", "type": "test"}, "2917": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_contract.53ca26628e", "type": "test"}, "2918": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_contract.f5b6f539eb", "type": "test"}, "2919": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_id.dcd3b41380", "type": "test"}, "2920": {"name": "test.synthetix.unique_core_delegation_updated_base_sepolia_id.09af5f863a", "type": "test"}, "2921": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_account_id.eeaa67ead3", "type": "test"}, "2922": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_account_id__True__0.744442e3e1", "type": "test"}, "2923": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_collateral_type.0ccc2f8e54", "type": "test"}, "2924": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_pool_id.8e7b343725", "type": "test"}, "2925": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_pool_id__True__0.76dffc3ab3", "type": "test"}, "2926": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_sender.ff059463dc", "type": "test"}, "2927": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_block_timestamp.d9e4249b7d", "type": "test"}, "2928": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_block_number.d1ae1c451b", "type": "test"}, "2929": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_leverage.b016b358da", "type": "test"}, "2930": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_leverage__True__1000000000000000000__1000000000000000000.bc25b2b948", "type": "test"}, "2931": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_transaction_hash.403e1a44d0", "type": "test"}, "2932": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_amount.b946bd0b57", "type": "test"}, "2933": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_amount__True__0.c17a0b7ccb", "type": "test"}, "2934": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_event_name.1eb3a277fa", "type": "test"}, "2935": {"name": "test.synthetix.accepted_values_core_delegation_updated_base_sepolia_event_name__DelegationUpdated.05fda2d1e2", "type": "test"}, "2936": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_collateral_type.a340ec02eb", "type": "test"}, "2937": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_id.0591da203f", "type": "test"}, "2938": {"name": "test.synthetix.unique_core_deposited_base_sepolia_id.3b38f638da", "type": "test"}, "2939": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_contract.8dbc5afa3f", "type": "test"}, "2940": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_event_name.b7ccc83970", "type": "test"}, "2941": {"name": "test.synthetix.accepted_values_core_deposited_base_sepolia_event_name__Deposited.2befe04139", "type": "test"}, "2942": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_transaction_hash.305ad04c84", "type": "test"}, "2943": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_account_id.d414fa2a62", "type": "test"}, "2944": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_sepolia_account_id__True__0.7619844d60", "type": "test"}, "2945": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_sender.0468b8397d", "type": "test"}, "2946": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_block_timestamp.cbbc8b2a2e", "type": "test"}, "2947": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_block_number.e9986d7fcf", "type": "test"}, "2948": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_token_amount.af75bc1896", "type": "test"}, "2949": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_sepolia_token_amount__True__0.266baf687b", "type": "test"}, "2950": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_block_timestamp.276176a645", "type": "test"}, "2951": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_contract.9a643890c5", "type": "test"}, "2952": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_block_number.b38561efe3", "type": "test"}, "2953": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_transaction_hash.ea6432763a", "type": "test"}, "2954": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_token_amount.3582c76f95", "type": "test"}, "2955": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_sepolia_token_amount__True__0.600b962701", "type": "test"}, "2956": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_collateral_type.e4b3817245", "type": "test"}, "2957": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_account_id.6536ec7b3c", "type": "test"}, "2958": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_sepolia_account_id__True__0.283560870b", "type": "test"}, "2959": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_id.a4ef85d6dd", "type": "test"}, "2960": {"name": "test.synthetix.unique_core_withdrawn_base_sepolia_id.30c3b98bff", "type": "test"}, "2961": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_sender.935071b6a7", "type": "test"}, "2962": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_event_name.919fe4b5de", "type": "test"}, "2963": {"name": "test.synthetix.accepted_values_core_withdrawn_base_sepolia_event_name__Withdrawn.12079a5ee6", "type": "test"}, "2964": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_pool_id.0059acd0f9", "type": "test"}, "2965": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_pool_id__True__0.7493427efd", "type": "test"}, "2966": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_block_timestamp.212c6a9018", "type": "test"}, "2967": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_block_number.f510e99a58", "type": "test"}, "2968": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_id.efbd949b78", "type": "test"}, "2969": {"name": "test.synthetix.unique_core_liquidation_base_sepolia_id.321d95d29c", "type": "test"}, "2970": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_contract.2d1b4b38d4", "type": "test"}, "2971": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_event_name.ab3ef77d1c", "type": "test"}, "2972": {"name": "test.synthetix.accepted_values_core_liquidation_base_sepolia_event_name__Liquidation.24bb1726f1", "type": "test"}, "2973": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_collateral_type.c93d2f649b", "type": "test"}, "2974": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_sender.3afbae055d", "type": "test"}, "2975": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_account_id.0aa7b969f5", "type": "test"}, "2976": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_account_id__True__0.02852291f8", "type": "test"}, "2977": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_transaction_hash.78921d6775", "type": "test"}, "2978": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_liquidate_as_account_id.3e3ca344a6", "type": "test"}, "2979": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_liquidate_as_account_id__True__0.6947f1cc05", "type": "test"}, "2980": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_id.179b4fa862", "type": "test"}, "2981": {"name": "test.synthetix.unique_core_market_updated_base_sepolia_id.945f14ee77", "type": "test"}, "2982": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_block_timestamp.66be40faea", "type": "test"}, "2983": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_block_number.450e88640c", "type": "test"}, "2984": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_transaction_hash.6351c7ce23", "type": "test"}, "2985": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_contract.cf139c06ed", "type": "test"}, "2986": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_event_name.c0e71ec841", "type": "test"}, "2987": {"name": "test.synthetix.accepted_values_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.97084835ea", "type": "test"}, "2988": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_market_id.81913bae24", "type": "test"}, "2989": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_market_id__True__0.c2038f3200", "type": "test"}, "2990": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_net_issuance.85d70c9059", "type": "test"}, "2991": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_deposited_collateral_value.47b96d9782", "type": "test"}, "2992": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_deposited_collateral_value__True__0.ff17627b64", "type": "test"}, "2993": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_sender.b57e7709cd", "type": "test"}, "2994": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_collateral_type.a64be17284", "type": "test"}, "2995": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_credit_capacity.2033e021e1", "type": "test"}, "2996": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_token_amount.a8f7145772", "type": "test"}, "2997": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_token_amount__True__0.00d32c5847", "type": "test"}, "2998": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_market.c1fe5f76b8", "type": "test"}, "2999": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_market_id.dc3f59aaaf", "type": "test"}, "3000": {"name": "test.synthetix.unique_core_market_registered_base_sepolia_market_id.37a04d292a", "type": "test"}, "3001": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_id.6150b3d520", "type": "test"}, "3002": {"name": "test.synthetix.unique_core_market_registered_base_sepolia_id.1efe4c6aec", "type": "test"}, "3003": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_block_timestamp.209ede7f48", "type": "test"}, "3004": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_contract.8cc1db09cc", "type": "test"}, "3005": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_transaction_hash.de234a0b4d", "type": "test"}, "3006": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_block_number.fd8cdd563c", "type": "test"}, "3007": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_event_name.c0f99c65cf", "type": "test"}, "3008": {"name": "test.synthetix.accepted_values_core_market_registered_base_sepolia_event_name__MarketRegistered.52bda7875b", "type": "test"}, "3009": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_sender.0ec521b301", "type": "test"}, "3010": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_contract.3347ab7e86", "type": "test"}, "3011": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_sender.40177457bd", "type": "test"}, "3012": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_block_timestamp.770a6f30f6", "type": "test"}, "3013": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_id.b1a35dd808", "type": "test"}, "3014": {"name": "test.synthetix.unique_core_pool_created_base_sepolia_id.bc373a2eb3", "type": "test"}, "3015": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_block_number.094a784336", "type": "test"}, "3016": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_transaction_hash.c6810d0b49", "type": "test"}, "3017": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_event_name.1dac944daf", "type": "test"}, "3018": {"name": "test.synthetix.accepted_values_core_pool_created_base_sepolia_event_name__PoolCreated.f08bef53a3", "type": "test"}, "3019": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_owner.de5ae68a1a", "type": "test"}, "3020": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_pool_id.e6e51130fd", "type": "test"}, "3021": {"name": "test.synthetix.dbt_utils_accepted_range_core_pool_created_base_sepolia_pool_id__True__0.b3e7c8b05d", "type": "test"}, "3022": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_transaction_hash.399851f94f", "type": "test"}, "3023": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_account_id.35c6ac2750", "type": "test"}, "3024": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_account_id__True__0.56bdf07961", "type": "test"}, "3025": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_collateral_type.44fc9e2622", "type": "test"}, "3026": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_event_name.5d0bea85a4", "type": "test"}, "3027": {"name": "test.synthetix.accepted_values_core_rewards_claimed_base_sepolia_event_name__RewardsClaimed.813e8d6cab", "type": "test"}, "3028": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_contract.8063e60014", "type": "test"}, "3029": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_amount.8d0b56d69c", "type": "test"}, "3030": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_amount__True__0.83b60baad2", "type": "test"}, "3031": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_distributor.cfc3ec6cdd", "type": "test"}, "3032": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_block_timestamp.78d8816d82", "type": "test"}, "3033": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_id.a324c0d7d4", "type": "test"}, "3034": {"name": "test.synthetix.unique_core_rewards_claimed_base_sepolia_id.b13c8534bb", "type": "test"}, "3035": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_pool_id.e61695fb4f", "type": "test"}, "3036": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_pool_id__True__0.80a0443cd0", "type": "test"}, "3037": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_block_number.2341e8ee42", "type": "test"}, "3038": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_id.0d42a7a31a", "type": "test"}, "3039": {"name": "test.synthetix.unique_core_rewards_distributed_base_sepolia_id.fafe19f7d9", "type": "test"}, "3040": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_event_name.e3a18ecd0c", "type": "test"}, "3041": {"name": "test.synthetix.accepted_values_core_rewards_distributed_base_sepolia_event_name__RewardsDistributed.23760c7762", "type": "test"}, "3042": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_amount.ec60c3040c", "type": "test"}, "3043": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_amount__True__0.6d7f4124f8", "type": "test"}, "3044": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_contract.b51980138b", "type": "test"}, "3045": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_block_timestamp.305338d6ac", "type": "test"}, "3046": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_transaction_hash.9d7346a555", "type": "test"}, "3047": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_collateral_type.d02c77e463", "type": "test"}, "3048": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_block_number.1404eb5f75", "type": "test"}, "3049": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_duration.151d5a6383", "type": "test"}, "3050": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_duration__True__0.aca43f41bf", "type": "test"}, "3051": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_distributor.8e49885144", "type": "test"}, "3052": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_pool_id.618ac3407b", "type": "test"}, "3053": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_pool_id__True__0.4ad1e16907", "type": "test"}, "3054": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_amount.d577462790", "type": "test"}, "3055": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_amount__True__0.2ff0339bf6", "type": "test"}, "3056": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_pool_id.8bd0f688e5", "type": "test"}, "3057": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_pool_id__True__0.bdbba08629", "type": "test"}, "3058": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_event_name.2c789d8ccb", "type": "test"}, "3059": {"name": "test.synthetix.accepted_values_core_usd_burned_base_sepolia_event_name__UsdBurned.c736a2b5fd", "type": "test"}, "3060": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_id.9208a4e4a2", "type": "test"}, "3061": {"name": "test.synthetix.unique_core_usd_burned_base_sepolia_id.3b90c11835", "type": "test"}, "3062": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_block_number.9acf3a65f4", "type": "test"}, "3063": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_account_id.8014155212", "type": "test"}, "3064": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_account_id__True__0.1c3ad25fc6", "type": "test"}, "3065": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_sender.d28854bdf2", "type": "test"}, "3066": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_transaction_hash.07cbe78bce", "type": "test"}, "3067": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_contract.559c9a6e92", "type": "test"}, "3068": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_collateral_type.1d7071aef1", "type": "test"}, "3069": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_block_timestamp.d6c5fafe43", "type": "test"}, "3070": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_pool_id.7dfafbe9ee", "type": "test"}, "3071": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_pool_id__True__0.49903b0695", "type": "test"}, "3072": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_block_timestamp.a33ebf4ef7", "type": "test"}, "3073": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_account_id.56f2a7acd7", "type": "test"}, "3074": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_account_id__True__0.8d375d28dd", "type": "test"}, "3075": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_collateral_type.028faf1711", "type": "test"}, "3076": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_block_number.37baa764ce", "type": "test"}, "3077": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_id.3fd3162bcc", "type": "test"}, "3078": {"name": "test.synthetix.unique_core_usd_minted_base_sepolia_id.9cce972c7e", "type": "test"}, "3079": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_sender.5053739593", "type": "test"}, "3080": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_amount.c1ab51fea3", "type": "test"}, "3081": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_amount__True__0.8db2f09ae2", "type": "test"}, "3082": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_event_name.c1bfdffc84", "type": "test"}, "3083": {"name": "test.synthetix.accepted_values_core_usd_minted_base_sepolia_event_name__UsdMinted.d686f1f1af", "type": "test"}, "3084": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_transaction_hash.04ae981572", "type": "test"}, "3085": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_contract.ebf65a8472", "type": "test"}, "3086": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_transaction_hash.fcdcfcdcdd", "type": "test"}, "3087": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_collateral_type.18870127b8", "type": "test"}, "3088": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_pool_id.47e473f735", "type": "test"}, "3089": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_pool_id__True__0.5ea2ba7eab", "type": "test"}, "3090": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_event_name.04b05d8fa6", "type": "test"}, "3091": {"name": "test.synthetix.accepted_values_core_vault_liquidation_base_sepolia_event_name__VaultLiquidation.958e4fe8de", "type": "test"}, "3092": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_id.08162ec8b5", "type": "test"}, "3093": {"name": "test.synthetix.unique_core_vault_liquidation_base_sepolia_id.5759c475e5", "type": "test"}, "3094": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_block_timestamp.5c4fdcd348", "type": "test"}, "3095": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_liquidate_as_account_id.b170dba1d3", "type": "test"}, "3096": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_liquidate_as_account_id__True__0.ee3dd8dc1e", "type": "test"}, "3097": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_liquidation_data.a5dc2b7337", "type": "test"}, "3098": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_contract.58dafa50b4", "type": "test"}, "3099": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_block_number.72d5fcf75c", "type": "test"}, "3100": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_sender.2f502247e7", "type": "test"}, "3101": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_ts.78a98d96c2", "type": "test"}, "3102": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_block_number.3a3cfc3edf", "type": "test"}, "3103": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_pool_id.3607d11df2", "type": "test"}, "3104": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_pool_id__True__0.0047a9a52a", "type": "test"}, "3105": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_collateral_type.8cfa2c8f99", "type": "test"}, "3106": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_amount.ff25c0c9a0", "type": "test"}, "3107": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_amount__True__0.6d9b6133f3", "type": "test"}, "3108": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_collateral_value.30cde60b22", "type": "test"}, "3109": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_collateral_value__True__0.026e20a97f", "type": "test"}, "3110": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_contract_address.aa0f2cd57b", "type": "test"}, "3111": {"name": "test.synthetix.not_null_core_vault_debt_base_sepolia_ts.d366714ec5", "type": "test"}, "3112": {"name": "test.synthetix.not_null_core_vault_debt_base_sepolia_block_number.f25dcd2c96", "type": "test"}, "3113": {"name": "test.synthetix.not_null_core_vault_debt_base_sepolia_pool_id.05a1d5275c", "type": "test"}, "3114": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_base_sepolia_pool_id__True__0.908dbaecbc", "type": "test"}, "3115": {"name": "test.synthetix.not_null_core_vault_debt_base_sepolia_collateral_type.70a5498cf3", "type": "test"}, "3116": {"name": "test.synthetix.not_null_core_vault_debt_base_sepolia_debt.9b99714e7f", "type": "test"}, "3117": {"name": "test.synthetix.not_null_core_vault_debt_base_sepolia_contract_address.a9d7ef2e2d", "type": "test"}, "3118": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_id.11a4430aff", "type": "test"}, "3119": {"name": "test.synthetix.unique_spot_order_committed_base_sepolia_id.3819dc1084", "type": "test"}, "3120": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_event_name.438812a0d2", "type": "test"}, "3121": {"name": "test.synthetix.accepted_values_spot_order_committed_base_sepolia_event_name__OrderCommitted.5b70cba35c", "type": "test"}, "3122": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_sender.4e585d7f19", "type": "test"}, "3123": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_block_timestamp.8c88551cb4", "type": "test"}, "3124": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_referrer.7ec29fa647", "type": "test"}, "3125": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_amount_provided.38ad18f779", "type": "test"}, "3126": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_sepolia_amount_provided__True__0.054ef0ffa5", "type": "test"}, "3127": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_transaction_hash.9c446b3700", "type": "test"}, "3128": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_contract.665bb25f85", "type": "test"}, "3129": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_market_id.15c2459855", "type": "test"}, "3130": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_sepolia_market_id__True__0.6632755b0a", "type": "test"}, "3131": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_block_number.9e8c3cbe19", "type": "test"}, "3132": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_order_type.3954986bef", "type": "test"}, "3133": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_final_order_amount__True__0.db1eb9bae2", "type": "test"}, "3134": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_settler.3cce2227a9", "type": "test"}, "3135": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_block_number.65da819fda", "type": "test"}, "3136": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_transaction_hash.db4a8fd73d", "type": "test"}, "3137": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_block_timestamp.2af878ee49", "type": "test"}, "3138": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_id.41dd4b147f", "type": "test"}, "3139": {"name": "test.synthetix.unique_spot_order_settled_base_sepolia_id.d146f45657", "type": "test"}, "3140": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_order_type.aba0efecf9", "type": "test"}, "3141": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_contract.70a66ec745", "type": "test"}, "3142": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_price.5e737efecc", "type": "test"}, "3143": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_price__True__0.be79188042", "type": "test"}, "3144": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_market_id.08f8f7cfee", "type": "test"}, "3145": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_market_id__True__0.57c7ca8b8a", "type": "test"}, "3146": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_collected_fees.ce03171f19", "type": "test"}, "3147": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_collected_fees__True__0.7f14aa7a7b", "type": "test"}, "3148": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_event_name.78cc82e3ab", "type": "test"}, "3149": {"name": "test.synthetix.accepted_values_spot_order_settled_base_sepolia_event_name__OrderSettled.177309ebc4", "type": "test"}, "3150": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_id.5e9a576929", "type": "test"}, "3151": {"name": "test.synthetix.unique_spot_order_cancelled_base_sepolia_id.0e40062e64", "type": "test"}, "3152": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_block_timestamp.fa9df55b40", "type": "test"}, "3153": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_transaction_hash.0752dd402b", "type": "test"}, "3154": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_sender.aac13d426e", "type": "test"}, "3155": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_contract.0c41210b4f", "type": "test"}, "3156": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_event_name.860a2e2098", "type": "test"}, "3157": {"name": "test.synthetix.accepted_values_spot_order_cancelled_base_sepolia_event_name__OrderCancelled.19ae93abc4", "type": "test"}, "3158": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_market_id.29f20fb008", "type": "test"}, "3159": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_base_sepolia_market_id__True__0.256744e74d", "type": "test"}, "3160": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_block_number.86a31f2f2c", "type": "test"}, "3161": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_id.82e3f87ac4", "type": "test"}, "3162": {"name": "test.synthetix.unique_spot_synth_registered_base_sepolia_id.59dadce592", "type": "test"}, "3163": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_block_timestamp.79c2f95be5", "type": "test"}, "3164": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_synth_market_id.5a96ef8d3b", "type": "test"}, "3165": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_base_sepolia_synth_market_id__True__0.e252f6d23b", "type": "test"}, "3166": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_block_number.bb37a01e8d", "type": "test"}, "3167": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_contract.4039370624", "type": "test"}, "3168": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_synth_token_address.9a1399c63c", "type": "test"}, "3169": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_event_name.40165b8566", "type": "test"}, "3170": {"name": "test.synthetix.accepted_values_spot_synth_registered_base_sepolia_event_name__SynthRegistered.560c96fe92", "type": "test"}, "3171": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_transaction_hash.0cea3ca1bf", "type": "test"}, "3172": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_collected_fees.9d30351609", "type": "test"}, "3173": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_collected_fees__True__0.1b65c16e7a", "type": "test"}, "3174": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_transaction_hash.368cb3f67e", "type": "test"}, "3175": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_synth_market_id.b1c1943367", "type": "test"}, "3176": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_synth_market_id__True__0.2be12779d3", "type": "test"}, "3177": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_block_number.b137c20668", "type": "test"}, "3178": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_block_timestamp.b2a61f5718", "type": "test"}, "3179": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_id.942697f903", "type": "test"}, "3180": {"name": "test.synthetix.unique_spot_synth_bought_base_sepolia_id.17a8acaf0c", "type": "test"}, "3181": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_price.d27790b16d", "type": "test"}, "3182": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_price__True__0.1dfcf66dee", "type": "test"}, "3183": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_contract.4678866b0c", "type": "test"}, "3184": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_referrer.4756917b09", "type": "test"}, "3185": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_event_name.cacb370344", "type": "test"}, "3186": {"name": "test.synthetix.accepted_values_spot_synth_bought_base_sepolia_event_name__SynthBought.3932e43413", "type": "test"}, "3187": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_event_name.24601a4262", "type": "test"}, "3188": {"name": "test.synthetix.accepted_values_spot_synth_sold_base_sepolia_event_name__SynthSold.bc9ca74c87", "type": "test"}, "3189": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_transaction_hash.a13ba6bde1", "type": "test"}, "3190": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_collected_fees.8ad9625fb0", "type": "test"}, "3191": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_collected_fees__True__0.0a04ec9ef2", "type": "test"}, "3192": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_block_timestamp.f3d45165ff", "type": "test"}, "3193": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_referrer.51ef2f8d16", "type": "test"}, "3194": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_block_number.17e7ff9528", "type": "test"}, "3195": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_price.88b1a85b40", "type": "test"}, "3196": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_price__True__0.cedd17dbea", "type": "test"}, "3197": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_amount_returned.c33656b778", "type": "test"}, "3198": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_amount_returned__True__0.400f957fc7", "type": "test"}, "3199": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_synth_market_id.25c988c205", "type": "test"}, "3200": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_synth_market_id__True__0.5175d72781", "type": "test"}, "3201": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_id.c2f7e77070", "type": "test"}, "3202": {"name": "test.synthetix.unique_spot_synth_sold_base_sepolia_id.d31e78319f", "type": "test"}, "3203": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_contract.8d370e2248", "type": "test"}, "3204": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_id.8905f554af", "type": "test"}, "3205": {"name": "test.synthetix.unique_spot_synth_wrapped_base_sepolia_id.159b2de78a", "type": "test"}, "3206": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_transaction_hash.7672de0496", "type": "test"}, "3207": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_synth_market_id.601db0f648", "type": "test"}, "3208": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_synth_market_id__True__0.2dfd67bc58", "type": "test"}, "3209": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_contract.d4446f0372", "type": "test"}, "3210": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_event_name.fe439b73da", "type": "test"}, "3211": {"name": "test.synthetix.accepted_values_spot_synth_wrapped_base_sepolia_event_name__SynthWrapped.031ffbb73f", "type": "test"}, "3212": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_block_timestamp.5b4c2eecf8", "type": "test"}, "3213": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_block_number.6d42ca2157", "type": "test"}, "3214": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_fees_collected.b6fac60b85", "type": "test"}, "3215": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_fees_collected__True__0.c2a49865fe", "type": "test"}, "3216": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_block_timestamp.41ba03a5b2", "type": "test"}, "3217": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped.1a220b9007", "type": "test"}, "3218": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_amount_unwrapped__True__0.8e197e25e9", "type": "test"}, "3219": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_fees_collected.c3d167c521", "type": "test"}, "3220": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_fees_collected__True__0.e56453f4c6", "type": "test"}, "3221": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_event_name.b17d6e42c7", "type": "test"}, "3222": {"name": "test.synthetix.accepted_values_spot_synth_unwrapped_base_sepolia_event_name__SynthUnwrapped.8dae19258e", "type": "test"}, "3223": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_block_number.5cfd06abfe", "type": "test"}, "3224": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_transaction_hash.2ea11780cc", "type": "test"}, "3225": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_contract.87983c1fa3", "type": "test"}, "3226": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_id.6b02b454d5", "type": "test"}, "3227": {"name": "test.synthetix.unique_spot_synth_unwrapped_base_sepolia_id.74a8e666e5", "type": "test"}, "3228": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_synth_market_id.214a3db22f", "type": "test"}, "3229": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_synth_market_id__True__0.a469219bab", "type": "test"}, "3230": {"name": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_ts.e44412832a", "type": "test"}, "3231": {"name": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_pool_id.7fd59c6d8c", "type": "test"}, "3232": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_pool_id__True__0.e03ffa9a09", "type": "test"}, "3233": {"name": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_collateral_type.6ac8e6e2aa", "type": "test"}, "3234": {"name": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_distributor.7111e37b09", "type": "test"}, "3235": {"name": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_token_symbol.4bbde77781", "type": "test"}, "3236": {"name": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_amount.313b524117", "type": "test"}, "3237": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_amount__True__0.db5fff0dcd", "type": "test"}, "3238": {"name": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_ts.a916375fbd", "type": "test"}, "3239": {"name": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_account_id.9b9eed26fe", "type": "test"}, "3240": {"name": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_pool_id.f6076a6b8b", "type": "test"}, "3241": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_pool_id__True__0.35dc5bbd4b", "type": "test"}, "3242": {"name": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_collateral_type.f9b6e0e993", "type": "test"}, "3243": {"name": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_amount_delegated.7c91dafbd8", "type": "test"}, "3244": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_amount_delegated__True__0.854bbca778", "type": "test"}, "3245": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_ts.99cae9616f", "type": "test"}, "3246": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_pool_id.c5e20f437d", "type": "test"}, "3247": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_pool_id__True__0.2e06d77a8b", "type": "test"}, "3248": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_collateral_type.0bc0302d7e", "type": "test"}, "3249": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_collateral_value.14594eca47", "type": "test"}, "3250": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_collateral_value__True__0.b44f8cd90f", "type": "test"}, "3251": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_debt.14b9039622", "type": "test"}, "3252": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_issuance.d21fe7e33b", "type": "test"}, "3253": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated.1606ded24b", "type": "test"}, "3254": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_pnl.6570b2bdb2", "type": "test"}, "3255": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_cumulative_pnl.4a739c13a4", "type": "test"}, "3256": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_cumulative_issuance.ab1f8da889", "type": "test"}, "3257": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_rewards_usd.e91f21e2d5", "type": "test"}, "3258": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_rewards_usd__True__0.0ccd0edcb4", "type": "test"}, "3259": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct.b582b1f1e2", "type": "test"}, "3260": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_pnl_pct__True__1___1.573c85fbab", "type": "test"}, "3261": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct.284fa06b64", "type": "test"}, "3262": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_rewards_pct__True__1__0.a383e39737", "type": "test"}, "3263": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_24h.1e94a76b1e", "type": "test"}, "3264": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_24h.b52a8fd842", "type": "test"}, "3265": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_7d.35bc5cfb13", "type": "test"}, "3266": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_7d.08d703cbb6", "type": "test"}, "3267": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_28d.8dfb1e005a", "type": "test"}, "3268": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_28d.053e0eda01", "type": "test"}, "3269": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_id.7444e98615", "type": "test"}, "3270": {"name": "test.synthetix.unique_fct_core_market_updated_eth_mainnet_id.d5c16089e9", "type": "test"}, "3271": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_ts.950a116067", "type": "test"}, "3272": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_transaction_hash.f31c00e39e", "type": "test"}, "3273": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_event_name.e682d1b7d5", "type": "test"}, "3274": {"name": "test.synthetix.accepted_values_fct_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.f0e721a249", "type": "test"}, "3275": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_market_id.9fbceacdbc", "type": "test"}, "3276": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_eth_mainnet_market_id__True__0.32701334f3", "type": "test"}, "3277": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_collateral_type.fbe59aeb13", "type": "test"}, "3278": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_credit_capacity.bc652bf021", "type": "test"}, "3279": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_net_issuance.95ea8efb4e", "type": "test"}, "3280": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_token_amount.fe11f0ce69", "type": "test"}, "3281": {"name": "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_ts.61a1043b04", "type": "test"}, "3282": {"name": "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_collateral_type.217e5cb420", "type": "test"}, "3283": {"name": "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited.b943283ec6", "type": "test"}, "3284": {"name": "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_ts.4c81cbc76a", "type": "test"}, "3285": {"name": "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_pool_id.38ebfdf86f", "type": "test"}, "3286": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_eth_mainnet_pool_id__True__0.8087f39696", "type": "test"}, "3287": {"name": "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_collateral_type.687e523e9a", "type": "test"}, "3288": {"name": "test.synthetix.not_null_fct_core_pools_eth_mainnet_id.ac06cb59ca", "type": "test"}, "3289": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0.e529c0ad91", "type": "test"}, "3290": {"name": "test.synthetix.not_null_fct_core_pools_eth_mainnet_created_ts.85e7c6f7d7", "type": "test"}, "3291": {"name": "test.synthetix.not_null_fct_core_pools_eth_mainnet_block_number.d5795e3469", "type": "test"}, "3292": {"name": "test.synthetix.not_null_fct_core_pools_eth_mainnet_owner.13db5fad75", "type": "test"}, "3293": {"name": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_ts.0a20d36f28", "type": "test"}, "3294": {"name": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_block_number.d707149fdd", "type": "test"}, "3295": {"name": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_pool_id.088122bb77", "type": "test"}, "3296": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_eth_mainnet_pool_id__True__0.9ab83c23dd", "type": "test"}, "3297": {"name": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_collateral_type.2f39d51963", "type": "test"}, "3298": {"name": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_debt.100ad3cae1", "type": "test"}, "3299": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_ts.d84f234266", "type": "test"}, "3300": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id.0bd0e6635e", "type": "test"}, "3301": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_eth_mainnet_pool_id__True__0.2f6d1cabb6", "type": "test"}, "3302": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type.04853a2f55", "type": "test"}, "3303": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance.3ee79944a3", "type": "test"}, "3304": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_ts.5f32fba981", "type": "test"}, "3305": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_block_number.76ac645e79", "type": "test"}, "3306": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_transaction_hash.801e733838", "type": "test"}, "3307": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_pool_id.fd6c3981fe", "type": "test"}, "3308": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_eth_mainnet_pool_id__True__0.c3af88d954", "type": "test"}, "3309": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_collateral_type.9e0a6d3551", "type": "test"}, "3310": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_account_id.d686918ab7", "type": "test"}, "3311": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_amount.4a0d8649af", "type": "test"}, "3312": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_ts.2a846b2bb8", "type": "test"}, "3313": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id.d4b3c4be36", "type": "test"}, "3314": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_pool_id__True__0.ad130b0c2f", "type": "test"}, "3315": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type.8346dc5b9e", "type": "test"}, "3316": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value.bf72ec5191", "type": "test"}, "3317": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_collateral_value__True__0.aa5cf487aa", "type": "test"}, "3318": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_debt.34ed8f7e19", "type": "test"}, "3319": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance.d981b1941f", "type": "test"}, "3320": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl.aef91ccc24", "type": "test"}, "3321": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated.b2364c3711", "type": "test"}, "3322": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd.8fd34c30e5", "type": "test"}, "3323": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_rewards_usd__True__0.80c1c42490", "type": "test"}, "3324": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct.d9b73c59f7", "type": "test"}, "3325": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct__True__1___1.ad0a057625", "type": "test"}, "3326": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct.d8b6a6177f", "type": "test"}, "3327": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct__True__1__0.b431022b52", "type": "test"}, "3328": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct.b8f62bde16", "type": "test"}, "3329": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_ts.89ba67bb4f", "type": "test"}, "3330": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id.7f91755bfb", "type": "test"}, "3331": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_pool_id__True__0.208ead2f02", "type": "test"}, "3332": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type.1949d93db9", "type": "test"}, "3333": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd.3095906515", "type": "test"}, "3334": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_rewards_usd__True__0.2e789c32db", "type": "test"}, "3335": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts.667157dbf6", "type": "test"}, "3336": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id.69049a093a", "type": "test"}, "3337": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_pool_id__True__0.0f059b9a12", "type": "test"}, "3338": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_collateral_type.22ec7c38ba", "type": "test"}, "3339": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor.a65a6d19bf", "type": "test"}, "3340": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol.609ae29f03", "type": "test"}, "3341": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_price.89f536fe6c", "type": "test"}, "3342": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_price__True__0.3b4b47afcc", "type": "test"}, "3343": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount.701c4a765f", "type": "test"}, "3344": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount__True__0.76ed6e76ab", "type": "test"}, "3345": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed.3faeed6846", "type": "test"}, "3346": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed__True__0.26815f50d4", "type": "test"}, "3347": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd.84778cf230", "type": "test"}, "3348": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd__True__0.0d8876b70b", "type": "test"}, "3349": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_ts.4a5f6995ac", "type": "test"}, "3350": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_block_number.9a454098b0", "type": "test"}, "3351": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_transaction_hash.15435ec6a4", "type": "test"}, "3352": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_pool_id.f0e6b5266e", "type": "test"}, "3353": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_eth_mainnet_pool_id__True__1__1.451aedc606", "type": "test"}, "3354": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_collateral_type.d3ff39474d", "type": "test"}, "3355": {"name": "test.synthetix.accepted_values_fct_core_migration_eth_mainnet_collateral_type__0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F.a38946ae0c", "type": "test"}, "3356": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_staker.745012ec35", "type": "test"}, "3357": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_account_id.afcffa2df1", "type": "test"}, "3358": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_collateral_amount.0b05c3add8", "type": "test"}, "3359": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_eth_mainnet_collateral_amount__True__0.049cad30eb", "type": "test"}, "3360": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_debt_amount.8b36e762c2", "type": "test"}, "3361": {"name": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_ts.a201c86ec0", "type": "test"}, "3362": {"name": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_pool_id.55def21e95", "type": "test"}, "3363": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_pool_id__True__0.a0670cc5c1", "type": "test"}, "3364": {"name": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_collateral_type.e0ef271f9a", "type": "test"}, "3365": {"name": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated.99b91b00b5", "type": "test"}, "3366": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated__True__0.2c5355cf5c", "type": "test"}, "3367": {"name": "test.synthetix.not_null_fct_prices_eth_mainnet_ts.4a1a2f8c2d", "type": "test"}, "3368": {"name": "test.synthetix.not_null_fct_prices_eth_mainnet_market_symbol.f1f5318f4a", "type": "test"}, "3369": {"name": "test.synthetix.not_null_fct_prices_eth_mainnet_price.fff835950c", "type": "test"}, "3370": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0.4a537a60cd", "type": "test"}, "3371": {"name": "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_ts.6f3aced404", "type": "test"}, "3372": {"name": "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_market_symbol.dad998df0c", "type": "test"}, "3373": {"name": "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_price.f438a75278", "type": "test"}, "3374": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_eth_mainnet_price__True__0.7cc073306d", "type": "test"}, "3375": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_ts.19a49fa7ad", "type": "test"}, "3376": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_pool_id.ed851987e8", "type": "test"}, "3377": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_pool_id__True__0.071c26474c", "type": "test"}, "3378": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type.d5a70bb05b", "type": "test"}, "3379": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_distributor.78e1e8f668", "type": "test"}, "3380": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol.0fd511c8cb", "type": "test"}, "3381": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_amount.5d537baae4", "type": "test"}, "3382": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_amount__True__0.debd774d66", "type": "test"}, "3383": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_ts.47ea299d3f", "type": "test"}, "3384": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_account_id.bd5bdf25e3", "type": "test"}, "3385": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id.54d8a339d7", "type": "test"}, "3386": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_pool_id__True__0.aa7ddfc925", "type": "test"}, "3387": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_collateral_type.2ce3f7a9bb", "type": "test"}, "3388": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_amount_delegated.56c41128cd", "type": "test"}, "3389": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_amount_delegated__True__0.f003c4fdae", "type": "test"}, "3390": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_ts.97e8b55304", "type": "test"}, "3391": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_pool_id.6f62001f11", "type": "test"}, "3392": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_pool_id__True__0.8a8c4f782b", "type": "test"}, "3393": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_collateral_type.063adda35b", "type": "test"}, "3394": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_collateral_value.21b8ffe226", "type": "test"}, "3395": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_collateral_value__True__0.ffb99e9e0a", "type": "test"}, "3396": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_debt.3dc045078a", "type": "test"}, "3397": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance.80329841e3", "type": "test"}, "3398": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl.cca97779a8", "type": "test"}, "3399": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl.3aeb9de820", "type": "test"}, "3400": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance.e1798a309e", "type": "test"}, "3401": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_rewards_usd.382bc038bb", "type": "test"}, "3402": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_rewards_usd__True__0.1ddf38024d", "type": "test"}, "3403": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct.fb9fdebdde", "type": "test"}, "3404": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct__True__1___1.1b8022dfc1", "type": "test"}, "3405": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct.c370595c99", "type": "test"}, "3406": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct__True__1__0.f1335e174b", "type": "test"}, "3407": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_24h.8106520838", "type": "test"}, "3408": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_24h.83d96a1a08", "type": "test"}, "3409": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_7d.06f4c6a6e1", "type": "test"}, "3410": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_7d.cf96fd9428", "type": "test"}, "3411": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_28d.964b18810e", "type": "test"}, "3412": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_28d.fa829d9ef7", "type": "test"}, "3413": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_id.322013511a", "type": "test"}, "3414": {"name": "test.synthetix.unique_fct_core_market_updated_arbitrum_mainnet_id.1caa9c591c", "type": "test"}, "3415": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_ts.b5fc2ec12e", "type": "test"}, "3416": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_transaction_hash.aa748b5290", "type": "test"}, "3417": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_event_name.5590c6c9b0", "type": "test"}, "3418": {"name": "test.synthetix.accepted_values_fct_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.0bf85002ba", "type": "test"}, "3419": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_market_id.286e3a43cf", "type": "test"}, "3420": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_arbitrum_mainnet_market_id__True__0.23d58ffdfe", "type": "test"}, "3421": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_collateral_type.85f2ad0cb4", "type": "test"}, "3422": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_credit_capacity.03f2d72a75", "type": "test"}, "3423": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance.c0d40f9ece", "type": "test"}, "3424": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_token_amount.74526c215d", "type": "test"}, "3425": {"name": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_ts.e1e47715a3", "type": "test"}, "3426": {"name": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_collateral_type.6824e3181d", "type": "test"}, "3427": {"name": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_amount_deposited.e481f3fc24", "type": "test"}, "3428": {"name": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_ts.5d96538438", "type": "test"}, "3429": {"name": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id.fe0fca7194", "type": "test"}, "3430": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_mainnet_pool_id__True__0.cc3901412b", "type": "test"}, "3431": {"name": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_collateral_type.d924f2d2aa", "type": "test"}, "3432": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_id.61336667c3", "type": "test"}, "3433": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_arbitrum_mainnet_id__True__0.913c01840d", "type": "test"}, "3434": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_created_ts.b08fc3c233", "type": "test"}, "3435": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_block_number.7aac324156", "type": "test"}, "3436": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_owner.4cc2187f96", "type": "test"}, "3437": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_ts.aac8a7264c", "type": "test"}, "3438": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_block_number.f6d01f24fd", "type": "test"}, "3439": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_pool_id.dc562b5c31", "type": "test"}, "3440": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_arbitrum_mainnet_pool_id__True__0.15db752b00", "type": "test"}, "3441": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_collateral_type.a3b9300e6c", "type": "test"}, "3442": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_debt.5ff363252c", "type": "test"}, "3443": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts.9170e8931e", "type": "test"}, "3444": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id.ad0bc3744f", "type": "test"}, "3445": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id__True__0.24b97cc6ba", "type": "test"}, "3446": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_collateral_type.5b444b3e9d", "type": "test"}, "3447": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_hourly_issuance.dcbdd9b577", "type": "test"}, "3448": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_ts.6d52d9f09c", "type": "test"}, "3449": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_block_number.954a0fdf17", "type": "test"}, "3450": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash.6a8e54c252", "type": "test"}, "3451": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_pool_id.0706d99bc3", "type": "test"}, "3452": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_arbitrum_mainnet_pool_id__True__0.411a2ea602", "type": "test"}, "3453": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type.ba8bb06771", "type": "test"}, "3454": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_account_id.2adc95113c", "type": "test"}, "3455": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_amount.375d9b98af", "type": "test"}, "3456": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts.b23b3c4ccc", "type": "test"}, "3457": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id.e6c4e35168", "type": "test"}, "3458": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id__True__0.82a420e70a", "type": "test"}, "3459": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type.5b16d63899", "type": "test"}, "3460": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value.d293fcea90", "type": "test"}, "3461": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value__True__0.2e110c1268", "type": "test"}, "3462": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt.9ac5b9bf5c", "type": "test"}, "3463": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance.5511774a0b", "type": "test"}, "3464": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl.678864f7b5", "type": "test"}, "3465": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd.196b421cb3", "type": "test"}, "3466": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd__True__0.636294733f", "type": "test"}, "3467": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct.860b962ff4", "type": "test"}, "3468": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct__True__1___1.5893ffde97", "type": "test"}, "3469": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct.8068a50a34", "type": "test"}, "3470": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct__True__1__0.c0f135f71a", "type": "test"}, "3471": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct.2ba37617f1", "type": "test"}, "3472": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts.55c84a8938", "type": "test"}, "3473": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id.3237fb1ab1", "type": "test"}, "3474": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id__True__0.4d32e65287", "type": "test"}, "3475": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_collateral_type.490293ba7d", "type": "test"}, "3476": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd.f0877fa7b3", "type": "test"}, "3477": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd__True__0.d689f56d7e", "type": "test"}, "3478": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts.22756175d0", "type": "test"}, "3479": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id.35527b8712", "type": "test"}, "3480": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id__True__0.4ed8a94f92", "type": "test"}, "3481": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_collateral_type.dee4fdda32", "type": "test"}, "3482": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_distributor.a9383020e8", "type": "test"}, "3483": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_token_symbol.0f93337098", "type": "test"}, "3484": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price.e94408c4a3", "type": "test"}, "3485": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_price__True__0.bd113fbed7", "type": "test"}, "3486": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount.1f06d81670", "type": "test"}, "3487": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount__True__0.e75762e0c1", "type": "test"}, "3488": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed.0abef6eb56", "type": "test"}, "3489": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed__True__0.7447bf410c", "type": "test"}, "3490": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd.38626f59b3", "type": "test"}, "3491": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd__True__0.034dbdbb73", "type": "test"}, "3492": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_ts.3133817d65", "type": "test"}, "3493": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_block_number.bf6d504d6f", "type": "test"}, "3494": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id.9ef357e324", "type": "test"}, "3495": {"name": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_arbitrum_mainnet_synth_market_id__True__0.214f52024f", "type": "test"}, "3496": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_supply.4f38308508", "type": "test"}, "3497": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_id.58d62fa75b", "type": "test"}, "3498": {"name": "test.synthetix.unique_fct_spot_atomics_arbitrum_mainnet_id.103cfc1fee", "type": "test"}, "3499": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_ts.8faded4450", "type": "test"}, "3500": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_block_number.4090627930", "type": "test"}, "3501": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash.fc4480c793", "type": "test"}, "3502": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id.3ce730fbe0", "type": "test"}, "3503": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_arbitrum_mainnet_synth_market_id__True__0.a856a28abf", "type": "test"}, "3504": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_price.8c5fac0d4b", "type": "test"}, "3505": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_amount.2a29d582dd", "type": "test"}, "3506": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_referrer.8f3d6e7ca8", "type": "test"}, "3507": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_id.0f47b50907", "type": "test"}, "3508": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_arbitrum_mainnet_id__True__0.fc6e00e4d7", "type": "test"}, "3509": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_created_ts.d20eea3054", "type": "test"}, "3510": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_block_number.8e6492baa4", "type": "test"}, "3511": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_token_address.19fe19c198", "type": "test"}, "3512": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_id.4d99f875a3", "type": "test"}, "3513": {"name": "test.synthetix.unique_fct_spot_wrapper_arbitrum_mainnet_id.2107017636", "type": "test"}, "3514": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_ts.91d9f782bb", "type": "test"}, "3515": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_block_number.d1c04e4c89", "type": "test"}, "3516": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash.4401566d1f", "type": "test"}, "3517": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id.f0195bb21f", "type": "test"}, "3518": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_mainnet_synth_market_id__True__0.f6decdacf4", "type": "test"}, "3519": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped.f91b4eedc8", "type": "test"}, "3520": {"name": "test.synthetix.not_null_fct_prices_arbitrum_mainnet_ts.2fbdc0fed9", "type": "test"}, "3521": {"name": "test.synthetix.not_null_fct_prices_arbitrum_mainnet_market_symbol.2c3e729969", "type": "test"}, "3522": {"name": "test.synthetix.not_null_fct_prices_arbitrum_mainnet_price.0a15cd9a88", "type": "test"}, "3523": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_arbitrum_mainnet_price__True__0.2dcde08f36", "type": "test"}, "3524": {"name": "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_ts.125ef9fa4d", "type": "test"}, "3525": {"name": "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol.b0ef15f205", "type": "test"}, "3526": {"name": "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_price.cc751acae1", "type": "test"}, "3527": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_arbitrum_mainnet_price__True__0.a6e6a0e3ce", "type": "test"}, "3528": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_ts.58ba7f8051", "type": "test"}, "3529": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_pool_id.7e25d73251", "type": "test"}, "3530": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_pool_id__True__0.82e7a1605d", "type": "test"}, "3531": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type.9b8cfcd53f", "type": "test"}, "3532": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_distributor.575416cf09", "type": "test"}, "3533": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol.6e44e80815", "type": "test"}, "3534": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_amount.2019cf2384", "type": "test"}, "3535": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_amount__True__0.7328694eba", "type": "test"}, "3536": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_ts.143d36cd88", "type": "test"}, "3537": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_account_id.a6811a48a4", "type": "test"}, "3538": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id.0a7b37ae8c", "type": "test"}, "3539": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_pool_id__True__0.8b1dae49a3", "type": "test"}, "3540": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_collateral_type.c996bc8d62", "type": "test"}, "3541": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_amount_delegated.f883895d2a", "type": "test"}, "3542": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_amount_delegated__True__0.b9f7312790", "type": "test"}, "3543": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_ts.e6b3476db0", "type": "test"}, "3544": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_pool_id.58add87a89", "type": "test"}, "3545": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_pool_id__True__0.a2269ae87b", "type": "test"}, "3546": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_collateral_type.a646b7cb26", "type": "test"}, "3547": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_collateral_value.2ada9cf10f", "type": "test"}, "3548": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_collateral_value__True__0.fdfbc111a3", "type": "test"}, "3549": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_debt.9b76325181", "type": "test"}, "3550": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance.18ef26f177", "type": "test"}, "3551": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl.d189c809ff", "type": "test"}, "3552": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl.4b337f056f", "type": "test"}, "3553": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance.574d2a783c", "type": "test"}, "3554": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_rewards_usd.ae2ea707de", "type": "test"}, "3555": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_rewards_usd__True__0.16097a4425", "type": "test"}, "3556": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct.e663f8a83d", "type": "test"}, "3557": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct__True__1___1.71d905126b", "type": "test"}, "3558": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct.12f359d425", "type": "test"}, "3559": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct__True__1__0.573ad6f791", "type": "test"}, "3560": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_24h.70ceb15524", "type": "test"}, "3561": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_24h.cc6a60bf0d", "type": "test"}, "3562": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_7d.9df14e1133", "type": "test"}, "3563": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_7d.d37e5ab6c3", "type": "test"}, "3564": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_28d.1273ef3c47", "type": "test"}, "3565": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_28d.c90acf86f3", "type": "test"}, "3566": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_id.378db4cf74", "type": "test"}, "3567": {"name": "test.synthetix.unique_fct_core_market_updated_arbitrum_sepolia_id.8dc27d8b84", "type": "test"}, "3568": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_ts.b76a8ffb56", "type": "test"}, "3569": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_transaction_hash.45d8547f52", "type": "test"}, "3570": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_event_name.4419326334", "type": "test"}, "3571": {"name": "test.synthetix.accepted_values_fct_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.ea1df73130", "type": "test"}, "3572": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_market_id.2752afabd6", "type": "test"}, "3573": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_arbitrum_sepolia_market_id__True__0.95e420ef94", "type": "test"}, "3574": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_collateral_type.d8f0899c66", "type": "test"}, "3575": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_credit_capacity.9862e1aaee", "type": "test"}, "3576": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance.62f7b3daca", "type": "test"}, "3577": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_token_amount.4d14e4bb21", "type": "test"}, "3578": {"name": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_ts.33284497f5", "type": "test"}, "3579": {"name": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_collateral_type.05d462c474", "type": "test"}, "3580": {"name": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_amount_deposited.feb182d7c0", "type": "test"}, "3581": {"name": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_ts.f1e8f35f9b", "type": "test"}, "3582": {"name": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id.58ecabbbb6", "type": "test"}, "3583": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_sepolia_pool_id__True__0.72a7f44e62", "type": "test"}, "3584": {"name": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_collateral_type.866b468c25", "type": "test"}, "3585": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_id.0242b18493", "type": "test"}, "3586": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_arbitrum_sepolia_id__True__0.d4e586601a", "type": "test"}, "3587": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_created_ts.56d3c1e25b", "type": "test"}, "3588": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_block_number.8044e9af90", "type": "test"}, "3589": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_owner.5ee993817b", "type": "test"}, "3590": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_ts.0ce19a05b3", "type": "test"}, "3591": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_block_number.9fe11ea9dd", "type": "test"}, "3592": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_pool_id.4539ef9df3", "type": "test"}, "3593": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_arbitrum_sepolia_pool_id__True__0.ec7d22b029", "type": "test"}, "3594": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_collateral_type.a6fdff57f4", "type": "test"}, "3595": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_debt.652029afcf", "type": "test"}, "3596": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts.1cc52a2fae", "type": "test"}, "3597": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id.cf6825af38", "type": "test"}, "3598": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id__True__0.1156081282", "type": "test"}, "3599": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_collateral_type.56203ac00f", "type": "test"}, "3600": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_hourly_issuance.24747bdf20", "type": "test"}, "3601": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_ts.94cc660ca9", "type": "test"}, "3602": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_block_number.7b40b6a61f", "type": "test"}, "3603": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash.333c0c5e61", "type": "test"}, "3604": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_pool_id.2084f5f832", "type": "test"}, "3605": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_arbitrum_sepolia_pool_id__True__0.0ec85b0399", "type": "test"}, "3606": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type.aef6de9ec1", "type": "test"}, "3607": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_account_id.45720a8ffb", "type": "test"}, "3608": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_amount.43a9be48cb", "type": "test"}, "3609": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts.a70d2ff18c", "type": "test"}, "3610": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id.aa93d2af52", "type": "test"}, "3611": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id__True__0.2553f9acd9", "type": "test"}, "3612": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type.ad28430a8b", "type": "test"}, "3613": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value.4feda18e6e", "type": "test"}, "3614": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value__True__0.8f44ccf6a8", "type": "test"}, "3615": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt.064b4f1aa0", "type": "test"}, "3616": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance.98a21247a9", "type": "test"}, "3617": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl.71c511680d", "type": "test"}, "3618": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd.de45431bfe", "type": "test"}, "3619": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd__True__0.c70c3ef6d1", "type": "test"}, "3620": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct.cfa91548b1", "type": "test"}, "3621": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct__True__1___1.758a1bd318", "type": "test"}, "3622": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct.85b61a0a46", "type": "test"}, "3623": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct__True__1__0.155d04b096", "type": "test"}, "3624": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct.57d5efdf83", "type": "test"}, "3625": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts.c0fe0cb40b", "type": "test"}, "3626": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id.a84969537b", "type": "test"}, "3627": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id__True__0.550e7516ff", "type": "test"}, "3628": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_collateral_type.e8435924a6", "type": "test"}, "3629": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd.a8bf6b50cf", "type": "test"}, "3630": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd__True__0.29163ebf9c", "type": "test"}, "3631": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts.408bc991e9", "type": "test"}, "3632": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id.c9c0638ac8", "type": "test"}, "3633": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id__True__0.dc85f8adb9", "type": "test"}, "3634": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_collateral_type.6bd3efb9ab", "type": "test"}, "3635": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_distributor.57d35a371e", "type": "test"}, "3636": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_token_symbol.43135a2a58", "type": "test"}, "3637": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price.8b9f940b5a", "type": "test"}, "3638": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_price__True__0.03fbb6a68c", "type": "test"}, "3639": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount.a128c8eb69", "type": "test"}, "3640": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount__True__0.b67f19c73b", "type": "test"}, "3641": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed.92aa5d68ee", "type": "test"}, "3642": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed__True__0.a2ebbe6544", "type": "test"}, "3643": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd.a4c3a5bd6d", "type": "test"}, "3644": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd__True__0.1aeeb784bf", "type": "test"}, "3645": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_ts.27dc7912ff", "type": "test"}, "3646": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_block_number.f392305688", "type": "test"}, "3647": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id.4a2d305755", "type": "test"}, "3648": {"name": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_arbitrum_sepolia_synth_market_id__True__0.e33f94430c", "type": "test"}, "3649": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_supply.e3a1577f38", "type": "test"}, "3650": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_id.491922c0de", "type": "test"}, "3651": {"name": "test.synthetix.unique_fct_spot_atomics_arbitrum_sepolia_id.ac19d3d198", "type": "test"}, "3652": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_ts.892f2a57c7", "type": "test"}, "3653": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_block_number.8b344f291a", "type": "test"}, "3654": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash.e8c13a9755", "type": "test"}, "3655": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id.b6c3e19705", "type": "test"}, "3656": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_arbitrum_sepolia_synth_market_id__True__0.783d66767d", "type": "test"}, "3657": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_price.685e079a35", "type": "test"}, "3658": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_amount.08628c0e8d", "type": "test"}, "3659": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_referrer.ab47b8a4dc", "type": "test"}, "3660": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_id.8e20da3df9", "type": "test"}, "3661": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_arbitrum_sepolia_id__True__0.181ee7b620", "type": "test"}, "3662": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_created_ts.d5e3080b9d", "type": "test"}, "3663": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_block_number.50ad9758fc", "type": "test"}, "3664": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_token_address.1b182f5b09", "type": "test"}, "3665": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_id.e4af3a2e01", "type": "test"}, "3666": {"name": "test.synthetix.unique_fct_spot_wrapper_arbitrum_sepolia_id.ef7877efab", "type": "test"}, "3667": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_ts.cac57bdf22", "type": "test"}, "3668": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_block_number.11ac634180", "type": "test"}, "3669": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash.bc4c1e86f4", "type": "test"}, "3670": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id.73a4297f2a", "type": "test"}, "3671": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_sepolia_synth_market_id__True__0.38952f7e02", "type": "test"}, "3672": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped.77a6a551fc", "type": "test"}, "3673": {"name": "test.synthetix.not_null_fct_prices_arbitrum_sepolia_ts.a139176cd1", "type": "test"}, "3674": {"name": "test.synthetix.not_null_fct_prices_arbitrum_sepolia_market_symbol.5499da1cc7", "type": "test"}, "3675": {"name": "test.synthetix.not_null_fct_prices_arbitrum_sepolia_price.45fcd4b484", "type": "test"}, "3676": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_arbitrum_sepolia_price__True__0.cd20dabe63", "type": "test"}, "3677": {"name": "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_ts.45b8cdbd25", "type": "test"}, "3678": {"name": "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol.6b1d78c094", "type": "test"}, "3679": {"name": "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_price.774a8eccfb", "type": "test"}, "3680": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_arbitrum_sepolia_price__True__0.e322ab3e73", "type": "test"}, "3681": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_id.a798ff42d8", "type": "test"}, "3682": {"name": "test.synthetix.unique_fct_perp_interest_charged_base_mainnet_id.31ca39738f", "type": "test"}, "3683": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_block_timestamp.60136d09c1", "type": "test"}, "3684": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_block_number.47e9d47bb4", "type": "test"}, "3685": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_transaction_hash.f85d4df49f", "type": "test"}, "3686": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_contract.8e7dd8a6ef", "type": "test"}, "3687": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_event_name.eaf9eac9c3", "type": "test"}, "3688": {"name": "test.synthetix.accepted_values_fct_perp_interest_charged_base_mainnet_event_name__InterestCharged.b8b39fbb4d", "type": "test"}, "3689": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_account_id.2830ac0b93", "type": "test"}, "3690": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_account_id__True__0.d4da8249b8", "type": "test"}, "3691": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_interest.073a973712", "type": "test"}, "3692": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_interest__True__0.b25a9c1b50", "type": "test"}, "3693": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_id.efa9bbeec9", "type": "test"}, "3694": {"name": "test.synthetix.unique_fct_perp_collateral_modified_base_mainnet_id.9010e87027", "type": "test"}, "3695": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_block_timestamp.7c5c8a362c", "type": "test"}, "3696": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_block_number.45b34bf575", "type": "test"}, "3697": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_transaction_hash.8cc455d504", "type": "test"}, "3698": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_contract.f078950840", "type": "test"}, "3699": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_event_name.44267a4fa1", "type": "test"}, "3700": {"name": "test.synthetix.accepted_values_fct_perp_collateral_modified_base_mainnet_event_name__CollateralModified.00f5016782", "type": "test"}, "3701": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_synth_market_id.3a3dffb920", "type": "test"}, "3702": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_base_mainnet_synth_market_id__True__0.644f81887d", "type": "test"}, "3703": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_sender.b3270f32cc", "type": "test"}, "3704": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_id.627b6b6b63", "type": "test"}, "3705": {"name": "test.synthetix.unique_fct_perp_previous_order_expired_base_mainnet_id.220846a37a", "type": "test"}, "3706": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_block_timestamp.da7b51b840", "type": "test"}, "3707": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_block_number.89b98bd9a2", "type": "test"}, "3708": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_transaction_hash.573aaff2f5", "type": "test"}, "3709": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_contract.bd6be0f02f", "type": "test"}, "3710": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_event_name.473a967d1d", "type": "test"}, "3711": {"name": "test.synthetix.accepted_values_fct_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired.1769035769", "type": "test"}, "3712": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_market_id.8bf9effd5e", "type": "test"}, "3713": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_market_id__True__0.59d73bf004", "type": "test"}, "3714": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_account_id.e7aae917c2", "type": "test"}, "3715": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_account_id__True__0.0f31e1095c", "type": "test"}, "3716": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_id.35375a8491", "type": "test"}, "3717": {"name": "test.synthetix.unique_fct_perp_trades_base_mainnet_id.b1b63119eb", "type": "test"}, "3718": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_ts.e5e75d9d71", "type": "test"}, "3719": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_block_number.474b7643d0", "type": "test"}, "3720": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_transaction_hash.b1e9287d28", "type": "test"}, "3721": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_contract.8897e47e7e", "type": "test"}, "3722": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_market_id.6ea4246016", "type": "test"}, "3723": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_market_id__True__0.585f613862", "type": "test"}, "3724": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_market_symbol.e75d95d12c", "type": "test"}, "3725": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_account_id.8a94516fd9", "type": "test"}, "3726": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_fill_price.e731328206", "type": "test"}, "3727": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_fill_price__True__0.3edbbda7ae", "type": "test"}, "3728": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_pnl.e87ee65983", "type": "test"}, "3729": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_accrued_funding.f6a962643b", "type": "test"}, "3730": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_trade_size.2a003017e9", "type": "test"}, "3731": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_position_size.a687f5c9e4", "type": "test"}, "3732": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_total_fees.73178c801b", "type": "test"}, "3733": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_total_fees__True__0.37a3c34f6a", "type": "test"}, "3734": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_referral_fees.8c5c0f55a4", "type": "test"}, "3735": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_referral_fees__True__0.09a87481d6", "type": "test"}, "3736": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_collected_fees.1888a67b67", "type": "test"}, "3737": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_collected_fees__True__0.cec844302b", "type": "test"}, "3738": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_settlement_reward.c472f75c36", "type": "test"}, "3739": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_settlement_reward__True__0.56c953ccdc", "type": "test"}, "3740": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_tracking_code.3b557b440d", "type": "test"}, "3741": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_settler.cebd15f3ad", "type": "test"}, "3742": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_notional_trade_size.25efead997", "type": "test"}, "3743": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_notional_position_size.549d1d1b0b", "type": "test"}, "3744": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_lp_fees.1da0034ac9", "type": "test"}, "3745": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_lp_fees__True__0.67c14ce54a", "type": "test"}, "3746": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_exchange_fees.5a4c21716f", "type": "test"}, "3747": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_exchange_fees__True__0.43ef826334", "type": "test"}, "3748": {"name": "test.synthetix.not_null_fct_perp_pnl_base_mainnet_ts.aa0943ea1a", "type": "test"}, "3749": {"name": "test.synthetix.not_null_fct_perp_pnl_base_mainnet_market_id.915c961b40", "type": "test"}, "3750": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_base_mainnet_market_id__True__0.58f61a0590", "type": "test"}, "3751": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_id.2c415fb4fb", "type": "test"}, "3752": {"name": "test.synthetix.unique_fct_perp_orders_base_mainnet_id.1b8b85dac5", "type": "test"}, "3753": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_ts.a61957fc22", "type": "test"}, "3754": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_block_number.3be9f0b718", "type": "test"}, "3755": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_transaction_hash.71d76cac79", "type": "test"}, "3756": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_contract.6a5b003b92", "type": "test"}, "3757": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_market_id.5b936d3011", "type": "test"}, "3758": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_base_mainnet_market_id__True__0.2d585533fc", "type": "test"}, "3759": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_market_symbol.554f14b42b", "type": "test"}, "3760": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_account_id.08880589a0", "type": "test"}, "3761": {"name": "test.synthetix.not_null_fct_perp_markets_base_mainnet_id.bd1fc06532", "type": "test"}, "3762": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_base_mainnet_id__True__0.ac58557180", "type": "test"}, "3763": {"name": "test.synthetix.not_null_fct_perp_markets_base_mainnet_created_ts.b73d9a0c8a", "type": "test"}, "3764": {"name": "test.synthetix.not_null_fct_perp_markets_base_mainnet_block_number.6792b019f1", "type": "test"}, "3765": {"name": "test.synthetix.not_null_fct_perp_markets_base_mainnet_market_symbol.c8dc99abfc", "type": "test"}, "3766": {"name": "test.synthetix.not_null_fct_perp_markets_base_mainnet_market_name.303acf9a19", "type": "test"}, "3767": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_id.c9dbfad377", "type": "test"}, "3768": {"name": "test.synthetix.unique_fct_perp_market_history_base_mainnet_id.8b11f687f0", "type": "test"}, "3769": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_ts.d5f4e338d6", "type": "test"}, "3770": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_block_number.485f73c767", "type": "test"}, "3771": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_transaction_hash.d53db511d0", "type": "test"}, "3772": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_id.cab90009a8", "type": "test"}, "3773": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_market_id__True__0.c7e76b30aa", "type": "test"}, "3774": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_symbol.c60910b39a", "type": "test"}, "3775": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_price.acf046de31", "type": "test"}, "3776": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_skew.a4d473f3fc", "type": "test"}, "3777": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size.3bbf16be92", "type": "test"}, "3778": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size_delta.c2cfd7a96f", "type": "test"}, "3779": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_rate.904532dfcd", "type": "test"}, "3780": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_velocity.0bd6fa06fa", "type": "test"}, "3781": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_interest_rate.2c5e879eef", "type": "test"}, "3782": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_rate_apr.50943753dc", "type": "test"}, "3783": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_long_rate_apr.785d324d07", "type": "test"}, "3784": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_short_rate_apr.a2f2135476", "type": "test"}, "3785": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size_usd.bc3090b261", "type": "test"}, "3786": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_id.4311fef5a1", "type": "test"}, "3787": {"name": "test.synthetix.unique_fct_perp_liq_position_base_mainnet_id.f46ba34fa7", "type": "test"}, "3788": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_ts.2dc7a4a976", "type": "test"}, "3789": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_block_number.da16c5c256", "type": "test"}, "3790": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_transaction_hash.d54f66674c", "type": "test"}, "3791": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_account_id.f3ec9ddba7", "type": "test"}, "3792": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_market_id.7f965252ed", "type": "test"}, "3793": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_market_id__True__0.149bc69560", "type": "test"}, "3794": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_market_symbol.a84ac24b5f", "type": "test"}, "3795": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_amount_liquidated.893ef59124", "type": "test"}, "3796": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_amount_liquidated__True__0.51c2fa3b3f", "type": "test"}, "3797": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_position_size.dcfe3d8623", "type": "test"}, "3798": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_position_size__True__0.a626e988d4", "type": "test"}, "3799": {"name": "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_account_id.dd5099ce59", "type": "test"}, "3800": {"name": "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_ts.5a3efee9f7", "type": "test"}, "3801": {"name": "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_total_reward.2a8b87e55c", "type": "test"}, "3802": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_base_mainnet_total_reward__True__0.a35af51633", "type": "test"}, "3803": {"name": "test.synthetix.not_null_fct_perp_accounts_base_mainnet_id.cf1e1e2af0", "type": "test"}, "3804": {"name": "test.synthetix.unique_fct_perp_accounts_base_mainnet_id.2a6de2d0f2", "type": "test"}, "3805": {"name": "test.synthetix.not_null_fct_perp_accounts_base_mainnet_created_ts.cc57ba5d93", "type": "test"}, "3806": {"name": "test.synthetix.not_null_fct_perp_accounts_base_mainnet_owner.b581a2df74", "type": "test"}, "3807": {"name": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_ts.14a31d2a6b", "type": "test"}, "3808": {"name": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_snx_amount.ea18aa299d", "type": "test"}, "3809": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_snx_amount__True__0.4dc1a7a815", "type": "test"}, "3810": {"name": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_usd_amount.226e5c84b2", "type": "test"}, "3811": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_usd_amount__True__0.b33cfd2e0e", "type": "test"}, "3812": {"name": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount.d9cc05c370", "type": "test"}, "3813": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_snx_amount__True__0.40e1988439", "type": "test"}, "3814": {"name": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount.4602f5b0ec", "type": "test"}, "3815": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_usd_amount__True__0.2fdc7f3ac4", "type": "test"}, "3816": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_ts.712dc7c106", "type": "test"}, "3817": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_snx_amount.8e18aeb895", "type": "test"}, "3818": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_snx_amount__True__0.34d4d71a42", "type": "test"}, "3819": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_usd_amount.cbc2a221fa", "type": "test"}, "3820": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_usd_amount__True__0.153efe66c5", "type": "test"}, "3821": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount.3f13efe309", "type": "test"}, "3822": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_snx_amount__True__0.0a50a1b2a1", "type": "test"}, "3823": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount.d705144302", "type": "test"}, "3824": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_usd_amount__True__0.897d810e27", "type": "test"}, "3825": {"name": "test.synthetix.not_null_fct_buyback_base_mainnet_id.fbad84fb48", "type": "test"}, "3826": {"name": "test.synthetix.unique_fct_buyback_base_mainnet_id.f0c25ee329", "type": "test"}, "3827": {"name": "test.synthetix.not_null_fct_buyback_base_mainnet_ts.42175c7800", "type": "test"}, "3828": {"name": "test.synthetix.not_null_fct_buyback_base_mainnet_buyer.996c564c05", "type": "test"}, "3829": {"name": "test.synthetix.not_null_fct_buyback_base_mainnet_snx.75b728a26f", "type": "test"}, "3830": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0.ffcae6ef8f", "type": "test"}, "3831": {"name": "test.synthetix.not_null_fct_buyback_base_mainnet_usd.2e04e1ae30", "type": "test"}, "3832": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0.e9e29cece7", "type": "test"}, "3833": {"name": "test.synthetix.not_null_fct_buyback_base_mainnet_snx_price.e23de62b78", "type": "test"}, "3834": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_snx_price__True__0.4ab5da9346", "type": "test"}, "3835": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_ts.878073b7e8", "type": "test"}, "3836": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_block_number.fc803534fc", "type": "test"}, "3837": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_contract_address.f7e3ffefb9", "type": "test"}, "3838": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_pool_id.1ea1a9fb17", "type": "test"}, "3839": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_pool_id__True__0.3c62ac166d", "type": "test"}, "3840": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_collateral_type.e2cbb7867d", "type": "test"}, "3841": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_amount.43a56286ca", "type": "test"}, "3842": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_amount__True__0.031c10a818", "type": "test"}, "3843": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_collateral_value.b35c2ac09a", "type": "test"}, "3844": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_collateral_value__True__0.ffab802571", "type": "test"}, "3845": {"name": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_ts.af8563a243", "type": "test"}, "3846": {"name": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_pool_id.47db83edd0", "type": "test"}, "3847": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_pool_id__True__0.f01ac775cc", "type": "test"}, "3848": {"name": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_collateral_type.2f7e01ccd0", "type": "test"}, "3849": {"name": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_distributor.5511d5880d", "type": "test"}, "3850": {"name": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_token_symbol.1810912a65", "type": "test"}, "3851": {"name": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_amount.c7b92514fd", "type": "test"}, "3852": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_amount__True__0.5a5b31d40e", "type": "test"}, "3853": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_ts.3412be3139", "type": "test"}, "3854": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_account_id.64d4657b45", "type": "test"}, "3855": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_pool_id.c2b6448825", "type": "test"}, "3856": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_pool_id__True__0.a18d31544f", "type": "test"}, "3857": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_collateral_type.01ebd9c59e", "type": "test"}, "3858": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_amount_delegated.c0cf7fdd11", "type": "test"}, "3859": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_amount_delegated__True__0.5d186a76ca", "type": "test"}, "3860": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_ts.fa672a8124", "type": "test"}, "3861": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_pool_id.ec4f69201c", "type": "test"}, "3862": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_pool_id__True__0.6f65c027c2", "type": "test"}, "3863": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_collateral_type.6b18aa87ce", "type": "test"}, "3864": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_collateral_value.ca0cfe00d9", "type": "test"}, "3865": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_collateral_value__True__0.09ad3e4f8e", "type": "test"}, "3866": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_debt.3003bbaef9", "type": "test"}, "3867": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_issuance.58d7e6392e", "type": "test"}, "3868": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_pnl.aace5f4a92", "type": "test"}, "3869": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_cumulative_pnl.0dfa79c775", "type": "test"}, "3870": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_cumulative_issuance.6b5aeff994", "type": "test"}, "3871": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_rewards_usd.9770eed99e", "type": "test"}, "3872": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_rewards_usd__True__0.cd9a35763d", "type": "test"}, "3873": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_pnl_pct.709eae57a9", "type": "test"}, "3874": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_rewards_pct.e5170bb035", "type": "test"}, "3875": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_hourly_rewards_pct__True__1__0.615edfd299", "type": "test"}, "3876": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_24h.5f87709afa", "type": "test"}, "3877": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_24h.0d59b73826", "type": "test"}, "3878": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_7d.8545f2f45f", "type": "test"}, "3879": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_7d.d068a55e21", "type": "test"}, "3880": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_28d.69fcad855f", "type": "test"}, "3881": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_28d.384e146fdc", "type": "test"}, "3882": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_id.a50a975385", "type": "test"}, "3883": {"name": "test.synthetix.unique_fct_core_market_updated_base_mainnet_id.ec01754a17", "type": "test"}, "3884": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_ts.f35cfffa6d", "type": "test"}, "3885": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_transaction_hash.87848e2a26", "type": "test"}, "3886": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_event_name.38e05844e8", "type": "test"}, "3887": {"name": "test.synthetix.accepted_values_fct_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.b6908f0c03", "type": "test"}, "3888": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_market_id.c97cd708fa", "type": "test"}, "3889": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_base_mainnet_market_id__True__0.2ed4a3f792", "type": "test"}, "3890": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_collateral_type.b71240306c", "type": "test"}, "3891": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_credit_capacity.303317e986", "type": "test"}, "3892": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_net_issuance.2d64ab52f8", "type": "test"}, "3893": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_token_amount.ead854df90", "type": "test"}, "3894": {"name": "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_ts.4e638376c4", "type": "test"}, "3895": {"name": "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_collateral_type.63ab148d0c", "type": "test"}, "3896": {"name": "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_amount_deposited.9fabc246a7", "type": "test"}, "3897": {"name": "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_ts.2ed20ab777", "type": "test"}, "3898": {"name": "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_pool_id.d338258729", "type": "test"}, "3899": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_base_mainnet_pool_id__True__0.4d81a0e2e0", "type": "test"}, "3900": {"name": "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_collateral_type.49ff2a0118", "type": "test"}, "3901": {"name": "test.synthetix.not_null_fct_core_pools_base_mainnet_id.1f1f3ad095", "type": "test"}, "3902": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_base_mainnet_id__True__0.2b14986ce3", "type": "test"}, "3903": {"name": "test.synthetix.not_null_fct_core_pools_base_mainnet_created_ts.a07bb6b8fe", "type": "test"}, "3904": {"name": "test.synthetix.not_null_fct_core_pools_base_mainnet_block_number.cc61b3ca43", "type": "test"}, "3905": {"name": "test.synthetix.not_null_fct_core_pools_base_mainnet_owner.a2cfe04f87", "type": "test"}, "3906": {"name": "test.synthetix.not_null_fct_pool_debt_base_mainnet_ts.f49a23ebcd", "type": "test"}, "3907": {"name": "test.synthetix.not_null_fct_pool_debt_base_mainnet_block_number.dd32fc50c6", "type": "test"}, "3908": {"name": "test.synthetix.not_null_fct_pool_debt_base_mainnet_pool_id.8e9e20797d", "type": "test"}, "3909": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_base_mainnet_pool_id__True__0.a1f5ec7b1b", "type": "test"}, "3910": {"name": "test.synthetix.not_null_fct_pool_debt_base_mainnet_collateral_type.92a752ffea", "type": "test"}, "3911": {"name": "test.synthetix.not_null_fct_pool_debt_base_mainnet_debt.5b37c10505", "type": "test"}, "3912": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_ts.af3f6a895d", "type": "test"}, "3913": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_pool_id.03eddab767", "type": "test"}, "3914": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_base_mainnet_pool_id__True__0.82c0a98d47", "type": "test"}, "3915": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type.21efec6e56", "type": "test"}, "3916": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance.1bde70000d", "type": "test"}, "3917": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_ts.2b8d4be103", "type": "test"}, "3918": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_block_number.6ae22c8ac4", "type": "test"}, "3919": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_transaction_hash.0764eca614", "type": "test"}, "3920": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_pool_id.01d3ed0f62", "type": "test"}, "3921": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_base_mainnet_pool_id__True__0.5e68f64c49", "type": "test"}, "3922": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_collateral_type.72fe90c3b9", "type": "test"}, "3923": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_account_id.4f9de5ef81", "type": "test"}, "3924": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_amount.29761360a6", "type": "test"}, "3925": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_ts.7c76badc22", "type": "test"}, "3926": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_pool_id.7352d1abe5", "type": "test"}, "3927": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_pool_id__True__0.4246141dca", "type": "test"}, "3928": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type.7d4e861773", "type": "test"}, "3929": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value.34ddcc2ccb", "type": "test"}, "3930": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_collateral_value__True__0.7bf7b1ccab", "type": "test"}, "3931": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_debt.e2d08dec52", "type": "test"}, "3932": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance.b0e645a132", "type": "test"}, "3933": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl.6f321ca648", "type": "test"}, "3934": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd.de69bca40d", "type": "test"}, "3935": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_rewards_usd__True__0.65717bc033", "type": "test"}, "3936": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct.43ef5d27cc", "type": "test"}, "3937": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct.0d02b364b5", "type": "test"}, "3938": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct__True__1__0.24176cb1b5", "type": "test"}, "3939": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct.9656973b1c", "type": "test"}, "3940": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_ts.cb01f363c1", "type": "test"}, "3941": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_pool_id.cc4be6d53f", "type": "test"}, "3942": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_pool_id__True__0.0fe5a5d2d6", "type": "test"}, "3943": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type.9a0efdf293", "type": "test"}, "3944": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd.2d36098b0e", "type": "test"}, "3945": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_rewards_usd__True__0.e752fbfdf1", "type": "test"}, "3946": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_ts.b6c015406d", "type": "test"}, "3947": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id.26caff37a4", "type": "test"}, "3948": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_pool_id__True__0.59419d2477", "type": "test"}, "3949": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_collateral_type.52b0ac191f", "type": "test"}, "3950": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor.608c8d5a0a", "type": "test"}, "3951": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_token_symbol.185f4e6438", "type": "test"}, "3952": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_price.f29ff11a01", "type": "test"}, "3953": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_price__True__0.5e57dd6ed8", "type": "test"}, "3954": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount.294d780f70", "type": "test"}, "3955": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount__True__0.edfffe8350", "type": "test"}, "3956": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed.d339be6768", "type": "test"}, "3957": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed__True__0.f2c99e8638", "type": "test"}, "3958": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd.2724c9008d", "type": "test"}, "3959": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd__True__0.2f31fe80de", "type": "test"}, "3960": {"name": "test.synthetix.not_null_fct_synth_supply_base_mainnet_ts.ab30396a5d", "type": "test"}, "3961": {"name": "test.synthetix.not_null_fct_synth_supply_base_mainnet_block_number.8686c78edf", "type": "test"}, "3962": {"name": "test.synthetix.not_null_fct_synth_supply_base_mainnet_synth_market_id.5a00a55aa2", "type": "test"}, "3963": {"name": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_base_mainnet_synth_market_id__True__0.cf8aff1a32", "type": "test"}, "3964": {"name": "test.synthetix.not_null_fct_synth_supply_base_mainnet_supply.3f0fbdddb9", "type": "test"}, "3965": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_id.627bbbf01f", "type": "test"}, "3966": {"name": "test.synthetix.unique_fct_spot_atomics_base_mainnet_id.43d4b7c878", "type": "test"}, "3967": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_ts.8e16294c15", "type": "test"}, "3968": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_block_number.f27d399305", "type": "test"}, "3969": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_tx_hash.95b2db0403", "type": "test"}, "3970": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_synth_market_id.6f09447421", "type": "test"}, "3971": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_base_mainnet_synth_market_id__True__0.09c446094a", "type": "test"}, "3972": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_price.425623addf", "type": "test"}, "3973": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_amount.f9fe9bd5d8", "type": "test"}, "3974": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_referrer.ab87d661dd", "type": "test"}, "3975": {"name": "test.synthetix.not_null_fct_spot_markets_base_mainnet_id.b85cc0ba41", "type": "test"}, "3976": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_base_mainnet_id__True__0.51d4e415e8", "type": "test"}, "3977": {"name": "test.synthetix.not_null_fct_spot_markets_base_mainnet_created_ts.746ff1f9ce", "type": "test"}, "3978": {"name": "test.synthetix.not_null_fct_spot_markets_base_mainnet_block_number.dd426b1fb6", "type": "test"}, "3979": {"name": "test.synthetix.not_null_fct_spot_markets_base_mainnet_token_address.454ffd144a", "type": "test"}, "3980": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_id.b1091139a2", "type": "test"}, "3981": {"name": "test.synthetix.unique_fct_spot_wrapper_base_mainnet_id.c51e21223d", "type": "test"}, "3982": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_ts.b646319cc9", "type": "test"}, "3983": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_block_number.9220599356", "type": "test"}, "3984": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_tx_hash.eb92a57d59", "type": "test"}, "3985": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_synth_market_id.4d8b77f2da", "type": "test"}, "3986": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_base_mainnet_synth_market_id__True__0.69216a8846", "type": "test"}, "3987": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_amount_wrapped.957e1a74f3", "type": "test"}, "3988": {"name": "test.synthetix.not_null_fct_prices_base_mainnet_ts.c885673fc8", "type": "test"}, "3989": {"name": "test.synthetix.not_null_fct_prices_base_mainnet_market_symbol.dc8cb46b8c", "type": "test"}, "3990": {"name": "test.synthetix.not_null_fct_prices_base_mainnet_price.a6c62844d1", "type": "test"}, "3991": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0.4906889fd6", "type": "test"}, "3992": {"name": "test.synthetix.not_null_fct_prices_hourly_base_mainnet_ts.a2c68d326d", "type": "test"}, "3993": {"name": "test.synthetix.not_null_fct_prices_hourly_base_mainnet_market_symbol.ffd656c11f", "type": "test"}, "3994": {"name": "test.synthetix.not_null_fct_prices_hourly_base_mainnet_price.73bbfd891b", "type": "test"}, "3995": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_base_mainnet_price__True__0.1e768deaa2", "type": "test"}, "3996": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_id.eb661d1506", "type": "test"}, "3997": {"name": "test.synthetix.unique_fct_perp_interest_charged_base_sepolia_id.53669ecac5", "type": "test"}, "3998": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_block_timestamp.0a73b599b9", "type": "test"}, "3999": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_block_number.b5c567e21f", "type": "test"}, "4000": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_transaction_hash.aaef59efbb", "type": "test"}, "4001": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_contract.d0f4674d07", "type": "test"}, "4002": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_event_name.237b079041", "type": "test"}, "4003": {"name": "test.synthetix.accepted_values_fct_perp_interest_charged_base_sepolia_event_name__InterestCharged.ff861d06a4", "type": "test"}, "4004": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_account_id.86fbe78f66", "type": "test"}, "4005": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_account_id__True__0.3edc04f3c6", "type": "test"}, "4006": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_interest.201254f262", "type": "test"}, "4007": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_interest__True__0.cbe80d3cfc", "type": "test"}, "4008": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_id.04ae0ab4fd", "type": "test"}, "4009": {"name": "test.synthetix.unique_fct_perp_collateral_modified_base_sepolia_id.a5b1b5d44a", "type": "test"}, "4010": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_block_timestamp.983f4f7464", "type": "test"}, "4011": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_block_number.36ad8cb4d3", "type": "test"}, "4012": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_transaction_hash.834ecbfe7f", "type": "test"}, "4013": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_contract.e1b2d1c3f1", "type": "test"}, "4014": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_event_name.0d3e82bc99", "type": "test"}, "4015": {"name": "test.synthetix.accepted_values_fct_perp_collateral_modified_base_sepolia_event_name__CollateralModified.f6430341ee", "type": "test"}, "4016": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_synth_market_id.a933a52d36", "type": "test"}, "4017": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_base_sepolia_synth_market_id__True__0.6fb45ff630", "type": "test"}, "4018": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_sender.36cb6d7913", "type": "test"}, "4019": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_id.480d04976b", "type": "test"}, "4020": {"name": "test.synthetix.unique_fct_perp_previous_order_expired_base_sepolia_id.38211e4c5d", "type": "test"}, "4021": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_block_timestamp.4b41a82d13", "type": "test"}, "4022": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_block_number.1ff7a5705c", "type": "test"}, "4023": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_transaction_hash.e1f21d4fd3", "type": "test"}, "4024": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_contract.b0da841bdf", "type": "test"}, "4025": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_event_name.daad0addfa", "type": "test"}, "4026": {"name": "test.synthetix.accepted_values_fct_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired.e124d4bad8", "type": "test"}, "4027": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_market_id.17181fe5f1", "type": "test"}, "4028": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_market_id__True__0.b23f5ced4b", "type": "test"}, "4029": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_account_id.e2bf90a189", "type": "test"}, "4030": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_account_id__True__0.b2f7060dcd", "type": "test"}, "4031": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_id.e94cf14cf4", "type": "test"}, "4032": {"name": "test.synthetix.unique_fct_perp_trades_base_sepolia_id.ceece98634", "type": "test"}, "4033": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_ts.76a693976f", "type": "test"}, "4034": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_block_number.36502e409b", "type": "test"}, "4035": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_transaction_hash.4d4a1afa3d", "type": "test"}, "4036": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_contract.92feeccb9f", "type": "test"}, "4037": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_market_id.3d4de88cac", "type": "test"}, "4038": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_market_id__True__0.67a1e76900", "type": "test"}, "4039": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_market_symbol.8c61ba2703", "type": "test"}, "4040": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_account_id.74992c394c", "type": "test"}, "4041": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_fill_price.3633433721", "type": "test"}, "4042": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_fill_price__True__0.b3d62542ac", "type": "test"}, "4043": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_pnl.42b0678535", "type": "test"}, "4044": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_accrued_funding.fb6b795bff", "type": "test"}, "4045": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_trade_size.e5fc6afe64", "type": "test"}, "4046": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_position_size.d124874e35", "type": "test"}, "4047": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_total_fees.d6fd22951b", "type": "test"}, "4048": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_total_fees__True__0.68c3f148eb", "type": "test"}, "4049": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_referral_fees.12cd5804dd", "type": "test"}, "4050": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_referral_fees__True__0.dc2313066f", "type": "test"}, "4051": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_collected_fees.ac78e5e098", "type": "test"}, "4052": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_collected_fees__True__0.d4eb8f3a34", "type": "test"}, "4053": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_settlement_reward.edb4d5c73f", "type": "test"}, "4054": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_settlement_reward__True__0.58cc15e824", "type": "test"}, "4055": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_tracking_code.482af3b84b", "type": "test"}, "4056": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_settler.b1e9ff8b09", "type": "test"}, "4057": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_notional_trade_size.e076755f6b", "type": "test"}, "4058": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_notional_position_size.1d9238ede6", "type": "test"}, "4059": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_lp_fees.08774e8672", "type": "test"}, "4060": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_lp_fees__True__0.8a5e6825da", "type": "test"}, "4061": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_exchange_fees.72c95e5df3", "type": "test"}, "4062": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_exchange_fees__True__0.b3ce206dc8", "type": "test"}, "4063": {"name": "test.synthetix.not_null_fct_perp_pnl_base_sepolia_ts.74b2ae0437", "type": "test"}, "4064": {"name": "test.synthetix.not_null_fct_perp_pnl_base_sepolia_market_id.f6d4268d28", "type": "test"}, "4065": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_base_sepolia_market_id__True__0.2546d9a255", "type": "test"}, "4066": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_id.8dca618afe", "type": "test"}, "4067": {"name": "test.synthetix.unique_fct_perp_orders_base_sepolia_id.55dad680ba", "type": "test"}, "4068": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_ts.acaae19ba7", "type": "test"}, "4069": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_block_number.46d5d3c316", "type": "test"}, "4070": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_transaction_hash.650c93c367", "type": "test"}, "4071": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_contract.17d50e01a2", "type": "test"}, "4072": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_market_id.9c18ced1ce", "type": "test"}, "4073": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_base_sepolia_market_id__True__0.fe527d9b61", "type": "test"}, "4074": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_market_symbol.ccf5837d32", "type": "test"}, "4075": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_account_id.75a8413527", "type": "test"}, "4076": {"name": "test.synthetix.not_null_fct_perp_markets_base_sepolia_id.908ad69766", "type": "test"}, "4077": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_base_sepolia_id__True__0.8545400fda", "type": "test"}, "4078": {"name": "test.synthetix.not_null_fct_perp_markets_base_sepolia_created_ts.ec1571d5b3", "type": "test"}, "4079": {"name": "test.synthetix.not_null_fct_perp_markets_base_sepolia_block_number.5b8bc4dbc4", "type": "test"}, "4080": {"name": "test.synthetix.not_null_fct_perp_markets_base_sepolia_market_symbol.e4e36d90ae", "type": "test"}, "4081": {"name": "test.synthetix.not_null_fct_perp_markets_base_sepolia_market_name.47a0ccb5b2", "type": "test"}, "4082": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_id.5597cbd783", "type": "test"}, "4083": {"name": "test.synthetix.unique_fct_perp_market_history_base_sepolia_id.a6cd45bc6b", "type": "test"}, "4084": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_ts.f38b043e70", "type": "test"}, "4085": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_block_number.2243d56672", "type": "test"}, "4086": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_transaction_hash.692634d15d", "type": "test"}, "4087": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_id.bdbb4acce1", "type": "test"}, "4088": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_market_id__True__0.ee983a3e48", "type": "test"}, "4089": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_symbol.a5c87dfbbc", "type": "test"}, "4090": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_price.701866f2d6", "type": "test"}, "4091": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_skew.2239f848ce", "type": "test"}, "4092": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size.4ba39d1f97", "type": "test"}, "4093": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size_delta.a047554669", "type": "test"}, "4094": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_rate.8b0c11dd33", "type": "test"}, "4095": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_velocity.e94823ecab", "type": "test"}, "4096": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_interest_rate.7281d4e302", "type": "test"}, "4097": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_rate_apr.d67d832c1f", "type": "test"}, "4098": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_long_rate_apr.12346bb56d", "type": "test"}, "4099": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_short_rate_apr.8f7be1f404", "type": "test"}, "4100": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size_usd.38c4eef62e", "type": "test"}, "4101": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_id.79b565b3e1", "type": "test"}, "4102": {"name": "test.synthetix.unique_fct_perp_liq_position_base_sepolia_id.115ce32bec", "type": "test"}, "4103": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_ts.57135ae312", "type": "test"}, "4104": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_block_number.1e9c90b546", "type": "test"}, "4105": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_transaction_hash.a0777a2fcc", "type": "test"}, "4106": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_account_id.8cf46dc9c7", "type": "test"}, "4107": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_market_id.781f0844d8", "type": "test"}, "4108": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_market_id__True__0.def98e4452", "type": "test"}, "4109": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_market_symbol.f750183220", "type": "test"}, "4110": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_amount_liquidated.a06e8cfcb4", "type": "test"}, "4111": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_amount_liquidated__True__0.2ed4eec011", "type": "test"}, "4112": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_position_size.75bf8c09a0", "type": "test"}, "4113": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_position_size__True__0.49ac413695", "type": "test"}, "4114": {"name": "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_account_id.f56cf61194", "type": "test"}, "4115": {"name": "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_ts.c34644894f", "type": "test"}, "4116": {"name": "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_total_reward.24d48c7864", "type": "test"}, "4117": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_base_sepolia_total_reward__True__0.42888d54ae", "type": "test"}, "4118": {"name": "test.synthetix.not_null_fct_perp_accounts_base_sepolia_id.e4031edaa1", "type": "test"}, "4119": {"name": "test.synthetix.unique_fct_perp_accounts_base_sepolia_id.1ca885b5ec", "type": "test"}, "4120": {"name": "test.synthetix.not_null_fct_perp_accounts_base_sepolia_created_ts.00ac8e7106", "type": "test"}, "4121": {"name": "test.synthetix.not_null_fct_perp_accounts_base_sepolia_owner.578268eb9a", "type": "test"}, "4122": {"name": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_ts.0b8a36c44c", "type": "test"}, "4123": {"name": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_snx_amount.113325e30a", "type": "test"}, "4124": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_snx_amount__True__0.378a6852a6", "type": "test"}, "4125": {"name": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_usd_amount.21bc5d392b", "type": "test"}, "4126": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_usd_amount__True__0.e3dd96895e", "type": "test"}, "4127": {"name": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount.c44f071e87", "type": "test"}, "4128": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_snx_amount__True__0.ab215eff09", "type": "test"}, "4129": {"name": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount.f40974a9be", "type": "test"}, "4130": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_usd_amount__True__0.f5fad30aa3", "type": "test"}, "4131": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_ts.39dec90aa4", "type": "test"}, "4132": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_snx_amount.a856b40de9", "type": "test"}, "4133": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_snx_amount__True__0.40ea0d5e88", "type": "test"}, "4134": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_usd_amount.4f119280f7", "type": "test"}, "4135": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_usd_amount__True__0.89592b2e7d", "type": "test"}, "4136": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount.806ce65de6", "type": "test"}, "4137": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_snx_amount__True__0.6d52afd421", "type": "test"}, "4138": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount.6347fe374e", "type": "test"}, "4139": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_usd_amount__True__0.e3d3aff3f1", "type": "test"}, "4140": {"name": "test.synthetix.not_null_fct_buyback_base_sepolia_id.03ec6b8e04", "type": "test"}, "4141": {"name": "test.synthetix.unique_fct_buyback_base_sepolia_id.ce5fc96649", "type": "test"}, "4142": {"name": "test.synthetix.not_null_fct_buyback_base_sepolia_ts.f6314da709", "type": "test"}, "4143": {"name": "test.synthetix.not_null_fct_buyback_base_sepolia_buyer.e7ec385108", "type": "test"}, "4144": {"name": "test.synthetix.not_null_fct_buyback_base_sepolia_snx.39b0dcead2", "type": "test"}, "4145": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0.21bd52e738", "type": "test"}, "4146": {"name": "test.synthetix.not_null_fct_buyback_base_sepolia_usd.427a3c3ca1", "type": "test"}, "4147": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0.7426b61d1a", "type": "test"}, "4148": {"name": "test.synthetix.not_null_fct_buyback_base_sepolia_snx_price.361a60f2b3", "type": "test"}, "4149": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_snx_price__True__0.fedfb306c2", "type": "test"}, "4150": {"name": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_ts.3bc8aeff42", "type": "test"}, "4151": {"name": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_pool_id.8de57769b7", "type": "test"}, "4152": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_pool_id__True__0.bb2309b03e", "type": "test"}, "4153": {"name": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_collateral_type.fcdb4bc8d4", "type": "test"}, "4154": {"name": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_distributor.44cab292b1", "type": "test"}, "4155": {"name": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_token_symbol.7f69f8767a", "type": "test"}, "4156": {"name": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_amount.e8cf1e51d5", "type": "test"}, "4157": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_amount__True__0.da53fcc671", "type": "test"}, "4158": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_ts.4b517eadb1", "type": "test"}, "4159": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_account_id.71a1fd9dac", "type": "test"}, "4160": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_pool_id.8eb393e4f4", "type": "test"}, "4161": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_pool_id__True__0.508b8be78d", "type": "test"}, "4162": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_collateral_type.dc085beb88", "type": "test"}, "4163": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_amount_delegated.07444b44f4", "type": "test"}, "4164": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_amount_delegated__True__0.2258d23e98", "type": "test"}, "4165": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_ts.2cc1721326", "type": "test"}, "4166": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_pool_id.a2ea5cc601", "type": "test"}, "4167": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_pool_id__True__0.dca944c591", "type": "test"}, "4168": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_collateral_type.7a5590eb90", "type": "test"}, "4169": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_collateral_value.6b7be2743f", "type": "test"}, "4170": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_collateral_value__True__0.50d2b91f46", "type": "test"}, "4171": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_debt.fadc5bb67a", "type": "test"}, "4172": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_issuance.2fcf5254d1", "type": "test"}, "4173": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_pnl.75c8c54189", "type": "test"}, "4174": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_cumulative_pnl.ce3ab4e606", "type": "test"}, "4175": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_cumulative_issuance.5f3ec9bec1", "type": "test"}, "4176": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_rewards_usd.0b9d66ba19", "type": "test"}, "4177": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_rewards_usd__True__0.090c92559d", "type": "test"}, "4178": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_pnl_pct.d827dc6b5f", "type": "test"}, "4179": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_rewards_pct.adeb7db337", "type": "test"}, "4180": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_hourly_rewards_pct__True__1__0.6c15e31d20", "type": "test"}, "4181": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_24h.275116a918", "type": "test"}, "4182": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_24h.b04b5222f4", "type": "test"}, "4183": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_7d.cfc4ec14a3", "type": "test"}, "4184": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_7d.45a63722a9", "type": "test"}, "4185": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_28d.e099bf170a", "type": "test"}, "4186": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_28d.1e8e0632e0", "type": "test"}, "4187": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_id.34d77ebc84", "type": "test"}, "4188": {"name": "test.synthetix.unique_fct_core_market_updated_base_sepolia_id.469dae108f", "type": "test"}, "4189": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_ts.9f306426fd", "type": "test"}, "4190": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_transaction_hash.8b87578f5d", "type": "test"}, "4191": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_event_name.027b71247d", "type": "test"}, "4192": {"name": "test.synthetix.accepted_values_fct_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.f97649ec10", "type": "test"}, "4193": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_market_id.e1e1cc407f", "type": "test"}, "4194": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_base_sepolia_market_id__True__0.9ac29d575a", "type": "test"}, "4195": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_collateral_type.5333cf7124", "type": "test"}, "4196": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_credit_capacity.1096ceee18", "type": "test"}, "4197": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_net_issuance.094fc9701e", "type": "test"}, "4198": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_token_amount.dfd33d6c7e", "type": "test"}, "4199": {"name": "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_ts.706747681b", "type": "test"}, "4200": {"name": "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_collateral_type.98bdc1fe0e", "type": "test"}, "4201": {"name": "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_amount_deposited.c9a6a6e3d1", "type": "test"}, "4202": {"name": "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_ts.29b697c43e", "type": "test"}, "4203": {"name": "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_pool_id.03e5ee04d2", "type": "test"}, "4204": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_base_sepolia_pool_id__True__0.6f4bec67e8", "type": "test"}, "4205": {"name": "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_collateral_type.6d78a9fae0", "type": "test"}, "4206": {"name": "test.synthetix.not_null_fct_core_pools_base_sepolia_id.b91a0ef35b", "type": "test"}, "4207": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_base_sepolia_id__True__0.6010b3107d", "type": "test"}, "4208": {"name": "test.synthetix.not_null_fct_core_pools_base_sepolia_created_ts.ddc75dd279", "type": "test"}, "4209": {"name": "test.synthetix.not_null_fct_core_pools_base_sepolia_block_number.68462f9c7c", "type": "test"}, "4210": {"name": "test.synthetix.not_null_fct_core_pools_base_sepolia_owner.e551fe7bc6", "type": "test"}, "4211": {"name": "test.synthetix.not_null_fct_pool_debt_base_sepolia_ts.955bd8bfe6", "type": "test"}, "4212": {"name": "test.synthetix.not_null_fct_pool_debt_base_sepolia_block_number.d6752d8232", "type": "test"}, "4213": {"name": "test.synthetix.not_null_fct_pool_debt_base_sepolia_pool_id.bb5f56d624", "type": "test"}, "4214": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_base_sepolia_pool_id__True__0.0228ac48ff", "type": "test"}, "4215": {"name": "test.synthetix.not_null_fct_pool_debt_base_sepolia_collateral_type.5daff7c138", "type": "test"}, "4216": {"name": "test.synthetix.not_null_fct_pool_debt_base_sepolia_debt.235edf4e17", "type": "test"}, "4217": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_ts.27f6b37554", "type": "test"}, "4218": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_pool_id.10ae437d68", "type": "test"}, "4219": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_base_sepolia_pool_id__True__0.9d327cf662", "type": "test"}, "4220": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type.1a6b56fdf4", "type": "test"}, "4221": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance.938e34bef0", "type": "test"}, "4222": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_ts.be998526ed", "type": "test"}, "4223": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_block_number.2f1e619103", "type": "test"}, "4224": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_transaction_hash.79420348fa", "type": "test"}, "4225": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_pool_id.5d2388a5a0", "type": "test"}, "4226": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_base_sepolia_pool_id__True__0.e99f9bdac0", "type": "test"}, "4227": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_collateral_type.3b36d49350", "type": "test"}, "4228": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_account_id.aa037160fb", "type": "test"}, "4229": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_amount.5be777c996", "type": "test"}, "4230": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_ts.5acc26229f", "type": "test"}, "4231": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_pool_id.c9853b1694", "type": "test"}, "4232": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_pool_id__True__0.05c766378f", "type": "test"}, "4233": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type.1eca6afa4f", "type": "test"}, "4234": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value.02a125e570", "type": "test"}, "4235": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_collateral_value__True__0.4f1a814d7b", "type": "test"}, "4236": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_debt.27270b83bd", "type": "test"}, "4237": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance.64beeb7093", "type": "test"}, "4238": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl.1b2d20f29b", "type": "test"}, "4239": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd.3d8b12547d", "type": "test"}, "4240": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_rewards_usd__True__0.9baf8da1f5", "type": "test"}, "4241": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct.5e738de9f7", "type": "test"}, "4242": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct.d3c5df3f72", "type": "test"}, "4243": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct__True__1__0.3ae208ff52", "type": "test"}, "4244": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct.32d5d04358", "type": "test"}, "4245": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_ts.521c0d428a", "type": "test"}, "4246": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_pool_id.9e81c4a855", "type": "test"}, "4247": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_pool_id__True__0.7fb80d19e2", "type": "test"}, "4248": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type.ca06f7aa20", "type": "test"}, "4249": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd.f98e64d589", "type": "test"}, "4250": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_rewards_usd__True__0.a1e92ad42f", "type": "test"}, "4251": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_ts.965132b4de", "type": "test"}, "4252": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id.be2709e1ec", "type": "test"}, "4253": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_pool_id__True__0.81592c4342", "type": "test"}, "4254": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_collateral_type.d1a6cde42d", "type": "test"}, "4255": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor.e0a88ca283", "type": "test"}, "4256": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_token_symbol.0efe3d5a1b", "type": "test"}, "4257": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_price.f86d19c3a1", "type": "test"}, "4258": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_price__True__0.5d2650f33d", "type": "test"}, "4259": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount.52789db2ec", "type": "test"}, "4260": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount__True__0.c330c461c1", "type": "test"}, "4261": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed.c0f649a5e2", "type": "test"}, "4262": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed__True__0.45dd358d86", "type": "test"}, "4263": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd.d3001484ac", "type": "test"}, "4264": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd__True__0.c0730ac36d", "type": "test"}, "4265": {"name": "test.synthetix.not_null_fct_synth_supply_base_sepolia_ts.0e3cf0c2f2", "type": "test"}, "4266": {"name": "test.synthetix.not_null_fct_synth_supply_base_sepolia_block_number.f0997efcd8", "type": "test"}, "4267": {"name": "test.synthetix.not_null_fct_synth_supply_base_sepolia_synth_market_id.75d7df8ce8", "type": "test"}, "4268": {"name": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_base_sepolia_synth_market_id__True__0.1c097f1721", "type": "test"}, "4269": {"name": "test.synthetix.not_null_fct_synth_supply_base_sepolia_supply.a13743a375", "type": "test"}, "4270": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_id.dfc0db9ed4", "type": "test"}, "4271": {"name": "test.synthetix.unique_fct_spot_atomics_base_sepolia_id.6c8ed0bc2a", "type": "test"}, "4272": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_ts.4bca6422cc", "type": "test"}, "4273": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_block_number.16d75a4323", "type": "test"}, "4274": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_tx_hash.6d969998c6", "type": "test"}, "4275": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_synth_market_id.e8f636df14", "type": "test"}, "4276": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_base_sepolia_synth_market_id__True__0.391b470dd2", "type": "test"}, "4277": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_price.ce30d003ce", "type": "test"}, "4278": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_amount.81264c756d", "type": "test"}, "4279": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_referrer.7533de1c2b", "type": "test"}, "4280": {"name": "test.synthetix.not_null_fct_spot_markets_base_sepolia_id.a355928e0f", "type": "test"}, "4281": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_base_sepolia_id__True__0.f6b3a1dac3", "type": "test"}, "4282": {"name": "test.synthetix.not_null_fct_spot_markets_base_sepolia_created_ts.69423c5ddb", "type": "test"}, "4283": {"name": "test.synthetix.not_null_fct_spot_markets_base_sepolia_block_number.25cd7e84c0", "type": "test"}, "4284": {"name": "test.synthetix.not_null_fct_spot_markets_base_sepolia_token_address.af639aa1d2", "type": "test"}, "4285": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_id.6458cf0796", "type": "test"}, "4286": {"name": "test.synthetix.unique_fct_spot_wrapper_base_sepolia_id.3a2fb8ee86", "type": "test"}, "4287": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_ts.8708b13a31", "type": "test"}, "4288": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_block_number.05149fa391", "type": "test"}, "4289": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_tx_hash.0df62cff0d", "type": "test"}, "4290": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_synth_market_id.54687d51aa", "type": "test"}, "4291": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_base_sepolia_synth_market_id__True__0.f4eedf4f3f", "type": "test"}, "4292": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_amount_wrapped.447890a6f4", "type": "test"}, "4293": {"name": "test.synthetix.not_null_fct_prices_base_sepolia_ts.2875b0c397", "type": "test"}, "4294": {"name": "test.synthetix.not_null_fct_prices_base_sepolia_market_symbol.e2a8214091", "type": "test"}, "4295": {"name": "test.synthetix.not_null_fct_prices_base_sepolia_price.3c29a949cf", "type": "test"}, "4296": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0.78bfe2f46a", "type": "test"}, "4297": {"name": "test.synthetix.not_null_fct_prices_hourly_base_sepolia_ts.fc60cfbaeb", "type": "test"}, "4298": {"name": "test.synthetix.not_null_fct_prices_hourly_base_sepolia_market_symbol.35c2706bfd", "type": "test"}, "4299": {"name": "test.synthetix.not_null_fct_prices_hourly_base_sepolia_price.e263ee2224", "type": "test"}, "4300": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_base_sepolia_price__True__0.9b4c65b6bd", "type": "test"}}} \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 00000000..c580ce91 --- /dev/null +++ b/index.html @@ -0,0 +1,75 @@ +dbt Docs
icons
diff --git a/manifest.json b/manifest.json new file mode 100644 index 00000000..6c5f090f --- /dev/null +++ b/manifest.json @@ -0,0 +1 @@ +{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/manifest/v12.json", "dbt_version": "1.8.5", "generated_at": "2024-08-13T21:25:12.211907Z", "invocation_id": "7acd4e94-8d2f-4261-b197-0931428af2be", "env": {}, "project_name": "synthetix", "project_id": "432a2fb49dc9be7695a9ebc3519d54bf", "user_id": "cc378475-d11b-4b1f-9e9b-ef48e1f12ef7", "send_anonymous_usage_stats": true, "adapter_type": "postgres"}, "nodes": {"model.synthetix.blocks_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "blocks_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/blocks_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/blocks_eth_mainnet.sql", "unique_id": "model.synthetix.blocks_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "blocks_eth_mainnet"], "alias": "blocks_eth_mainnet", "checksum": {"name": "sha256", "checksum": "7f1217ccb5c8dbab1a068470ae7a674e1a3f1d0771800468b9fce06701b58b47"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "Block numbers and timestamps", "columns": {"ts": {"name": "ts", "description": "UTC timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block height", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.2427945, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"blocks_eth_mainnet\"", "raw_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n {{ source(\n 'raw_eth_mainnet',\n 'block'\n ) }}\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n {{ source(\n 'raw_eth_mainnet',\n 'blocks_parquet'\n ) }}\n),\n\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "blocks_parquet"], ["raw_eth_mainnet", "block"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.synthetix.raw_eth_mainnet.blocks_parquet", "source.synthetix.raw_eth_mainnet.block"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/blocks_eth_mainnet.sql", "compiled": true, "compiled_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_eth_mainnet\".\"block\"\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_eth_mainnet\".\"blocks_parquet\"\n),\n\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_account_created_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_account_created_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_account_created_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_account_created_eth_mainnet.sql", "unique_id": "model.synthetix.core_account_created_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_account_created_eth_mainnet"], "alias": "core_account_created_eth_mainnet", "checksum": {"name": "sha256", "checksum": "c4cfc7e8544a8938cc197845f46b28183d0b09c494bd240b05ab85341b465aac"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "AccountCreated events from the CoreProxy contract", "columns": {"owner": {"name": "owner", "description": "Address of the account owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.337268, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_account_created_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'account_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_proxy_event_account_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_account_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_account_created_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_account_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_debt_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_vault_debt_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_vault_debt_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_vault_debt_eth_mainnet.sql", "unique_id": "model.synthetix.core_vault_debt_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_vault_debt_eth_mainnet"], "alias": "core_vault_debt_eth_mainnet", "checksum": {"name": "sha256", "checksum": "b17e0b4f29fdeded36a2218212a820ee1be0bc4da7cb8c314e667786fb2de14e"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Vault debt", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3709214, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_debt_eth_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n value_1 AS numeric\n ) AS debt\n FROM\n {{ source(\n 'raw_eth_mainnet',\n \"core_get_vault_debt\"\n ) }}\n WHERE\n value_1 IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n {{ convert_wei('base.debt') }} AS debt\nFROM\n base\n JOIN {{ source('raw_eth_mainnet', 'blocks_parquet') }} AS blocks\n ON base.block_number = blocks.block_number", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_get_vault_debt"], ["raw_eth_mainnet", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_eth_mainnet.core_get_vault_debt", "source.synthetix.raw_eth_mainnet.blocks_parquet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_debt_eth_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n value_1 AS numeric\n ) AS debt\n FROM\n \"analytics\".\"raw_eth_mainnet\".\"core_get_vault_debt\"\n WHERE\n value_1 IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n \n base.debt / 1e18\n AS debt\nFROM\n base\n JOIN \"analytics\".\"raw_eth_mainnet\".\"blocks_parquet\" AS blocks\n ON base.block_number = blocks.block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_collateral_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_vault_collateral_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_vault_collateral_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_vault_collateral_eth_mainnet.sql", "unique_id": "model.synthetix.core_vault_collateral_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_vault_collateral_eth_mainnet"], "alias": "core_vault_collateral_eth_mainnet", "checksum": {"name": "sha256", "checksum": "8cfd03dd13e9acef87acf1c437e65eaacd083ca172c7e4995982593b04e4c577"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Collateral amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Vault collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3694482, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n amount AS numeric\n ) AS amount,\n CAST(\n \"value\" AS numeric\n ) AS collateral_value\n FROM\n {{ source(\n 'raw_eth_mainnet',\n \"core_get_vault_collateral\"\n ) }}\n WHERE\n amount IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n {{ convert_wei('base.amount') }} AS amount,\n {{ convert_wei('base.collateral_value') }} AS collateral_value\nFROM\n base\n JOIN {{ source('raw_eth_mainnet', 'blocks_parquet') }} AS blocks\n ON base.block_number = blocks.block_number", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_get_vault_collateral"], ["raw_eth_mainnet", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_eth_mainnet.core_get_vault_collateral", "source.synthetix.raw_eth_mainnet.blocks_parquet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_collateral_eth_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n amount AS numeric\n ) AS amount,\n CAST(\n \"value\" AS numeric\n ) AS collateral_value\n FROM\n \"analytics\".\"raw_eth_mainnet\".\"core_get_vault_collateral\"\n WHERE\n amount IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n \n base.amount / 1e18\n AS amount,\n \n base.collateral_value / 1e18\n AS collateral_value\nFROM\n base\n JOIN \"analytics\".\"raw_eth_mainnet\".\"blocks_parquet\" AS blocks\n ON base.block_number = blocks.block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_liquidation_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_vault_liquidation_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_vault_liquidation_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_vault_liquidation_eth_mainnet.sql", "unique_id": "model.synthetix.core_vault_liquidation_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_vault_liquidation_eth_mainnet"], "alias": "core_vault_liquidation_eth_mainnet", "checksum": {"name": "sha256", "checksum": "4aa990c738869405ae5f52bb946ca08fce91e9e90af002730f35bfc84f8e167e"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "VaultLiquidation events from the CoreProxy contract", "columns": {"transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3670533, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'vault_liquidation'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_proxy_event_vault_liquidation"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_vault_liquidation"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_liquidation_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_vault_liquidation\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_deposited_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_deposited_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_deposited_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_deposited_eth_mainnet.sql", "unique_id": "model.synthetix.core_deposited_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_deposited_eth_mainnet"], "alias": "core_deposited_eth_mainnet", "checksum": {"name": "sha256", "checksum": "d2279749f8a141552da1c98d597d0ce57a127e742a44e4ad24f5a1dfdd01a508"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "Deposited events from the CoreProxy contract", "columns": {"collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the depositor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount deposited", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3455677, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'deposited'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_proxy_event_deposited"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_deposited"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_deposited_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_deposited\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_pool_created_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_pool_created_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_pool_created_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_pool_created_eth_mainnet.sql", "unique_id": "model.synthetix.core_pool_created_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_pool_created_eth_mainnet"], "alias": "core_pool_created_eth_mainnet", "checksum": {"name": "sha256", "checksum": "90e332ca3c2e1f9d482154119e13c2b2717b56d5a0e45cdb535a460db9ab9636"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "PoolCreated events from the CoreProxy contract", "columns": {"contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3569725, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'pool_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_proxy_event_pool_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_pool_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_pool_created_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_pool_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_market_registered_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_market_registered_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_market_registered_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_market_registered_eth_mainnet.sql", "unique_id": "model.synthetix.core_market_registered_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_market_registered_eth_mainnet"], "alias": "core_market_registered_eth_mainnet", "checksum": {"name": "sha256", "checksum": "79734b10dcc8512c28560e6cc6b507c8471534b87914459e270e245c58e2621a"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "MarketRegistered events from the CoreProxy contract", "columns": {"market": {"name": "market", "description": "Market name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "Market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3553774, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'market_registered'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_proxy_event_market_registered"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_market_registered"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_market_registered_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_market_registered\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_market_updated_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_market_updated_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_market_updated_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_market_updated_eth_mainnet.sql", "unique_id": "model.synthetix.core_market_updated_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_market_updated_eth_mainnet"], "alias": "core_market_updated_eth_mainnet", "checksum": {"name": "sha256", "checksum": "055caea0532a0abd0df4e852a9e5af1d66d3d6ae84e4adc0c14e1319b491f1a0"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "Combination of MarketCollateralDeposited, MarketCollateralWithdrawn, MarketUsdDeposited, MarketUsdWithdrawn events from the CoreProxy contract\n", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "deposited_collateral_value": {"name": "deposited_collateral_value", "description": "Deposited collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.353514, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"", "raw_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n {{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'market_collateral_deposited'\n ) }}\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n {{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'market_collateral_withdrawn'\n ) }}\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'market_usd_deposited'\n ) }}\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'market_usd_withdrawn'\n ) }}\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_proxy_event_market_collateral_deposited"], ["raw_eth_mainnet", "core_proxy_event_market_collateral_withdrawn"], ["raw_eth_mainnet", "core_proxy_event_market_usd_deposited"], ["raw_eth_mainnet", "core_proxy_event_market_usd_withdrawn"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_market_collateral_deposited", "source.synthetix.raw_eth_mainnet.core_proxy_event_market_collateral_withdrawn", "source.synthetix.raw_eth_mainnet.core_proxy_event_market_usd_deposited", "source.synthetix.raw_eth_mainnet.core_proxy_event_market_usd_withdrawn"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_market_updated_eth_mainnet.sql", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_market_collateral_deposited\"\n\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_market_collateral_withdrawn\"\n\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_market_usd_deposited\"\n\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_market_usd_withdrawn\"\n\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_rewards_distributed_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_rewards_distributed_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_rewards_distributed_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_rewards_distributed_eth_mainnet.sql", "unique_id": "model.synthetix.core_rewards_distributed_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_rewards_distributed_eth_mainnet"], "alias": "core_rewards_distributed_eth_mainnet", "checksum": {"name": "sha256", "checksum": "11d33684084fd647e87338fd640d00c92b2f6137ab4c529f2ba61090ef946ecf"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "RewardsDistributed events from the CoreProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount claimed", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "start": {"name": "start", "description": "UNIX timestamp", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "duration": {"name": "duration", "description": "Duration in seconds", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3616793, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'rewards_distributed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_proxy_event_rewards_distributed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_distributed"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_rewards_distributed_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_rewards_distributed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_withdrawn_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_withdrawn_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_withdrawn_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_withdrawn_eth_mainnet.sql", "unique_id": "model.synthetix.core_withdrawn_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_withdrawn_eth_mainnet"], "alias": "core_withdrawn_eth_mainnet", "checksum": {"name": "sha256", "checksum": "893b358cd25ef9334a00b1a62b168d0741bcc77e5dfb6bc7efc7530db7bf7d07"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "Withdrawn events from the CoreProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount withdrawn", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the withdrawer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3472202, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'withdrawn'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_proxy_event_withdrawn"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_withdrawn"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_withdrawn_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_withdrawn\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_rewards_claimed_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_rewards_claimed_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_rewards_claimed_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_rewards_claimed_eth_mainnet.sql", "unique_id": "model.synthetix.core_rewards_claimed_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_rewards_claimed_eth_mainnet"], "alias": "core_rewards_claimed_eth_mainnet", "checksum": {"name": "sha256", "checksum": "e9f5932dd8e8cb69b3f5d7371aa15e82e6fc8f6ff7acfa0ba9cca1bff837687e"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "RewardsClaimed events from the CoreProxy contract", "columns": {"transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.35908, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'rewards_claimed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_proxy_event_rewards_claimed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_claimed"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_rewards_claimed_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_rewards_claimed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_delegation_updated_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_delegation_updated_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_delegation_updated_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_delegation_updated_eth_mainnet.sql", "unique_id": "model.synthetix.core_delegation_updated_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_delegation_updated_eth_mainnet"], "alias": "core_delegation_updated_eth_mainnet", "checksum": {"name": "sha256", "checksum": "eab29340bde71cbf14e4271cbc57c56b4510350ad233af0c416a8987367501cd"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "DelegationUpdated events from the CoreProxy contract", "columns": {"contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "leverage": {"name": "leverage", "description": "Leverage", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3436065, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'delegation_updated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_proxy_event_delegation_updated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_delegation_updated"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_delegation_updated_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_delegation_updated\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_liquidation_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_liquidation_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_liquidation_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_liquidation_eth_mainnet.sql", "unique_id": "model.synthetix.core_liquidation_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_liquidation_eth_mainnet"], "alias": "core_liquidation_eth_mainnet", "checksum": {"name": "sha256", "checksum": "14c784442c6a4abe6092fd6836e860135b269486194735507132d3079564b788"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "Liquidation events from the CoreProxy contract", "columns": {"pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the liquidator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3501823, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'liquidation'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_proxy_event_liquidation"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_liquidation"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_liquidation_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_liquidation\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_account_migrated_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_account_migrated_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_account_migrated_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_account_migrated_eth_mainnet.sql", "unique_id": "model.synthetix.core_account_migrated_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_account_migrated_eth_mainnet"], "alias": "core_account_migrated_eth_mainnet", "checksum": {"name": "sha256", "checksum": "ecf4e15e73d61b4b38590f21fcbba163462d4512aafb0b4c9f037619ae845ab7"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "AccountMigrated events from the legacy market Proxy contract", "columns": {"staker": {"name": "staker", "description": "Address of the V2x staker", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_amount": {"name": "collateral_amount", "description": "Amount of SNX collateral being migrated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt_amount": {"name": "debt_amount", "description": "Amount of SNX debt being migrated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3399231, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'legacy_market_proxy',\n 'account_migrated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "legacy_market_proxy_event_account_migrated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.legacy_market_proxy_event_account_migrated"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_account_migrated_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"legacy_market_proxy_event_account_migrated\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_usd_burned_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_usd_burned_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_usd_burned_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_usd_burned_eth_mainnet.sql", "unique_id": "model.synthetix.core_usd_burned_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_usd_burned_eth_mainnet"], "alias": "core_usd_burned_eth_mainnet", "checksum": {"name": "sha256", "checksum": "c3c3734dfbfd4256110f64fd688cdf7bbb1218326280ad5bfdefb8f6bb50fe73"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "UsdBurned events from the CoreProxy contract", "columns": {"amount": {"name": "amount", "description": "Amount burned", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3635721, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'usd_burned'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_proxy_event_usd_burned"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_usd_burned"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_usd_burned_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_usd_burned\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_usd_minted_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_usd_minted_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_usd_minted_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_usd_minted_eth_mainnet.sql", "unique_id": "model.synthetix.core_usd_minted_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_usd_minted_eth_mainnet"], "alias": "core_usd_minted_eth_mainnet", "checksum": {"name": "sha256", "checksum": "336c25b2b7c250443947c4543c07a0056d4a26d2a036ade43cb7d2e9f92c1f75"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "UsdMinted events from the CoreProxy contract", "columns": {"pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount minted", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3653293, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'usd_minted'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_proxy_event_usd_minted"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_usd_minted"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_usd_minted_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_usd_minted\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.blocks_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "blocks_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/blocks_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/blocks_arbitrum_mainnet.sql", "unique_id": "model.synthetix.blocks_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "blocks_arbitrum_mainnet"], "alias": "blocks_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "c5cfbaf3a34774b4ced4d5ddf060c63f98fcf9611775c888c99acd1ee1e2c1b6"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "Block numbers and timestamps", "columns": {"ts": {"name": "ts", "description": "UTC timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block height", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1723584316.8906252, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"blocks_arbitrum_mainnet\"", "raw_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n {{ source(\n 'raw_arbitrum_mainnet',\n 'block'\n ) }}\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n {{ source(\n 'raw_arbitrum_mainnet',\n 'blocks_parquet'\n ) }}\n),\n\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "block"], ["raw_arbitrum_mainnet", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.synthetix.raw_arbitrum_mainnet.block", "source.synthetix.raw_arbitrum_mainnet.blocks_parquet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/blocks_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"block\"\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"blocks_parquet\"\n),\n\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_rewards_claimed_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_rewards_claimed_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_rewards_claimed_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_rewards_claimed_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_rewards_claimed_arbitrum_mainnet"], "alias": "core_rewards_claimed_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "f05c5bb03bf3f2f63da225fec70fd3512ba0eb98f6ec5141110201903a21fb81"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "RewardsClaimed events from the CoreProxy contract", "columns": {"transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1723584316.9149714, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'rewards_claimed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_rewards_claimed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_rewards_claimed_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_rewards_claimed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_market_registered_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_market_registered_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_market_registered_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_market_registered_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_market_registered_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_market_registered_arbitrum_mainnet"], "alias": "core_market_registered_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "fca578a9831249f11cbf97e0b963f00eb4648c20536c23c5e4602c1d2470e7d6"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "MarketRegistered events from the CoreProxy contract", "columns": {"market": {"name": "market", "description": "Market name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "Market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1723584316.911702, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'market_registered'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_market_registered"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_market_registered_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_registered\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_collateral_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_vault_collateral_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_vault_collateral_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_vault_collateral_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_vault_collateral_arbitrum_mainnet"], "alias": "core_vault_collateral_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "08532133d690ec71dbff92db853b349fb3e4496822b5ad108cf8b5cff8d568e7"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Collateral amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Vault collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1723584316.923597, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"", "raw_code": "with base as (\n select\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n cast(\n amount as numeric\n ) as amount,\n cast(\n value as numeric\n ) as collateral_value\n from\n {{ source(\n 'raw_arbitrum_mainnet',\n \"core_get_vault_collateral\"\n ) }}\n where\n amount is not null\n)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as block_number,\n base.contract_address,\n cast(\n base.pool_id as integer\n ) as pool_id,\n cast(\n base.collateral_type as varchar\n ) as collateral_type,\n {{ convert_wei('base.amount') }} as amount,\n {{ convert_wei('base.collateral_value') }} as collateral_value\nfrom\n base\ninner join {{ source('raw_arbitrum_mainnet', 'blocks_parquet') }} as blocks\n on base.block_number = blocks.block_number", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_get_vault_collateral"], ["raw_arbitrum_mainnet", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral", "source.synthetix.raw_arbitrum_mainnet.blocks_parquet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_collateral_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "with base as (\n select\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n cast(\n amount as numeric\n ) as amount,\n cast(\n value as numeric\n ) as collateral_value\n from\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_get_vault_collateral\"\n where\n amount is not null\n)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as block_number,\n base.contract_address,\n cast(\n base.pool_id as integer\n ) as pool_id,\n cast(\n base.collateral_type as varchar\n ) as collateral_type,\n \n base.amount / 1e18\n as amount,\n \n base.collateral_value / 1e18\n as collateral_value\nfrom\n base\ninner join \"analytics\".\"raw_arbitrum_mainnet\".\"blocks_parquet\" as blocks\n on base.block_number = blocks.block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_account_created_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_account_created_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_account_created_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_account_created_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_account_created_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_account_created_arbitrum_mainnet"], "alias": "core_account_created_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "03b529fd2caffaa47a2c5e4ee174d5bb3d76a64635dfb6da55db6d078acc85b0"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "AccountCreated events from the CoreProxy contract", "columns": {"owner": {"name": "owner", "description": "Address of the account owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1723584316.9001722, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'account_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_account_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_account_created_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_account_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_delegation_updated_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_delegation_updated_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_delegation_updated_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_delegation_updated_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_delegation_updated_arbitrum_mainnet"], "alias": "core_delegation_updated_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "f5bf2169e9c72dd2bcd2976effbf9e703b3f005c955326de12ed9490967df0eb"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "DelegationUpdated events from the CoreProxy contract", "columns": {"contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "leverage": {"name": "leverage", "description": "Leverage", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1723584316.902151, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'delegation_updated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_delegation_updated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_delegation_updated"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_delegation_updated_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_delegation_updated\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_rewards_distributed_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_rewards_distributed_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_rewards_distributed_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_rewards_distributed_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_rewards_distributed_arbitrum_mainnet"], "alias": "core_rewards_distributed_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "7b775a38ac7662920deb8087d3f9228fe407ce99ea0dcc3756335e96da122d27"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "RewardsDistributed events from the CoreProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount claimed", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "start": {"name": "start", "description": "UNIX timestamp", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "duration": {"name": "duration", "description": "Duration in seconds", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1723584316.9169016, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'rewards_distributed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_rewards_distributed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_distributed"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_rewards_distributed_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_rewards_distributed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_pool_created_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_pool_created_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_pool_created_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_pool_created_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_pool_created_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_pool_created_arbitrum_mainnet"], "alias": "core_pool_created_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "dbdeb45169e27e69f0bb0a87dd43807242d084d33ac58646f93aecd1e38e5cb5"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "PoolCreated events from the CoreProxy contract", "columns": {"contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1723584316.91322, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'pool_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_pool_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_pool_created_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_pool_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_liquidation_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_liquidation_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_liquidation_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_liquidation_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_liquidation_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_liquidation_arbitrum_mainnet"], "alias": "core_liquidation_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "c4953e37eb5ca809b383e8d13090b43b4fa33d6053836cf57a969cd083fba9a3"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "Liquidation events from the CoreProxy contract", "columns": {"pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the liquidator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1723584316.9076262, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'liquidation'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_liquidation"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_liquidation"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_liquidation_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_liquidation\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_deposited_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_deposited_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_deposited_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_deposited_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_deposited_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_deposited_arbitrum_mainnet"], "alias": "core_deposited_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "66cfe12e8147ecfcaa370240690497b5e27db83c8764ac207ebcff39cd21068c"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "Deposited events from the CoreProxy contract", "columns": {"collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the depositor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount deposited", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1723584316.9040005, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'deposited'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_deposited"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_deposited"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_deposited_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_deposited\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_debt_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_vault_debt_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_vault_debt_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_vault_debt_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_vault_debt_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_vault_debt_arbitrum_mainnet"], "alias": "core_vault_debt_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "c503d509e76614967df9ff3d23b7513b4f53fd595e5277b5c00be52507d145d9"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Vault debt", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1723584316.924779, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_debt_arbitrum_mainnet\"", "raw_code": "with base as (\n select\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n cast(\n value_1 as numeric\n ) as debt\n from\n {{ source(\n 'raw_arbitrum_mainnet',\n \"core_get_vault_debt\"\n ) }}\n where\n value_1 is not null\n)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as block_number,\n base.contract_address,\n cast(\n base.pool_id as integer\n ) as pool_id,\n cast(\n base.collateral_type as varchar\n ) as collateral_type,\n {{ convert_wei('base.debt') }} as debt\nfrom\n base\ninner join {{ source('raw_arbitrum_mainnet', 'blocks_parquet') }} as blocks\n on base.block_number = blocks.block_number", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_get_vault_debt"], ["raw_arbitrum_mainnet", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt", "source.synthetix.raw_arbitrum_mainnet.blocks_parquet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_debt_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "with base as (\n select\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n cast(\n value_1 as numeric\n ) as debt\n from\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_get_vault_debt\"\n where\n value_1 is not null\n)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as block_number,\n base.contract_address,\n cast(\n base.pool_id as integer\n ) as pool_id,\n cast(\n base.collateral_type as varchar\n ) as collateral_type,\n \n base.debt / 1e18\n as debt\nfrom\n base\ninner join \"analytics\".\"raw_arbitrum_mainnet\".\"blocks_parquet\" as blocks\n on base.block_number = blocks.block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_usd_burned_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_usd_burned_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_usd_burned_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_usd_burned_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_usd_burned_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_usd_burned_arbitrum_mainnet"], "alias": "core_usd_burned_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "dfb93e36097af123886b9bc24360f01d2fc04ead87e088358194749353cde646"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "UsdBurned events from the CoreProxy contract", "columns": {"amount": {"name": "amount", "description": "Amount burned", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1723584316.9186885, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'usd_burned'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_usd_burned"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_burned"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_usd_burned_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_usd_burned\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_withdrawn_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_withdrawn_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_withdrawn_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_withdrawn_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_withdrawn_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_withdrawn_arbitrum_mainnet"], "alias": "core_withdrawn_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "b5218d8a5f5d9b1e2b6bfd58121bd917660b1856db9528432b94fb9f17106d7e"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "Withdrawn events from the CoreProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount withdrawn", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the withdrawer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1723584316.9056804, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'withdrawn'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_withdrawn"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_withdrawn_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_withdrawn\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_market_updated_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_market_updated_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_market_updated_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_market_updated_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_market_updated_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_market_updated_arbitrum_mainnet"], "alias": "core_market_updated_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "3dc31a1ac69705c39875ee207753e76af3e87a7a263ea031a1d9d8b680406cb0"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "Combination of MarketCollateralDeposited, MarketCollateralWithdrawn, MarketUsdDeposited, MarketUsdWithdrawn events from the CoreProxy contract\n", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "deposited_collateral_value": {"name": "deposited_collateral_value", "description": "Deposited collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1723584316.9100711, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"", "raw_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n {{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'market_collateral_deposited'\n ) }}\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n {{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'market_collateral_withdrawn'\n ) }}\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'market_usd_deposited'\n ) }}\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'market_usd_withdrawn'\n ) }}\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_market_collateral_deposited"], ["raw_arbitrum_mainnet", "core_proxy_event_market_collateral_withdrawn"], ["raw_arbitrum_mainnet", "core_proxy_event_market_usd_deposited"], ["raw_arbitrum_mainnet", "core_proxy_event_market_usd_withdrawn"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_deposited", "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_withdrawn", "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_deposited", "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_withdrawn"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_market_updated_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_collateral_deposited\"\n\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_collateral_withdrawn\"\n\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_usd_deposited\"\n\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_usd_withdrawn\"\n\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_usd_minted_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_usd_minted_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_usd_minted_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_usd_minted_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_usd_minted_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_usd_minted_arbitrum_mainnet"], "alias": "core_usd_minted_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "0dfa98a4c6a52c14dc0ec647d4e7e086968f0f079cd55a8c7b9881a21c5c4edc"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "UsdMinted events from the CoreProxy contract", "columns": {"pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount minted", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1723584316.9204547, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'usd_minted'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_usd_minted"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_minted"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_usd_minted_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_usd_minted\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_liquidation_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_vault_liquidation_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_vault_liquidation_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_vault_liquidation_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_vault_liquidation_arbitrum_mainnet"], "alias": "core_vault_liquidation_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "f9db0b46de7d6d32fa672cc76656b94a70d5a477a005d1da8263186c747c03d2"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "VaultLiquidation events from the CoreProxy contract", "columns": {"transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1723584316.9221687, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'vault_liquidation'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_vault_liquidation"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_liquidation_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_vault_liquidation\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_sold_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_sold_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/spot/spot_synth_sold_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/spot_synth_sold_arbitrum_mainnet.sql", "unique_id": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "spot_synth_sold_arbitrum_mainnet"], "alias": "spot_synth_sold_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "31df026d77a280e56bbf3609c846534f6b24c6533cf00103d368166d3b0746d2"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "SynthSold events from the SpotMarketProxy contract", "columns": {"event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_returned": {"name": "amount_returned", "description": "Amount returned", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1723584317.412812, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'spot_market_proxy',\n 'synth_sold'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "spot_market_proxy_event_synth_sold"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_sold"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_sold_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_sold\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_bought_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_bought_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/spot/spot_synth_bought_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/spot_synth_bought_arbitrum_mainnet.sql", "unique_id": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "spot_synth_bought_arbitrum_mainnet"], "alias": "spot_synth_bought_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "6d7270eaad10766ac903650dd89388215749a90fc570541a98b2aec70b791ad1"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "SynthBought events from the SpotMarketProxy contract", "columns": {"collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "synth_returned": {"name": "synth_returned", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1723584317.4105117, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'spot_market_proxy',\n 'synth_bought'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "spot_market_proxy_event_synth_bought"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_bought"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_bought_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_bought\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_committed_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_order_committed_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/spot/spot_order_committed_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/spot_order_committed_arbitrum_mainnet.sql", "unique_id": "model.synthetix.spot_order_committed_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "spot_order_committed_arbitrum_mainnet"], "alias": "spot_order_committed_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "7e3b2e4c34c6c9d267f144c3b2ef6fd6ea58705e47b0681d8843e90c13763a5a"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "OrderCommitted events from the SpotMarketProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_provided": {"name": "amount_provided", "description": "Amount provided", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "Type of order", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1723584317.3998969, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'spot_market_proxy',\n 'order_committed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "spot_market_proxy_event_order_committed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_committed"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_committed_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_order_committed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_registered_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_registered_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/spot/spot_synth_registered_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/spot_synth_registered_arbitrum_mainnet.sql", "unique_id": "model.synthetix.spot_synth_registered_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "spot_synth_registered_arbitrum_mainnet"], "alias": "spot_synth_registered_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "a43c78e1d07816684a33756713e88a9d6e0dc414f5d155f8fea5aff9bc691c2c"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "SynthRegistered events from the SpotMarketProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_token_address": {"name": "synth_token_address", "description": "Address of the synth token", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1723584317.4078424, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'spot_market_proxy',\n 'synth_registered'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "spot_market_proxy_event_synth_registered"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_registered"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_registered_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_registered\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_cancelled_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_order_cancelled_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/spot/spot_order_cancelled_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/spot_order_cancelled_arbitrum_mainnet.sql", "unique_id": "model.synthetix.spot_order_cancelled_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "spot_order_cancelled_arbitrum_mainnet"], "alias": "spot_order_cancelled_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "d990d04b0826df90248d494e12b317cfda1c77d3150b85ffcba2bd108027265c"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "OrderCancelled events from the SpotMarketProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "async_order_claim": {"name": "async_order_claim", "description": "Async order clain", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1723584317.405718, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'spot_market_proxy',\n 'order_cancelled'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "spot_market_proxy_event_order_cancelled"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_cancelled"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_cancelled_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_order_cancelled\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_settled_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_order_settled_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/spot/spot_order_settled_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/spot_order_settled_arbitrum_mainnet.sql", "unique_id": "model.synthetix.spot_order_settled_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "spot_order_settled_arbitrum_mainnet"], "alias": "spot_order_settled_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "31b8c68f36467ac51ba256e259172446d75e67bbbbb2b4b13986fd4e083e45a6"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "OrderSettled events from the SpotMarketProxy contract", "columns": {"final_order_amount": {"name": "final_order_amount", "description": "Final order amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settler": {"name": "settler", "description": "Address of the settler", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "Type of order", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1723584317.403807, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'spot_market_proxy',\n 'order_settled'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "spot_market_proxy_event_order_settled"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_settled"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_settled_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_order_settled\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_unwrapped_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/spot/spot_synth_unwrapped_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/spot_synth_unwrapped_arbitrum_mainnet.sql", "unique_id": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "spot_synth_unwrapped_arbitrum_mainnet"], "alias": "spot_synth_unwrapped_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "f9fc4049fe5a1e345522415b569a82b4618ed452df5c8faddd850d755ad775dd"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "SynthUnwrapped events from the SpotMarketProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "amount_unwrapped": {"name": "amount_unwrapped", "description": "Amount of synth unwrapped", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees_collected": {"name": "fees_collected", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1723584317.4171777, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'spot_market_proxy',\n 'synth_unwrapped'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "spot_market_proxy_event_synth_unwrapped"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_unwrapped"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_unwrapped_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_unwrapped\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_wrapped_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_wrapped_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/spot/spot_synth_wrapped_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/spot_synth_wrapped_arbitrum_mainnet.sql", "unique_id": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "spot_synth_wrapped_arbitrum_mainnet"], "alias": "spot_synth_wrapped_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "b8604c839a2130f18cd7fc69b6936a3d3fcd880bbbb6698253e6ea54130aa444"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "SynthWrapped events from the SpotMarketProxy contract", "columns": {"fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "amount_wrapped": {"name": "amount_wrapped", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees_collected": {"name": "fees_collected", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1723584317.4150553, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'spot_market_proxy',\n 'synth_wrapped'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "spot_market_proxy_event_synth_wrapped"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_wrapped"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_wrapped_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_wrapped\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.blocks_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "blocks_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/blocks_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/blocks_arbitrum_sepolia.sql", "unique_id": "model.synthetix.blocks_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "blocks_arbitrum_sepolia"], "alias": "blocks_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "53365c494dfa2ac9759de2cf6de05317a9fe21c6c915dd0b4e67b0b3caf40461"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "Block numbers and timestamps", "columns": {"ts": {"name": "ts", "description": "UTC timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block height", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1723584317.679816, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"blocks_arbitrum_sepolia\"", "raw_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n {{ source(\n 'raw_arbitrum_sepolia',\n 'block'\n ) }}\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n {{ source(\n 'raw_arbitrum_sepolia',\n 'blocks_parquet'\n ) }}\n),\n\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "blocks_parquet"], ["raw_arbitrum_sepolia", "block"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.synthetix.raw_arbitrum_sepolia.blocks_parquet", "source.synthetix.raw_arbitrum_sepolia.block"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/blocks_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"block\"\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"blocks_parquet\"\n),\n\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_liquidation_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_vault_liquidation_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_vault_liquidation_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_vault_liquidation_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_vault_liquidation_arbitrum_sepolia"], "alias": "core_vault_liquidation_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "af1d9b60fdf93aadbb260cd7bf3d51f63801c18a4497b864c3034757f5372594"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "VaultLiquidation events from the CoreProxy contract", "columns": {"transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1723584317.7117798, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'vault_liquidation'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_vault_liquidation"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_vault_liquidation"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_liquidation_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_vault_liquidation\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_rewards_distributed_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_rewards_distributed_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_rewards_distributed_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_rewards_distributed_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_rewards_distributed_arbitrum_sepolia"], "alias": "core_rewards_distributed_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "80c46d2fa6c604049a0e7313ce25820def3dcecc1b3f9edb71ef9f25223ab8b6"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "RewardsDistributed events from the CoreProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount claimed", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "start": {"name": "start", "description": "UNIX timestamp", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "duration": {"name": "duration", "description": "Duration in seconds", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1723584317.706424, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'rewards_distributed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_rewards_distributed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_distributed"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_rewards_distributed_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_rewards_distributed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_collateral_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_vault_collateral_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_vault_collateral_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_vault_collateral_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_vault_collateral_arbitrum_sepolia"], "alias": "core_vault_collateral_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "12cb706a227771b55d7751ce86a4ba7f61325523d81c9a28bca67667e9820f68"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Collateral amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Vault collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1723584317.713168, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"", "raw_code": "with base as (\n select\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n cast(\n amount as numeric\n ) as amount,\n cast(\n value as numeric\n ) as collateral_value\n from\n {{ source(\n 'raw_arbitrum_sepolia',\n \"core_get_vault_collateral\"\n ) }}\n where\n amount is not null\n)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as block_number,\n base.contract_address,\n cast(\n base.pool_id as integer\n ) as pool_id,\n cast(\n base.collateral_type as varchar\n ) as collateral_type,\n {{ convert_wei('base.amount') }} as amount,\n {{ convert_wei('base.collateral_value') }} as collateral_value\nfrom\n base\ninner join {{ source('raw_arbitrum_sepolia', 'blocks_parquet') }} as blocks\n on base.block_number = blocks.block_number", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_get_vault_collateral"], ["raw_arbitrum_sepolia", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_get_vault_collateral", "source.synthetix.raw_arbitrum_sepolia.blocks_parquet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_collateral_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "with base as (\n select\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n cast(\n amount as numeric\n ) as amount,\n cast(\n value as numeric\n ) as collateral_value\n from\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_get_vault_collateral\"\n where\n amount is not null\n)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as block_number,\n base.contract_address,\n cast(\n base.pool_id as integer\n ) as pool_id,\n cast(\n base.collateral_type as varchar\n ) as collateral_type,\n \n base.amount / 1e18\n as amount,\n \n base.collateral_value / 1e18\n as collateral_value\nfrom\n base\ninner join \"analytics\".\"raw_arbitrum_sepolia\".\"blocks_parquet\" as blocks\n on base.block_number = blocks.block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_delegation_updated_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_delegation_updated_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_delegation_updated_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_delegation_updated_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_delegation_updated_arbitrum_sepolia"], "alias": "core_delegation_updated_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "cef7204706b5bdfdc82b9f8b019a33d317cd0254495673a9b4e132dc46abd38d"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "DelegationUpdated events from the CoreProxy contract", "columns": {"contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "leverage": {"name": "leverage", "description": "Leverage", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1723584317.6919959, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'delegation_updated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_delegation_updated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_delegation_updated_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_delegation_updated\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_deposited_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_deposited_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_deposited_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_deposited_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_deposited_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_deposited_arbitrum_sepolia"], "alias": "core_deposited_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "a1f3b746267829fc22f555604b226d98956df924bcb01a41c4a2763e546aa4ce"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "Deposited events from the CoreProxy contract", "columns": {"collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the depositor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount deposited", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1723584317.6938465, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'deposited'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_deposited"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_deposited"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_deposited_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_deposited\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_liquidation_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_liquidation_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_liquidation_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_liquidation_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_liquidation_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_liquidation_arbitrum_sepolia"], "alias": "core_liquidation_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "1a834b87c375d703ff0324284885b903e3cc25f207d0a754c2f0e2c8da46af8c"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "Liquidation events from the CoreProxy contract", "columns": {"pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the liquidator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1723584317.6974146, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'liquidation'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_liquidation"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_liquidation"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_liquidation_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_liquidation\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_pool_created_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_pool_created_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_pool_created_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_pool_created_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_pool_created_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_pool_created_arbitrum_sepolia"], "alias": "core_pool_created_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "bbea92a5ccc2f91d8ba5b9fee49794534db96618e2de245be61adfebd7e0e2d7"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "PoolCreated events from the CoreProxy contract", "columns": {"contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1723584317.7026153, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'pool_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_pool_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_pool_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_pool_created_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_pool_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_account_created_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_account_created_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_account_created_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_account_created_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_account_created_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_account_created_arbitrum_sepolia"], "alias": "core_account_created_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "7af4b82f54734dda2c5b2934adbee9a141999a2591ea4ecc978a2f69139ac648"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "AccountCreated events from the CoreProxy contract", "columns": {"owner": {"name": "owner", "description": "Address of the account owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1723584317.6899798, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'account_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_account_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_account_created_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_account_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_market_registered_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_market_registered_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_market_registered_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_market_registered_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_market_registered_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_market_registered_arbitrum_sepolia"], "alias": "core_market_registered_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "86b0c778b519247318bdb6d9680e146b6043aef0d0d5e45e730623e3e2f092d3"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "MarketRegistered events from the CoreProxy contract", "columns": {"market": {"name": "market", "description": "Market name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "Market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1723584317.7011008, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'market_registered'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_market_registered"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_registered"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_market_registered_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_registered\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_market_updated_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_market_updated_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_market_updated_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_market_updated_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_market_updated_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_market_updated_arbitrum_sepolia"], "alias": "core_market_updated_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "194e350b0d196ade1d77fc7cfed3935fedd28f327585b25eeafc8d0228f6e94f"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "Combination of MarketCollateralDeposited, MarketCollateralWithdrawn, MarketUsdDeposited, MarketUsdWithdrawn events from the CoreProxy contract\n", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "deposited_collateral_value": {"name": "deposited_collateral_value", "description": "Deposited collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1723584317.699561, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"", "raw_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n {{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'market_collateral_deposited'\n ) }}\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n {{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'market_collateral_withdrawn'\n ) }}\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'market_usd_deposited'\n ) }}\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'market_usd_withdrawn'\n ) }}\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_market_collateral_deposited"], ["raw_arbitrum_sepolia", "core_proxy_event_market_collateral_withdrawn"], ["raw_arbitrum_sepolia", "core_proxy_event_market_usd_deposited"], ["raw_arbitrum_sepolia", "core_proxy_event_market_usd_withdrawn"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_deposited", "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_withdrawn", "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_deposited", "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_withdrawn"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_market_updated_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_collateral_deposited\"\n\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_collateral_withdrawn\"\n\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_usd_deposited\"\n\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_usd_withdrawn\"\n\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_debt_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_vault_debt_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_vault_debt_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_vault_debt_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_vault_debt_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_vault_debt_arbitrum_sepolia"], "alias": "core_vault_debt_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "ded1d3533c12a82b37e6baff4447f5bfde39ffd5aa2d0d185512016a0b30ede3"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Vault debt", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1723584317.7143426, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_debt_arbitrum_sepolia\"", "raw_code": "with base as (\n select\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n cast(\n value_1 as numeric\n ) as debt\n from\n {{ source(\n 'raw_arbitrum_sepolia',\n \"core_get_vault_debt\"\n ) }}\n where\n value_1 is not null\n)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as block_number,\n base.contract_address,\n cast(\n base.pool_id as integer\n ) as pool_id,\n cast(\n base.collateral_type as varchar\n ) as collateral_type,\n {{ convert_wei('base.debt') }} as debt\nfrom\n base\ninner join {{ source('raw_arbitrum_sepolia', 'blocks_parquet') }} as blocks\n on base.block_number = blocks.block_number", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_get_vault_debt"], ["raw_arbitrum_sepolia", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_get_vault_debt", "source.synthetix.raw_arbitrum_sepolia.blocks_parquet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_debt_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "with base as (\n select\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n cast(\n value_1 as numeric\n ) as debt\n from\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_get_vault_debt\"\n where\n value_1 is not null\n)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as block_number,\n base.contract_address,\n cast(\n base.pool_id as integer\n ) as pool_id,\n cast(\n base.collateral_type as varchar\n ) as collateral_type,\n \n base.debt / 1e18\n as debt\nfrom\n base\ninner join \"analytics\".\"raw_arbitrum_sepolia\".\"blocks_parquet\" as blocks\n on base.block_number = blocks.block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_withdrawn_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_withdrawn_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_withdrawn_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_withdrawn_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_withdrawn_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_withdrawn_arbitrum_sepolia"], "alias": "core_withdrawn_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "560755ffc4a2a956c7c62825da3972088bd9538b579eff35ace1e0ef8c978ff0"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "Withdrawn events from the CoreProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount withdrawn", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the withdrawer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1723584317.6955688, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'withdrawn'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_withdrawn"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_withdrawn"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_withdrawn_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_withdrawn\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_rewards_claimed_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_rewards_claimed_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_rewards_claimed_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_rewards_claimed_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_rewards_claimed_arbitrum_sepolia"], "alias": "core_rewards_claimed_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "f05c5bb03bf3f2f63da225fec70fd3512ba0eb98f6ec5141110201903a21fb81"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "RewardsClaimed events from the CoreProxy contract", "columns": {"transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1723584317.7044637, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'rewards_claimed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_rewards_claimed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_rewards_claimed_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_rewards_claimed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_usd_minted_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_usd_minted_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_usd_minted_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_usd_minted_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_usd_minted_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_usd_minted_arbitrum_sepolia"], "alias": "core_usd_minted_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "83f8cf4c5a0136714b08e254ba1cf9e67db55e58e1891e1e889bc114b4eff7b9"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "UsdMinted events from the CoreProxy contract", "columns": {"pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount minted", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1723584317.710009, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'usd_minted'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_usd_minted"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_minted"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_usd_minted_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_usd_minted\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_usd_burned_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_usd_burned_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_usd_burned_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_usd_burned_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_usd_burned_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_usd_burned_arbitrum_sepolia"], "alias": "core_usd_burned_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "7f29f1a66a4d89886ba7229ded304ac92d61b5f6632e1b3a5856fc45af7a4e8e"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "UsdBurned events from the CoreProxy contract", "columns": {"amount": {"name": "amount", "description": "Amount burned", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1723584317.7082539, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'usd_burned'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_usd_burned"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_burned"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_usd_burned_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_usd_burned\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_settled_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_order_settled_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/spot/spot_order_settled_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/spot_order_settled_arbitrum_sepolia.sql", "unique_id": "model.synthetix.spot_order_settled_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "spot_order_settled_arbitrum_sepolia"], "alias": "spot_order_settled_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "853b98444378f3a69bc26a1df6e4570341194eb7ad890ca89d6f1ad57ab1f64b"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "OrderSettled events from the SpotMarketProxy contract", "columns": {"final_order_amount": {"name": "final_order_amount", "description": "Final order amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settler": {"name": "settler", "description": "Address of the settler", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "Type of order", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1723584318.1915078, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'spot_market_proxy',\n 'order_settled'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "spot_market_proxy_event_order_settled"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_settled"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_settled_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_order_settled\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_wrapped_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_wrapped_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/spot/spot_synth_wrapped_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/spot_synth_wrapped_arbitrum_sepolia.sql", "unique_id": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "spot_synth_wrapped_arbitrum_sepolia"], "alias": "spot_synth_wrapped_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "5d1fca3a3ebbd5dba69aad3f5265c11abe50939b215d3da4f100469f6b66fe58"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "SynthWrapped events from the SpotMarketProxy contract", "columns": {"fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "amount_wrapped": {"name": "amount_wrapped", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees_collected": {"name": "fees_collected", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1723584318.199923, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'spot_market_proxy',\n 'synth_wrapped'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "spot_market_proxy_event_synth_wrapped"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_wrapped"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_wrapped_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_wrapped\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_sold_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_sold_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/spot/spot_synth_sold_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/spot_synth_sold_arbitrum_sepolia.sql", "unique_id": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "spot_synth_sold_arbitrum_sepolia"], "alias": "spot_synth_sold_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "289f99f5d785625c0f5f55841a64e23ca738e797b6437683dfda462e481586a3"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "SynthSold events from the SpotMarketProxy contract", "columns": {"event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_returned": {"name": "amount_returned", "description": "Amount returned", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1723584318.1983337, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'spot_market_proxy',\n 'synth_sold'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "spot_market_proxy_event_synth_sold"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_sold"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_sold_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_sold\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_bought_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_bought_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/spot/spot_synth_bought_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/spot_synth_bought_arbitrum_sepolia.sql", "unique_id": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "spot_synth_bought_arbitrum_sepolia"], "alias": "spot_synth_bought_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "3e73c9a2489ee5ff7ffb4655e00cfc96addd82eb34d02c3fdc409044ce43919d"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "SynthBought events from the SpotMarketProxy contract", "columns": {"collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "synth_returned": {"name": "synth_returned", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1723584318.1965024, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'spot_market_proxy',\n 'synth_bought'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "spot_market_proxy_event_synth_bought"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_bought"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_bought_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_bought\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_committed_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_order_committed_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/spot/spot_order_committed_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/spot_order_committed_arbitrum_sepolia.sql", "unique_id": "model.synthetix.spot_order_committed_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "spot_order_committed_arbitrum_sepolia"], "alias": "spot_order_committed_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "0a8ebedfb06d1d16414017055777c0417a60e087d6085db3edb5cb396d740295"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "OrderCommitted events from the SpotMarketProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_provided": {"name": "amount_provided", "description": "Amount provided", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "Type of order", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1723584318.1894186, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'spot_market_proxy',\n 'order_committed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "spot_market_proxy_event_order_committed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_committed"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_committed_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_order_committed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_unwrapped_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/spot/spot_synth_unwrapped_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/spot_synth_unwrapped_arbitrum_sepolia.sql", "unique_id": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "spot_synth_unwrapped_arbitrum_sepolia"], "alias": "spot_synth_unwrapped_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "9e740c25262223782270505bb652183beb949c7e1ac3458c6af3201df212439f"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "SynthUnwrapped events from the SpotMarketProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "amount_unwrapped": {"name": "amount_unwrapped", "description": "Amount of synth unwrapped", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees_collected": {"name": "fees_collected", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1723584318.201625, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'spot_market_proxy',\n 'synth_unwrapped'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "spot_market_proxy_event_synth_unwrapped"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_unwrapped"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_unwrapped_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_unwrapped\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_cancelled_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_order_cancelled_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/spot/spot_order_cancelled_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/spot_order_cancelled_arbitrum_sepolia.sql", "unique_id": "model.synthetix.spot_order_cancelled_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "spot_order_cancelled_arbitrum_sepolia"], "alias": "spot_order_cancelled_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "505b90dded359c447a63a7b4cd7b044cf57e25ae9f1ca4555386df6aad10d168"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "OrderCancelled events from the SpotMarketProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "async_order_claim": {"name": "async_order_claim", "description": "Async order clain", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1723584318.1930587, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'spot_market_proxy',\n 'order_cancelled'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "spot_market_proxy_event_order_cancelled"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_cancelled"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_cancelled_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_order_cancelled\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_registered_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_registered_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/spot/spot_synth_registered_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/spot_synth_registered_arbitrum_sepolia.sql", "unique_id": "model.synthetix.spot_synth_registered_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "spot_synth_registered_arbitrum_sepolia"], "alias": "spot_synth_registered_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "ad059712a7c940a4b29ea53b23ba078279a4bb7655388c4f45dbb56067f26719"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "SynthRegistered events from the SpotMarketProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_token_address": {"name": "synth_token_address", "description": "Address of the synth token", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1723584318.1946754, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'spot_market_proxy',\n 'synth_registered'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "spot_market_proxy_event_synth_registered"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_registered"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_registered_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_registered\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.blocks_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "blocks_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/blocks_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/blocks_base_mainnet.sql", "unique_id": "model.synthetix.blocks_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "blocks_base_mainnet"], "alias": "blocks_base_mainnet", "checksum": {"name": "sha256", "checksum": "4bd6c1f1c88e709bc7cd294216d2f9b274482569f6a4b46b2be209ccd2cbe4bb"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "Block numbers and timestamps", "columns": {"ts": {"name": "ts", "description": "UTC timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block height", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.4734695, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"blocks_base_mainnet\"", "raw_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n {{ source(\n 'raw_base_mainnet',\n 'block'\n ) }}\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n {{ source(\n 'raw_base_mainnet',\n 'blocks_parquet'\n ) }}\n),\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "block"], ["raw_base_mainnet", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.synthetix.raw_base_mainnet.block", "source.synthetix.raw_base_mainnet.blocks_parquet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/blocks_base_mainnet.sql", "compiled": true, "compiled_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_base_mainnet\".\"block\"\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_base_mainnet\".\"blocks_parquet\"\n),\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_market_created_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "perp_market_created_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/perp/perp_market_created_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/perp/perp_market_created_base_mainnet.sql", "unique_id": "model.synthetix.perp_market_created_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "perp_market_created_base_mainnet"], "alias": "perp_market_created_base_mainnet", "checksum": {"name": "sha256", "checksum": "802fd456f3e7e7d0bdf51a98d058137b7b3530c6b058a8ea0a4dc98299634cac"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "MarketCreated events from the PerpsMarketProxy contract", "columns": {"market_name": {"name": "market_name", "description": "Market name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "perps_market_id": {"name": "perps_market_id", "description": "ID of the perps market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.50489, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'market_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "perps_market_proxy_event_market_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/perp_market_created_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_market_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_account_created_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "perp_account_created_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/perp/perp_account_created_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/perp/perp_account_created_base_mainnet.sql", "unique_id": "model.synthetix.perp_account_created_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "perp_account_created_base_mainnet"], "alias": "perp_account_created_base_mainnet", "checksum": {"name": "sha256", "checksum": "b9f3719261e477a4a97c3e431855eaec64ae7bb04685d0a4c0b6f8069a7574a2"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "AccountCreated events from the PerpsMarketProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.48279, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'account_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "perps_market_proxy_event_account_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/perp_account_created_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_account_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_interest_rate_updated_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "perp_interest_rate_updated_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/perp/perp_interest_rate_updated_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/perp/perp_interest_rate_updated_base_mainnet.sql", "unique_id": "model.synthetix.perp_interest_rate_updated_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "perp_interest_rate_updated_base_mainnet"], "alias": "perp_interest_rate_updated_base_mainnet", "checksum": {"name": "sha256", "checksum": "2cb5664bb07b967e2cc8d24e5250da08bca4537e89cd143b266928689858d20f"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "InterestRateUpdated events from the PerpsMarketProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "interest_rate": {"name": "interest_rate", "description": "Interest rate", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "super_market_id": {"name": "super_market_id", "description": "ID of the super market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.5083241, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'interest_rate_updated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "perps_market_proxy_event_interest_rate_updated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_rate_updated"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/perp_interest_rate_updated_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_interest_rate_updated\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_order_committed_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "perp_order_committed_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/perp/perp_order_committed_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/perp/perp_order_committed_base_mainnet.sql", "unique_id": "model.synthetix.perp_order_committed_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "perp_order_committed_base_mainnet"], "alias": "perp_order_committed_base_mainnet", "checksum": {"name": "sha256", "checksum": "a6eca0cfba74d0d75bd934eb9054eb234450f9615e842ce746401f4b6ba7c171"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "OrderCommitted events from the PerpsMarketProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "commitment_time": {"name": "commitment_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "expiration_time": {"name": "expiration_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settlement_time": {"name": "settlement_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "expected_price_time": {"name": "expected_price_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.486411, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"", "raw_code": "WITH legacy_events AS (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy_legacy',\n 'order_committed'\n ) }}\n),\ncurrent_events AS (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'order_committed'\n ) }}\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n CAST(\n NULL AS numeric\n ) AS expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n current_events", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "perps_market_proxy_legacy_event_order_committed"], ["raw_base_mainnet", "perps_market_proxy_event_order_committed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_order_committed", "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_committed"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/perp_order_committed_base_mainnet.sql", "compiled": true, "compiled_code": "WITH legacy_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_legacy_event_order_committed\"\n\n),\ncurrent_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_order_committed\"\n\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n CAST(\n NULL AS numeric\n ) AS expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n current_events", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_collateral_modified_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "perp_collateral_modified_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/perp/perp_collateral_modified_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/perp/perp_collateral_modified_base_mainnet.sql", "unique_id": "model.synthetix.perp_collateral_modified_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "perp_collateral_modified_base_mainnet"], "alias": "perp_collateral_modified_base_mainnet", "checksum": {"name": "sha256", "checksum": "0149ff89e332f7dd041d79224e5d40bff0f4dff8ff6c53f7be46535b7c27e5d4"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "CollateralModified events from the PerpsMarketProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "amount_delta": {"name": "amount_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Sender address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.5006497, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'collateral_modified'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "perps_market_proxy_event_collateral_modified"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_collateral_modified"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/perp_collateral_modified_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_collateral_modified\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_interest_charged_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "perp_interest_charged_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/perp/perp_interest_charged_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/perp/perp_interest_charged_base_mainnet.sql", "unique_id": "model.synthetix.perp_interest_charged_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "perp_interest_charged_base_mainnet"], "alias": "perp_interest_charged_base_mainnet", "checksum": {"name": "sha256", "checksum": "0922f7423b285b2c26ff699c017f309274c416db6c66e15155309d1389efab43"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "InterestCharged events from the PerpsMarketProxy contract", "columns": {"event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "interest": {"name": "interest", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.5065563, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'interest_charged'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "perps_market_proxy_event_interest_charged"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_charged"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/perp_interest_charged_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_interest_charged\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_previous_order_expired_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "perp_previous_order_expired_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/perp/perp_previous_order_expired_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/perp/perp_previous_order_expired_base_mainnet.sql", "unique_id": "model.synthetix.perp_previous_order_expired_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "perp_previous_order_expired_base_mainnet"], "alias": "perp_previous_order_expired_base_mainnet", "checksum": {"name": "sha256", "checksum": "9ac42591424ad3fa7408d9292b7a950daa06976beeb5b610af249dda4f6bada3"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "PreviousOrderExpired events from the PerpsMarketProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "Tracking code", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "commitment_time": {"name": "commitment_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.5022848, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'previous_order_expired'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "perps_market_proxy_event_previous_order_expired"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_previous_order_expired"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/perp_previous_order_expired_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_previous_order_expired\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_position_liquidated_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "perp_position_liquidated_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/perp/perp_position_liquidated_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/perp/perp_position_liquidated_base_mainnet.sql", "unique_id": "model.synthetix.perp_position_liquidated_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "perp_position_liquidated_base_mainnet"], "alias": "perp_position_liquidated_base_mainnet", "checksum": {"name": "sha256", "checksum": "2d3a9910e0657c88f1cefe1b53f8a4f3ccab0e3442f7b7fef46f69cb9ac47073"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "PositionLiquidated events from the PerpsMarketProxy contract", "columns": {"account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "current_position_size": {"name": "current_position_size", "description": "Current position size", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "Amount liquidated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.4963782, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'position_liquidated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "perps_market_proxy_event_position_liquidated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_position_liquidated"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/perp_position_liquidated_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_position_liquidated\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_order_settled_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "perp_order_settled_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/perp/perp_order_settled_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/perp/perp_order_settled_base_mainnet.sql", "unique_id": "model.synthetix.perp_order_settled_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "perp_order_settled_base_mainnet"], "alias": "perp_order_settled_base_mainnet", "checksum": {"name": "sha256", "checksum": "7b3cad384e6fbb737855f81d6fdea8fbc6353d3c075050567a322641179442ee"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "OrderSettled events from the PerpsMarketProxy contract", "columns": {"contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fill_price": {"name": "fill_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "settlement_reward": {"name": "settlement_reward", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settler": {"name": "settler", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "total_fees": {"name": "total_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pnl": {"name": "pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "accrued_funding": {"name": "accrued_funding", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "new_size": {"name": "new_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.4911861, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'order_settled'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "perps_market_proxy_event_order_settled"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_settled"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/perp_order_settled_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_order_settled\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_market_updated_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "perp_market_updated_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/perp/perp_market_updated_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/perp/perp_market_updated_base_mainnet.sql", "unique_id": "model.synthetix.perp_market_updated_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "perp_market_updated_base_mainnet"], "alias": "perp_market_updated_base_mainnet", "checksum": {"name": "sha256", "checksum": "c6996a6a651b8c3878047f52008b36e293e0b638542e9280d29c0ea95bbb3a57"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "MarketUpdated events from the PerpsMarketProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "skew": {"name": "skew", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "current_funding_rate": {"name": "current_funding_rate", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "current_funding_velocity": {"name": "current_funding_velocity", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "interest_rate": {"name": "interest_rate", "description": "Interest rate", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.4939709, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"", "raw_code": "WITH legacy_events AS (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy_legacy',\n 'market_updated'\n ) }}\n),\ncurrent_events AS (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'market_updated'\n ) }}\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n 0 AS interest_rate\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n interest_rate\nFROM\n current_events", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "perps_market_proxy_legacy_event_market_updated"], ["raw_base_mainnet", "perps_market_proxy_event_market_updated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_market_updated", "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_updated"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/perp_market_updated_base_mainnet.sql", "compiled": true, "compiled_code": "WITH legacy_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_legacy_event_market_updated\"\n\n),\ncurrent_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_market_updated\"\n\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n 0 AS interest_rate\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n interest_rate\nFROM\n current_events", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_account_liquidation_attempt_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "perp_account_liquidation_attempt_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/perp/perp_account_liquidation_attempt_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/perp/perp_account_liquidation_attempt_base_mainnet.sql", "unique_id": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "perp_account_liquidation_attempt_base_mainnet"], "alias": "perp_account_liquidation_attempt_base_mainnet", "checksum": {"name": "sha256", "checksum": "64ef52da5ab054d601f58a13c845db9b2a0afdf0eae1e2ade8f02040983e8aee"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "AccountLiquidationAttempt events from the PerpsMarketProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "reward": {"name": "reward", "description": "Reward", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "full_liquidation": {"name": "full_liquidation", "description": "Whether it is a full or partial liquidation", "meta": {}, "data_type": "boolean", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.498706, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'account_liquidation_attempt'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "perps_market_proxy_event_account_liquidation_attempt"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_liquidation_attempt"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/perp_account_liquidation_attempt_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_account_liquidation_attempt\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.buyback_processed_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "buyback_processed_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/buyback/buyback_processed_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/buyback/buyback_processed_base_mainnet.sql", "unique_id": "model.synthetix.buyback_processed_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "buyback_processed_base_mainnet"], "alias": "buyback_processed_base_mainnet", "checksum": {"name": "sha256", "checksum": "9e4a14f8473d54f2426e6395ac77612f90b6e177777d82d95e99f0e6ccd100a6"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "buyer": {"name": "buyer", "description": "Address of the buyer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "snx": {"name": "snx", "description": "Amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "usd": {"name": "usd", "description": "Value in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/buyback/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.8295405, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"", "raw_code": "WITH legacy_events AS (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'buyback_snx_legacy',\n 'buyback_processed'\n ) }}\n),\ncurrent_events AS (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'buyback_snx',\n 'buyback_processed'\n ) }}\n)\n\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n event_name,\n contract,\n buyer,\n snx,\n usd\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n event_name,\n contract,\n buyer,\n snx,\n usd\nFROM\n current_events", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "buyback_snx_legacy_event_buyback_processed"], ["raw_base_mainnet", "buyback_snx_event_buyback_processed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.buyback_snx_legacy_event_buyback_processed", "source.synthetix.raw_base_mainnet.buyback_snx_event_buyback_processed"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/buyback_processed_base_mainnet.sql", "compiled": true, "compiled_code": "WITH legacy_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"buyback_snx_legacy_event_buyback_processed\"\n\n),\ncurrent_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"buyback_snx_event_buyback_processed\"\n\n)\n\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n event_name,\n contract,\n buyer,\n snx,\n usd\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n event_name,\n contract,\n buyer,\n snx,\n usd\nFROM\n current_events", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_deposited_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_deposited_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_deposited_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_deposited_base_mainnet.sql", "unique_id": "model.synthetix.core_deposited_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_deposited_base_mainnet"], "alias": "core_deposited_base_mainnet", "checksum": {"name": "sha256", "checksum": "988313e8181a96ec88bc9043006659b8d28e97c9d33f17a51c9a11ac8d136f50"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "Deposited events from the CoreProxy contract", "columns": {"collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the depositor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount deposited", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.8643103, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'deposited'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_deposited"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_deposited"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_deposited_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_deposited\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_rewards_claimed_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_rewards_claimed_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_rewards_claimed_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_rewards_claimed_base_mainnet.sql", "unique_id": "model.synthetix.core_rewards_claimed_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_rewards_claimed_base_mainnet"], "alias": "core_rewards_claimed_base_mainnet", "checksum": {"name": "sha256", "checksum": "646d641499cb5b4a866940e551ac7ca0783c92d360dc77505c6e828bae248247"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "RewardsClaimed events from the CoreProxy contract", "columns": {"transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.8747876, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'rewards_claimed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_rewards_claimed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_rewards_claimed"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_rewards_claimed_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_rewards_claimed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_pool_created_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_pool_created_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_pool_created_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_pool_created_base_mainnet.sql", "unique_id": "model.synthetix.core_pool_created_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_pool_created_base_mainnet"], "alias": "core_pool_created_base_mainnet", "checksum": {"name": "sha256", "checksum": "d9996e0466b3ed6d0d78736ae65a3f679f0b10c23f5694a05a7128fd83b27867"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "PoolCreated events from the CoreProxy contract", "columns": {"contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.8730202, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'pool_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_pool_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_pool_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_pool_created_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_pool_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_collateral_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_vault_collateral_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_vault_collateral_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_vault_collateral_base_mainnet.sql", "unique_id": "model.synthetix.core_vault_collateral_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_vault_collateral_base_mainnet"], "alias": "core_vault_collateral_base_mainnet", "checksum": {"name": "sha256", "checksum": "69b9f898f7f8fd05435cf1eb2605838b1278628da0b6d8310ddf1ccd1711daca"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Collateral amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Vault collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.8838058, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"", "raw_code": "with base as (\n select\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n cast(\n amount as numeric\n ) as amount,\n cast(\n value as numeric\n ) as collateral_value\n from\n {{ source(\n 'raw_base_mainnet',\n \"core_get_vault_collateral\"\n ) }}\n where\n amount is not null\n)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as block_number,\n base.contract_address,\n cast(\n base.pool_id as integer\n ) as pool_id,\n cast(\n base.collateral_type as varchar\n ) as collateral_type,\n {{ convert_wei('base.amount') }} as amount,\n {{ convert_wei('base.collateral_value') }} as collateral_value\nfrom\n base\ninner join {{ source('raw_base_mainnet', 'blocks_parquet') }} as blocks\n on base.block_number = blocks.block_number", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_get_vault_collateral"], ["raw_base_mainnet", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_base_mainnet.core_get_vault_collateral", "source.synthetix.raw_base_mainnet.blocks_parquet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_vault_collateral_base_mainnet.sql", "compiled": true, "compiled_code": "with base as (\n select\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n cast(\n amount as numeric\n ) as amount,\n cast(\n value as numeric\n ) as collateral_value\n from\n \"analytics\".\"raw_base_mainnet\".\"core_get_vault_collateral\"\n where\n amount is not null\n)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as block_number,\n base.contract_address,\n cast(\n base.pool_id as integer\n ) as pool_id,\n cast(\n base.collateral_type as varchar\n ) as collateral_type,\n \n base.amount / 1e18\n as amount,\n \n base.collateral_value / 1e18\n as collateral_value\nfrom\n base\ninner join \"analytics\".\"raw_base_mainnet\".\"blocks_parquet\" as blocks\n on base.block_number = blocks.block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_usd_burned_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_usd_burned_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_usd_burned_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_usd_burned_base_mainnet.sql", "unique_id": "model.synthetix.core_usd_burned_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_usd_burned_base_mainnet"], "alias": "core_usd_burned_base_mainnet", "checksum": {"name": "sha256", "checksum": "8dc0b126101d355f8f0d53a640adacb9b30b4e4989b9e1349da43815e82c4e95"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "UsdBurned events from the CoreProxy contract", "columns": {"amount": {"name": "amount", "description": "Amount burned", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.8785849, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'usd_burned'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_usd_burned"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_usd_burned"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_usd_burned_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_usd_burned\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_liquidation_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_liquidation_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_liquidation_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_liquidation_base_mainnet.sql", "unique_id": "model.synthetix.core_liquidation_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_liquidation_base_mainnet"], "alias": "core_liquidation_base_mainnet", "checksum": {"name": "sha256", "checksum": "2b02eaef31c8ec9bbe0acc96ebbef83843a6c42bdde5b4ea15244944670ad014"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "Liquidation events from the CoreProxy contract", "columns": {"pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the liquidator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.8678496, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'liquidation'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_liquidation"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_liquidation"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_liquidation_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_liquidation\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_liquidation_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_vault_liquidation_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_vault_liquidation_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_vault_liquidation_base_mainnet.sql", "unique_id": "model.synthetix.core_vault_liquidation_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_vault_liquidation_base_mainnet"], "alias": "core_vault_liquidation_base_mainnet", "checksum": {"name": "sha256", "checksum": "f4773bfeee1e9de66cc936cf1101fffae500cbffd50a61faa76846be12436f3d"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "VaultLiquidation events from the CoreProxy contract", "columns": {"transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.8822377, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'vault_liquidation'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_vault_liquidation"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_vault_liquidation"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_vault_liquidation_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_vault_liquidation\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_withdrawn_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_withdrawn_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_withdrawn_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_withdrawn_base_mainnet.sql", "unique_id": "model.synthetix.core_withdrawn_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_withdrawn_base_mainnet"], "alias": "core_withdrawn_base_mainnet", "checksum": {"name": "sha256", "checksum": "e1966c3793d7e46b663d624d2757077ba920b281e4f1aa5c32cf933bcc21f3c7"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "Withdrawn events from the CoreProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount withdrawn", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the withdrawer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.8659823, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'withdrawn'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_withdrawn"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_withdrawn"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_withdrawn_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_withdrawn\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_account_created_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_account_created_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_account_created_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_account_created_base_mainnet.sql", "unique_id": "model.synthetix.core_account_created_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_account_created_base_mainnet"], "alias": "core_account_created_base_mainnet", "checksum": {"name": "sha256", "checksum": "2eda4f239a2139855d87536d7a5776bfc5f404ac7ac611bbf9dd3230f4fa5207"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "AccountCreated events from the CoreProxy contract", "columns": {"owner": {"name": "owner", "description": "Address of the account owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.8605392, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'account_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_account_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_account_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_account_created_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_account_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_market_updated_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_market_updated_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_market_updated_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_market_updated_base_mainnet.sql", "unique_id": "model.synthetix.core_market_updated_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_market_updated_base_mainnet"], "alias": "core_market_updated_base_mainnet", "checksum": {"name": "sha256", "checksum": "3362f1660b715e263f192e3d61a1f813d70b1811636c0b39394eab5f3da22bfc"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "Combination of MarketCollateralDeposited, MarketCollateralWithdrawn, MarketUsdDeposited, MarketUsdWithdrawn events from the CoreProxy contract\n", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "deposited_collateral_value": {"name": "deposited_collateral_value", "description": "Deposited collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.869929, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"", "raw_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy_legacy',\n 'market_usd_deposited'\n ) }}\n ) legacy_usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy_legacy',\n 'market_usd_withdrawn'\n ) }}\n ) legacy_usd_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'market_collateral_deposited'\n ) }}\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'market_collateral_withdrawn'\n ) }}\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'market_usd_deposited'\n ) }}\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'market_usd_withdrawn'\n ) }}\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_legacy_event_market_usd_deposited"], ["raw_base_mainnet", "core_proxy_legacy_event_market_usd_withdrawn"], ["raw_base_mainnet", "core_proxy_event_market_collateral_deposited"], ["raw_base_mainnet", "core_proxy_event_market_collateral_withdrawn"], ["raw_base_mainnet", "core_proxy_event_market_usd_deposited"], ["raw_base_mainnet", "core_proxy_event_market_usd_withdrawn"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_deposited", "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_withdrawn", "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_deposited", "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_withdrawn", "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_deposited", "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_withdrawn"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_market_updated_base_mainnet.sql", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_legacy_event_market_usd_deposited\"\n\n ) legacy_usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_legacy_event_market_usd_withdrawn\"\n\n ) legacy_usd_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_collateral_deposited\"\n\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_collateral_withdrawn\"\n\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_usd_deposited\"\n\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_usd_withdrawn\"\n\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_rewards_distributed_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_rewards_distributed_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_rewards_distributed_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_rewards_distributed_base_mainnet.sql", "unique_id": "model.synthetix.core_rewards_distributed_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_rewards_distributed_base_mainnet"], "alias": "core_rewards_distributed_base_mainnet", "checksum": {"name": "sha256", "checksum": "01510b1809cc60820ba074a3a97007c99959d75e3ae169c3b98a9c31ddf41520"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "RewardsDistributed events from the CoreProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount claimed", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "start": {"name": "start", "description": "UNIX timestamp", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "duration": {"name": "duration", "description": "Duration in seconds", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.8767703, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'rewards_distributed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_rewards_distributed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_rewards_distributed"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_rewards_distributed_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_rewards_distributed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_usd_minted_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_usd_minted_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_usd_minted_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_usd_minted_base_mainnet.sql", "unique_id": "model.synthetix.core_usd_minted_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_usd_minted_base_mainnet"], "alias": "core_usd_minted_base_mainnet", "checksum": {"name": "sha256", "checksum": "8401e73a541bfdee6240879fd0c837315efc025f3f23e936e0cb9879517e27c8"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "UsdMinted events from the CoreProxy contract", "columns": {"pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount minted", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.8804092, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'usd_minted'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_usd_minted"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_usd_minted"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_usd_minted_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_usd_minted\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_debt_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_vault_debt_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_vault_debt_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_vault_debt_base_mainnet.sql", "unique_id": "model.synthetix.core_vault_debt_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_vault_debt_base_mainnet"], "alias": "core_vault_debt_base_mainnet", "checksum": {"name": "sha256", "checksum": "93cf9725a4a3f1baa54918e94d78be1252934fb9daa2ec109492fe79cd6f6375"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Vault debt", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.8849814, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_base_mainnet\"", "raw_code": "with base as (\n select\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n cast(\n value_1 as numeric\n ) as debt\n from\n {{ source(\n 'raw_base_mainnet',\n \"core_get_vault_debt\"\n ) }}\n where\n value_1 is not null\n)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as block_number,\n base.contract_address,\n cast(\n base.pool_id as integer\n ) as pool_id,\n cast(\n base.collateral_type as varchar\n ) as collateral_type,\n {{ convert_wei('base.debt') }} as debt\nfrom\n base\ninner join {{ source('raw_base_mainnet', 'blocks_parquet') }} as blocks\n on base.block_number = blocks.block_number", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_get_vault_debt"], ["raw_base_mainnet", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_base_mainnet.core_get_vault_debt", "source.synthetix.raw_base_mainnet.blocks_parquet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_vault_debt_base_mainnet.sql", "compiled": true, "compiled_code": "with base as (\n select\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n cast(\n value_1 as numeric\n ) as debt\n from\n \"analytics\".\"raw_base_mainnet\".\"core_get_vault_debt\"\n where\n value_1 is not null\n)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as block_number,\n base.contract_address,\n cast(\n base.pool_id as integer\n ) as pool_id,\n cast(\n base.collateral_type as varchar\n ) as collateral_type,\n \n base.debt / 1e18\n as debt\nfrom\n base\ninner join \"analytics\".\"raw_base_mainnet\".\"blocks_parquet\" as blocks\n on base.block_number = blocks.block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_market_registered_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_market_registered_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_market_registered_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_market_registered_base_mainnet.sql", "unique_id": "model.synthetix.core_market_registered_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_market_registered_base_mainnet"], "alias": "core_market_registered_base_mainnet", "checksum": {"name": "sha256", "checksum": "c02aefeaa9f25102671f24a37fdf7aaab423fe87a25ed99e40537484caadf322"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "MarketRegistered events from the CoreProxy contract", "columns": {"market": {"name": "market", "description": "Market name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "Market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.8714914, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'market_registered'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_market_registered"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_market_registered"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_market_registered_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_registered\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_delegation_updated_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_delegation_updated_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_delegation_updated_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_delegation_updated_base_mainnet.sql", "unique_id": "model.synthetix.core_delegation_updated_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_delegation_updated_base_mainnet"], "alias": "core_delegation_updated_base_mainnet", "checksum": {"name": "sha256", "checksum": "d85c21be845cde044f13538a5de69e4d58a2f3cc48ead7a4b058ef6b1dd26cb7"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "DelegationUpdated events from the CoreProxy contract", "columns": {"contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "leverage": {"name": "leverage", "description": "Leverage", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584318.8626006, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'delegation_updated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_delegation_updated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_delegation_updated"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_delegation_updated_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_delegation_updated\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_wrapped_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "spot_synth_wrapped_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/spot/spot_synth_wrapped_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/spot/spot_synth_wrapped_base_mainnet.sql", "unique_id": "model.synthetix.spot_synth_wrapped_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "spot_synth_wrapped_base_mainnet"], "alias": "spot_synth_wrapped_base_mainnet", "checksum": {"name": "sha256", "checksum": "37d99bf059f111c6d622e2f29882e4a0f7d97eaea344fc56fb876927c2753f06"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "SynthWrapped events from the SpotMarketProxy contract", "columns": {"fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "amount_wrapped": {"name": "amount_wrapped", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees_collected": {"name": "fees_collected", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584319.4309072, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'spot_market_proxy',\n 'synth_wrapped'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "spot_market_proxy_event_synth_wrapped"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_wrapped"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_wrapped_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_wrapped\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_unwrapped_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "spot_synth_unwrapped_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/spot/spot_synth_unwrapped_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/spot/spot_synth_unwrapped_base_mainnet.sql", "unique_id": "model.synthetix.spot_synth_unwrapped_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "spot_synth_unwrapped_base_mainnet"], "alias": "spot_synth_unwrapped_base_mainnet", "checksum": {"name": "sha256", "checksum": "5091b6f799f9c83e99915fc4bb33af930c13904a6f7d035da1dab458770ee931"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "SynthUnwrapped events from the SpotMarketProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "amount_unwrapped": {"name": "amount_unwrapped", "description": "Amount of synth unwrapped", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees_collected": {"name": "fees_collected", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584319.4326313, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'spot_market_proxy',\n 'synth_unwrapped'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "spot_market_proxy_event_synth_unwrapped"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_unwrapped"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_unwrapped_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_unwrapped\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_registered_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "spot_synth_registered_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/spot/spot_synth_registered_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/spot/spot_synth_registered_base_mainnet.sql", "unique_id": "model.synthetix.spot_synth_registered_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "spot_synth_registered_base_mainnet"], "alias": "spot_synth_registered_base_mainnet", "checksum": {"name": "sha256", "checksum": "1056328ffd692c8bcffb78ab66ff597af26b50373ca0875279975eee000ba455"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "SynthRegistered events from the SpotMarketProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_token_address": {"name": "synth_token_address", "description": "Address of the synth token", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584319.4256806, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'spot_market_proxy',\n 'synth_registered'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "spot_market_proxy_event_synth_registered"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_registered"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_registered_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_registered\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_committed_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "spot_order_committed_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/spot/spot_order_committed_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/spot/spot_order_committed_base_mainnet.sql", "unique_id": "model.synthetix.spot_order_committed_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "spot_order_committed_base_mainnet"], "alias": "spot_order_committed_base_mainnet", "checksum": {"name": "sha256", "checksum": "9989a393df6da0e7381f4ae580f7ef1c70bd1b29f70a2c5adc90adef1e4cba0a"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "OrderCommitted events from the SpotMarketProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_provided": {"name": "amount_provided", "description": "Amount provided", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "Type of order", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584319.4205842, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'spot_market_proxy',\n 'order_committed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "spot_market_proxy_event_order_committed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_committed"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_committed_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_order_committed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_bought_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "spot_synth_bought_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/spot/spot_synth_bought_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/spot/spot_synth_bought_base_mainnet.sql", "unique_id": "model.synthetix.spot_synth_bought_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "spot_synth_bought_base_mainnet"], "alias": "spot_synth_bought_base_mainnet", "checksum": {"name": "sha256", "checksum": "5ca4f256eeba027501d477b7fce56a6bd2c03e9245e9f701a21ea8f72a49780e"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "SynthBought events from the SpotMarketProxy contract", "columns": {"collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "synth_returned": {"name": "synth_returned", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584319.4275439, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'spot_market_proxy',\n 'synth_bought'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "spot_market_proxy_event_synth_bought"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_bought"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_bought_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_bought\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_settled_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "spot_order_settled_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/spot/spot_order_settled_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/spot/spot_order_settled_base_mainnet.sql", "unique_id": "model.synthetix.spot_order_settled_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "spot_order_settled_base_mainnet"], "alias": "spot_order_settled_base_mainnet", "checksum": {"name": "sha256", "checksum": "f6c29e4d25bd9a311872ce93f245585a5f3fc157d4d08d2d3db986d314717710"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "OrderSettled events from the SpotMarketProxy contract", "columns": {"final_order_amount": {"name": "final_order_amount", "description": "Final order amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settler": {"name": "settler", "description": "Address of the settler", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "Type of order", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584319.4225695, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'spot_market_proxy',\n 'order_settled'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "spot_market_proxy_event_order_settled"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_settled"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_settled_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_order_settled\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_cancelled_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "spot_order_cancelled_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/spot/spot_order_cancelled_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/spot/spot_order_cancelled_base_mainnet.sql", "unique_id": "model.synthetix.spot_order_cancelled_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "spot_order_cancelled_base_mainnet"], "alias": "spot_order_cancelled_base_mainnet", "checksum": {"name": "sha256", "checksum": "2ce9a9269f89237bc208fde354ef792e9db1918076c87855c086888f725627f7"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "OrderCancelled events from the SpotMarketProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "async_order_claim": {"name": "async_order_claim", "description": "Async order clain", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584319.4240904, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'spot_market_proxy',\n 'order_cancelled'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "spot_market_proxy_event_order_cancelled"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_cancelled"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_cancelled_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_order_cancelled\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_sold_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "spot_synth_sold_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/spot/spot_synth_sold_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/spot/spot_synth_sold_base_mainnet.sql", "unique_id": "model.synthetix.spot_synth_sold_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "spot_synth_sold_base_mainnet"], "alias": "spot_synth_sold_base_mainnet", "checksum": {"name": "sha256", "checksum": "8cb97ab7806b6eb5cf28718822dadc5f6748237e4af17e210ca414bc81bab653"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "SynthSold events from the SpotMarketProxy contract", "columns": {"event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_returned": {"name": "amount_returned", "description": "Amount returned", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1723584319.429398, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'spot_market_proxy',\n 'synth_sold'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "spot_market_proxy_event_synth_sold"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_sold"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_sold_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_sold\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.blocks_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "blocks_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/blocks_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/blocks_base_sepolia.sql", "unique_id": "model.synthetix.blocks_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "blocks_base_sepolia"], "alias": "blocks_base_sepolia", "checksum": {"name": "sha256", "checksum": "59cca3d30d796cad9f3be4696472ea965664705603ac52b193a4aac56a1f136a"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "Block numbers and timestamps", "columns": {"ts": {"name": "ts", "description": "UTC timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block height", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584319.6898615, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"blocks_base_sepolia\"", "raw_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n {{ source(\n 'raw_base_sepolia',\n 'block'\n ) }}\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n {{ source(\n 'raw_base_sepolia',\n 'blocks_parquet'\n ) }}\n),\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "blocks_parquet"], ["raw_base_sepolia", "block"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.synthetix.raw_base_sepolia.blocks_parquet", "source.synthetix.raw_base_sepolia.block"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/blocks_base_sepolia.sql", "compiled": true, "compiled_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_base_sepolia\".\"block\"\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_base_sepolia\".\"blocks_parquet\"\n),\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_order_committed_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "perp_order_committed_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/perp/perp_order_committed_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/perp/perp_order_committed_base_sepolia.sql", "unique_id": "model.synthetix.perp_order_committed_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "perp_order_committed_base_sepolia"], "alias": "perp_order_committed_base_sepolia", "checksum": {"name": "sha256", "checksum": "b68e1c3e71e64530f1023cdede2cb0011515243da833b2cc96a23bc517ccf3ac"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "OrderCommitted events from the PerpsMarketProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "commitment_time": {"name": "commitment_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "expiration_time": {"name": "expiration_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settlement_time": {"name": "settlement_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "expected_price_time": {"name": "expected_price_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584319.701145, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"", "raw_code": "WITH legacy_events AS (\n {{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy_legacy',\n 'order_committed'\n ) }}\n),\ncurrent_events AS (\n {{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy',\n 'order_committed'\n ) }}\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n CAST(\n NULL AS numeric\n ) AS expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n current_events", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "perps_market_proxy_legacy_event_order_committed"], ["raw_base_sepolia", "perps_market_proxy_event_order_committed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_order_committed", "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_committed"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/perp_order_committed_base_sepolia.sql", "compiled": true, "compiled_code": "WITH legacy_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_legacy_event_order_committed\"\n\n),\ncurrent_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_order_committed\"\n\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n CAST(\n NULL AS numeric\n ) AS expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n current_events", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_order_settled_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "perp_order_settled_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/perp/perp_order_settled_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/perp/perp_order_settled_base_sepolia.sql", "unique_id": "model.synthetix.perp_order_settled_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "perp_order_settled_base_sepolia"], "alias": "perp_order_settled_base_sepolia", "checksum": {"name": "sha256", "checksum": "86e667a3c0a4d84fead639dce0427c01d7a8fcc3d492cc0dc487b6eac53cc1c3"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "OrderSettled events from the PerpsMarketProxy contract", "columns": {"contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fill_price": {"name": "fill_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "settlement_reward": {"name": "settlement_reward", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settler": {"name": "settler", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "total_fees": {"name": "total_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pnl": {"name": "pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "accrued_funding": {"name": "accrued_funding", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "new_size": {"name": "new_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584319.7032018, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy',\n 'order_settled'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "perps_market_proxy_event_order_settled"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_settled"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/perp_order_settled_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_order_settled\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_market_updated_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "perp_market_updated_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/perp/perp_market_updated_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/perp/perp_market_updated_base_sepolia.sql", "unique_id": "model.synthetix.perp_market_updated_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "perp_market_updated_base_sepolia"], "alias": "perp_market_updated_base_sepolia", "checksum": {"name": "sha256", "checksum": "27d449958c1abe10e8fc6cd2b719bed1d180a70c99297fe0732e54e093f088b2"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "MarketUpdated events from the PerpsMarketProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "skew": {"name": "skew", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "current_funding_rate": {"name": "current_funding_rate", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "current_funding_velocity": {"name": "current_funding_velocity", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "interest_rate": {"name": "interest_rate", "description": "Interest rate", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584319.7049975, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"", "raw_code": "WITH legacy_events AS (\n {{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy_legacy',\n 'market_updated'\n ) }}\n),\ncurrent_events AS (\n {{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy',\n 'market_updated'\n ) }}\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n 0 AS interest_rate\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n interest_rate\nFROM\n current_events", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "perps_market_proxy_legacy_event_market_updated"], ["raw_base_sepolia", "perps_market_proxy_event_market_updated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_market_updated", "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_updated"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/perp_market_updated_base_sepolia.sql", "compiled": true, "compiled_code": "WITH legacy_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_legacy_event_market_updated\"\n\n),\ncurrent_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_market_updated\"\n\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n 0 AS interest_rate\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n interest_rate\nFROM\n current_events", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_collateral_modified_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "perp_collateral_modified_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/perp/perp_collateral_modified_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/perp/perp_collateral_modified_base_sepolia.sql", "unique_id": "model.synthetix.perp_collateral_modified_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "perp_collateral_modified_base_sepolia"], "alias": "perp_collateral_modified_base_sepolia", "checksum": {"name": "sha256", "checksum": "476eac2d39bc3b633ca9217db631deb3d6280d97c24963c95edad518a1024381"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "CollateralModified events from the PerpsMarketProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "amount_delta": {"name": "amount_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Sender address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584319.7104511, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy',\n 'collateral_modified'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "perps_market_proxy_event_collateral_modified"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_collateral_modified"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/perp_collateral_modified_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_collateral_modified\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_interest_rate_updated_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "perp_interest_rate_updated_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/perp/perp_interest_rate_updated_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/perp/perp_interest_rate_updated_base_sepolia.sql", "unique_id": "model.synthetix.perp_interest_rate_updated_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "perp_interest_rate_updated_base_sepolia"], "alias": "perp_interest_rate_updated_base_sepolia", "checksum": {"name": "sha256", "checksum": "6e2c54fc1883aa5ab806fc04ad5e04e8610879641368932a1f36206546d36214"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "InterestRateUpdated events from the PerpsMarketProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "interest_rate": {"name": "interest_rate", "description": "Interest rate", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "super_market_id": {"name": "super_market_id", "description": "ID of the super market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584319.7164986, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy',\n 'interest_rate_updated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "perps_market_proxy_event_interest_rate_updated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_rate_updated"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/perp_interest_rate_updated_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_interest_rate_updated\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_account_created_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "perp_account_created_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/perp/perp_account_created_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/perp/perp_account_created_base_sepolia.sql", "unique_id": "model.synthetix.perp_account_created_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "perp_account_created_base_sepolia"], "alias": "perp_account_created_base_sepolia", "checksum": {"name": "sha256", "checksum": "cc82ef0f016346142c2ddb134fa9385dd11caa8231c0c9b32868d9a4495715c9"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "AccountCreated events from the PerpsMarketProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584319.6991441, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy',\n 'account_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "perps_market_proxy_event_account_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/perp_account_created_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_account_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_market_created_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "perp_market_created_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/perp/perp_market_created_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/perp/perp_market_created_base_sepolia.sql", "unique_id": "model.synthetix.perp_market_created_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "perp_market_created_base_sepolia"], "alias": "perp_market_created_base_sepolia", "checksum": {"name": "sha256", "checksum": "924f240578edb5162dabbf0fb3c8eb3313a3b8cbff5912fd37e2157d6c93d66f"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "MarketCreated events from the PerpsMarketProxy contract", "columns": {"market_name": {"name": "market_name", "description": "Market name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "perps_market_id": {"name": "perps_market_id", "description": "ID of the perps market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584319.7135823, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy',\n 'market_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "perps_market_proxy_event_market_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/perp_market_created_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_market_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_account_liquidation_attempt_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "perp_account_liquidation_attempt_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/perp/perp_account_liquidation_attempt_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/perp/perp_account_liquidation_attempt_base_sepolia.sql", "unique_id": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "perp_account_liquidation_attempt_base_sepolia"], "alias": "perp_account_liquidation_attempt_base_sepolia", "checksum": {"name": "sha256", "checksum": "ccc7fa4c22b3e526ff9bf92d79917baec1bfc6ec5c05544664d042d099a1f9ec"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "AccountLiquidationAttempt events from the PerpsMarketProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "reward": {"name": "reward", "description": "Reward", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "full_liquidation": {"name": "full_liquidation", "description": "Whether it is a full or partial liquidation", "meta": {}, "data_type": "boolean", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584319.708875, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy',\n 'account_liquidation_attempt'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "perps_market_proxy_event_account_liquidation_attempt"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_liquidation_attempt"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/perp_account_liquidation_attempt_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_account_liquidation_attempt\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_interest_charged_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "perp_interest_charged_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/perp/perp_interest_charged_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/perp/perp_interest_charged_base_sepolia.sql", "unique_id": "model.synthetix.perp_interest_charged_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "perp_interest_charged_base_sepolia"], "alias": "perp_interest_charged_base_sepolia", "checksum": {"name": "sha256", "checksum": "130d56a27727bdc80ce7255da22ad55daf7d74252dbfe46e394ff6ca8e29dae0"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "InterestCharged events from the PerpsMarketProxy contract", "columns": {"event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "interest": {"name": "interest", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584319.7149942, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy',\n 'interest_charged'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "perps_market_proxy_event_interest_charged"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_charged"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/perp_interest_charged_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_interest_charged\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_position_liquidated_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "perp_position_liquidated_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/perp/perp_position_liquidated_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/perp/perp_position_liquidated_base_sepolia.sql", "unique_id": "model.synthetix.perp_position_liquidated_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "perp_position_liquidated_base_sepolia"], "alias": "perp_position_liquidated_base_sepolia", "checksum": {"name": "sha256", "checksum": "d704e9aad1dcf717a0ff7578f690814a30320f72a93cb72db2f9cb8f87bf85d6"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "PositionLiquidated events from the PerpsMarketProxy contract", "columns": {"account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "current_position_size": {"name": "current_position_size", "description": "Current position size", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "Amount liquidated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584319.7072837, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy',\n 'position_liquidated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "perps_market_proxy_event_position_liquidated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_position_liquidated"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/perp_position_liquidated_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_position_liquidated\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_previous_order_expired_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "perp_previous_order_expired_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/perp/perp_previous_order_expired_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/perp/perp_previous_order_expired_base_sepolia.sql", "unique_id": "model.synthetix.perp_previous_order_expired_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "perp_previous_order_expired_base_sepolia"], "alias": "perp_previous_order_expired_base_sepolia", "checksum": {"name": "sha256", "checksum": "b602d5da6545dafdf23b0d1f4f89bf0db732a568410cd378a49b70e523858f92"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "PreviousOrderExpired events from the PerpsMarketProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "Tracking code", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "commitment_time": {"name": "commitment_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584319.712102, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy',\n 'previous_order_expired'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "perps_market_proxy_event_previous_order_expired"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_previous_order_expired"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/perp_previous_order_expired_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_previous_order_expired\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.buyback_processed_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "buyback_processed_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/buyback/buyback_processed_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/buyback/buyback_processed_base_sepolia.sql", "unique_id": "model.synthetix.buyback_processed_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "buyback_processed_base_sepolia"], "alias": "buyback_processed_base_sepolia", "checksum": {"name": "sha256", "checksum": "010954298efcc3c0bb7ec90b47681bef4265d576398a379f98a1beab546132b0"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "buyer": {"name": "buyer", "description": "Address of the buyer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "snx": {"name": "snx", "description": "Amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "usd": {"name": "usd", "description": "Value in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/buyback/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584320.0343766, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"", "raw_code": "WITH current_events AS (\n {{ get_event_data(\n 'base',\n 'sepolia',\n 'buyback_snx',\n 'buyback_processed'\n ) }}\n)\n\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n event_name,\n contract,\n buyer,\n snx,\n usd\nFROM\n current_events", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "buyback_snx_event_buyback_processed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.buyback_snx_event_buyback_processed"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/buyback_processed_base_sepolia.sql", "compiled": true, "compiled_code": "WITH current_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"buyback_snx_event_buyback_processed\"\n\n)\n\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n event_name,\n contract,\n buyer,\n snx,\n usd\nFROM\n current_events", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_rewards_distributed_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_rewards_distributed_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_rewards_distributed_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_rewards_distributed_base_sepolia.sql", "unique_id": "model.synthetix.core_rewards_distributed_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_rewards_distributed_base_sepolia"], "alias": "core_rewards_distributed_base_sepolia", "checksum": {"name": "sha256", "checksum": "8d94d36c25d731f5c3844d8cdfabb1fa7d83e0bf6522dddc4b58b8ec435ef51f"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "RewardsDistributed events from the CoreProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount claimed", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "start": {"name": "start", "description": "UNIX timestamp", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "duration": {"name": "duration", "description": "Duration in seconds", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584320.0815136, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'rewards_distributed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_event_rewards_distributed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_event_rewards_distributed"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_rewards_distributed_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_rewards_distributed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_market_updated_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_market_updated_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_market_updated_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_market_updated_base_sepolia.sql", "unique_id": "model.synthetix.core_market_updated_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_market_updated_base_sepolia"], "alias": "core_market_updated_base_sepolia", "checksum": {"name": "sha256", "checksum": "66f1d52925ade31ea67ed4cebae66729bc130cd2c534b7a45af6ebcac09a99c3"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "Combination of MarketCollateralDeposited, MarketCollateralWithdrawn, MarketUsdDeposited, MarketUsdWithdrawn events from the CoreProxy contract\n", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "deposited_collateral_value": {"name": "deposited_collateral_value", "description": "Deposited collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584320.0748138, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"", "raw_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy_legacy',\n 'market_usd_deposited'\n ) }}\n ) legacy_usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy_legacy',\n 'market_usd_withdrawn'\n ) }}\n ) legacy_usd_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n {{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'market_collateral_deposited'\n ) }}\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n {{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'market_collateral_withdrawn'\n ) }}\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'market_usd_deposited'\n ) }}\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'market_usd_withdrawn'\n ) }}\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_legacy_event_market_usd_deposited"], ["raw_base_sepolia", "core_proxy_legacy_event_market_usd_withdrawn"], ["raw_base_sepolia", "core_proxy_event_market_collateral_deposited"], ["raw_base_sepolia", "core_proxy_event_market_collateral_withdrawn"], ["raw_base_sepolia", "core_proxy_event_market_usd_deposited"], ["raw_base_sepolia", "core_proxy_event_market_usd_withdrawn"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_deposited", "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_withdrawn", "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_deposited", "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_withdrawn", "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_deposited", "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_withdrawn"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_market_updated_base_sepolia.sql", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_legacy_event_market_usd_deposited\"\n\n ) legacy_usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_legacy_event_market_usd_withdrawn\"\n\n ) legacy_usd_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_collateral_deposited\"\n\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_collateral_withdrawn\"\n\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_usd_deposited\"\n\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_usd_withdrawn\"\n\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_deposited_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_deposited_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_deposited_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_deposited_base_sepolia.sql", "unique_id": "model.synthetix.core_deposited_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_deposited_base_sepolia"], "alias": "core_deposited_base_sepolia", "checksum": {"name": "sha256", "checksum": "7cef523a13b112a44990a83ebeb17e37d88f255d63a470f1cddbce57e5533b21"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "Deposited events from the CoreProxy contract", "columns": {"collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the depositor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount deposited", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584320.0692782, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'deposited'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_event_deposited"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_event_deposited"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_deposited_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_deposited\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_account_created_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_account_created_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_account_created_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_account_created_base_sepolia.sql", "unique_id": "model.synthetix.core_account_created_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_account_created_base_sepolia"], "alias": "core_account_created_base_sepolia", "checksum": {"name": "sha256", "checksum": "ae2e8cd3e8834e46de9c2725e8e01d9a41a6c1df29302c14f5a3fada1d774c3f"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "AccountCreated events from the CoreProxy contract", "columns": {"owner": {"name": "owner", "description": "Address of the account owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584320.065436, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'account_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_event_account_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_event_account_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_account_created_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_account_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_collateral_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_vault_collateral_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_vault_collateral_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_vault_collateral_base_sepolia.sql", "unique_id": "model.synthetix.core_vault_collateral_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_vault_collateral_base_sepolia"], "alias": "core_vault_collateral_base_sepolia", "checksum": {"name": "sha256", "checksum": "9872f6c1491e77c4e29e7cf8b8115f466e97a6a95262f706163baad4b0e342d0"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Collateral amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Vault collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584320.0882742, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"", "raw_code": "with base as (\n select\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n cast(\n amount as numeric\n ) as amount,\n cast(\n value as numeric\n ) as collateral_value\n from\n {{ source(\n 'raw_base_sepolia',\n \"core_get_vault_collateral\"\n ) }}\n where\n amount is not null\n)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as block_number,\n base.contract_address,\n cast(\n base.pool_id as integer\n ) as pool_id,\n cast(\n base.collateral_type as varchar\n ) as collateral_type,\n {{ convert_wei('base.amount') }} as amount,\n {{ convert_wei('base.collateral_value') }} as collateral_value\nfrom\n base\ninner join {{ source('raw_base_sepolia', 'blocks_parquet') }} as blocks\n on base.block_number = blocks.block_number", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_get_vault_collateral"], ["raw_base_sepolia", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_base_sepolia.core_get_vault_collateral", "source.synthetix.raw_base_sepolia.blocks_parquet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_vault_collateral_base_sepolia.sql", "compiled": true, "compiled_code": "with base as (\n select\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n cast(\n amount as numeric\n ) as amount,\n cast(\n value as numeric\n ) as collateral_value\n from\n \"analytics\".\"raw_base_sepolia\".\"core_get_vault_collateral\"\n where\n amount is not null\n)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as block_number,\n base.contract_address,\n cast(\n base.pool_id as integer\n ) as pool_id,\n cast(\n base.collateral_type as varchar\n ) as collateral_type,\n \n base.amount / 1e18\n as amount,\n \n base.collateral_value / 1e18\n as collateral_value\nfrom\n base\ninner join \"analytics\".\"raw_base_sepolia\".\"blocks_parquet\" as blocks\n on base.block_number = blocks.block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_withdrawn_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_withdrawn_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_withdrawn_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_withdrawn_base_sepolia.sql", "unique_id": "model.synthetix.core_withdrawn_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_withdrawn_base_sepolia"], "alias": "core_withdrawn_base_sepolia", "checksum": {"name": "sha256", "checksum": "d5ccbad2b2c582718061eac99e8f61ede48b2906280c818916e4469962388ea9"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "Withdrawn events from the CoreProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount withdrawn", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the withdrawer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584320.0709767, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'withdrawn'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_event_withdrawn"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_event_withdrawn"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_withdrawn_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_withdrawn\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_liquidation_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_vault_liquidation_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_vault_liquidation_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_vault_liquidation_base_sepolia.sql", "unique_id": "model.synthetix.core_vault_liquidation_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_vault_liquidation_base_sepolia"], "alias": "core_vault_liquidation_base_sepolia", "checksum": {"name": "sha256", "checksum": "d632538a5b8966989500359d26ade4c3a76ee0205b413ec85fac31a2e6f9d6a9"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "VaultLiquidation events from the CoreProxy contract", "columns": {"transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584320.086929, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'vault_liquidation'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_event_vault_liquidation"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_event_vault_liquidation"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_vault_liquidation_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_vault_liquidation\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_rewards_claimed_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_rewards_claimed_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_rewards_claimed_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_rewards_claimed_base_sepolia.sql", "unique_id": "model.synthetix.core_rewards_claimed_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_rewards_claimed_base_sepolia"], "alias": "core_rewards_claimed_base_sepolia", "checksum": {"name": "sha256", "checksum": "f0a0c9b2cf07c22854105b7bceaec299f130fcd39a8cf018173f412bcf8f3723"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "RewardsClaimed events from the CoreProxy contract", "columns": {"transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584320.0796115, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'rewards_claimed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_event_rewards_claimed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_event_rewards_claimed"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_rewards_claimed_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_rewards_claimed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_liquidation_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_liquidation_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_liquidation_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_liquidation_base_sepolia.sql", "unique_id": "model.synthetix.core_liquidation_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_liquidation_base_sepolia"], "alias": "core_liquidation_base_sepolia", "checksum": {"name": "sha256", "checksum": "90cf5a6ebd1d96d2655b0a7d8b58c39035a0a858d5080d83406f3f1280973279"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "Liquidation events from the CoreProxy contract", "columns": {"pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the liquidator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584320.0727878, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'liquidation'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_event_liquidation"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_event_liquidation"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_liquidation_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_liquidation\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_usd_minted_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_usd_minted_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_usd_minted_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_usd_minted_base_sepolia.sql", "unique_id": "model.synthetix.core_usd_minted_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_usd_minted_base_sepolia"], "alias": "core_usd_minted_base_sepolia", "checksum": {"name": "sha256", "checksum": "fc3cf1c3a58f889f647fbd7f821731c2105c499d4dc6ac7e0c23a2694d60de86"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "UsdMinted events from the CoreProxy contract", "columns": {"pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount minted", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584320.0851414, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'usd_minted'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_event_usd_minted"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_event_usd_minted"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_usd_minted_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_usd_minted\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_delegation_updated_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_delegation_updated_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_delegation_updated_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_delegation_updated_base_sepolia.sql", "unique_id": "model.synthetix.core_delegation_updated_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_delegation_updated_base_sepolia"], "alias": "core_delegation_updated_base_sepolia", "checksum": {"name": "sha256", "checksum": "568095a33461607f475d7f357d00cd912c699d36039da4f277497551767bf118"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "DelegationUpdated events from the CoreProxy contract", "columns": {"contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "leverage": {"name": "leverage", "description": "Leverage", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584320.0674303, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'delegation_updated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_event_delegation_updated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_event_delegation_updated"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_delegation_updated_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_delegation_updated\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_debt_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_vault_debt_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_vault_debt_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_vault_debt_base_sepolia.sql", "unique_id": "model.synthetix.core_vault_debt_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_vault_debt_base_sepolia"], "alias": "core_vault_debt_base_sepolia", "checksum": {"name": "sha256", "checksum": "e6790f6f38d5dfb431ab3f2facaa51107f6f41e04253e2894de0f1f2299609be"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Vault debt", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584320.0894313, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_base_sepolia\"", "raw_code": "with base as (\n select\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n cast(\n value_1 as numeric\n ) as debt\n from\n {{ source(\n 'raw_base_sepolia',\n \"core_get_vault_debt\"\n ) }}\n where\n value_1 is not null\n)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as block_number,\n base.contract_address,\n cast(\n base.pool_id as integer\n ) as pool_id,\n cast(\n base.collateral_type as varchar\n ) as collateral_type,\n {{ convert_wei('base.debt') }} as debt\nfrom\n base\ninner join {{ source('raw_base_sepolia', 'blocks_parquet') }} as blocks\n on base.block_number = blocks.block_number", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_get_vault_debt"], ["raw_base_sepolia", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_base_sepolia.core_get_vault_debt", "source.synthetix.raw_base_sepolia.blocks_parquet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_vault_debt_base_sepolia.sql", "compiled": true, "compiled_code": "with base as (\n select\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n cast(\n value_1 as numeric\n ) as debt\n from\n \"analytics\".\"raw_base_sepolia\".\"core_get_vault_debt\"\n where\n value_1 is not null\n)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as block_number,\n base.contract_address,\n cast(\n base.pool_id as integer\n ) as pool_id,\n cast(\n base.collateral_type as varchar\n ) as collateral_type,\n \n base.debt / 1e18\n as debt\nfrom\n base\ninner join \"analytics\".\"raw_base_sepolia\".\"blocks_parquet\" as blocks\n on base.block_number = blocks.block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_usd_burned_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_usd_burned_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_usd_burned_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_usd_burned_base_sepolia.sql", "unique_id": "model.synthetix.core_usd_burned_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_usd_burned_base_sepolia"], "alias": "core_usd_burned_base_sepolia", "checksum": {"name": "sha256", "checksum": "833e46c938d783437bca7567fd8bd60c353759bc549d7c76278486619060c57c"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "UsdBurned events from the CoreProxy contract", "columns": {"amount": {"name": "amount", "description": "Amount burned", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584320.0833652, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'usd_burned'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_event_usd_burned"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_event_usd_burned"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_usd_burned_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_usd_burned\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_market_registered_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_market_registered_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_market_registered_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_market_registered_base_sepolia.sql", "unique_id": "model.synthetix.core_market_registered_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_market_registered_base_sepolia"], "alias": "core_market_registered_base_sepolia", "checksum": {"name": "sha256", "checksum": "a79402ef14f085d703a08030ec057a88cfe9cb4a8b7ba9fd40b8ea0d51a821e1"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "MarketRegistered events from the CoreProxy contract", "columns": {"market": {"name": "market", "description": "Market name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "Market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584320.0763378, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'market_registered'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_event_market_registered"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_event_market_registered"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_market_registered_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_registered\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_pool_created_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_pool_created_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_pool_created_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_pool_created_base_sepolia.sql", "unique_id": "model.synthetix.core_pool_created_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_pool_created_base_sepolia"], "alias": "core_pool_created_base_sepolia", "checksum": {"name": "sha256", "checksum": "cbaca8f6baeed29112dc1ed3b3a7d8386367b5f33b78f9e431b74d7eb6042bbe"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "PoolCreated events from the CoreProxy contract", "columns": {"contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584320.0778475, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'pool_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_event_pool_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_event_pool_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_pool_created_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_pool_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_committed_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "spot_order_committed_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/spot/spot_order_committed_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/spot/spot_order_committed_base_sepolia.sql", "unique_id": "model.synthetix.spot_order_committed_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "spot_order_committed_base_sepolia"], "alias": "spot_order_committed_base_sepolia", "checksum": {"name": "sha256", "checksum": "b8c979efa88d9aad5afe4207fccab314311eb36b58d5f48c6518502afbf7d504"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "OrderCommitted events from the SpotMarketProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_provided": {"name": "amount_provided", "description": "Amount provided", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "Type of order", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584320.5575528, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'spot_market_proxy',\n 'order_committed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "spot_market_proxy_event_order_committed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_committed"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_committed_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_order_committed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_wrapped_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "spot_synth_wrapped_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/spot/spot_synth_wrapped_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/spot/spot_synth_wrapped_base_sepolia.sql", "unique_id": "model.synthetix.spot_synth_wrapped_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "spot_synth_wrapped_base_sepolia"], "alias": "spot_synth_wrapped_base_sepolia", "checksum": {"name": "sha256", "checksum": "fb77935d00d422b474738516db7cf0b410e4595ed8e4f8e230f8c2c653bce229"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "SynthWrapped events from the SpotMarketProxy contract", "columns": {"fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "amount_wrapped": {"name": "amount_wrapped", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees_collected": {"name": "fees_collected", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584320.5680153, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'spot_market_proxy',\n 'synth_wrapped'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "spot_market_proxy_event_synth_wrapped"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_wrapped"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_wrapped_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_wrapped\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_registered_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "spot_synth_registered_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/spot/spot_synth_registered_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/spot/spot_synth_registered_base_sepolia.sql", "unique_id": "model.synthetix.spot_synth_registered_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "spot_synth_registered_base_sepolia"], "alias": "spot_synth_registered_base_sepolia", "checksum": {"name": "sha256", "checksum": "1b11853437323fbd9b2d087c12e5878c7db8b0e20c474bf8123dccdaf2dca644"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "SynthRegistered events from the SpotMarketProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_token_address": {"name": "synth_token_address", "description": "Address of the synth token", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584320.562761, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'spot_market_proxy',\n 'synth_registered'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "spot_market_proxy_event_synth_registered"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_registered"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_registered_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_registered\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_sold_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "spot_synth_sold_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/spot/spot_synth_sold_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/spot/spot_synth_sold_base_sepolia.sql", "unique_id": "model.synthetix.spot_synth_sold_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "spot_synth_sold_base_sepolia"], "alias": "spot_synth_sold_base_sepolia", "checksum": {"name": "sha256", "checksum": "97cdb241ab96a59a42fbaaeaaf72527c43a4d2fee0d22b1e555b8b9d67c3659d"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "SynthSold events from the SpotMarketProxy contract", "columns": {"event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_returned": {"name": "amount_returned", "description": "Amount returned", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584320.566436, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'spot_market_proxy',\n 'synth_sold'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "spot_market_proxy_event_synth_sold"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_sold"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_sold_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_sold\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_unwrapped_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "spot_synth_unwrapped_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/spot/spot_synth_unwrapped_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/spot/spot_synth_unwrapped_base_sepolia.sql", "unique_id": "model.synthetix.spot_synth_unwrapped_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "spot_synth_unwrapped_base_sepolia"], "alias": "spot_synth_unwrapped_base_sepolia", "checksum": {"name": "sha256", "checksum": "17e886ce2a1cdc3470e83b40e3fd50e3d27d84b1744c4c96303b5d19c0553af4"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "SynthUnwrapped events from the SpotMarketProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "amount_unwrapped": {"name": "amount_unwrapped", "description": "Amount of synth unwrapped", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees_collected": {"name": "fees_collected", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584320.5697343, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'spot_market_proxy',\n 'synth_unwrapped'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "spot_market_proxy_event_synth_unwrapped"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_unwrapped"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_unwrapped_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_unwrapped\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_cancelled_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "spot_order_cancelled_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/spot/spot_order_cancelled_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/spot/spot_order_cancelled_base_sepolia.sql", "unique_id": "model.synthetix.spot_order_cancelled_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "spot_order_cancelled_base_sepolia"], "alias": "spot_order_cancelled_base_sepolia", "checksum": {"name": "sha256", "checksum": "e47c8a2b4292d7210d38030941bedcda72bd58ba3e28f6397ef6dca68e9b739b"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "OrderCancelled events from the SpotMarketProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "async_order_claim": {"name": "async_order_claim", "description": "Async order clain", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584320.5611746, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'spot_market_proxy',\n 'order_cancelled'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "spot_market_proxy_event_order_cancelled"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_cancelled"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_cancelled_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_order_cancelled\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_bought_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "spot_synth_bought_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/spot/spot_synth_bought_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/spot/spot_synth_bought_base_sepolia.sql", "unique_id": "model.synthetix.spot_synth_bought_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "spot_synth_bought_base_sepolia"], "alias": "spot_synth_bought_base_sepolia", "checksum": {"name": "sha256", "checksum": "eece206cffd14e72c7a2358018f0dccc3310b2d94637490579d213ebf0adcba2"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "SynthBought events from the SpotMarketProxy contract", "columns": {"collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "synth_returned": {"name": "synth_returned", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584320.5645514, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'spot_market_proxy',\n 'synth_bought'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "spot_market_proxy_event_synth_bought"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_bought"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_bought_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_bought\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_settled_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "spot_order_settled_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/spot/spot_order_settled_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/spot/spot_order_settled_base_sepolia.sql", "unique_id": "model.synthetix.spot_order_settled_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "spot_order_settled_base_sepolia"], "alias": "spot_order_settled_base_sepolia", "checksum": {"name": "sha256", "checksum": "6bfd0eeaf56a4ba40817134104376d180c25bb595f8ecd2f49700e9a88faae8d"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "OrderSettled events from the SpotMarketProxy contract", "columns": {"final_order_amount": {"name": "final_order_amount", "description": "Final order amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settler": {"name": "settler", "description": "Address of the settler", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "Type of order", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1723584320.55961, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'spot_market_proxy',\n 'order_settled'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "spot_market_proxy_event_order_settled"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_settled"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_settled_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_order_settled\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pool_collateral_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_core_pool_collateral_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_core_pool_collateral_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_core_pool_collateral_eth_mainnet.sql", "unique_id": "model.synthetix.fct_core_pool_collateral_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_core_pool_collateral_eth_mainnet"], "alias": "fct_core_pool_collateral_eth_mainnet", "checksum": {"name": "sha256", "checksum": "83050d8f006cf2a1a61018e05a5f6c0ae2287c239c508553cf01b08fa4f4b109"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_deposited": {"name": "amount_deposited", "description": "Amount deposited", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.842904, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_pool_collateral_eth_mainnet\"", "raw_code": "WITH events AS (\n SELECT\n block_timestamp,\n {{ convert_wei('token_amount') }} AS token_amount,\n collateral_type\n FROM\n {{ ref('core_deposited_eth_mainnet') }}\n UNION ALL\n SELECT\n block_timestamp,- {{ convert_wei('token_amount') }} AS token_amount,\n collateral_type\n FROM\n {{ ref('core_withdrawn_eth_mainnet') }}\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_deposited_eth_mainnet", "package": null, "version": null}, {"name": "core_withdrawn_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_deposited_eth_mainnet", "model.synthetix.core_withdrawn_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pool_collateral_eth_mainnet.sql", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n block_timestamp,\n \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\n UNION ALL\n SELECT\n block_timestamp,- \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_apr_rewards_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_core_apr_rewards_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_core_apr_rewards_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_core_apr_rewards_eth_mainnet.sql", "unique_id": "model.synthetix.fct_core_apr_rewards_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_core_apr_rewards_eth_mainnet"], "alias": "fct_core_apr_rewards_eth_mainnet", "checksum": {"name": "sha256", "checksum": "39646a949247fd0aea0920ccdb26e3b89dd186fb25ac302448fcafd1ec441e42"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet", "materialized": "table"}, "created_at": 1723584314.6820805, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_rewards_eth_mainnet\"", "raw_code": "{{\n config(\n materialized = 'table',\n )\n}}\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n {{ ref('fct_pool_pnl_hourly_reward_eth_mainnet') }}\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_reward_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_reward_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_apr_rewards_eth_mainnet.sql", "compiled": true, "compiled_code": "\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_reward_eth_mainnet\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_pnl_hourly_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_pool_pnl_hourly_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_pool_pnl_hourly_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_pool_pnl_hourly_eth_mainnet.sql", "unique_id": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_pool_pnl_hourly_eth_mainnet"], "alias": "fct_pool_pnl_hourly_eth_mainnet", "checksum": {"name": "sha256", "checksum": "1e58977b60bcf3574d6b90789da91eb21536c7e7871b469ba6127189e8afc217"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": ["ts", "pool_id", "collateral_type"], "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_debt_migrated": {"name": "hourly_debt_migrated", "description": "Hourly debt migrated from V2x to V3", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_total_pct": {"name": "hourly_total_pct", "description": "Hourly Total (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet", "materialized": "table", "unique_key": ["ts", "pool_id", "collateral_type"]}, "created_at": 1723584320.8508375, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"", "raw_code": "{{ config(\n materialized = 'table',\n unique_key = ['ts', 'pool_id', 'collateral_type'],\n) }}\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_debt_eth_mainnet') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_debt_eth_mainnet') }}\n ) AS p\n GROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n {{ ref('fct_pool_issuance_hourly_eth_mainnet') }}\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n {{ ref('fct_pool_debt_eth_mainnet') }}\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n {{ ref('core_vault_collateral_eth_mainnet') }}\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n {{ ref('fct_pool_rewards_hourly_eth_mainnet') }}\n),\nhourly_migration AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_debt_migrated\n FROM\n {{ ref('fct_core_migration_hourly_eth_mainnet') }}\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n COALESCE(\n migration.hourly_debt_migrated,\n 0\n ) AS hourly_debt_migrated,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) + COALESCE(\n migration.hourly_debt_migrated,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl + COALESCE(migration.hourly_debt_migrated, 0)) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0) + COALESCE(migration.hourly_debt_migrated, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n LEFT JOIN hourly_migration migration\n ON pnl.ts = migration.ts\n AND pnl.pool_id = migration.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n migration.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n hourly_debt_migrated,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "language": "sql", "refs": [{"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_issuance_hourly_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}, {"name": "core_vault_collateral_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_hourly_eth_mainnet", "package": null, "version": null}, {"name": "fct_core_migration_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_debt_eth_mainnet", "model.synthetix.fct_pool_issuance_hourly_eth_mainnet", "model.synthetix.core_vault_collateral_eth_mainnet", "model.synthetix.fct_pool_rewards_hourly_eth_mainnet", "model.synthetix.fct_core_migration_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_pnl_hourly_eth_mainnet.sql", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n ) AS p\n GROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_hourly_eth_mainnet\"\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_hourly_eth_mainnet\"\n),\nhourly_migration AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_debt_migrated\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_hourly_eth_mainnet\"\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n COALESCE(\n migration.hourly_debt_migrated,\n 0\n ) AS hourly_debt_migrated,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) + COALESCE(\n migration.hourly_debt_migrated,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl + COALESCE(migration.hourly_debt_migrated, 0)) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0) + COALESCE(migration.hourly_debt_migrated, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n LEFT JOIN hourly_migration migration\n ON pnl.ts = migration.ts\n AND pnl.pool_id = migration.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n migration.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n hourly_debt_migrated,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_pnl_hourly_reward_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_pool_pnl_hourly_reward_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_pool_pnl_hourly_reward_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_pool_pnl_hourly_reward_eth_mainnet.sql", "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_pool_pnl_hourly_reward_eth_mainnet"], "alias": "fct_pool_pnl_hourly_reward_eth_mainnet", "checksum": {"name": "sha256", "checksum": "87a2d320b83c704d230cd1c798ce431ce8ad8e615c36773676445a7e9b4cbba6"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"], "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet", "materialized": "table", "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"]}, "created_at": 1723584314.6879773, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_reward_eth_mainnet\"", "raw_code": "{{ config(\n materialized = 'table',\n unique_key = ['ts', 'pool_id', 'collateral_type', 'reward_token'],\n) }}\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n {{ ref('fct_pool_pnl_hourly_eth_mainnet') }}\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n {{ ref('fct_pool_rewards_token_hourly_eth_mainnet') }}\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n {{ ref('fct_pool_rewards_token_hourly_eth_mainnet') }}\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_pnl_hourly_reward_eth_mainnet.sql", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_migration_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_core_migration_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_core_migration_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_core_migration_eth_mainnet.sql", "unique_id": "model.synthetix.fct_core_migration_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_core_migration_eth_mainnet"], "alias": "fct_core_migration_eth_mainnet", "checksum": {"name": "sha256", "checksum": "5c1b79995a68e8fe26792c6d45f5bfb76bd958b8ae7c1b88afc359d279a1e6db"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool (Spartan Council pool)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of collateral (SNX)", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "staker": {"name": "staker", "description": "Address of the staker", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_amount": {"name": "collateral_amount", "description": "Amount of collateral", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt_amount": {"name": "debt_amount", "description": "Amount of debt", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.855611, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"", "raw_code": "SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n 1 as pool_id, -- Spartan Council pool\n '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F' as collateral_type, -- SNX collateral\n staker,\n account_id,\n {{ convert_wei('collateral_amount') }} as collateral_amount,\n {{ convert_wei('debt_amount') }} as debt_amount\nFROM\n {{ ref('core_account_migrated_eth_mainnet') }}\nORDER BY block_timestamp", "language": "sql", "refs": [{"name": "core_account_migrated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_account_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_migration_eth_mainnet.sql", "compiled": true, "compiled_code": "SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n 1 as pool_id, -- Spartan Council pool\n '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F' as collateral_type, -- SNX collateral\n staker,\n account_id,\n \n collateral_amount / 1e18\n as collateral_amount,\n \n debt_amount / 1e18\n as debt_amount\nFROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\nORDER BY block_timestamp", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_hourly_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_pool_rewards_hourly_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_pool_rewards_hourly_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_pool_rewards_hourly_eth_mainnet.sql", "unique_id": "model.synthetix.fct_pool_rewards_hourly_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_pool_rewards_hourly_eth_mainnet"], "alias": "fct_pool_rewards_hourly_eth_mainnet", "checksum": {"name": "sha256", "checksum": "e514668be5ffa5b81b159587f47136f766cdae14bf7f3a06dad666b3762dda94"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.8518617, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_hourly_eth_mainnet\"", "raw_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n {{ ref('fct_pool_rewards_token_hourly_eth_mainnet') }}\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_hourly_eth_mainnet.sql", "compiled": true, "compiled_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_debt_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_pool_debt_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_pool_debt_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_pool_debt_eth_mainnet.sql", "unique_id": "model.synthetix.fct_pool_debt_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_pool_debt_eth_mainnet"], "alias": "fct_pool_debt_eth_mainnet", "checksum": {"name": "sha256", "checksum": "1d3624b6457d6886d3f35bbbb78ad467a6b4a3f6995d8b044a1c176859079efd"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.8463123, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"", "raw_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n {{ ref('core_vault_debt_eth_mainnet') }}\nORDER BY\n ts", "language": "sql", "refs": [{"name": "core_vault_debt_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_vault_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_debt_eth_mainnet.sql", "compiled": true, "compiled_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_debt_eth_mainnet\"\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_issuance_hourly_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_pool_issuance_hourly_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_pool_issuance_hourly_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_pool_issuance_hourly_eth_mainnet.sql", "unique_id": "model.synthetix.fct_pool_issuance_hourly_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_pool_issuance_hourly_eth_mainnet"], "alias": "fct_pool_issuance_hourly_eth_mainnet", "checksum": {"name": "sha256", "checksum": "c9e777cb80a98a6657d599d860d3d2824d8140d2510fb6411880a8dd1d895b9b"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.847296, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_hourly_eth_mainnet\"", "raw_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_issuance_eth_mainnet') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_issuance_eth_mainnet') }}\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n {{ ref('fct_pool_debt_eth_mainnet') }}\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n {{ ref('fct_pool_issuance_eth_mainnet') }}\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "language": "sql", "refs": [{"name": "fct_pool_issuance_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_issuance_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_issuance_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_issuance_eth_mainnet", "model.synthetix.fct_pool_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_issuance_hourly_eth_mainnet.sql", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\"\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_migration_hourly_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_core_migration_hourly_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_core_migration_hourly_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_core_migration_hourly_eth_mainnet.sql", "unique_id": "model.synthetix.fct_core_migration_hourly_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_core_migration_hourly_eth_mainnet"], "alias": "fct_core_migration_hourly_eth_mainnet", "checksum": {"name": "sha256", "checksum": "00fa77c3d9f11f0415ba68d3b9a01094c270be8633f51afdaa01118123f7bf80"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Hourly timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "hourly_debt_migrated": {"name": "hourly_debt_migrated", "description": "Hourly debt migrated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.8571737, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_hourly_eth_mainnet\"", "raw_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_debt_eth_mainnet') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_debt_eth_mainnet') }}\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n {{ ref('fct_pool_debt_eth_mainnet') }}\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nmigration AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(debt_amount) AS hourly_debt_migrated\n FROM\n {{ ref('fct_core_migration_eth_mainnet') }}\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n m.hourly_debt_migrated,\n 0\n ) AS hourly_debt_migrated\nFROM\n dim\n LEFT JOIN migration m\n ON dim.pool_id = m.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n m.collateral_type\n )\n AND dim.ts = m.ts", "language": "sql", "refs": [{"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}, {"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_debt_eth_mainnet", "model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_migration_hourly_eth_mainnet.sql", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nmigration AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(debt_amount) AS hourly_debt_migrated\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n m.hourly_debt_migrated,\n 0\n ) AS hourly_debt_migrated\nFROM\n dim\n LEFT JOIN migration m\n ON dim.pool_id = m.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n m.collateral_type\n )\n AND dim.ts = m.ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pool_delegation_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_core_pool_delegation_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_core_pool_delegation_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_core_pool_delegation_eth_mainnet.sql", "unique_id": "model.synthetix.fct_core_pool_delegation_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_core_pool_delegation_eth_mainnet"], "alias": "fct_core_pool_delegation_eth_mainnet", "checksum": {"name": "sha256", "checksum": "288e4d4f648e09cb572b66697707968fb6216fdb4c4442747a41a08c7a5b1cd4"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delegated": {"name": "amount_delegated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.8439481, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_pool_delegation_eth_mainnet\"", "raw_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n {{ convert_wei('amount') }} - LAG({{ convert_wei('amount') }}, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n {{ ref('core_delegation_updated_eth_mainnet') }}\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pool_delegation_eth_mainnet.sql", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_issuance_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_pool_issuance_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_pool_issuance_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_pool_issuance_eth_mainnet.sql", "unique_id": "model.synthetix.fct_pool_issuance_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_pool_issuance_eth_mainnet"], "alias": "fct_pool_issuance_eth_mainnet", "checksum": {"name": "sha256", "checksum": "94f1deb3d17441c72b65b8d3337d0213f0edc3b7983230a56f493f8436a97d37"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount issued", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.8485582, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\"", "raw_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * {{ convert_wei('amount') }} AS amount\n FROM\n {{ ref('core_usd_burned_eth_mainnet') }}\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n {{ convert_wei('amount') }} AS amount\n FROM\n {{ ref('core_usd_minted_eth_mainnet') }}\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "language": "sql", "refs": [{"name": "core_usd_burned_eth_mainnet", "package": null, "version": null}, {"name": "core_usd_minted_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_usd_burned_eth_mainnet", "model.synthetix.core_usd_minted_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_issuance_eth_mainnet.sql", "compiled": true, "compiled_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_account_delegation_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_core_account_delegation_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_core_account_delegation_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_core_account_delegation_eth_mainnet.sql", "unique_id": "model.synthetix.fct_core_account_delegation_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_core_account_delegation_eth_mainnet"], "alias": "fct_core_account_delegation_eth_mainnet", "checksum": {"name": "sha256", "checksum": "38d4c5e0cf925f6d81582b9053b97fb0f2cb547994a063c46c4f9a29bba523d1"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delegated": {"name": "amount_delegated", "description": "Amount of delegated collateral", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.828636, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_account_delegation_eth_mainnet\"", "raw_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n {{ convert_wei('amount') }} - LAG({{ convert_wei('amount') }}, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n {{ ref('core_delegation_updated_eth_mainnet') }}\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_account_delegation_eth_mainnet.sql", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_market_updated_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_core_market_updated_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_core_market_updated_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_core_market_updated_eth_mainnet.sql", "unique_id": "model.synthetix.fct_core_market_updated_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_core_market_updated_eth_mainnet"], "alias": "fct_core_market_updated_eth_mainnet", "checksum": {"name": "sha256", "checksum": "1f184187dcdb3c88030c0cf7407fcb649f2aefd09dfe67f85a9e047ade0c35ee"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.841676, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_mainnet\"", "raw_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n {{ ref('core_market_updated_eth_mainnet') }}\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n {{ convert_wei(\"credit_capacity\") }} AS credit_capacity,\n {{ convert_wei(\"net_issuance\") }} AS net_issuance,\n {{ convert_wei(\"token_amount\") }} AS token_amount\nFROM\n market_updated", "language": "sql", "refs": [{"name": "core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_market_updated_eth_mainnet.sql", "compiled": true, "compiled_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n \n credit_capacity / 1e18\n AS credit_capacity,\n \n net_issuance / 1e18\n AS net_issuance,\n \n token_amount / 1e18\n AS token_amount\nFROM\n market_updated", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_apr_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_core_apr_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_core_apr_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_core_apr_eth_mainnet.sql", "unique_id": "model.synthetix.fct_core_apr_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_core_apr_eth_mainnet"], "alias": "fct_core_apr_eth_mainnet", "checksum": {"name": "sha256", "checksum": "0ca07a80ecf67d99fb1dc517b9d993d4432f97e4c8072182d5af55879f06cd34"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_debt_migrated": {"name": "hourly_debt_migrated", "description": "Hourly debt migrated from V2x to V3", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_pnl": {"name": "cumulative_pnl", "description": "Cumulative PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_issuance": {"name": "cumulative_issuance", "description": "Cumulative Issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h": {"name": "apr_24h", "description": "APR (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h": {"name": "apy_24h", "description": "APY (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d": {"name": "apr_7d", "description": "APR (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d": {"name": "apy_7d", "description": "APY (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d": {"name": "apr_28d", "description": "APR (28d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d": {"name": "apy_28d", "description": "APY (28d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h_pnl": {"name": "apr_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h_pnl": {"name": "apy_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d_pnl": {"name": "apr_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d_pnl": {"name": "apy_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d_pnl": {"name": "apr_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d_pnl": {"name": "apy_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h_rewards": {"name": "apr_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h_rewards": {"name": "apy_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d_rewards": {"name": "apr_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d_rewards": {"name": "apy_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d_rewards": {"name": "apr_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d_rewards": {"name": "apy_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet", "materialized": "table"}, "created_at": 1723584320.840137, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"", "raw_code": "{{\n config(\n materialized = 'table',\n )\n}}\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n hourly_debt_migrated,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n {{ ref('fct_pool_pnl_hourly_eth_mainnet') }}\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.hourly_debt_migrated AS hourly_debt_migrated,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_debt_migrated,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_apr_eth_mainnet.sql", "compiled": true, "compiled_code": "\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n hourly_debt_migrated,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.hourly_debt_migrated AS hourly_debt_migrated,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_debt_migrated,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_pool_rewards_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_pool_rewards_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_pool_rewards_eth_mainnet.sql", "unique_id": "model.synthetix.fct_pool_rewards_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_pool_rewards_eth_mainnet"], "alias": "fct_pool_rewards_eth_mainnet", "checksum": {"name": "sha256", "checksum": "5ed6bc6f4b699b339717f2e75fe3e042aeab9d6ee02a51622d7eaa9f62c1e22b"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Reward amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "ts_start": {"name": "ts_start", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "duration": {"name": "duration", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.8271794, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_eth_mainnet\"", "raw_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n {{ convert_wei('amount') }} AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n {{ ref('core_rewards_distributed_eth_mainnet') }}\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n {{ ref('eth_mainnet_reward_distributors') }}\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_mainnet", "package": null, "version": null}, {"name": "eth_mainnet_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_rewards_distributed_eth_mainnet", "seed.synthetix.eth_mainnet_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_eth_mainnet.sql", "compiled": true, "compiled_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n \n amount / 1e18\n AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"eth_mainnet_reward_distributors\"\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pools_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_core_pools_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_core_pools_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_core_pools_eth_mainnet.sql", "unique_id": "model.synthetix.fct_core_pools_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_core_pools_eth_mainnet"], "alias": "fct_core_pools_eth_mainnet", "checksum": {"name": "sha256", "checksum": "7b8c4a15fbe54b7b4f92af4ba8a7640098efa129547fbe645fa1f0dc2730f470"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "Pool creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.8452506, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_pools_eth_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n {{ ref('core_pool_created_eth_mainnet') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "core_pool_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_pool_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pools_eth_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_pool_rewards_token_hourly_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_pool_rewards_token_hourly_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_pool_rewards_token_hourly_eth_mainnet.sql", "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_pool_rewards_token_hourly_eth_mainnet"], "alias": "fct_pool_rewards_token_hourly_eth_mainnet", "checksum": {"name": "sha256", "checksum": "8c7578fb72ed9f855a9661e7c144d31d66389ebe2ff3825470e38c4167c8b29f"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_amount": {"name": "hourly_amount", "description": "Hourly rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_distributed": {"name": "amount_distributed", "description": "Distributed rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.8540878, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"", "raw_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_debt_eth_mainnet') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_debt_eth_mainnet') }}\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n {{ ref('fct_pool_rewards_eth_mainnet') }}\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN {{ ref('fct_prices_hourly_eth_mainnet') }}\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "language": "sql", "refs": [{"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_eth_mainnet", "package": null, "version": null}, {"name": "fct_prices_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_debt_eth_mainnet", "model.synthetix.fct_pool_rewards_eth_mainnet", "model.synthetix.fct_prices_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_token_hourly_eth_mainnet.sql", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_eth_mainnet\"\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN \"analytics\".\"prod_eth_mainnet\".\"fct_prices_hourly_eth_mainnet\"\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_prices_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_prices_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/prices/fct_prices_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/prices/fct_prices_eth_mainnet.sql", "unique_id": "model.synthetix.fct_prices_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "prices", "fct_prices_eth_mainnet"], "alias": "fct_prices_eth_mainnet", "checksum": {"name": "sha256", "checksum": "71e7786218dfbc71152918ee706ae958b6065d85c9f9ba7c4f1c96c1c1a19d44"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_address": {"name": "market_address", "description": "Market address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/prices/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584321.1692233, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_prices_eth_mainnet\"", "raw_code": "WITH all_prices AS (\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n {{ ref('core_vault_collateral_eth_mainnet') }}\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n {{ ref('eth_mainnet_tokens') }}\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "language": "sql", "refs": [{"name": "core_vault_collateral_eth_mainnet", "package": null, "version": null}, {"name": "eth_mainnet_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_vault_collateral_eth_mainnet", "seed.synthetix.eth_mainnet_tokens"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/prices/fct_prices_eth_mainnet.sql", "compiled": true, "compiled_code": "WITH all_prices AS (\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"eth_mainnet_tokens\"\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_prices_hourly_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_prices_hourly_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/prices/fct_prices_hourly_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/prices/fct_prices_hourly_eth_mainnet.sql", "unique_id": "model.synthetix.fct_prices_hourly_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "prices", "fct_prices_hourly_eth_mainnet"], "alias": "fct_prices_hourly_eth_mainnet", "checksum": {"name": "sha256", "checksum": "f1384c2310084732eafb046f1ab382bb817c8669c0deeabdb1d81dd9f33e331a"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/prices/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584321.1701148, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_prices_hourly_eth_mainnet\"", "raw_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n {{ ref('fct_prices_eth_mainnet') }}\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "language": "sql", "refs": [{"name": "fct_prices_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_prices_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/prices/fct_prices_hourly_eth_mainnet.sql", "compiled": true, "compiled_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_prices_eth_mainnet\"\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_debt_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_debt_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_pool_debt_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_pool_debt_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_pool_debt_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_pool_debt_arbitrum_mainnet"], "alias": "fct_pool_debt_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "ae9093f33f02afca816e46808fc25fe687c190d621a4272a7231dbc530b7064e"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1723584321.1995902, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"", "raw_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n {{ ref('core_vault_debt_arbitrum_mainnet') }}\nORDER BY\n ts", "language": "sql", "refs": [{"name": "core_vault_debt_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_vault_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_debt_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_debt_arbitrum_mainnet\"\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_account_delegation_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_core_account_delegation_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_core_account_delegation_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_core_account_delegation_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_core_account_delegation_arbitrum_mainnet"], "alias": "fct_core_account_delegation_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "9c142accacc8f05fbac50a96ff1f4c91f5c818b220c5ba75cb75627a30423476"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delegated": {"name": "amount_delegated", "description": "Amount of delegated collateral", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1723584321.191292, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_account_delegation_arbitrum_mainnet\"", "raw_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n {{ convert_wei('amount') }} - LAG({{ convert_wei('amount') }}, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n {{ ref('core_delegation_updated_arbitrum_mainnet') }}\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_account_delegation_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_apr_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_core_apr_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_core_apr_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_core_apr_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_core_apr_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_core_apr_arbitrum_mainnet"], "alias": "fct_core_apr_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "0a6c7d0ba27e8c885e5d863aff162d6598e4b2bba83c8099e411bfef7f3c45fc"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_pnl": {"name": "cumulative_pnl", "description": "Cumulative PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_issuance": {"name": "cumulative_issuance", "description": "Cumulative Issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h": {"name": "apr_24h", "description": "APR (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h": {"name": "apy_24h", "description": "APY (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d": {"name": "apr_7d", "description": "APR (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d": {"name": "apy_7d", "description": "APY (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d": {"name": "apr_28d", "description": "APR (28d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d": {"name": "apy_28d", "description": "APY (28d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h_pnl": {"name": "apr_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h_pnl": {"name": "apy_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d_pnl": {"name": "apr_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d_pnl": {"name": "apy_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d_pnl": {"name": "apr_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d_pnl": {"name": "apy_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h_rewards": {"name": "apr_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h_rewards": {"name": "apy_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d_rewards": {"name": "apr_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d_rewards": {"name": "apy_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d_rewards": {"name": "apr_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d_rewards": {"name": "apy_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet", "materialized": "table"}, "created_at": 1723584321.1943443, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"", "raw_code": "{{\n config(\n materialized = 'table',\n )\n}}\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n {{ ref('fct_pool_pnl_hourly_arbitrum_mainnet') }}\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_apr_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_pool_rewards_token_hourly_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_pool_rewards_token_hourly_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_pool_rewards_token_hourly_arbitrum_mainnet"], "alias": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "5c542a3febc40f8925dd3711305f4fac38d148b7a1d822e6e1b2a0b518c6dc8e"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_amount": {"name": "hourly_amount", "description": "Hourly rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_distributed": {"name": "amount_distributed", "description": "Distributed rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1723584321.2060914, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"", "raw_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_debt_arbitrum_mainnet') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_debt_arbitrum_mainnet') }}\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n {{ ref('fct_pool_rewards_arbitrum_mainnet') }}\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN {{ ref('fct_prices_hourly_arbitrum_mainnet') }}\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_prices_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_mainnet", "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "model.synthetix.fct_prices_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_token_hourly_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_arbitrum_mainnet\"\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_hourly_arbitrum_mainnet\"\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_issuance_hourly_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_pool_issuance_hourly_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_pool_issuance_hourly_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_pool_issuance_hourly_arbitrum_mainnet"], "alias": "fct_pool_issuance_hourly_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "288aa95e4e7eb69bff52aa56235996f30c0e292de443b13317bcc081f978e011"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1723584321.2005203, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_hourly_arbitrum_mainnet\"", "raw_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_issuance_arbitrum_mainnet') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_issuance_arbitrum_mainnet') }}\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n {{ ref('fct_pool_debt_arbitrum_mainnet') }}\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n {{ ref('fct_pool_issuance_arbitrum_mainnet') }}\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_issuance_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_issuance_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet", "model.synthetix.fct_pool_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_issuance_hourly_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pools_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_core_pools_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_core_pools_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_core_pools_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_core_pools_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_core_pools_arbitrum_mainnet"], "alias": "fct_core_pools_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "ed74205add6861ef5ea5768b7f3057d7883f744fd6e5f8e869167bb9566150c7"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "Pool creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1723584321.198537, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pools_arbitrum_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n {{ ref('core_pool_created_arbitrum_mainnet') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_pool_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pools_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_market_updated_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_core_market_updated_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_core_market_updated_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_core_market_updated_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_core_market_updated_arbitrum_mainnet"], "alias": "fct_core_market_updated_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "2c142c2887f6bd3b6a5554bd166fd8eef39cdc997f07cbbcee60ec30e456aadb"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1723584321.1958978, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\"", "raw_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n {{ ref('core_market_updated_arbitrum_mainnet') }}\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n {{ convert_wei(\"credit_capacity\") }} AS credit_capacity,\n {{ convert_wei(\"net_issuance\") }} AS net_issuance,\n {{ convert_wei(\"token_amount\") }} AS token_amount\nFROM\n market_updated", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_market_updated_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n \n credit_capacity / 1e18\n AS credit_capacity,\n \n net_issuance / 1e18\n AS net_issuance,\n \n token_amount / 1e18\n AS token_amount\nFROM\n market_updated", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_core_pool_delegation_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_core_pool_delegation_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_core_pool_delegation_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_core_pool_delegation_arbitrum_mainnet"], "alias": "fct_core_pool_delegation_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "334918fb7bdba838ae8c29f4885400f053dd310c57b3e8a0baa014d624a9d29d"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delegated": {"name": "amount_delegated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1723584321.1976085, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pool_delegation_arbitrum_mainnet\"", "raw_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n {{ convert_wei('amount') }} - LAG({{ convert_wei('amount') }}, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n {{ ref('core_delegation_updated_arbitrum_mainnet') }}\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pool_delegation_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_rewards_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_pool_rewards_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_pool_rewards_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_pool_rewards_arbitrum_mainnet"], "alias": "fct_pool_rewards_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "0ec34eeda76ad3af9c12e851088de58e6789bcc35a1e2055a92b5e0232aa3616"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Reward amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "ts_start": {"name": "ts_start", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "duration": {"name": "duration", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1723584321.190125, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_arbitrum_mainnet\"", "raw_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n {{ convert_wei('amount') }} AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n {{ ref('core_rewards_distributed_arbitrum_mainnet') }}\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n {{ ref('arbitrum_mainnet_reward_distributors') }}\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_mainnet", "package": null, "version": null}, {"name": "arbitrum_mainnet_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet", "seed.synthetix.arbitrum_mainnet_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n \n amount / 1e18\n AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_reward_distributors\"\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_rewards_hourly_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_pool_rewards_hourly_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_pool_rewards_hourly_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_pool_rewards_hourly_arbitrum_mainnet"], "alias": "fct_pool_rewards_hourly_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "acd73fc35d91aae158314a864e15ea9aa49c59bc53ddafd12327298bef7a1c3f"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1723584321.2045722, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_hourly_arbitrum_mainnet\"", "raw_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n {{ ref('fct_pool_rewards_token_hourly_arbitrum_mainnet') }}\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_hourly_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_apr_rewards_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_core_apr_rewards_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_core_apr_rewards_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_core_apr_rewards_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_core_apr_rewards_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_core_apr_rewards_arbitrum_mainnet"], "alias": "fct_core_apr_rewards_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "1703b25a939f666118f248f5f9b4dc4cbfa08b0ac9a284996b6c30629580f071"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet", "materialized": "table"}, "created_at": 1723584314.7887769, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_rewards_arbitrum_mainnet\"", "raw_code": "{{\n config(\n materialized = 'table',\n )\n}}\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n {{ ref('fct_pool_pnl_hourly_reward_arbitrum_mainnet') }}\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_reward_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_apr_rewards_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_reward_arbitrum_mainnet\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_issuance_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_issuance_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_pool_issuance_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_pool_issuance_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_pool_issuance_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_pool_issuance_arbitrum_mainnet"], "alias": "fct_pool_issuance_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "2869bf3ee5c586fa564d83b67a0d0960f055ae4e2b1130234f7d8ff6cf9b51c2"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount issued", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1723584321.2018392, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"", "raw_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * {{ convert_wei('amount') }} AS amount\n FROM\n {{ ref('core_usd_burned_arbitrum_mainnet') }}\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n {{ convert_wei('amount') }} AS amount\n FROM\n {{ ref('core_usd_minted_arbitrum_mainnet') }}\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}, {"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_mainnet", "model.synthetix.core_usd_minted_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_issuance_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_pnl_hourly_reward_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_reward_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_reward_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_pool_pnl_hourly_reward_arbitrum_mainnet"], "alias": "fct_pool_pnl_hourly_reward_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "308685dec1689bf1010c127456ffead34bc4a928228c49969a0dccb211c8feef"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"], "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet", "materialized": "table", "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"]}, "created_at": 1723584314.7974012, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_reward_arbitrum_mainnet\"", "raw_code": "{{ config(\n materialized = 'table',\n unique_key = ['ts', 'pool_id', 'collateral_type', 'reward_token'],\n) }}\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n {{ ref('fct_pool_pnl_hourly_arbitrum_mainnet') }}\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n {{ ref('fct_pool_rewards_token_hourly_arbitrum_mainnet') }}\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n {{ ref('fct_pool_rewards_token_hourly_arbitrum_mainnet') }}\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_reward_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_core_pool_collateral_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_core_pool_collateral_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_core_pool_collateral_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_core_pool_collateral_arbitrum_mainnet"], "alias": "fct_core_pool_collateral_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "d795de301811be713903326c73c5ec24d50f5cd38d592b80ed5eaa7993cef9b8"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_deposited": {"name": "amount_deposited", "description": "Amount deposited", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1723584321.1967206, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pool_collateral_arbitrum_mainnet\"", "raw_code": "WITH events AS (\n SELECT\n block_timestamp,\n {{ convert_wei('token_amount') }} AS token_amount,\n collateral_type\n FROM\n {{ ref('core_deposited_arbitrum_mainnet') }}\n UNION ALL\n SELECT\n block_timestamp,- {{ convert_wei('token_amount') }} AS token_amount,\n collateral_type\n FROM\n {{ ref('core_withdrawn_arbitrum_mainnet') }}\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_mainnet", "package": null, "version": null}, {"name": "core_withdrawn_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_deposited_arbitrum_mainnet", "model.synthetix.core_withdrawn_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pool_collateral_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n block_timestamp,\n \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\n UNION ALL\n SELECT\n block_timestamp,- \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_pnl_hourly_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_pool_pnl_hourly_arbitrum_mainnet"], "alias": "fct_pool_pnl_hourly_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "adc486f21275c7a48949bd13a492350291000e6183bf4220834acb20c9253138"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": ["ts", "pool_id", "collateral_type"], "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_total_pct": {"name": "hourly_total_pct", "description": "Hourly Total (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet", "materialized": "table", "unique_key": ["ts", "pool_id", "collateral_type"]}, "created_at": 1723584321.2035964, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"", "raw_code": "{{ config(\n materialized = 'table',\n unique_key = ['ts', 'pool_id', 'collateral_type'],\n) }}\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_debt_arbitrum_mainnet') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_debt_arbitrum_mainnet') }}\n ) AS p\nGROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n {{ ref('fct_pool_issuance_hourly_arbitrum_mainnet') }}\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n {{ ref('fct_pool_debt_arbitrum_mainnet') }}\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n {{ ref('core_vault_collateral_arbitrum_mainnet') }}\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n {{ ref('fct_pool_rewards_hourly_arbitrum_mainnet') }}\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_issuance_hourly_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}, {"name": "core_vault_collateral_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_mainnet", "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "model.synthetix.core_vault_collateral_arbitrum_mainnet", "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n ) AS p\nGROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_hourly_arbitrum_mainnet\"\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_hourly_arbitrum_mainnet\"\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_spot_atomics_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_spot_atomics_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/spot/fct_spot_atomics_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/fct_spot_atomics_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "fct_spot_atomics_arbitrum_mainnet"], "alias": "fct_spot_atomics_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "77caa18adb2b1b5aee94d3c5dcc557b27eed3ce4daa9c2339d9864ed80d8afdb"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tx_hash": {"name": "tx_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1723584321.4730396, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"", "raw_code": "WITH bought AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n {{ convert_wei('price') }} AS price,\n {{ convert_wei('synth_returned') }} AS amount,\n referrer\n FROM\n {{ ref('spot_synth_bought_arbitrum_mainnet') }}\n),\nsold AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n {{ convert_wei('price') }} AS price,\n -1 * {{ convert_wei('amount_returned') }} AS amount,\n referrer\n FROM\n {{ ref('spot_synth_sold_arbitrum_mainnet') }}\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n bought\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n sold\nORDER BY\n ts", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_mainnet", "package": null, "version": null}, {"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_mainnet", "model.synthetix.spot_synth_sold_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_atomics_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH bought AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n \n synth_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\n),\nsold AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n -1 * \n amount_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n bought\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n sold\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_synth_supply_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_synth_supply_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/spot/fct_synth_supply_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/fct_synth_supply_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_synth_supply_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "fct_synth_supply_arbitrum_mainnet"], "alias": "fct_synth_supply_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "fe4cf1228504d20713bddaf239a0abdd2d9a7e47bc95bec6585386c9d54224ec"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "supply": {"name": "supply", "description": "Supply", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1723584321.471287, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_synth_supply_arbitrum_mainnet\"", "raw_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n {{ ref('fct_spot_wrapper_arbitrum_mainnet') }}\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n {{ ref('fct_spot_atomics_arbitrum_mainnet') }}\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n {{ ref('fct_spot_atomics_arbitrum_mainnet') }}\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n {{ convert_wei(\"amount\") }} AS change_amount\n FROM\n {{ ref('core_usd_minted_arbitrum_mainnet') }}\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * {{ convert_wei(\"amount\") }} AS change_amount\n FROM\n {{ ref('core_usd_burned_arbitrum_mainnet') }}\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_spot_atomics_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_spot_atomics_arbitrum_mainnet", "package": null, "version": null}, {"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}, {"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "model.synthetix.core_usd_minted_arbitrum_mainnet", "model.synthetix.core_usd_burned_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_synth_supply_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_wrapper_arbitrum_mainnet\"\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_spot_markets_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_spot_markets_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/spot/fct_spot_markets_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/fct_spot_markets_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_spot_markets_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "fct_spot_markets_arbitrum_mainnet"], "alias": "fct_spot_markets_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "f41d931380187d5db1163696818ea8a64961da2a65be021b391c50a1c63a06e1"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_address": {"name": "token_address", "description": "Token address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1723584321.4740078, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_markets_arbitrum_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n {{ ref('spot_synth_registered_arbitrum_mainnet') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_markets_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_spot_wrapper_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_spot_wrapper_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/spot/fct_spot_wrapper_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/fct_spot_wrapper_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "fct_spot_wrapper_arbitrum_mainnet"], "alias": "fct_spot_wrapper_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "4f28a1af88b246f23a9cc5d953fb861fecc803b23ca991a53562786a8eeaf6c7"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tx_hash": {"name": "tx_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_wrapped": {"name": "amount_wrapped", "description": "Amount wrapped", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1723584321.4752238, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_wrapper_arbitrum_mainnet\"", "raw_code": "WITH wraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n {{ convert_wei('amount_wrapped') }} AS amount_wrapped\n FROM\n {{ ref('spot_synth_wrapped_arbitrum_mainnet') }}\n),\nunwraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n -1 * {{ convert_wei('amount_unwrapped') }} AS amount_wrapped\n FROM\n {{ ref('spot_synth_unwrapped_arbitrum_mainnet') }}\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n wraps\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n unwraps\nORDER BY\n ts", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_mainnet", "package": null, "version": null}, {"name": "spot_synth_unwrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_wrapper_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH wraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n amount_wrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\n),\nunwraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n -1 * \n amount_unwrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n wraps\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n unwraps\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_prices_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_prices_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/prices/fct_prices_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/prices/fct_prices_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_prices_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "prices", "fct_prices_arbitrum_mainnet"], "alias": "fct_prices_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "f10689980ba2e4b282846404a5ae8e8a131ea8f99acc3998c08536287f075901"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_address": {"name": "market_address", "description": "Market address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/prices/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1723584321.5331917, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_arbitrum_mainnet\"", "raw_code": "WITH all_prices AS (\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n {{ ref('core_vault_collateral_arbitrum_mainnet') }}\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n {{ ref('arbitrum_mainnet_tokens') }}\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_mainnet", "package": null, "version": null}, {"name": "arbitrum_mainnet_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_mainnet", "seed.synthetix.arbitrum_mainnet_tokens"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/prices/fct_prices_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH all_prices AS (\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_tokens\"\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_prices_hourly_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_prices_hourly_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/prices/fct_prices_hourly_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/prices/fct_prices_hourly_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_prices_hourly_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "prices", "fct_prices_hourly_arbitrum_mainnet"], "alias": "fct_prices_hourly_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "adb0fdc350dd9dd1b013d6bece743c0f4c2d57dcee0e52c22ab5e54cfac468ad"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/prices/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1723584321.534072, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_hourly_arbitrum_mainnet\"", "raw_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n {{ ref('fct_prices_arbitrum_mainnet') }}\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "language": "sql", "refs": [{"name": "fct_prices_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_prices_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/prices/fct_prices_hourly_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_arbitrum_mainnet\"\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_issuance_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_issuance_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_pool_issuance_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_pool_issuance_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_pool_issuance_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_pool_issuance_arbitrum_sepolia"], "alias": "fct_pool_issuance_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "d5b067a6f79eda47c81ae2933344666717348fb85a85b066de588d3381fb68e8"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount issued", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1723584321.5658343, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"", "raw_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * {{ convert_wei('amount') }} AS amount\n FROM\n {{ ref('core_usd_burned_arbitrum_sepolia') }}\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n {{ convert_wei('amount') }} AS amount\n FROM\n {{ ref('core_usd_minted_arbitrum_sepolia') }}\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}, {"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_sepolia", "model.synthetix.core_usd_minted_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_issuance_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_rewards_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_pool_rewards_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_pool_rewards_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_pool_rewards_arbitrum_sepolia"], "alias": "fct_pool_rewards_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "d22e80459fcc6bdbb51c6cd6ea42fcc6fb0cfbf08abc11bb00c016affad615aa"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Reward amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "ts_start": {"name": "ts_start", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "duration": {"name": "duration", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1723584321.55383, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_arbitrum_sepolia\"", "raw_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n {{ convert_wei('amount') }} AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n {{ ref('core_rewards_distributed_arbitrum_sepolia') }}\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n {{ ref('arbitrum_sepolia_reward_distributors') }}\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_sepolia", "package": null, "version": null}, {"name": "arbitrum_sepolia_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia", "seed.synthetix.arbitrum_sepolia_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n \n amount / 1e18\n AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_reward_distributors\"\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_apr_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_core_apr_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_core_apr_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_core_apr_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_core_apr_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_core_apr_arbitrum_sepolia"], "alias": "fct_core_apr_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "e9dd0f3567bed4e0f1579f1a4055b63ab13d087cfc4d5bca28ca0d426f07b70a"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_pnl": {"name": "cumulative_pnl", "description": "Cumulative PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_issuance": {"name": "cumulative_issuance", "description": "Cumulative Issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h": {"name": "apr_24h", "description": "APR (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h": {"name": "apy_24h", "description": "APY (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d": {"name": "apr_7d", "description": "APR (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d": {"name": "apy_7d", "description": "APY (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d": {"name": "apr_28d", "description": "APR (28d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d": {"name": "apy_28d", "description": "APY (28d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h_pnl": {"name": "apr_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h_pnl": {"name": "apy_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d_pnl": {"name": "apr_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d_pnl": {"name": "apy_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d_pnl": {"name": "apr_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d_pnl": {"name": "apy_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h_rewards": {"name": "apr_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h_rewards": {"name": "apy_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d_rewards": {"name": "apr_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d_rewards": {"name": "apy_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d_rewards": {"name": "apr_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d_rewards": {"name": "apy_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia", "materialized": "table"}, "created_at": 1723584321.5581481, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"", "raw_code": "{{\n config(\n materialized = 'table',\n )\n}}\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n {{ ref('fct_pool_pnl_hourly_arbitrum_sepolia') }}\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_apr_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pools_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_core_pools_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_core_pools_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_core_pools_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_core_pools_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_core_pools_arbitrum_sepolia"], "alias": "fct_core_pools_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "8ede9664df3ccdce37f37a5928e36511ecbc4a2ef17e59370d563e99bd8f30ff"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "Pool creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1723584321.562465, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pools_arbitrum_sepolia\"", "raw_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n {{ ref('core_pool_created_arbitrum_sepolia') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_pool_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pools_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_account_delegation_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_core_account_delegation_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_core_account_delegation_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_core_account_delegation_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_core_account_delegation_arbitrum_sepolia"], "alias": "fct_core_account_delegation_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "9fc0e026d0582c2f917ab05fea5f8266f6c0feef1c3aa7e05615c7188c7c62f8"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delegated": {"name": "amount_delegated", "description": "Amount of delegated collateral", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1723584321.5549319, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_account_delegation_arbitrum_sepolia\"", "raw_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n {{ convert_wei('amount') }} - LAG({{ convert_wei('amount') }}, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n {{ ref('core_delegation_updated_arbitrum_sepolia') }}\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_account_delegation_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_pnl_hourly_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_pool_pnl_hourly_arbitrum_sepolia"], "alias": "fct_pool_pnl_hourly_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "cc173a633fcdf29c0b9c5fef6cfa5af058066e006df3feade5cfc130e8a48c1b"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": ["ts", "pool_id", "collateral_type"], "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_total_pct": {"name": "hourly_total_pct", "description": "Hourly Total (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia", "materialized": "table", "unique_key": ["ts", "pool_id", "collateral_type"]}, "created_at": 1723584321.5676281, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"", "raw_code": "{{ config(\n materialized = 'table',\n unique_key = ['ts', 'pool_id', 'collateral_type'],\n) }}\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_debt_arbitrum_sepolia') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_debt_arbitrum_sepolia') }}\n ) AS p\nGROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n {{ ref('fct_pool_issuance_hourly_arbitrum_sepolia') }}\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n {{ ref('fct_pool_debt_arbitrum_sepolia') }}\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n {{ ref('core_vault_collateral_arbitrum_sepolia') }}\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n {{ ref('fct_pool_rewards_hourly_arbitrum_sepolia') }}\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_issuance_hourly_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}, {"name": "core_vault_collateral_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_rewards_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_sepolia", "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "model.synthetix.core_vault_collateral_arbitrum_sepolia", "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n ) AS p\nGROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_hourly_arbitrum_sepolia\"\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_hourly_arbitrum_sepolia\"\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_core_pool_collateral_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_core_pool_collateral_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_core_pool_collateral_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_core_pool_collateral_arbitrum_sepolia"], "alias": "fct_core_pool_collateral_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "23661af393324d8769ceb50b42a2f5d19c8208261de02c1d13c5b99a680343cf"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_deposited": {"name": "amount_deposited", "description": "Amount deposited", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1723584321.5605888, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pool_collateral_arbitrum_sepolia\"", "raw_code": "WITH events AS (\n SELECT\n block_timestamp,\n {{ convert_wei('token_amount') }} AS token_amount,\n collateral_type\n FROM\n {{ ref('core_deposited_arbitrum_sepolia') }}\n UNION ALL\n SELECT\n block_timestamp,- {{ convert_wei('token_amount') }} AS token_amount,\n collateral_type\n FROM\n {{ ref('core_withdrawn_arbitrum_sepolia') }}\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_sepolia", "package": null, "version": null}, {"name": "core_withdrawn_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_deposited_arbitrum_sepolia", "model.synthetix.core_withdrawn_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pool_collateral_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n block_timestamp,\n \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\n UNION ALL\n SELECT\n block_timestamp,- \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_pool_rewards_token_hourly_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_pool_rewards_token_hourly_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_pool_rewards_token_hourly_arbitrum_sepolia"], "alias": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "1a6650829ae82bc519444da947015faf941cb0ebc9eace16b1070818a8697c78"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_amount": {"name": "hourly_amount", "description": "Hourly rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_distributed": {"name": "amount_distributed", "description": "Distributed rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1723584321.570234, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"", "raw_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_debt_arbitrum_sepolia') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_debt_arbitrum_sepolia') }}\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n {{ ref('fct_pool_rewards_arbitrum_sepolia') }}\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN {{ ref('fct_prices_hourly_arbitrum_sepolia') }}\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_rewards_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_prices_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_sepolia", "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "model.synthetix.fct_prices_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_token_hourly_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_arbitrum_sepolia\"\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_hourly_arbitrum_sepolia\"\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_pnl_hourly_reward_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_reward_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_reward_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_pool_pnl_hourly_reward_arbitrum_sepolia"], "alias": "fct_pool_pnl_hourly_reward_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "010e2163c0154084b988908861ba1a84e44b478180ae143cb1b6208a6dfa9031"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"], "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia", "materialized": "table", "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"]}, "created_at": 1723584314.8694098, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_reward_arbitrum_sepolia\"", "raw_code": "{{ config(\n materialized = 'table',\n unique_key = ['ts', 'pool_id', 'collateral_type', 'reward_token'],\n) }}\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n {{ ref('fct_pool_pnl_hourly_arbitrum_sepolia') }}\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n {{ ref('fct_pool_rewards_token_hourly_arbitrum_sepolia') }}\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n {{ ref('fct_pool_rewards_token_hourly_arbitrum_sepolia') }}\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_reward_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_core_pool_delegation_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_core_pool_delegation_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_core_pool_delegation_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_core_pool_delegation_arbitrum_sepolia"], "alias": "fct_core_pool_delegation_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "4286f465d360eae19d11cdd8c75ebf00b3f7ca21b88478c56ea5414c77ccb966"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delegated": {"name": "amount_delegated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1723584321.561493, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pool_delegation_arbitrum_sepolia\"", "raw_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n {{ convert_wei('amount') }} - LAG({{ convert_wei('amount') }}, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n {{ ref('core_delegation_updated_arbitrum_sepolia') }}\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pool_delegation_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_issuance_hourly_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_pool_issuance_hourly_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_pool_issuance_hourly_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_pool_issuance_hourly_arbitrum_sepolia"], "alias": "fct_pool_issuance_hourly_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "a38aa0c5e626d16ca03af6e1b456d128d5e2e02dd82b58e7f6500d3508497f6e"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1723584321.5645847, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_hourly_arbitrum_sepolia\"", "raw_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_issuance_arbitrum_sepolia') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_issuance_arbitrum_sepolia') }}\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n {{ ref('fct_pool_debt_arbitrum_sepolia') }}\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n {{ ref('fct_pool_issuance_arbitrum_sepolia') }}\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_issuance_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_issuance_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia", "model.synthetix.fct_pool_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_issuance_hourly_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_apr_rewards_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_core_apr_rewards_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_core_apr_rewards_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_core_apr_rewards_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_core_apr_rewards_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_core_apr_rewards_arbitrum_sepolia"], "alias": "fct_core_apr_rewards_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "e74471344698f5bfa94ff9a035f467b8e5eccc9906da82985bf15d3f32a5c0b7"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia", "materialized": "table"}, "created_at": 1723584314.8818555, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_rewards_arbitrum_sepolia\"", "raw_code": "{{\n config(\n materialized = 'table',\n )\n}}\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n {{ ref('fct_pool_pnl_hourly_reward_arbitrum_sepolia') }}\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_reward_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_apr_rewards_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_reward_arbitrum_sepolia\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_rewards_hourly_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_pool_rewards_hourly_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_pool_rewards_hourly_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_pool_rewards_hourly_arbitrum_sepolia"], "alias": "fct_pool_rewards_hourly_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "923ad3771bfe9140211d178365e8885e635192a27ae70da4f5474fd0b9bbbbff"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1723584321.5686142, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_hourly_arbitrum_sepolia\"", "raw_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n {{ ref('fct_pool_rewards_token_hourly_arbitrum_sepolia') }}\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_hourly_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_market_updated_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_core_market_updated_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_core_market_updated_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_core_market_updated_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_core_market_updated_arbitrum_sepolia"], "alias": "fct_core_market_updated_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "6f6277675b01308cf227f7d9e8d6f4611d6e47a1741bb45bcd67177f611c868b"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1723584321.5597498, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\"", "raw_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n {{ ref('core_market_updated_arbitrum_sepolia') }}\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n {{ convert_wei(\"credit_capacity\") }} AS credit_capacity,\n {{ convert_wei(\"net_issuance\") }} AS net_issuance,\n {{ convert_wei(\"token_amount\") }} AS token_amount\nFROM\n market_updated", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_market_updated_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n \n credit_capacity / 1e18\n AS credit_capacity,\n \n net_issuance / 1e18\n AS net_issuance,\n \n token_amount / 1e18\n AS token_amount\nFROM\n market_updated", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_debt_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_debt_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_pool_debt_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_pool_debt_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_pool_debt_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_pool_debt_arbitrum_sepolia"], "alias": "fct_pool_debt_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "ad01ef7eae29be10c554289cff67586c16717fe7b22faea73bfbe0cb612da632"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1723584321.563633, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"", "raw_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n {{ ref('core_vault_debt_arbitrum_sepolia') }}\nORDER BY\n ts", "language": "sql", "refs": [{"name": "core_vault_debt_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_vault_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_debt_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_debt_arbitrum_sepolia\"\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_synth_supply_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_synth_supply_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/spot/fct_synth_supply_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/fct_synth_supply_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_synth_supply_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "fct_synth_supply_arbitrum_sepolia"], "alias": "fct_synth_supply_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "759f5c9e5be3245da3739334ca3c2e43ffa12830762b1bc181ef25489f0702a0"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "supply": {"name": "supply", "description": "Supply", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1723584321.8344438, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_synth_supply_arbitrum_sepolia\"", "raw_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n {{ ref('fct_spot_wrapper_arbitrum_sepolia') }}\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n {{ ref('fct_spot_atomics_arbitrum_sepolia') }}\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n {{ ref('fct_spot_atomics_arbitrum_sepolia') }}\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n {{ convert_wei(\"amount\") }} AS change_amount\n FROM\n {{ ref('core_usd_minted_arbitrum_sepolia') }}\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * {{ convert_wei(\"amount\") }} AS change_amount\n FROM\n {{ ref('core_usd_burned_arbitrum_sepolia') }}\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}, {"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}, {"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "model.synthetix.core_usd_minted_arbitrum_sepolia", "model.synthetix.core_usd_burned_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_synth_supply_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_wrapper_arbitrum_sepolia\"\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_spot_markets_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_spot_markets_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/spot/fct_spot_markets_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/fct_spot_markets_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_spot_markets_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "fct_spot_markets_arbitrum_sepolia"], "alias": "fct_spot_markets_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "6d9b79ec12699fb8a1cb1cadd74d6ee9fc501edc159ad367cd94712463fc0b7f"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_address": {"name": "token_address", "description": "Token address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1723584321.8368297, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_markets_arbitrum_sepolia\"", "raw_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n {{ ref('spot_synth_registered_arbitrum_sepolia') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_markets_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_spot_wrapper_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_spot_wrapper_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/spot/fct_spot_wrapper_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/fct_spot_wrapper_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "fct_spot_wrapper_arbitrum_sepolia"], "alias": "fct_spot_wrapper_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "08e463eac2d37443769caf45620152644a0c6e16d0c9a4742532e96c4f66f7fd"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tx_hash": {"name": "tx_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_wrapped": {"name": "amount_wrapped", "description": "Amount wrapped", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1723584321.8380105, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_wrapper_arbitrum_sepolia\"", "raw_code": "WITH wraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n {{ convert_wei('amount_wrapped') }} AS amount_wrapped\n FROM\n {{ ref('spot_synth_wrapped_arbitrum_sepolia') }}\n),\nunwraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n -1 * {{ convert_wei('amount_unwrapped') }} AS amount_wrapped\n FROM\n {{ ref('spot_synth_unwrapped_arbitrum_sepolia') }}\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n wraps\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n unwraps\nORDER BY\n ts", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_sepolia", "package": null, "version": null}, {"name": "spot_synth_unwrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_wrapper_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH wraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n amount_wrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\n),\nunwraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n -1 * \n amount_unwrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n wraps\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n unwraps\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_spot_atomics_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_spot_atomics_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/spot/fct_spot_atomics_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/fct_spot_atomics_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "fct_spot_atomics_arbitrum_sepolia"], "alias": "fct_spot_atomics_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "e8b0471ab412cb933f0f61358e03ebc8a4029af64ff830f5fa40c585b329077b"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tx_hash": {"name": "tx_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1723584321.835881, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"", "raw_code": "WITH bought AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n {{ convert_wei('price') }} AS price,\n {{ convert_wei('synth_returned') }} AS amount,\n referrer\n FROM\n {{ ref('spot_synth_bought_arbitrum_sepolia') }}\n),\nsold AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n {{ convert_wei('price') }} AS price,\n -1 * {{ convert_wei('amount_returned') }} AS amount,\n referrer\n FROM\n {{ ref('spot_synth_sold_arbitrum_sepolia') }}\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n bought\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n sold\nORDER BY\n ts", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_sepolia", "package": null, "version": null}, {"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_sepolia", "model.synthetix.spot_synth_sold_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_atomics_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH bought AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n \n synth_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\n),\nsold AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n -1 * \n amount_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n bought\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n sold\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_prices_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_prices_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/prices/fct_prices_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/prices/fct_prices_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_prices_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "prices", "fct_prices_arbitrum_sepolia"], "alias": "fct_prices_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "05ba3a72a33d20d03e031807ed4664cf24e388e2018c19ad4d36edc41ec3e450"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_address": {"name": "market_address", "description": "Market address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/prices/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1723584321.8955708, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_arbitrum_sepolia\"", "raw_code": "WITH all_prices AS (\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n {{ ref('core_vault_collateral_arbitrum_sepolia') }}\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n {{ ref('arbitrum_sepolia_tokens') }}\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_sepolia", "package": null, "version": null}, {"name": "arbitrum_sepolia_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_sepolia", "seed.synthetix.arbitrum_sepolia_tokens"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/prices/fct_prices_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH all_prices AS (\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_tokens\"\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_prices_hourly_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_prices_hourly_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/prices/fct_prices_hourly_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/prices/fct_prices_hourly_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_prices_hourly_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "prices", "fct_prices_hourly_arbitrum_sepolia"], "alias": "fct_prices_hourly_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "5d368ed482714bf3d503dd06c599dcbda79b4a88ff15df666f961abd7cb57997"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/prices/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1723584321.8964524, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_hourly_arbitrum_sepolia\"", "raw_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n {{ ref('fct_prices_arbitrum_sepolia') }}\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "language": "sql", "refs": [{"name": "fct_prices_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_prices_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/prices/fct_prices_hourly_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_arbitrum_sepolia\"\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_trades_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_trades_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp/fct_perp_trades_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp/fct_perp_trades_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_trades_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "fct_perp_trades_base_mainnet"], "alias": "fct_perp_trades_base_mainnet", "checksum": {"name": "sha256", "checksum": "b1a1d3a8962cc283b6d25d2a6643d9c78eff6758b874daac77e46bda5261bc52"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fill_price": {"name": "fill_price", "description": "Fill price (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pnl": {"name": "pnl", "description": "PnL (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "accrued_funding": {"name": "accrued_funding", "description": "Accrued funding (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trade_size": {"name": "trade_size", "description": "Trade size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "position_size": {"name": "position_size", "description": "Position size", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "total_fees": {"name": "total_fees", "description": "Total fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "Referral fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "Collected fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settlement_reward": {"name": "settlement_reward", "description": "Settlement reward (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "Account tracking code", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "settler": {"name": "settler", "description": "Address of the settler", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "notional_trade_size": {"name": "notional_trade_size", "description": "Notional trade size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "notional_position_size": {"name": "notional_position_size", "description": "Notional position size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "lp_fees": {"name": "lp_fees", "description": "LP fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "Exchange fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584321.9539974, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n pos.id,\n pos.block_timestamp AS ts,\n pos.block_number,\n pos.transaction_hash,\n pos.contract,\n pos.market_id,\n markets.market_symbol,\n CAST(\n pos.account_id AS text\n ) AS account_id,\n {{ convert_wei('fill_price') }} AS fill_price,\n {{ convert_wei('pnl') }} AS pnl,\n {{ convert_wei('accrued_funding') }} AS accrued_funding,\n {{ convert_wei('size_delta') }} AS trade_size,\n {{ convert_wei('new_size') }} AS position_size,\n {{ convert_wei('total_fees') }} AS total_fees,\n {{ convert_wei('referral_fees') }} AS referral_fees,\n {{ convert_wei('collected_fees') }} AS collected_fees,\n {{ convert_wei('settlement_reward') }} AS settlement_reward,\n {{ convert_hex('tracking_code') }} AS tracking_code,\n pos.settler\n FROM\n {{ ref('perp_order_settled_base_mainnet') }} AS pos\n LEFT JOIN {{ ref('fct_perp_markets_base_mainnet') }} AS markets\n ON pos.market_id = markets.id\n)\nSELECT\n *,\n ABS(\n fill_price * trade_size\n ) AS notional_trade_size,\n fill_price * position_size AS notional_position_size,\n total_fees - referral_fees - collected_fees - settlement_reward AS lp_fees,\n total_fees - settlement_reward AS exchange_fees\nFROM\n base", "language": "sql", "refs": [{"name": "perp_order_settled_base_mainnet", "package": null, "version": null}, {"name": "fct_perp_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei", "macro.synthetix.convert_hex"], "nodes": ["model.synthetix.perp_order_settled_base_mainnet", "model.synthetix.fct_perp_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_trades_base_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pos.id,\n pos.block_timestamp AS ts,\n pos.block_number,\n pos.transaction_hash,\n pos.contract,\n pos.market_id,\n markets.market_symbol,\n CAST(\n pos.account_id AS text\n ) AS account_id,\n \n fill_price / 1e18\n AS fill_price,\n \n pnl / 1e18\n AS pnl,\n \n accrued_funding / 1e18\n AS accrued_funding,\n \n size_delta / 1e18\n AS trade_size,\n \n new_size / 1e18\n AS position_size,\n \n total_fees / 1e18\n AS total_fees,\n \n referral_fees / 1e18\n AS referral_fees,\n \n collected_fees / 1e18\n AS collected_fees,\n \n settlement_reward / 1e18\n AS settlement_reward,\n \n LEFT(\n REGEXP_REPLACE(\n encode(\n DECODE(REPLACE(tracking_code, '0x', ''), 'hex'),\n 'escape'\n ) :: text,\n '\\\\000',\n '',\n 'g'\n ),\n 20\n )\n AS tracking_code,\n pos.settler\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\" AS pos\n LEFT JOIN \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\" AS markets\n ON pos.market_id = markets.id\n)\nSELECT\n *,\n ABS(\n fill_price * trade_size\n ) AS notional_trade_size,\n fill_price * position_size AS notional_position_size,\n total_fees - referral_fees - collected_fees - settlement_reward AS lp_fees,\n total_fees - settlement_reward AS exchange_fees\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_previous_order_expired_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_previous_order_expired_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp/fct_perp_previous_order_expired_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp/fct_perp_previous_order_expired_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "fct_perp_previous_order_expired_base_mainnet"], "alias": "fct_perp_previous_order_expired_base_mainnet", "checksum": {"name": "sha256", "checksum": "91520936a0209dacdba84d1e49999175dd06334d07809457772a0cf3b6668043"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "commitment_time": {"name": "commitment_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584321.9495282, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_base_mainnet\"", "raw_code": "SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n account_id,\n commitment_time,\n tracking_code,\n {{ convert_wei(\"acceptable_price\") }} AS acceptable_price,\n {{ convert_wei(\"size_delta\") }} AS size_delta\nFROM\n {{ ref(\"perp_previous_order_expired_base_mainnet\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_previous_order_expired_base_mainnet.sql", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n account_id,\n commitment_time,\n tracking_code,\n \n acceptable_price / 1e18\n AS acceptable_price,\n \n size_delta / 1e18\n AS size_delta\nFROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_market_history_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_market_history_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp/fct_perp_market_history_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp/fct_perp_market_history_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_market_history_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "fct_perp_market_history_base_mainnet"], "alias": "fct_perp_market_history_base_mainnet", "checksum": {"name": "sha256", "checksum": "8a61927f58dffacf10476f268ac3eb6d324f574e9901a3259db1b3b765ecca2b"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "skew": {"name": "skew", "description": "Skew (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size": {"name": "size", "description": "Size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "Size delta (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "funding_rate": {"name": "funding_rate", "description": "Funding rate (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "funding_velocity": {"name": "funding_velocity", "description": "Funding velocity (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "interest_rate": {"name": "interest_rate", "description": "Interest rate (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "funding_rate_apr": {"name": "funding_rate_apr", "description": "Funding rate APR (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_rate_apr": {"name": "long_rate_apr", "description": "Long rate APR (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_rate_apr": {"name": "short_rate_apr", "description": "Short rate APR (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size_usd": {"name": "size_usd", "description": "Size (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi": {"name": "long_oi", "description": "Long open interest (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi": {"name": "short_oi", "description": "Short open interest (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi_pct": {"name": "long_oi_pct", "description": "Long open interest (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi_pct": {"name": "short_oi_pct", "description": "Short open interest (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584321.9620142, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n mu.id,\n mu.block_timestamp AS ts,\n mu.block_number,\n mu.transaction_hash,\n m.id AS market_id,\n m.market_symbol,\n {{ convert_wei('price') }} AS price,\n {{ convert_wei('skew') }} AS skew,\n {{ convert_wei('size') }} AS SIZE,\n {{ convert_wei('size_delta') }} AS size_delta,\n {{ convert_wei('current_funding_rate') }} AS funding_rate,\n {{ convert_wei('current_funding_velocity') }} AS funding_velocity,\n {{ convert_wei('interest_rate') }} AS interest_rate,\n {{ convert_wei('current_funding_rate') }} * 365.25 AS funding_rate_apr,\n {{ convert_wei('current_funding_rate') }} * 365.25 + {{ convert_wei('interest_rate') }} AS long_rate_apr,\n {{ convert_wei('current_funding_rate') }} * -1 * 365.25 + {{ convert_wei('interest_rate') }} AS short_rate_apr\n FROM\n {{ ref('perp_market_updated_base_mainnet') }}\n mu\n LEFT JOIN {{ ref('fct_perp_markets_base_mainnet') }}\n m\n ON mu.market_id = m.id\n)\nSELECT\n *,\n SIZE * price AS size_usd,\n (\n SIZE + skew\n ) * price / 2 AS long_oi,\n (\n SIZE - skew\n ) * price / 2 AS short_oi,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE + skew) * price / 2) / (\n SIZE * price\n )\n END AS long_oi_pct,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE - skew) * price / 2) / (\n SIZE * price\n )\n END AS short_oi_pct\nFROM\n base", "language": "sql", "refs": [{"name": "perp_market_updated_base_mainnet", "package": null, "version": null}, {"name": "fct_perp_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_market_updated_base_mainnet", "model.synthetix.fct_perp_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_market_history_base_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n mu.id,\n mu.block_timestamp AS ts,\n mu.block_number,\n mu.transaction_hash,\n m.id AS market_id,\n m.market_symbol,\n \n price / 1e18\n AS price,\n \n skew / 1e18\n AS skew,\n \n size / 1e18\n AS SIZE,\n \n size_delta / 1e18\n AS size_delta,\n \n current_funding_rate / 1e18\n AS funding_rate,\n \n current_funding_velocity / 1e18\n AS funding_velocity,\n \n interest_rate / 1e18\n AS interest_rate,\n \n current_funding_rate / 1e18\n * 365.25 AS funding_rate_apr,\n \n current_funding_rate / 1e18\n * 365.25 + \n interest_rate / 1e18\n AS long_rate_apr,\n \n current_funding_rate / 1e18\n * -1 * 365.25 + \n interest_rate / 1e18\n AS short_rate_apr\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\n mu\n LEFT JOIN \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\"\n m\n ON mu.market_id = m.id\n)\nSELECT\n *,\n SIZE * price AS size_usd,\n (\n SIZE + skew\n ) * price / 2 AS long_oi,\n (\n SIZE - skew\n ) * price / 2 AS short_oi,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE + skew) * price / 2) / (\n SIZE * price\n )\n END AS long_oi_pct,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE - skew) * price / 2) / (\n SIZE * price\n )\n END AS short_oi_pct\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_orders_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_orders_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp/fct_perp_orders_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp/fct_perp_orders_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_orders_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "fct_perp_orders_base_mainnet"], "alias": "fct_perp_orders_base_mainnet", "checksum": {"name": "sha256", "checksum": "54791693c6e62e8cc7df763804db164ee9ac7d9e131269d7bbf5239cf2e95fa5"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settlement_time": {"name": "settlement_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "expiration_time": {"name": "expiration_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584321.9569223, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_orders_base_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n oc.id,\n oc.block_timestamp AS ts,\n oc.block_number,\n oc.transaction_hash,\n oc.contract,\n oc.market_id,\n markets.market_symbol,\n CAST(\n oc.account_id AS text\n ) AS account_id,\n oc.order_type,\n {{ convert_wei('oc.size_delta') }} AS SIZE,\n {{ convert_wei('oc.acceptable_price') }} AS acceptable_price,\n oc.settlement_time,\n oc.expiration_time,\n {{ convert_hex('oc.tracking_code') }} AS tracking_code,\n oc.sender\n FROM\n {{ ref('perp_order_committed_base_mainnet') }}\n oc\n LEFT JOIN {{ ref('fct_perp_markets_base_mainnet') }} AS markets\n ON oc.market_id = markets.id\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "perp_order_committed_base_mainnet", "package": null, "version": null}, {"name": "fct_perp_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei", "macro.synthetix.convert_hex"], "nodes": ["model.synthetix.perp_order_committed_base_mainnet", "model.synthetix.fct_perp_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_orders_base_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n oc.id,\n oc.block_timestamp AS ts,\n oc.block_number,\n oc.transaction_hash,\n oc.contract,\n oc.market_id,\n markets.market_symbol,\n CAST(\n oc.account_id AS text\n ) AS account_id,\n oc.order_type,\n \n oc.size_delta / 1e18\n AS SIZE,\n \n oc.acceptable_price / 1e18\n AS acceptable_price,\n oc.settlement_time,\n oc.expiration_time,\n \n LEFT(\n REGEXP_REPLACE(\n encode(\n DECODE(REPLACE(oc.tracking_code, '0x', ''), 'hex'),\n 'escape'\n ) :: text,\n '\\\\000',\n '',\n 'g'\n ),\n 20\n )\n AS tracking_code,\n oc.sender\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\n oc\n LEFT JOIN \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\" AS markets\n ON oc.market_id = markets.id\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_collateral_modified_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_collateral_modified_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp/fct_perp_collateral_modified_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp/fct_perp_collateral_modified_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "fct_perp_collateral_modified_base_mainnet"], "alias": "fct_perp_collateral_modified_base_mainnet", "checksum": {"name": "sha256", "checksum": "e3d4bf2f0741708f46d1827a1fff1d34b9b5e354319b91b4a99025ad7b7c073b"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delta": {"name": "amount_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584321.9478977, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_modified_base_mainnet\"", "raw_code": "SELECT\n id,\n block_timestamp,\n account_id,\n block_number,\n transaction_hash,\n contract,\n event_name,\n synth_market_id,\n sender,\n {{ convert_wei(\"amount_delta\") }} AS amount_delta\nFROM\n {{ ref(\"perp_collateral_modified_base_mainnet\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_collateral_modified_base_mainnet.sql", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp,\n account_id,\n block_number,\n transaction_hash,\n contract,\n event_name,\n synth_market_id,\n sender,\n \n amount_delta / 1e18\n AS amount_delta\nFROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_interest_charged_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_interest_charged_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp/fct_perp_interest_charged_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp/fct_perp_interest_charged_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_interest_charged_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "fct_perp_interest_charged_base_mainnet"], "alias": "fct_perp_interest_charged_base_mainnet", "checksum": {"name": "sha256", "checksum": "149674ceaa76471d345cfdf1094e3161b81559c6f146d1dd86592b16ecaae350"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "interest": {"name": "interest", "description": "Interest amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584321.9464188, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_base_mainnet\"", "raw_code": "SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n account_id,\n {{ convert_wei(\"interest\") }} AS interest\nFROM\n {{ ref(\"perp_interest_charged_base_mainnet\") }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_interest_charged_base_mainnet.sql", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n account_id,\n \n interest / 1e18\n AS interest\nFROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_base_mainnet\"", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_pnl_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_pnl_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp/fct_perp_pnl_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp/fct_perp_pnl_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_pnl_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "fct_perp_pnl_base_mainnet"], "alias": "fct_perp_pnl_base_mainnet", "checksum": {"name": "sha256", "checksum": "f67098ad5aafafaf459a2977c1922fd6e5e7dd4391bafd02e40621e16d8e248c"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_pnl": {"name": "market_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584321.9551625, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_pnl_base_mainnet\"", "raw_code": "{# DEPRECATED: deprecate this table in dashboards and remove #}\nWITH debt AS (\n SELECT\n ts,\n 2 AS market_id,\n debt * -1 AS market_pnl\n FROM\n {{ ref('core_vault_debt_base_mainnet') }}\n)\nSELECT\n ts,\n market_id,\n market_pnl\nFROM\n debt\nORDER BY\n ts", "language": "sql", "refs": [{"name": "core_vault_debt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_vault_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_pnl_base_mainnet.sql", "compiled": true, "compiled_code": "\nWITH debt AS (\n SELECT\n ts,\n 2 AS market_id,\n debt * -1 AS market_pnl\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_base_mainnet\"\n)\nSELECT\n ts,\n market_id,\n market_pnl\nFROM\n debt\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_markets_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_markets_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp/fct_perp_markets_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp/fct_perp_markets_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_markets_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "fct_perp_markets_base_mainnet"], "alias": "fct_perp_markets_base_mainnet", "checksum": {"name": "sha256", "checksum": "2acfb7fffd6954d2fa05da787e6f44f68866aac30f70d81e416352cf26bdb843"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "Market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "Market creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_name": {"name": "market_name", "description": "Market name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584321.9579656, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n perps_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n market_symbol,\n market_name\n FROM\n {{ ref('perp_market_created_base_mainnet') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "perp_market_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.perp_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_markets_base_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n perps_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n market_symbol,\n market_name\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_liq_position_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_liq_position_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp/fct_perp_liq_position_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp/fct_perp_liq_position_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_liq_position_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "fct_perp_liq_position_base_mainnet"], "alias": "fct_perp_liq_position_base_mainnet", "checksum": {"name": "sha256", "checksum": "d19fec43f5a187f5567683a9198e7453f7f0b1bdbee0ff194baa718575bea749"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "Amount liquidated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "position_size": {"name": "position_size", "description": "Liquidated position size", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584321.9636734, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"", "raw_code": "WITH liquidations AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n account_id,\n market_id,\n {{ convert_wei('amount_liquidated') }} AS amount_liquidated,\n {{ convert_wei('current_position_size') }} AS position_size\n FROM\n {{ ref('perp_position_liquidated_base_mainnet') }}\n),\nmarkets AS (\n SELECT\n id,\n market_symbol\n FROM\n {{ ref('fct_perp_markets_base_mainnet') }}\n)\nSELECT\n l.id,\n l.ts,\n l.block_number,\n l.transaction_hash,\n CAST(\n l.account_id AS text\n ) AS account_id,\n l.market_id,\n m.market_symbol,\n l.amount_liquidated,\n l.position_size\nFROM\n liquidations l\n LEFT JOIN markets m\n ON l.market_id = m.id", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_mainnet", "package": null, "version": null}, {"name": "fct_perp_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_position_liquidated_base_mainnet", "model.synthetix.fct_perp_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_liq_position_base_mainnet.sql", "compiled": true, "compiled_code": "WITH liquidations AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n account_id,\n market_id,\n \n amount_liquidated / 1e18\n AS amount_liquidated,\n \n current_position_size / 1e18\n AS position_size\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\n),\nmarkets AS (\n SELECT\n id,\n market_symbol\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\"\n)\nSELECT\n l.id,\n l.ts,\n l.block_number,\n l.transaction_hash,\n CAST(\n l.account_id AS text\n ) AS account_id,\n l.market_id,\n m.market_symbol,\n l.amount_liquidated,\n l.position_size\nFROM\n liquidations l\n LEFT JOIN markets m\n ON l.market_id = m.id", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_liq_account_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_liq_account_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp/fct_perp_liq_account_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp/fct_perp_liq_account_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_liq_account_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "fct_perp_liq_account_base_mainnet"], "alias": "fct_perp_liq_account_base_mainnet", "checksum": {"name": "sha256", "checksum": "ca9cf1a7bde83b9e410f02bfc9391479e08d82ed92565e02b992bfdba9cf59a2"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "total_reward": {"name": "total_reward", "description": "Total reward", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584321.9648545, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_account_base_mainnet\"", "raw_code": "WITH liquidation_events AS (\n SELECT\n account_id,\n reward,\n block_timestamp,\n full_liquidation,\n SUM(\n CASE\n WHEN full_liquidation THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY account_id\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS liquidation_id\n FROM\n {{ ref('perp_account_liquidation_attempt_base_mainnet') }}\n),\ncumulative_rewards AS (\n SELECT\n CAST(\n le.account_id AS text\n ) AS account_id,\n le.block_timestamp,\n le.reward,\n le.full_liquidation,\n le.liquidation_id,\n SUM({{ convert_wei('reward') }}) over (\n PARTITION BY le.account_id,\n le.liquidation_id\n ORDER BY\n le.block_timestamp\n ) AS cumulative_reward,\n ROW_NUMBER() over (\n PARTITION BY le.account_id,\n le.liquidation_id\n ORDER BY\n le.block_timestamp DESC\n ) AS rn\n FROM\n liquidation_events le\n ORDER BY\n block_timestamp\n)\nSELECT\n account_id,\n block_timestamp AS ts,\n cumulative_reward AS total_reward\nFROM\n cumulative_rewards\nWHERE\n rn = 1", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_liq_account_base_mainnet.sql", "compiled": true, "compiled_code": "WITH liquidation_events AS (\n SELECT\n account_id,\n reward,\n block_timestamp,\n full_liquidation,\n SUM(\n CASE\n WHEN full_liquidation THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY account_id\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS liquidation_id\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\n),\ncumulative_rewards AS (\n SELECT\n CAST(\n le.account_id AS text\n ) AS account_id,\n le.block_timestamp,\n le.reward,\n le.full_liquidation,\n le.liquidation_id,\n SUM(\n reward / 1e18\n) over (\n PARTITION BY le.account_id,\n le.liquidation_id\n ORDER BY\n le.block_timestamp\n ) AS cumulative_reward,\n ROW_NUMBER() over (\n PARTITION BY le.account_id,\n le.liquidation_id\n ORDER BY\n le.block_timestamp DESC\n ) AS rn\n FROM\n liquidation_events le\n ORDER BY\n block_timestamp\n)\nSELECT\n account_id,\n block_timestamp AS ts,\n cumulative_reward AS total_reward\nFROM\n cumulative_rewards\nWHERE\n rn = 1", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_accounts_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_accounts_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp/fct_perp_accounts_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp/fct_perp_accounts_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_accounts_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "fct_perp_accounts_base_mainnet"], "alias": "fct_perp_accounts_base_mainnet", "checksum": {"name": "sha256", "checksum": "943282476515f222eaf4e3bce97c7509cf9c96b2545c68f22737dc3915af67a5"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "Account creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the account owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584321.9656947, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_accounts_base_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n CAST(\n account_id AS VARCHAR\n ) AS id,\n block_timestamp AS created_ts,\n \"owner\"\n FROM\n {{ ref('perp_account_created_base_mainnet') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "perp_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.perp_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_accounts_base_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n CAST(\n account_id AS VARCHAR\n ) AS id,\n block_timestamp AS created_ts,\n \"owner\"\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_buyback_hourly_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_buyback_hourly_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/buyback/fct_buyback_hourly_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/buyback/fct_buyback_hourly_base_mainnet.sql", "unique_id": "model.synthetix.fct_buyback_hourly_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "fct_buyback_hourly_base_mainnet"], "alias": "fct_buyback_hourly_base_mainnet", "checksum": {"name": "sha256", "checksum": "99725b2600bc5836902af4236fe59da807d87ab078bd69b1d1fd3211c156ec12"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "snx_amount": {"name": "snx_amount", "description": "Amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "usd_amount": {"name": "usd_amount", "description": "Amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_snx_amount": {"name": "cumulative_snx_amount", "description": "Cumulative amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_usd_amount": {"name": "cumulative_usd_amount", "description": "Cumulative amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/buyback/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.2375233, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_buyback_hourly_base_mainnet\"", "raw_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n {{ ref('fct_buyback_base_mainnet') }}\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "language": "sql", "refs": [{"name": "fct_buyback_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_buyback_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_hourly_base_mainnet.sql", "compiled": true, "compiled_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_buyback_daily_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_buyback_daily_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/buyback/fct_buyback_daily_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/buyback/fct_buyback_daily_base_mainnet.sql", "unique_id": "model.synthetix.fct_buyback_daily_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "fct_buyback_daily_base_mainnet"], "alias": "fct_buyback_daily_base_mainnet", "checksum": {"name": "sha256", "checksum": "57d42ea7a0bdbb7cfe118534a777461089bf6063ce360f237d5ad4e8ac21bb96"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "snx_amount": {"name": "snx_amount", "description": "Amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "usd_amount": {"name": "usd_amount", "description": "Amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_snx_amount": {"name": "cumulative_snx_amount", "description": "Cumulative amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_usd_amount": {"name": "cumulative_usd_amount", "description": "Cumulative amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/buyback/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.2363753, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_buyback_daily_base_mainnet\"", "raw_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n {{ ref('fct_buyback_base_mainnet') }}\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "language": "sql", "refs": [{"name": "fct_buyback_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_buyback_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_daily_base_mainnet.sql", "compiled": true, "compiled_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_buyback_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_buyback_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/buyback/fct_buyback_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/buyback/fct_buyback_base_mainnet.sql", "unique_id": "model.synthetix.fct_buyback_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "fct_buyback_base_mainnet"], "alias": "fct_buyback_base_mainnet", "checksum": {"name": "sha256", "checksum": "0b566b9dabe1ef2bdd7590c50f5f48633118f1f41ce0a9c61534424909bbd51a"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "buyer": {"name": "buyer", "description": "Address of buyer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "snx": {"name": "snx", "description": "Amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "usd": {"name": "usd", "description": "Amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "snx_price": {"name": "snx_price", "description": "SNX Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/buyback/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.2391858, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"", "raw_code": "SELECT\n id,\n block_timestamp AS ts,\n buyer,\n {{ convert_wei('snx') }} AS snx,\n {{ convert_wei('usd') }} AS usd,\n ({{ convert_wei('usd') }}) / ({{ convert_wei('snx') }}) AS snx_price\nFROM\n {{ ref('buyback_processed_base_mainnet') }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_base_mainnet.sql", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp AS ts,\n buyer,\n \n snx / 1e18\n AS snx,\n \n usd / 1e18\n AS usd,\n (\n usd / 1e18\n) / (\n snx / 1e18\n) AS snx_price\nFROM\n \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pools_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_core_pools_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_core_pools_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_core_pools_base_mainnet.sql", "unique_id": "model.synthetix.fct_core_pools_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_core_pools_base_mainnet"], "alias": "fct_core_pools_base_mainnet", "checksum": {"name": "sha256", "checksum": "3e28ee0198e0c422bd5e2fdba2331c0287112080ad39dd0e9b37e01c531a6b40"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "Pool creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.3244162, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_pools_base_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n {{ ref('core_pool_created_base_mainnet') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "core_pool_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_pool_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pools_base_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_hourly_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_pool_rewards_hourly_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_pool_rewards_hourly_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_pool_rewards_hourly_base_mainnet.sql", "unique_id": "model.synthetix.fct_pool_rewards_hourly_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_pool_rewards_hourly_base_mainnet"], "alias": "fct_pool_rewards_hourly_base_mainnet", "checksum": {"name": "sha256", "checksum": "434ba692e732ab123afc3e3f7792e98c626e385019d35acdaffa361e49b9ddd5"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.3304234, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\"", "raw_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n {{ ref('fct_pool_rewards_token_hourly_base_mainnet') }}\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_hourly_base_mainnet.sql", "compiled": true, "compiled_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_vault_collateral_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_core_vault_collateral_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_core_vault_collateral_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_core_vault_collateral_base_mainnet.sql", "unique_id": "model.synthetix.fct_core_vault_collateral_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_core_vault_collateral_base_mainnet"], "alias": "fct_core_vault_collateral_base_mainnet", "checksum": {"name": "sha256", "checksum": "392fc60d1541009aa2853a2aad493d0c3734d78a747201920e548f2bc9b1f855"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Collateral amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Vault collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.314455, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_vault_collateral_base_mainnet\"", "raw_code": "SELECT\n ts,\n block_number,\n contract_address,\n pool_id,\n collateral_type,\n amount,\n collateral_value\nFROM\n {{ ref(\"core_vault_collateral_base_mainnet\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_core_vault_collateral_base_mainnet.sql", "compiled": true, "compiled_code": "SELECT\n ts,\n block_number,\n contract_address,\n pool_id,\n collateral_type,\n amount,\n collateral_value\nFROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_market_updated_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_core_market_updated_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_core_market_updated_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_core_market_updated_base_mainnet.sql", "unique_id": "model.synthetix.fct_core_market_updated_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_core_market_updated_base_mainnet"], "alias": "fct_core_market_updated_base_mainnet", "checksum": {"name": "sha256", "checksum": "5dd3ebec8c474473ffcfc069f443dca071db396ddacab4ba25ef11a68a1ed6be"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.3216996, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\"", "raw_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n {{ ref('core_market_updated_base_mainnet') }}\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n {{ convert_wei(\"credit_capacity\") }} AS credit_capacity,\n {{ convert_wei(\"net_issuance\") }} AS net_issuance,\n {{ convert_wei(\"token_amount\") }} AS token_amount\nFROM\n market_updated", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_core_market_updated_base_mainnet.sql", "compiled": true, "compiled_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n \n credit_capacity / 1e18\n AS credit_capacity,\n \n net_issuance / 1e18\n AS net_issuance,\n \n token_amount / 1e18\n AS token_amount\nFROM\n market_updated", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_pool_pnl_hourly_reward_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_pool_pnl_hourly_reward_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_pool_pnl_hourly_reward_base_mainnet.sql", "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_pool_pnl_hourly_reward_base_mainnet"], "alias": "fct_pool_pnl_hourly_reward_base_mainnet", "checksum": {"name": "sha256", "checksum": "58ea2a474bdb7a2254fd58e989345813e5264cfbe69e1064ceb10af4f8a39c7d"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"], "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet", "materialized": "table", "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"]}, "created_at": 1723584315.0712323, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_reward_base_mainnet\"", "raw_code": "{{ config(\n materialized = 'table',\n unique_key = ['ts', 'pool_id', 'collateral_type', 'reward_token'],\n) }}\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n {{ ref('fct_pool_pnl_hourly_base_mainnet') }}\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n {{ ref('fct_pool_rewards_token_hourly_base_mainnet') }}\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n {{ ref('fct_pool_rewards_token_hourly_base_mainnet') }}\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet", "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_reward_base_mainnet.sql", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_pool_rewards_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_pool_rewards_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_pool_rewards_base_mainnet.sql", "unique_id": "model.synthetix.fct_pool_rewards_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_pool_rewards_base_mainnet"], "alias": "fct_pool_rewards_base_mainnet", "checksum": {"name": "sha256", "checksum": "9350c16c0981a8d0478409f4e668913956016fd5f6616567074def8327a3ccd8"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Reward amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "ts_start": {"name": "ts_start", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "duration": {"name": "duration", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.3159752, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\"", "raw_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n {{ convert_wei('amount') }} AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n {{ ref('core_rewards_distributed_base_mainnet') }}\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n {{ ref('base_mainnet_reward_distributors') }}\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_mainnet", "package": null, "version": null}, {"name": "base_mainnet_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_rewards_distributed_base_mainnet", "seed.synthetix.base_mainnet_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_base_mainnet.sql", "compiled": true, "compiled_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n \n amount / 1e18\n AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"base_mainnet_reward_distributors\"\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_issuance_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_pool_issuance_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_pool_issuance_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_pool_issuance_base_mainnet.sql", "unique_id": "model.synthetix.fct_pool_issuance_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_pool_issuance_base_mainnet"], "alias": "fct_pool_issuance_base_mainnet", "checksum": {"name": "sha256", "checksum": "4adf38d4eb611a2fe506e2a25d65a604fea56d4120560ce826435b9edf3af326"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount issued", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.327735, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"", "raw_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * {{ convert_wei('amount') }} AS amount\n FROM\n {{ ref('core_usd_burned_base_mainnet') }}\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n {{ convert_wei('amount') }} AS amount\n FROM\n {{ ref('core_usd_minted_base_mainnet') }}\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "language": "sql", "refs": [{"name": "core_usd_burned_base_mainnet", "package": null, "version": null}, {"name": "core_usd_minted_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_usd_burned_base_mainnet", "model.synthetix.core_usd_minted_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_issuance_base_mainnet.sql", "compiled": true, "compiled_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_apr_rewards_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_core_apr_rewards_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_core_apr_rewards_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_core_apr_rewards_base_mainnet.sql", "unique_id": "model.synthetix.fct_core_apr_rewards_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_core_apr_rewards_base_mainnet"], "alias": "fct_core_apr_rewards_base_mainnet", "checksum": {"name": "sha256", "checksum": "75c156a0f627c0ef9fa7afde71d78e5155690f31dcfb5f6e90a6e8a5c5caf244"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet", "materialized": "table"}, "created_at": 1723584315.0866594, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_apr_rewards_base_mainnet\"", "raw_code": "{{\n config(\n materialized = 'table',\n )\n}}\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n {{ ref('fct_pool_pnl_hourly_reward_base_mainnet') }}\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_reward_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_core_apr_rewards_base_mainnet.sql", "compiled": true, "compiled_code": "\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_reward_base_mainnet\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_issuance_hourly_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_pool_issuance_hourly_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_pool_issuance_hourly_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_pool_issuance_hourly_base_mainnet.sql", "unique_id": "model.synthetix.fct_pool_issuance_hourly_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_pool_issuance_hourly_base_mainnet"], "alias": "fct_pool_issuance_hourly_base_mainnet", "checksum": {"name": "sha256", "checksum": "9e23a936d7231fa43ed76d52e5584c052e3481a108c6e49bda5d6aa813629677"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.3264096, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_hourly_base_mainnet\"", "raw_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_issuance_base_mainnet') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_issuance_base_mainnet') }}\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n {{ ref('fct_pool_debt_base_mainnet') }}\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n {{ ref('fct_pool_issuance_base_mainnet') }}\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_issuance_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_issuance_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_issuance_base_mainnet", "model.synthetix.fct_pool_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_issuance_hourly_base_mainnet.sql", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_pnl_hourly_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_pool_pnl_hourly_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_pool_pnl_hourly_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_pool_pnl_hourly_base_mainnet.sql", "unique_id": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_pool_pnl_hourly_base_mainnet"], "alias": "fct_pool_pnl_hourly_base_mainnet", "checksum": {"name": "sha256", "checksum": "ec32e9f2ba8bab3f65793b324a1c80bc821777cff442894d332377379c5d8dfb"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": ["ts", "pool_id", "collateral_type"], "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_total_pct": {"name": "hourly_total_pct", "description": "Hourly Total (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet", "materialized": "table", "unique_key": ["ts", "pool_id", "collateral_type"]}, "created_at": 1723584322.3294473, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"", "raw_code": "{{ config(\n materialized = 'table',\n unique_key = ['ts', 'pool_id', 'collateral_type'],\n) }}\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_debt_base_mainnet') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_debt_base_mainnet') }}\n ) AS p\nGROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n {{ ref('fct_pool_issuance_hourly_base_mainnet') }}\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n {{ ref('fct_pool_debt_base_mainnet') }}\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n {{ ref('core_vault_collateral_base_mainnet') }}\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n {{ ref('fct_pool_rewards_hourly_base_mainnet') }}\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "language": "sql", "refs": [{"name": "fct_pool_debt_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_issuance_hourly_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_base_mainnet", "package": null, "version": null}, {"name": "core_vault_collateral_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_debt_base_mainnet", "model.synthetix.fct_pool_issuance_hourly_base_mainnet", "model.synthetix.core_vault_collateral_base_mainnet", "model.synthetix.fct_pool_rewards_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_base_mainnet.sql", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n ) AS p\nGROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_hourly_base_mainnet\"\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\"\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_account_delegation_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_core_account_delegation_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_core_account_delegation_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_core_account_delegation_base_mainnet.sql", "unique_id": "model.synthetix.fct_core_account_delegation_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_core_account_delegation_base_mainnet"], "alias": "fct_core_account_delegation_base_mainnet", "checksum": {"name": "sha256", "checksum": "17eb721d7bf386ed2b881ecd976b7755dae9c05b738b4eeed09597e7ee64d898"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delegated": {"name": "amount_delegated", "description": "Amount of delegated collateral", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.317091, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_account_delegation_base_mainnet\"", "raw_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n {{ convert_wei('amount') }} - LAG({{ convert_wei('amount') }}, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n {{ ref('core_delegation_updated_base_mainnet') }}\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_core_account_delegation_base_mainnet.sql", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_pool_rewards_token_hourly_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_pool_rewards_token_hourly_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_pool_rewards_token_hourly_base_mainnet.sql", "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_pool_rewards_token_hourly_base_mainnet"], "alias": "fct_pool_rewards_token_hourly_base_mainnet", "checksum": {"name": "sha256", "checksum": "107eca8dabf089f9d3732e64002bb67cb1c7bfac01325a48c83d79adecc7b5eb"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_amount": {"name": "hourly_amount", "description": "Hourly rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_distributed": {"name": "amount_distributed", "description": "Distributed rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.3320136, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"", "raw_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_debt_base_mainnet') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_debt_base_mainnet') }}\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n {{ ref('fct_pool_rewards_base_mainnet') }}\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN {{ ref('fct_prices_hourly_base_mainnet') }}\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "language": "sql", "refs": [{"name": "fct_pool_debt_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_base_mainnet", "package": null, "version": null}, {"name": "fct_prices_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_debt_base_mainnet", "model.synthetix.fct_pool_rewards_base_mainnet", "model.synthetix.fct_prices_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_token_hourly_base_mainnet.sql", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\"\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN \"analytics\".\"prod_base_mainnet\".\"fct_prices_hourly_base_mainnet\"\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_debt_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_pool_debt_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_pool_debt_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_pool_debt_base_mainnet.sql", "unique_id": "model.synthetix.fct_pool_debt_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_pool_debt_base_mainnet"], "alias": "fct_pool_debt_base_mainnet", "checksum": {"name": "sha256", "checksum": "15cb510f8546fa97838ca598da23ad262dbd2343975acb75da4fb2c1547e91c0"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.325462, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"", "raw_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n {{ ref('core_vault_debt_base_mainnet') }}\nORDER BY\n ts", "language": "sql", "refs": [{"name": "core_vault_debt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_vault_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_debt_base_mainnet.sql", "compiled": true, "compiled_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_base_mainnet\"\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pool_delegation_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_core_pool_delegation_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_core_pool_delegation_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_core_pool_delegation_base_mainnet.sql", "unique_id": "model.synthetix.fct_core_pool_delegation_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_core_pool_delegation_base_mainnet"], "alias": "fct_core_pool_delegation_base_mainnet", "checksum": {"name": "sha256", "checksum": "cd3a1513434a32dce6bce331f9cda53df4f2543c7911db8716f063f182324712"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delegated": {"name": "amount_delegated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.3234577, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_pool_delegation_base_mainnet\"", "raw_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n {{ convert_wei('amount') }} - LAG({{ convert_wei('amount') }}, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n {{ ref('core_delegation_updated_base_mainnet') }}\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pool_delegation_base_mainnet.sql", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pool_collateral_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_core_pool_collateral_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_core_pool_collateral_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_core_pool_collateral_base_mainnet.sql", "unique_id": "model.synthetix.fct_core_pool_collateral_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_core_pool_collateral_base_mainnet"], "alias": "fct_core_pool_collateral_base_mainnet", "checksum": {"name": "sha256", "checksum": "7de6daa10de447ec7cecf40255f95285a1ea9eba1d67f3b3729dc7faec9a240e"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_deposited": {"name": "amount_deposited", "description": "Amount deposited", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.3225267, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_pool_collateral_base_mainnet\"", "raw_code": "WITH events AS (\n SELECT\n block_timestamp,\n {{ convert_wei('token_amount') }} AS token_amount,\n collateral_type\n FROM\n {{ ref('core_deposited_base_mainnet') }}\n UNION ALL\n SELECT\n block_timestamp,- {{ convert_wei('token_amount') }} AS token_amount,\n collateral_type\n FROM\n {{ ref('core_withdrawn_base_mainnet') }}\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_deposited_base_mainnet", "package": null, "version": null}, {"name": "core_withdrawn_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_deposited_base_mainnet", "model.synthetix.core_withdrawn_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pool_collateral_base_mainnet.sql", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n block_timestamp,\n \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\n UNION ALL\n SELECT\n block_timestamp,- \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_apr_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_core_apr_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_core_apr_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_core_apr_base_mainnet.sql", "unique_id": "model.synthetix.fct_core_apr_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_core_apr_base_mainnet"], "alias": "fct_core_apr_base_mainnet", "checksum": {"name": "sha256", "checksum": "31e7408d48e5872aa3bb338c4b5ebf4f133b5333f7f13ab35d53952c998a1cc2"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_pnl": {"name": "cumulative_pnl", "description": "Cumulative PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_issuance": {"name": "cumulative_issuance", "description": "Cumulative Issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h": {"name": "apr_24h", "description": "APR (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h": {"name": "apy_24h", "description": "APY (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d": {"name": "apr_7d", "description": "APR (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d": {"name": "apy_7d", "description": "APY (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d": {"name": "apr_28d", "description": "APR (28d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d": {"name": "apy_28d", "description": "APY (28d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h_pnl": {"name": "apr_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h_pnl": {"name": "apy_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d_pnl": {"name": "apr_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d_pnl": {"name": "apy_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d_pnl": {"name": "apr_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d_pnl": {"name": "apy_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h_rewards": {"name": "apr_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h_rewards": {"name": "apy_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d_rewards": {"name": "apr_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d_rewards": {"name": "apy_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d_rewards": {"name": "apr_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d_rewards": {"name": "apy_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet", "materialized": "table"}, "created_at": 1723584322.3200786, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"", "raw_code": "{{\n config(\n materialized = 'table',\n )\n}}\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n {{ ref('fct_pool_pnl_hourly_base_mainnet') }}\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_core_apr_base_mainnet.sql", "compiled": true, "compiled_code": "\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_stats_daily_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_stats_daily_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp_stats/fct_perp_stats_daily_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp_stats/fct_perp_stats_daily_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_stats_daily_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp_stats", "fct_perp_stats_daily_base_mainnet"], "alias": "fct_perp_stats_daily_base_mainnet", "checksum": {"name": "sha256", "checksum": "a88df7a3f771dff636004b75258537f16f1752cb1e4a7caeadef53b0cb61693f"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_rewards": {"name": "liquidation_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidated_accounts": {"name": "liquidated_accounts", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.618693, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_stats_daily_base_mainnet\"", "raw_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(liquidation_rewards) AS liquidation_rewards,\n SUM(liquidated_accounts) AS liquidated_accounts,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n {{ ref('fct_perp_stats_hourly_base_mainnet') }}\nGROUP BY\n 1", "language": "sql", "refs": [{"name": "fct_perp_stats_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_stats_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_stats_daily_base_mainnet.sql", "compiled": true, "compiled_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(liquidation_rewards) AS liquidation_rewards,\n SUM(liquidated_accounts) AS liquidated_accounts,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_stats_hourly_base_mainnet\"\nGROUP BY\n 1", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_tracking_stats_daily_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_tracking_stats_daily_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp_stats/fct_perp_tracking_stats_daily_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_daily_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_tracking_stats_daily_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp_stats", "fct_perp_tracking_stats_daily_base_mainnet"], "alias": "fct_perp_tracking_stats_daily_base_mainnet", "checksum": {"name": "sha256", "checksum": "f983971801c65e4cf44f36e10840043d91af1bbf01d3c242d571333fc682d2fd"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "accounts": {"name": "accounts", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "exchange_fees_share": {"name": "exchange_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees_share": {"name": "referral_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees_share": {"name": "collected_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume_share": {"name": "volume_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades_share": {"name": "trades_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.6150596, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_tracking_stats_daily_base_mainnet\"", "raw_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(trades) AS trades\n FROM\n {{ ref('fct_perp_tracking_stats_hourly_base_mainnet') }}\n GROUP BY\n 1,\n 2\n),\naccounts AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n COUNT(\n DISTINCT account_id\n ) AS accounts\n FROM\n {{ ref('fct_perp_trades_base_mainnet') }}\n GROUP BY\n 1,\n 2\n),\ntotal AS (\n SELECT\n ts,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(referral_fees) AS referral_fees_total,\n SUM(collected_fees) AS collected_fees_total,\n SUM(volume) AS volume_total,\n SUM(trades) AS trades_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n trades.tracking_code,\n trades.exchange_fees,\n trades.referral_fees,\n trades.collected_fees,\n trades.volume,\n trades.trades,\n accounts.accounts,\n CASE\n WHEN total.exchange_fees_total = 0 THEN 0\n ELSE trades.exchange_fees / total.exchange_fees_total\n END AS exchange_fees_share,\n CASE\n WHEN total.referral_fees_total = 0 THEN 0\n ELSE trades.referral_fees / total.referral_fees_total\n END AS referral_fees_share,\n CASE\n WHEN total.collected_fees_total = 0 THEN 0\n ELSE trades.collected_fees / total.collected_fees_total\n END AS collected_fees_share,\n CASE\n WHEN total.volume_total = 0 THEN 0\n ELSE trades.volume / total.volume_total\n END AS volume_share,\n CASE\n WHEN total.trades_total = 0 THEN 0\n ELSE trades.trades / total.trades_total\n END AS trades_share\nFROM\n trades\n JOIN accounts\n ON trades.ts = accounts.ts\n AND trades.tracking_code = accounts.tracking_code\n JOIN total\n ON trades.ts = total.ts", "language": "sql", "refs": [{"name": "fct_perp_tracking_stats_hourly_base_mainnet", "package": null, "version": null}, {"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet", "model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_daily_base_mainnet.sql", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(trades) AS trades\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_tracking_stats_hourly_base_mainnet\"\n GROUP BY\n 1,\n 2\n),\naccounts AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n COUNT(\n DISTINCT account_id\n ) AS accounts\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n GROUP BY\n 1,\n 2\n),\ntotal AS (\n SELECT\n ts,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(referral_fees) AS referral_fees_total,\n SUM(collected_fees) AS collected_fees_total,\n SUM(volume) AS volume_total,\n SUM(trades) AS trades_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n trades.tracking_code,\n trades.exchange_fees,\n trades.referral_fees,\n trades.collected_fees,\n trades.volume,\n trades.trades,\n accounts.accounts,\n CASE\n WHEN total.exchange_fees_total = 0 THEN 0\n ELSE trades.exchange_fees / total.exchange_fees_total\n END AS exchange_fees_share,\n CASE\n WHEN total.referral_fees_total = 0 THEN 0\n ELSE trades.referral_fees / total.referral_fees_total\n END AS referral_fees_share,\n CASE\n WHEN total.collected_fees_total = 0 THEN 0\n ELSE trades.collected_fees / total.collected_fees_total\n END AS collected_fees_share,\n CASE\n WHEN total.volume_total = 0 THEN 0\n ELSE trades.volume / total.volume_total\n END AS volume_share,\n CASE\n WHEN total.trades_total = 0 THEN 0\n ELSE trades.trades / total.trades_total\n END AS trades_share\nFROM\n trades\n JOIN accounts\n ON trades.ts = accounts.ts\n AND trades.tracking_code = accounts.tracking_code\n JOIN total\n ON trades.ts = total.ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_market_stats_hourly_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_market_stats_hourly_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp_stats/fct_perp_market_stats_hourly_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp_stats/fct_perp_market_stats_hourly_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_market_stats_hourly_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp_stats", "fct_perp_market_stats_hourly_base_mainnet"], "alias": "fct_perp_market_stats_hourly_base_mainnet", "checksum": {"name": "sha256", "checksum": "68197a710813bc0c6f900c9163a59be4ca6c1e73a37561725ee12ddda0284a2d"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.61986, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_market_stats_hourly_base_mainnet\"", "raw_code": "WITH trades AS (\n SELECT\n ts,\n market_symbol,\n exchange_fees,\n referral_fees,\n collected_fees,\n notional_trade_size,\n 1 AS trades\n FROM\n {{ ref('fct_perp_trades_base_mainnet') }}\n),\nliq AS (\n SELECT\n ts,\n market_symbol,\n amount_liquidated,\n 1 AS liquidations\n FROM\n {{ ref('fct_perp_liq_position_base_mainnet') }}\n),\ninc_trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(notional_trade_size) AS volume\n FROM\n trades\n GROUP BY\n 1,\n 2\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n liq\n GROUP BY\n 1,\n 2\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n trades\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n trades\n ) AS m\n GROUP BY\n m.market_symbol\n),\ninc AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n COALESCE(\n h.trades,\n 0\n ) AS trades,\n COALESCE(\n h.exchange_fees,\n 0\n ) AS exchange_fees,\n COALESCE(\n h.referral_fees,\n 0\n ) AS referral_fees,\n COALESCE(\n h.collected_fees,\n 0\n ) AS collected_fees,\n COALESCE(\n h.volume,\n 0\n ) AS volume,\n COALESCE(\n l.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n l.liquidations,\n 0\n ) AS liquidations,\n SUM(\n h.exchange_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_exchange_fees,\n SUM(\n h.referral_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_referral_fees,\n SUM(\n h.collected_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_collected_fees,\n SUM(\n h.volume\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_volume\n FROM\n dim\n LEFT JOIN inc_trades h\n ON dim.ts = h.ts\n AND dim.market_symbol = h.market_symbol\n LEFT JOIN inc_liq l\n ON dim.ts = l.ts\n AND dim.market_symbol = l.market_symbol\n)\nSELECT\n *\nFROM\n inc", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}, {"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet", "model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_market_stats_hourly_base_mainnet.sql", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n ts,\n market_symbol,\n exchange_fees,\n referral_fees,\n collected_fees,\n notional_trade_size,\n 1 AS trades\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n),\nliq AS (\n SELECT\n ts,\n market_symbol,\n amount_liquidated,\n 1 AS liquidations\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\n),\ninc_trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(notional_trade_size) AS volume\n FROM\n trades\n GROUP BY\n 1,\n 2\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n liq\n GROUP BY\n 1,\n 2\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n trades\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n trades\n ) AS m\n GROUP BY\n m.market_symbol\n),\ninc AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n COALESCE(\n h.trades,\n 0\n ) AS trades,\n COALESCE(\n h.exchange_fees,\n 0\n ) AS exchange_fees,\n COALESCE(\n h.referral_fees,\n 0\n ) AS referral_fees,\n COALESCE(\n h.collected_fees,\n 0\n ) AS collected_fees,\n COALESCE(\n h.volume,\n 0\n ) AS volume,\n COALESCE(\n l.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n l.liquidations,\n 0\n ) AS liquidations,\n SUM(\n h.exchange_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_exchange_fees,\n SUM(\n h.referral_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_referral_fees,\n SUM(\n h.collected_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_collected_fees,\n SUM(\n h.volume\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_volume\n FROM\n dim\n LEFT JOIN inc_trades h\n ON dim.ts = h.ts\n AND dim.market_symbol = h.market_symbol\n LEFT JOIN inc_liq l\n ON dim.ts = l.ts\n AND dim.market_symbol = l.market_symbol\n)\nSELECT\n *\nFROM\n inc", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_stats_hourly_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_stats_hourly_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp_stats/fct_perp_stats_hourly_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp_stats/fct_perp_stats_hourly_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_stats_hourly_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp_stats", "fct_perp_stats_hourly_base_mainnet"], "alias": "fct_perp_stats_hourly_base_mainnet", "checksum": {"name": "sha256", "checksum": "491c796dbd16755b034c63bc980afb14c3c5928866e2389a5e98d219d5c6bed3"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_rewards": {"name": "liquidation_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidated_accounts": {"name": "liquidated_accounts", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.6176026, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_stats_hourly_base_mainnet\"", "raw_code": "WITH inc_market AS (\n SELECT\n ts,\n market_symbol,\n trades,\n exchange_fees,\n referral_fees,\n collected_fees,\n volume,\n liquidations,\n cumulative_exchange_fees,\n cumulative_referral_fees,\n cumulative_collected_fees,\n cumulative_volume\n FROM\n {{ ref('fct_perp_market_stats_hourly_base_mainnet') }}\n),\nliq AS (\n SELECT\n ts,\n total_reward,\n 1 AS liquidated_accounts\n FROM\n {{ ref('fct_perp_liq_account_base_mainnet') }}\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(total_reward) AS liquidation_rewards,\n SUM(liquidated_accounts) AS liquidated_accounts\n FROM\n liq\n GROUP BY\n 1\n),\ninc_trade AS (\n SELECT\n ts,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(cumulative_exchange_fees) AS cumulative_exchange_fees,\n SUM(cumulative_referral_fees) AS cumulative_referral_fees,\n SUM(cumulative_collected_fees) AS cumulative_collected_fees,\n SUM(cumulative_volume) AS cumulative_volume\n FROM\n inc_market\n GROUP BY\n 1\n),\ninc AS (\n SELECT\n h.ts,\n h.trades,\n h.exchange_fees,\n h.referral_fees,\n h.collected_fees,\n h.volume,\n COALESCE(\n l.liquidation_rewards,\n 0\n ) AS liquidation_rewards,\n COALESCE(\n l.liquidated_accounts,\n 0\n ) AS liquidated_accounts,\n h.cumulative_exchange_fees,\n h.cumulative_referral_fees,\n h.cumulative_collected_fees,\n h.cumulative_volume\n FROM\n inc_trade h\n LEFT JOIN inc_liq l\n ON h.ts = l.ts\n)\nSELECT\n *\nFROM\n inc", "language": "sql", "refs": [{"name": "fct_perp_market_stats_hourly_base_mainnet", "package": null, "version": null}, {"name": "fct_perp_liq_account_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_market_stats_hourly_base_mainnet", "model.synthetix.fct_perp_liq_account_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_stats_hourly_base_mainnet.sql", "compiled": true, "compiled_code": "WITH inc_market AS (\n SELECT\n ts,\n market_symbol,\n trades,\n exchange_fees,\n referral_fees,\n collected_fees,\n volume,\n liquidations,\n cumulative_exchange_fees,\n cumulative_referral_fees,\n cumulative_collected_fees,\n cumulative_volume\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_stats_hourly_base_mainnet\"\n),\nliq AS (\n SELECT\n ts,\n total_reward,\n 1 AS liquidated_accounts\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_account_base_mainnet\"\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(total_reward) AS liquidation_rewards,\n SUM(liquidated_accounts) AS liquidated_accounts\n FROM\n liq\n GROUP BY\n 1\n),\ninc_trade AS (\n SELECT\n ts,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(cumulative_exchange_fees) AS cumulative_exchange_fees,\n SUM(cumulative_referral_fees) AS cumulative_referral_fees,\n SUM(cumulative_collected_fees) AS cumulative_collected_fees,\n SUM(cumulative_volume) AS cumulative_volume\n FROM\n inc_market\n GROUP BY\n 1\n),\ninc AS (\n SELECT\n h.ts,\n h.trades,\n h.exchange_fees,\n h.referral_fees,\n h.collected_fees,\n h.volume,\n COALESCE(\n l.liquidation_rewards,\n 0\n ) AS liquidation_rewards,\n COALESCE(\n l.liquidated_accounts,\n 0\n ) AS liquidated_accounts,\n h.cumulative_exchange_fees,\n h.cumulative_referral_fees,\n h.cumulative_collected_fees,\n h.cumulative_volume\n FROM\n inc_trade h\n LEFT JOIN inc_liq l\n ON h.ts = l.ts\n)\nSELECT\n *\nFROM\n inc", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_account_stats_daily_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_account_stats_daily_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp_stats/fct_perp_account_stats_daily_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp_stats/fct_perp_account_stats_daily_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_account_stats_daily_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp_stats", "fct_perp_account_stats_daily_base_mainnet"], "alias": "fct_perp_account_stats_daily_base_mainnet", "checksum": {"name": "sha256", "checksum": "406205d97bac036ca6bd9e8afd7dfe84d9e5169eaf6a5ebcd2c1d42c22629b6d"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_fees": {"name": "cumulative_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.6269426, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_account_stats_daily_base_mainnet\"", "raw_code": "WITH daily AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n account_id,\n SUM(fees) AS fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n {{ ref('fct_perp_account_stats_hourly_base_mainnet') }}\n GROUP BY\n 1,\n 2\n),\nstats AS (\n SELECT\n daily.*,\n SUM(fees) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_fees,\n SUM(volume) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_volume\n FROM\n daily\n)\nSELECT\n *\nFROM\n stats", "language": "sql", "refs": [{"name": "fct_perp_account_stats_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_account_stats_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_account_stats_daily_base_mainnet.sql", "compiled": true, "compiled_code": "WITH daily AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n account_id,\n SUM(fees) AS fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_account_stats_hourly_base_mainnet\"\n GROUP BY\n 1,\n 2\n),\nstats AS (\n SELECT\n daily.*,\n SUM(fees) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_fees,\n SUM(volume) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_volume\n FROM\n daily\n)\nSELECT\n *\nFROM\n stats", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_keeper_stats_hourly_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp_stats/fct_perp_keeper_stats_hourly_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_hourly_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp_stats", "fct_perp_keeper_stats_hourly_base_mainnet"], "alias": "fct_perp_keeper_stats_hourly_base_mainnet", "checksum": {"name": "sha256", "checksum": "8467e6a61252f5311c9647fe4e55041735bc101db0784e474bb083a2c8e5580d"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "keeper": {"name": "keeper", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "settlement_rewards": {"name": "settlement_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_settled": {"name": "amount_settled", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades_pct": {"name": "trades_pct", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "settlement_rewards_pct": {"name": "settlement_rewards_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_settled_pct": {"name": "amount_settled_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.6238027, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_keeper_stats_hourly_base_mainnet\"", "raw_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n settler,\n settlement_reward,\n notional_trade_size,\n 1 AS trades\n FROM\n {{ ref('fct_perp_trades_base_mainnet') }}\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_reward) AS settlement_reward_total,\n SUM(notional_trade_size) AS notional_trade_size_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n settler AS keeper,\n SUM(trades) AS trades,\n SUM(settlement_reward) AS settlement_rewards,\n SUM(notional_trade_size) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_reward) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(notional_trade_size) / MAX(notional_trade_size_total) AS amount_settled_pct\nFROM\n trades\n JOIN total\n ON trades.ts = total.ts\nGROUP BY\n 1,\n 2", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_hourly_base_mainnet.sql", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n settler,\n settlement_reward,\n notional_trade_size,\n 1 AS trades\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_reward) AS settlement_reward_total,\n SUM(notional_trade_size) AS notional_trade_size_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n settler AS keeper,\n SUM(trades) AS trades,\n SUM(settlement_reward) AS settlement_rewards,\n SUM(notional_trade_size) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_reward) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(notional_trade_size) / MAX(notional_trade_size_total) AS amount_settled_pct\nFROM\n trades\n JOIN total\n ON trades.ts = total.ts\nGROUP BY\n 1,\n 2", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_market_stats_daily_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_market_stats_daily_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp_stats/fct_perp_market_stats_daily_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp_stats/fct_perp_market_stats_daily_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_market_stats_daily_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp_stats", "fct_perp_market_stats_daily_base_mainnet"], "alias": "fct_perp_market_stats_daily_base_mainnet", "checksum": {"name": "sha256", "checksum": "d747ef6b93c6e1f627afdfc5107b754a9e60498de9fef855f59d683340036d2b"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.6210582, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_market_stats_daily_base_mainnet\"", "raw_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n {{ ref('fct_perp_market_stats_hourly_base_mainnet') }}\nGROUP BY\n 1,\n 2", "language": "sql", "refs": [{"name": "fct_perp_market_stats_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_market_stats_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_market_stats_daily_base_mainnet.sql", "compiled": true, "compiled_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_stats_hourly_base_mainnet\"\nGROUP BY\n 1,\n 2", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_account_stats_hourly_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_account_stats_hourly_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp_stats/fct_perp_account_stats_hourly_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp_stats/fct_perp_account_stats_hourly_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_account_stats_hourly_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp_stats", "fct_perp_account_stats_hourly_base_mainnet"], "alias": "fct_perp_account_stats_hourly_base_mainnet", "checksum": {"name": "sha256", "checksum": "7b9bbf304b29b4599d438803aec356365554283d3fa4fe88b73bfe1f8d5626e8"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "cumulative_fees": {"name": "cumulative_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.6260686, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_account_stats_hourly_base_mainnet\"", "raw_code": "WITH trades AS (\n SELECT\n ts,\n account_id,\n total_fees,\n notional_trade_size,\n 1 AS trades,\n SUM(\n total_fees\n ) over (\n PARTITION BY account_id\n ORDER BY\n ts\n ) AS cumulative_fees,\n SUM(\n notional_trade_size\n ) over (\n PARTITION BY account_id\n ORDER BY\n ts\n ) AS cumulative_volume\n FROM\n {{ ref('fct_perp_trades_base_mainnet') }}\n),\nliq AS (\n SELECT\n ts,\n account_id,\n amount_liquidated,\n 1 AS liquidations\n FROM\n {{ ref('fct_perp_liq_position_base_mainnet') }}\n),\ninc_trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n account_id,\n SUM(trades) AS trades,\n SUM(total_fees) AS fees,\n SUM(notional_trade_size) AS volume,\n MAX(cumulative_fees) AS cumulative_fees,\n MAX(cumulative_volume) AS cumulative_volume\n FROM\n trades\n GROUP BY\n 1,\n 2\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n account_id,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n liq\n GROUP BY\n 1,\n 2\n),\ninc AS (\n SELECT\n h.ts,\n h.account_id,\n COALESCE(\n h.trades,\n 0\n ) AS trades,\n COALESCE(\n h.fees,\n 0\n ) AS fees,\n COALESCE(\n h.volume,\n 0\n ) AS volume,\n COALESCE(\n l.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n l.liquidations,\n 0\n ) AS liquidations,\n COALESCE(\n h.cumulative_fees,\n 0\n ) AS cumulative_fees,\n COALESCE(\n h.cumulative_volume,\n 0\n ) AS cumulative_volume\n FROM\n inc_trades h\n LEFT JOIN inc_liq l\n ON h.ts = l.ts\n AND h.account_id = l.account_id\n)\nSELECT\n *\nFROM\n inc", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}, {"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet", "model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_account_stats_hourly_base_mainnet.sql", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n ts,\n account_id,\n total_fees,\n notional_trade_size,\n 1 AS trades,\n SUM(\n total_fees\n ) over (\n PARTITION BY account_id\n ORDER BY\n ts\n ) AS cumulative_fees,\n SUM(\n notional_trade_size\n ) over (\n PARTITION BY account_id\n ORDER BY\n ts\n ) AS cumulative_volume\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n),\nliq AS (\n SELECT\n ts,\n account_id,\n amount_liquidated,\n 1 AS liquidations\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\n),\ninc_trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n account_id,\n SUM(trades) AS trades,\n SUM(total_fees) AS fees,\n SUM(notional_trade_size) AS volume,\n MAX(cumulative_fees) AS cumulative_fees,\n MAX(cumulative_volume) AS cumulative_volume\n FROM\n trades\n GROUP BY\n 1,\n 2\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n account_id,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n liq\n GROUP BY\n 1,\n 2\n),\ninc AS (\n SELECT\n h.ts,\n h.account_id,\n COALESCE(\n h.trades,\n 0\n ) AS trades,\n COALESCE(\n h.fees,\n 0\n ) AS fees,\n COALESCE(\n h.volume,\n 0\n ) AS volume,\n COALESCE(\n l.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n l.liquidations,\n 0\n ) AS liquidations,\n COALESCE(\n h.cumulative_fees,\n 0\n ) AS cumulative_fees,\n COALESCE(\n h.cumulative_volume,\n 0\n ) AS cumulative_volume\n FROM\n inc_trades h\n LEFT JOIN inc_liq l\n ON h.ts = l.ts\n AND h.account_id = l.account_id\n)\nSELECT\n *\nFROM\n inc", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_keeper_stats_daily_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_keeper_stats_daily_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp_stats/fct_perp_keeper_stats_daily_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_daily_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_keeper_stats_daily_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp_stats", "fct_perp_keeper_stats_daily_base_mainnet"], "alias": "fct_perp_keeper_stats_daily_base_mainnet", "checksum": {"name": "sha256", "checksum": "8f81ea44b38a1fe5b6901fbd8eea33d9401afa0f79a2db0036eec73b8709135d"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "keeper": {"name": "keeper", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settlement_rewards": {"name": "settlement_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_settled": {"name": "amount_settled", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades_pct": {"name": "trades_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settlement_rewards_pct": {"name": "settlement_rewards_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_settled_pct": {"name": "amount_settled_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.624704, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_keeper_stats_daily_base_mainnet\"", "raw_code": "WITH hourly AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n keeper,\n settlement_rewards,\n amount_settled,\n trades\n FROM\n {{ ref('fct_perp_keeper_stats_hourly_base_mainnet') }}\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_rewards) AS settlement_reward_total,\n SUM(amount_settled) AS amount_settled_total\n FROM\n hourly\n GROUP BY\n 1\n)\nSELECT\n hourly.ts,\n keeper,\n SUM(trades) AS trades,\n SUM(settlement_rewards) AS settlement_rewards,\n SUM(amount_settled) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_rewards) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(amount_settled) / MAX(amount_settled_total) AS amount_settled_pct\nFROM\n hourly\n JOIN total\n ON hourly.ts = total.ts\nGROUP BY\n 1,\n 2", "language": "sql", "refs": [{"name": "fct_perp_keeper_stats_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_daily_base_mainnet.sql", "compiled": true, "compiled_code": "WITH hourly AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n keeper,\n settlement_rewards,\n amount_settled,\n trades\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_keeper_stats_hourly_base_mainnet\"\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_rewards) AS settlement_reward_total,\n SUM(amount_settled) AS amount_settled_total\n FROM\n hourly\n GROUP BY\n 1\n)\nSELECT\n hourly.ts,\n keeper,\n SUM(trades) AS trades,\n SUM(settlement_rewards) AS settlement_rewards,\n SUM(amount_settled) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_rewards) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(amount_settled) / MAX(amount_settled_total) AS amount_settled_pct\nFROM\n hourly\n JOIN total\n ON hourly.ts = total.ts\nGROUP BY\n 1,\n 2", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_tracking_stats_hourly_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp_stats/fct_perp_tracking_stats_hourly_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_hourly_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp_stats", "fct_perp_tracking_stats_hourly_base_mainnet"], "alias": "fct_perp_tracking_stats_hourly_base_mainnet", "checksum": {"name": "sha256", "checksum": "b97dfeaab4f97866c866e471134a2b1ee40e57e14ef341cd84e64311af134ee9"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "accounts": {"name": "accounts", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "exchange_fees_share": {"name": "exchange_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees_share": {"name": "referral_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees_share": {"name": "collected_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume_share": {"name": "volume_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades_share": {"name": "trades_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.6138954, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_tracking_stats_hourly_base_mainnet\"", "raw_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(notional_trade_size) AS volume,\n SUM(1) AS trades\n FROM\n {{ ref('fct_perp_trades_base_mainnet') }}\n GROUP BY\n 1,\n 2\n),\naccounts AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n COUNT(\n DISTINCT account_id\n ) AS accounts\n FROM\n {{ ref('fct_perp_trades_base_mainnet') }}\n GROUP BY\n 1,\n 2\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(referral_fees) AS referral_fees_total,\n SUM(collected_fees) AS collected_fees_total,\n SUM(volume) AS volume_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n trades.tracking_code,\n trades.exchange_fees,\n trades.referral_fees,\n trades.collected_fees,\n trades.volume,\n trades.trades,\n accounts.accounts,\n CASE\n WHEN total.exchange_fees_total = 0 THEN 0\n ELSE trades.exchange_fees / total.exchange_fees_total\n END AS exchange_fees_share,\n CASE\n WHEN total.referral_fees_total = 0 THEN 0\n ELSE trades.referral_fees / total.referral_fees_total\n END AS referral_fees_share,\n CASE\n WHEN total.collected_fees_total = 0 THEN 0\n ELSE trades.collected_fees / total.collected_fees_total\n END AS collected_fees_share,\n CASE\n WHEN total.volume_total = 0 THEN 0\n ELSE trades.volume / total.volume_total\n END AS volume_share,\n CASE\n WHEN total.trades_total = 0 THEN 0\n ELSE trades.trades / total.trades_total\n END AS trades_share\nFROM\n trades\n JOIN accounts\n ON trades.ts = accounts.ts\n AND trades.tracking_code = accounts.tracking_code\n JOIN total\n ON trades.ts = total.ts", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}, {"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_hourly_base_mainnet.sql", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(notional_trade_size) AS volume,\n SUM(1) AS trades\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n GROUP BY\n 1,\n 2\n),\naccounts AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n COUNT(\n DISTINCT account_id\n ) AS accounts\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n GROUP BY\n 1,\n 2\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(referral_fees) AS referral_fees_total,\n SUM(collected_fees) AS collected_fees_total,\n SUM(volume) AS volume_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n trades.tracking_code,\n trades.exchange_fees,\n trades.referral_fees,\n trades.collected_fees,\n trades.volume,\n trades.trades,\n accounts.accounts,\n CASE\n WHEN total.exchange_fees_total = 0 THEN 0\n ELSE trades.exchange_fees / total.exchange_fees_total\n END AS exchange_fees_share,\n CASE\n WHEN total.referral_fees_total = 0 THEN 0\n ELSE trades.referral_fees / total.referral_fees_total\n END AS referral_fees_share,\n CASE\n WHEN total.collected_fees_total = 0 THEN 0\n ELSE trades.collected_fees / total.collected_fees_total\n END AS collected_fees_share,\n CASE\n WHEN total.volume_total = 0 THEN 0\n ELSE trades.volume / total.volume_total\n END AS volume_share,\n CASE\n WHEN total.trades_total = 0 THEN 0\n ELSE trades.trades / total.trades_total\n END AS trades_share\nFROM\n trades\n JOIN accounts\n ON trades.ts = accounts.ts\n AND trades.tracking_code = accounts.tracking_code\n JOIN total\n ON trades.ts = total.ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_spot_markets_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_spot_markets_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/spot/fct_spot_markets_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/spot/fct_spot_markets_base_mainnet.sql", "unique_id": "model.synthetix.fct_spot_markets_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "fct_spot_markets_base_mainnet"], "alias": "fct_spot_markets_base_mainnet", "checksum": {"name": "sha256", "checksum": "1daa32ef517e19cf9a2e24c9a22d29db1db8e7232086adb25eb1be194924b509"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_address": {"name": "token_address", "description": "Token address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.6305895, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_spot_markets_base_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n {{ ref('spot_synth_registered_base_mainnet') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "spot_synth_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.spot_synth_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_markets_base_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_synth_supply_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_synth_supply_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/spot/fct_synth_supply_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/spot/fct_synth_supply_base_mainnet.sql", "unique_id": "model.synthetix.fct_synth_supply_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "fct_synth_supply_base_mainnet"], "alias": "fct_synth_supply_base_mainnet", "checksum": {"name": "sha256", "checksum": "56348a028023940be5e89a26c148454a305be208ddcfe3f2a043c331e76b156d"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "supply": {"name": "supply", "description": "Supply", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.6281984, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_synth_supply_base_mainnet\"", "raw_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n {{ ref('fct_spot_wrapper_base_mainnet') }}\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n {{ ref('fct_spot_atomics_base_mainnet') }}\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n {{ ref('fct_spot_atomics_base_mainnet') }}\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n {{ convert_wei(\"amount\") }} AS change_amount\n FROM\n {{ ref('core_usd_minted_base_mainnet') }}\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * {{ convert_wei(\"amount\") }} AS change_amount\n FROM\n {{ ref('core_usd_burned_base_mainnet') }}\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_mainnet", "package": null, "version": null}, {"name": "fct_spot_atomics_base_mainnet", "package": null, "version": null}, {"name": "fct_spot_atomics_base_mainnet", "package": null, "version": null}, {"name": "core_usd_minted_base_mainnet", "package": null, "version": null}, {"name": "core_usd_burned_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.fct_spot_wrapper_base_mainnet", "model.synthetix.fct_spot_atomics_base_mainnet", "model.synthetix.core_usd_minted_base_mainnet", "model.synthetix.core_usd_burned_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/fct_synth_supply_base_mainnet.sql", "compiled": true, "compiled_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_spot_wrapper_base_mainnet\"\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_spot_wrapper_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_spot_wrapper_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/spot/fct_spot_wrapper_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/spot/fct_spot_wrapper_base_mainnet.sql", "unique_id": "model.synthetix.fct_spot_wrapper_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "fct_spot_wrapper_base_mainnet"], "alias": "fct_spot_wrapper_base_mainnet", "checksum": {"name": "sha256", "checksum": "4723b908acaaa82f4ea92e3a3918d2723e0f11e7e71c1fd9834c18d207099ef9"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tx_hash": {"name": "tx_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_wrapped": {"name": "amount_wrapped", "description": "Amount wrapped", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.6317823, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_spot_wrapper_base_mainnet\"", "raw_code": "WITH wraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n {{ convert_wei('amount_wrapped') }} AS amount_wrapped\n FROM\n {{ ref('spot_synth_wrapped_base_mainnet') }}\n),\nunwraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n -1 * {{ convert_wei('amount_unwrapped') }} AS amount_wrapped\n FROM\n {{ ref('spot_synth_unwrapped_base_mainnet') }}\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n wraps\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n unwraps\nORDER BY\n ts", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_mainnet", "package": null, "version": null}, {"name": "spot_synth_unwrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.spot_synth_wrapped_base_mainnet", "model.synthetix.spot_synth_unwrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_wrapper_base_mainnet.sql", "compiled": true, "compiled_code": "WITH wraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n amount_wrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\n),\nunwraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n -1 * \n amount_unwrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n wraps\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n unwraps\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_spot_atomics_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_spot_atomics_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/spot/fct_spot_atomics_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/spot/fct_spot_atomics_base_mainnet.sql", "unique_id": "model.synthetix.fct_spot_atomics_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "fct_spot_atomics_base_mainnet"], "alias": "fct_spot_atomics_base_mainnet", "checksum": {"name": "sha256", "checksum": "ff87e8124b54d6ba42d499013b935fa60b66d193666c2fa89983fe5c0c9c7817"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tx_hash": {"name": "tx_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.6296296, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"", "raw_code": "WITH bought AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n {{ convert_wei('price') }} AS price,\n {{ convert_wei('synth_returned') }} AS amount,\n referrer\n FROM\n {{ ref('spot_synth_bought_base_mainnet') }}\n),\nsold AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n {{ convert_wei('price') }} AS price,\n -1 * {{ convert_wei('amount_returned') }} AS amount,\n referrer\n FROM\n {{ ref('spot_synth_sold_base_mainnet') }}\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n bought\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n sold\nORDER BY\n ts", "language": "sql", "refs": [{"name": "spot_synth_bought_base_mainnet", "package": null, "version": null}, {"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.spot_synth_bought_base_mainnet", "model.synthetix.spot_synth_sold_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_atomics_base_mainnet.sql", "compiled": true, "compiled_code": "WITH bought AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n \n synth_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\n),\nsold AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n -1 * \n amount_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n bought\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n sold\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_prices_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_prices_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/prices/fct_prices_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/prices/fct_prices_base_mainnet.sql", "unique_id": "model.synthetix.fct_prices_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "prices", "fct_prices_base_mainnet"], "alias": "fct_prices_base_mainnet", "checksum": {"name": "sha256", "checksum": "d9cf1baf09f214e1af8bd82ab74481432786d54ce1350cf3a2e2ca0d41e551ea"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_address": {"name": "market_address", "description": "Market address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/prices/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.6889527, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_prices_base_mainnet\"", "raw_code": "WITH all_prices AS (\n SELECT\n ts,\n NULL AS market_address,\n market_symbol,\n price\n FROM\n {{ ref('fct_perp_market_history_base_mainnet') }}\n UNION ALL\n SELECT\n ts,\n NULL AS market_address,\n 'SNX' AS market_symbol,\n snx_price AS price\n FROM\n {{ ref('fct_buyback_base_mainnet') }}\n WHERE\n snx_price > 0\n UNION ALL\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n {{ ref('core_vault_collateral_base_mainnet') }}\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n {{ ref('base_mainnet_tokens') }}\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}, {"name": "fct_buyback_base_mainnet", "package": null, "version": null}, {"name": "core_vault_collateral_base_mainnet", "package": null, "version": null}, {"name": "base_mainnet_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet", "model.synthetix.fct_buyback_base_mainnet", "model.synthetix.core_vault_collateral_base_mainnet", "seed.synthetix.base_mainnet_tokens"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/prices/fct_prices_base_mainnet.sql", "compiled": true, "compiled_code": "WITH all_prices AS (\n SELECT\n ts,\n NULL AS market_address,\n market_symbol,\n price\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\n UNION ALL\n SELECT\n ts,\n NULL AS market_address,\n 'SNX' AS market_symbol,\n snx_price AS price\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\n WHERE\n snx_price > 0\n UNION ALL\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"base_mainnet_tokens\"\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_prices_hourly_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_prices_hourly_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/prices/fct_prices_hourly_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/prices/fct_prices_hourly_base_mainnet.sql", "unique_id": "model.synthetix.fct_prices_hourly_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "prices", "fct_prices_hourly_base_mainnet"], "alias": "fct_prices_hourly_base_mainnet", "checksum": {"name": "sha256", "checksum": "bb1064000f7ffaa38880462c9b6dd3e3df58a19d8727e2e8805f50d2fe0ca828"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/prices/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1723584322.6898284, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_prices_hourly_base_mainnet\"", "raw_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n {{ ref('fct_prices_base_mainnet') }}\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "language": "sql", "refs": [{"name": "fct_prices_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_prices_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/prices/fct_prices_hourly_base_mainnet.sql", "compiled": true, "compiled_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_prices_base_mainnet\"\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_market_history_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_market_history_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp/fct_perp_market_history_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp/fct_perp_market_history_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_market_history_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "fct_perp_market_history_base_sepolia"], "alias": "fct_perp_market_history_base_sepolia", "checksum": {"name": "sha256", "checksum": "6100dac7ef27ee292dc62d38c77508f5278969bcef74282b0dcb0710095acc35"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "skew": {"name": "skew", "description": "Skew (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size": {"name": "size", "description": "Size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "Size delta (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "funding_rate": {"name": "funding_rate", "description": "Funding rate (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "funding_velocity": {"name": "funding_velocity", "description": "Funding velocity (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "interest_rate": {"name": "interest_rate", "description": "Interest rate (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "funding_rate_apr": {"name": "funding_rate_apr", "description": "Funding rate APR (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_rate_apr": {"name": "long_rate_apr", "description": "Long rate APR (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_rate_apr": {"name": "short_rate_apr", "description": "Short rate APR (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size_usd": {"name": "size_usd", "description": "Size (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi": {"name": "long_oi", "description": "Long open interest (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi": {"name": "short_oi", "description": "Short open interest (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi_pct": {"name": "long_oi_pct", "description": "Long open interest (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi_pct": {"name": "short_oi_pct", "description": "Short open interest (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584322.7218614, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"", "raw_code": "WITH base AS (\n SELECT\n mu.id,\n mu.block_timestamp AS ts,\n mu.block_number,\n mu.transaction_hash,\n m.id AS market_id,\n m.market_symbol,\n {{ convert_wei('price') }} AS price,\n {{ convert_wei('skew') }} AS skew,\n {{ convert_wei('size') }} AS SIZE,\n {{ convert_wei('size_delta') }} AS size_delta,\n {{ convert_wei('current_funding_rate') }} AS funding_rate,\n {{ convert_wei('current_funding_velocity') }} AS funding_velocity,\n {{ convert_wei('interest_rate') }} AS interest_rate,\n {{ convert_wei('current_funding_rate') }} * 365.25 AS funding_rate_apr,\n {{ convert_wei('current_funding_rate') }} * 365.25 + {{ convert_wei('interest_rate') }} AS long_rate_apr,\n {{ convert_wei('current_funding_rate') }} * -1 * 365.25 + {{ convert_wei('interest_rate') }} AS short_rate_apr\n FROM\n {{ ref('perp_market_updated_base_sepolia') }}\n mu\n LEFT JOIN {{ ref('fct_perp_markets_base_sepolia') }}\n m\n ON mu.market_id = m.id\n)\nSELECT\n *,\n SIZE * price AS size_usd,\n (\n SIZE + skew\n ) * price / 2 AS long_oi,\n (\n SIZE - skew\n ) * price / 2 AS short_oi,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE + skew) * price / 2) / (\n SIZE * price\n )\n END AS long_oi_pct,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE - skew) * price / 2) / (\n SIZE * price\n )\n END AS short_oi_pct\nFROM\n base", "language": "sql", "refs": [{"name": "perp_market_updated_base_sepolia", "package": null, "version": null}, {"name": "fct_perp_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_market_updated_base_sepolia", "model.synthetix.fct_perp_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_market_history_base_sepolia.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n mu.id,\n mu.block_timestamp AS ts,\n mu.block_number,\n mu.transaction_hash,\n m.id AS market_id,\n m.market_symbol,\n \n price / 1e18\n AS price,\n \n skew / 1e18\n AS skew,\n \n size / 1e18\n AS SIZE,\n \n size_delta / 1e18\n AS size_delta,\n \n current_funding_rate / 1e18\n AS funding_rate,\n \n current_funding_velocity / 1e18\n AS funding_velocity,\n \n interest_rate / 1e18\n AS interest_rate,\n \n current_funding_rate / 1e18\n * 365.25 AS funding_rate_apr,\n \n current_funding_rate / 1e18\n * 365.25 + \n interest_rate / 1e18\n AS long_rate_apr,\n \n current_funding_rate / 1e18\n * -1 * 365.25 + \n interest_rate / 1e18\n AS short_rate_apr\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\n mu\n LEFT JOIN \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\"\n m\n ON mu.market_id = m.id\n)\nSELECT\n *,\n SIZE * price AS size_usd,\n (\n SIZE + skew\n ) * price / 2 AS long_oi,\n (\n SIZE - skew\n ) * price / 2 AS short_oi,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE + skew) * price / 2) / (\n SIZE * price\n )\n END AS long_oi_pct,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE - skew) * price / 2) / (\n SIZE * price\n )\n END AS short_oi_pct\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_accounts_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_accounts_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp/fct_perp_accounts_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp/fct_perp_accounts_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_accounts_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "fct_perp_accounts_base_sepolia"], "alias": "fct_perp_accounts_base_sepolia", "checksum": {"name": "sha256", "checksum": "0e83dad1ce3c914b619d1141216d02bf628795a8c2249942f2af83c7cbc6473e"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "Account creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the account owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584322.7252104, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_accounts_base_sepolia\"", "raw_code": "WITH base AS (\n SELECT\n CAST(\n account_id AS VARCHAR\n ) AS id,\n block_timestamp AS created_ts,\n \"owner\"\n FROM\n {{ ref('perp_account_created_base_sepolia') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "perp_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.perp_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_accounts_base_sepolia.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n CAST(\n account_id AS VARCHAR\n ) AS id,\n block_timestamp AS created_ts,\n \"owner\"\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_previous_order_expired_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_previous_order_expired_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp/fct_perp_previous_order_expired_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp/fct_perp_previous_order_expired_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "fct_perp_previous_order_expired_base_sepolia"], "alias": "fct_perp_previous_order_expired_base_sepolia", "checksum": {"name": "sha256", "checksum": "5ee0f93cced2a51480bbd9cff6febe301e1336ccd30b665596d23349877b2469"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "commitment_time": {"name": "commitment_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584322.7126646, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_base_sepolia\"", "raw_code": "SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n account_id,\n commitment_time,\n tracking_code,\n {{ convert_wei(\"acceptable_price\") }} AS acceptable_price,\n {{ convert_wei(\"size_delta\") }} AS size_delta\nFROM\n {{ ref(\"perp_previous_order_expired_base_sepolia\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_previous_order_expired_base_sepolia.sql", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n account_id,\n commitment_time,\n tracking_code,\n \n acceptable_price / 1e18\n AS acceptable_price,\n \n size_delta / 1e18\n AS size_delta\nFROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_interest_charged_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_interest_charged_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp/fct_perp_interest_charged_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp/fct_perp_interest_charged_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_interest_charged_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "fct_perp_interest_charged_base_sepolia"], "alias": "fct_perp_interest_charged_base_sepolia", "checksum": {"name": "sha256", "checksum": "b627ada7a68e9687f38a426a300822209efd8a38149f84b6c0a58bc48fb9f8bf"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "interest": {"name": "interest", "description": "Interest amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584322.7094493, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_base_sepolia\"", "raw_code": "SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n account_id,\n {{ convert_wei(\"interest\") }} AS interest\nFROM\n {{ ref(\"perp_interest_charged_base_sepolia\") }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_interest_charged_base_sepolia.sql", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n account_id,\n \n interest / 1e18\n AS interest\nFROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_base_sepolia\"", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_liq_account_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_liq_account_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp/fct_perp_liq_account_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp/fct_perp_liq_account_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_liq_account_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "fct_perp_liq_account_base_sepolia"], "alias": "fct_perp_liq_account_base_sepolia", "checksum": {"name": "sha256", "checksum": "74bb51df4e39b127283f3b93c0bc62b4700a0c949d46b05c2ecd905a4f6bdad5"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "total_reward": {"name": "total_reward", "description": "Total reward", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584322.7242942, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_account_base_sepolia\"", "raw_code": "WITH liquidation_events AS (\n SELECT\n account_id,\n reward,\n block_timestamp,\n full_liquidation,\n SUM(\n CASE\n WHEN full_liquidation THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY account_id\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS liquidation_id\n FROM\n {{ ref('perp_account_liquidation_attempt_base_sepolia') }}\n),\ncumulative_rewards AS (\n SELECT\n CAST(\n le.account_id AS text\n ) AS account_id,\n le.block_timestamp,\n le.reward,\n le.full_liquidation,\n le.liquidation_id,\n SUM({{ convert_wei('reward') }}) over (\n PARTITION BY le.account_id,\n le.liquidation_id\n ORDER BY\n le.block_timestamp\n ) AS cumulative_reward,\n ROW_NUMBER() over (\n PARTITION BY le.account_id,\n le.liquidation_id\n ORDER BY\n le.block_timestamp DESC\n ) AS rn\n FROM\n liquidation_events le\n ORDER BY\n block_timestamp\n)\nSELECT\n account_id,\n block_timestamp AS ts,\n cumulative_reward AS total_reward\nFROM\n cumulative_rewards\nWHERE\n rn = 1", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_liq_account_base_sepolia.sql", "compiled": true, "compiled_code": "WITH liquidation_events AS (\n SELECT\n account_id,\n reward,\n block_timestamp,\n full_liquidation,\n SUM(\n CASE\n WHEN full_liquidation THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY account_id\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS liquidation_id\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\n),\ncumulative_rewards AS (\n SELECT\n CAST(\n le.account_id AS text\n ) AS account_id,\n le.block_timestamp,\n le.reward,\n le.full_liquidation,\n le.liquidation_id,\n SUM(\n reward / 1e18\n) over (\n PARTITION BY le.account_id,\n le.liquidation_id\n ORDER BY\n le.block_timestamp\n ) AS cumulative_reward,\n ROW_NUMBER() over (\n PARTITION BY le.account_id,\n le.liquidation_id\n ORDER BY\n le.block_timestamp DESC\n ) AS rn\n FROM\n liquidation_events le\n ORDER BY\n block_timestamp\n)\nSELECT\n account_id,\n block_timestamp AS ts,\n cumulative_reward AS total_reward\nFROM\n cumulative_rewards\nWHERE\n rn = 1", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_collateral_modified_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_collateral_modified_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp/fct_perp_collateral_modified_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp/fct_perp_collateral_modified_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "fct_perp_collateral_modified_base_sepolia"], "alias": "fct_perp_collateral_modified_base_sepolia", "checksum": {"name": "sha256", "checksum": "9befb1c36442fe1e76e054161b16375c5ac78cf5105443db932dba3dd31a4898"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delta": {"name": "amount_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584322.710907, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_modified_base_sepolia\"", "raw_code": "SELECT\n id,\n block_timestamp,\n account_id,\n block_number,\n transaction_hash,\n contract,\n event_name,\n synth_market_id,\n sender,\n {{ convert_wei(\"amount_delta\") }} AS amount_delta\nFROM\n {{ ref(\"perp_collateral_modified_base_sepolia\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_collateral_modified_base_sepolia.sql", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp,\n account_id,\n block_number,\n transaction_hash,\n contract,\n event_name,\n synth_market_id,\n sender,\n \n amount_delta / 1e18\n AS amount_delta\nFROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_trades_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_trades_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp/fct_perp_trades_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp/fct_perp_trades_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_trades_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "fct_perp_trades_base_sepolia"], "alias": "fct_perp_trades_base_sepolia", "checksum": {"name": "sha256", "checksum": "00e4e5f05993061e91cc06c375501f9b7ef0144711269e69db0e29af75e3834c"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fill_price": {"name": "fill_price", "description": "Fill price (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pnl": {"name": "pnl", "description": "PnL (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "accrued_funding": {"name": "accrued_funding", "description": "Accrued funding (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trade_size": {"name": "trade_size", "description": "Trade size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "position_size": {"name": "position_size", "description": "Position size", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "total_fees": {"name": "total_fees", "description": "Total fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "Referral fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "Collected fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settlement_reward": {"name": "settlement_reward", "description": "Settlement reward (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "Account tracking code", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "settler": {"name": "settler", "description": "Address of the settler", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "notional_trade_size": {"name": "notional_trade_size", "description": "Notional trade size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "notional_position_size": {"name": "notional_position_size", "description": "Notional position size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "lp_fees": {"name": "lp_fees", "description": "LP fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "Exchange fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584322.7157362, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"", "raw_code": "WITH base AS (\n SELECT\n pos.id,\n pos.block_timestamp AS ts,\n pos.block_number,\n pos.transaction_hash,\n pos.contract,\n pos.market_id,\n markets.market_symbol,\n CAST(\n pos.account_id AS text\n ) AS account_id,\n {{ convert_wei('fill_price') }} AS fill_price,\n {{ convert_wei('pnl') }} AS pnl,\n {{ convert_wei('accrued_funding') }} AS accrued_funding,\n {{ convert_wei('size_delta') }} AS trade_size,\n {{ convert_wei('new_size') }} AS position_size,\n {{ convert_wei('total_fees') }} AS total_fees,\n {{ convert_wei('referral_fees') }} AS referral_fees,\n {{ convert_wei('collected_fees') }} AS collected_fees,\n {{ convert_wei('settlement_reward') }} AS settlement_reward,\n {{ convert_hex('tracking_code') }} AS tracking_code,\n pos.settler\n FROM\n {{ ref('perp_order_settled_base_sepolia') }} AS pos\n LEFT JOIN {{ ref('fct_perp_markets_base_sepolia') }} AS markets\n ON pos.market_id = markets.id\n)\nSELECT\n *,\n ABS(\n fill_price * trade_size\n ) AS notional_trade_size,\n fill_price * position_size AS notional_position_size,\n total_fees - referral_fees - collected_fees - settlement_reward AS lp_fees,\n total_fees - settlement_reward AS exchange_fees\nFROM\n base", "language": "sql", "refs": [{"name": "perp_order_settled_base_sepolia", "package": null, "version": null}, {"name": "fct_perp_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei", "macro.synthetix.convert_hex"], "nodes": ["model.synthetix.perp_order_settled_base_sepolia", "model.synthetix.fct_perp_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_trades_base_sepolia.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pos.id,\n pos.block_timestamp AS ts,\n pos.block_number,\n pos.transaction_hash,\n pos.contract,\n pos.market_id,\n markets.market_symbol,\n CAST(\n pos.account_id AS text\n ) AS account_id,\n \n fill_price / 1e18\n AS fill_price,\n \n pnl / 1e18\n AS pnl,\n \n accrued_funding / 1e18\n AS accrued_funding,\n \n size_delta / 1e18\n AS trade_size,\n \n new_size / 1e18\n AS position_size,\n \n total_fees / 1e18\n AS total_fees,\n \n referral_fees / 1e18\n AS referral_fees,\n \n collected_fees / 1e18\n AS collected_fees,\n \n settlement_reward / 1e18\n AS settlement_reward,\n \n LEFT(\n REGEXP_REPLACE(\n encode(\n DECODE(REPLACE(tracking_code, '0x', ''), 'hex'),\n 'escape'\n ) :: text,\n '\\\\000',\n '',\n 'g'\n ),\n 20\n )\n AS tracking_code,\n pos.settler\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\" AS pos\n LEFT JOIN \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\" AS markets\n ON pos.market_id = markets.id\n)\nSELECT\n *,\n ABS(\n fill_price * trade_size\n ) AS notional_trade_size,\n fill_price * position_size AS notional_position_size,\n total_fees - referral_fees - collected_fees - settlement_reward AS lp_fees,\n total_fees - settlement_reward AS exchange_fees\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_pnl_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_pnl_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp/fct_perp_pnl_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp/fct_perp_pnl_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_pnl_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "fct_perp_pnl_base_sepolia"], "alias": "fct_perp_pnl_base_sepolia", "checksum": {"name": "sha256", "checksum": "852bf16bb062ff074e9820028aacd2ddf8b64c031831992794653d4964a693e4"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_pnl": {"name": "market_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584322.7165554, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_pnl_base_sepolia\"", "raw_code": "{# DEPRECATED: deprecate this table in dashboards and remove #}\nWITH debt AS (\n SELECT\n ts,\n 2 AS market_id,\n debt * -1 AS market_pnl\n FROM\n {{ ref('core_vault_debt_base_sepolia') }}\n)\nSELECT\n ts,\n market_id,\n market_pnl\nFROM\n debt\nORDER BY\n ts", "language": "sql", "refs": [{"name": "core_vault_debt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_vault_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_pnl_base_sepolia.sql", "compiled": true, "compiled_code": "\nWITH debt AS (\n SELECT\n ts,\n 2 AS market_id,\n debt * -1 AS market_pnl\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_base_sepolia\"\n)\nSELECT\n ts,\n market_id,\n market_pnl\nFROM\n debt\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_liq_position_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_liq_position_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp/fct_perp_liq_position_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp/fct_perp_liq_position_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_liq_position_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "fct_perp_liq_position_base_sepolia"], "alias": "fct_perp_liq_position_base_sepolia", "checksum": {"name": "sha256", "checksum": "a1ef2366640dde2a2a60376ae17762f0ae60b88f94bb1a12942bb54d2e679e7d"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "Amount liquidated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "position_size": {"name": "position_size", "description": "Liquidated position size", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584322.7234354, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"", "raw_code": "WITH liquidations AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n account_id,\n market_id,\n {{ convert_wei('amount_liquidated') }} AS amount_liquidated,\n {{ convert_wei('current_position_size') }} AS position_size\n FROM\n {{ ref('perp_position_liquidated_base_sepolia') }}\n),\nmarkets AS (\n SELECT\n id,\n market_symbol\n FROM\n {{ ref('fct_perp_markets_base_sepolia') }}\n)\nSELECT\n l.id,\n l.ts,\n l.block_number,\n l.transaction_hash,\n CAST(\n l.account_id AS text\n ) AS account_id,\n l.market_id,\n m.market_symbol,\n l.amount_liquidated,\n l.position_size\nFROM\n liquidations l\n LEFT JOIN markets m\n ON l.market_id = m.id", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}, {"name": "fct_perp_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_position_liquidated_base_sepolia", "model.synthetix.fct_perp_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_liq_position_base_sepolia.sql", "compiled": true, "compiled_code": "WITH liquidations AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n account_id,\n market_id,\n \n amount_liquidated / 1e18\n AS amount_liquidated,\n \n current_position_size / 1e18\n AS position_size\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\n),\nmarkets AS (\n SELECT\n id,\n market_symbol\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\"\n)\nSELECT\n l.id,\n l.ts,\n l.block_number,\n l.transaction_hash,\n CAST(\n l.account_id AS text\n ) AS account_id,\n l.market_id,\n m.market_symbol,\n l.amount_liquidated,\n l.position_size\nFROM\n liquidations l\n LEFT JOIN markets m\n ON l.market_id = m.id", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_orders_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_orders_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp/fct_perp_orders_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp/fct_perp_orders_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_orders_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "fct_perp_orders_base_sepolia"], "alias": "fct_perp_orders_base_sepolia", "checksum": {"name": "sha256", "checksum": "8c5cad088de38830ecef3b81245a509f728eb965269b11085074051c9ceb2923"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settlement_time": {"name": "settlement_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "expiration_time": {"name": "expiration_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584322.7182658, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_orders_base_sepolia\"", "raw_code": "WITH base AS (\n SELECT\n oc.id,\n oc.block_timestamp AS ts,\n oc.block_number,\n oc.transaction_hash,\n oc.contract,\n oc.market_id,\n markets.market_symbol,\n CAST(\n oc.account_id AS text\n ) AS account_id,\n oc.order_type,\n {{ convert_wei('oc.size_delta') }} AS SIZE,\n {{ convert_wei('oc.acceptable_price') }} AS acceptable_price,\n oc.settlement_time,\n oc.expiration_time,\n {{ convert_hex('oc.tracking_code') }} AS tracking_code,\n oc.sender\n FROM\n {{ ref('perp_order_committed_base_sepolia') }}\n oc\n LEFT JOIN {{ ref('fct_perp_markets_base_sepolia') }} AS markets\n ON oc.market_id = markets.id\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "perp_order_committed_base_sepolia", "package": null, "version": null}, {"name": "fct_perp_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei", "macro.synthetix.convert_hex"], "nodes": ["model.synthetix.perp_order_committed_base_sepolia", "model.synthetix.fct_perp_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_orders_base_sepolia.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n oc.id,\n oc.block_timestamp AS ts,\n oc.block_number,\n oc.transaction_hash,\n oc.contract,\n oc.market_id,\n markets.market_symbol,\n CAST(\n oc.account_id AS text\n ) AS account_id,\n oc.order_type,\n \n oc.size_delta / 1e18\n AS SIZE,\n \n oc.acceptable_price / 1e18\n AS acceptable_price,\n oc.settlement_time,\n oc.expiration_time,\n \n LEFT(\n REGEXP_REPLACE(\n encode(\n DECODE(REPLACE(oc.tracking_code, '0x', ''), 'hex'),\n 'escape'\n ) :: text,\n '\\\\000',\n '',\n 'g'\n ),\n 20\n )\n AS tracking_code,\n oc.sender\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\n oc\n LEFT JOIN \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\" AS markets\n ON oc.market_id = markets.id\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_markets_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_markets_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp/fct_perp_markets_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp/fct_perp_markets_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_markets_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "fct_perp_markets_base_sepolia"], "alias": "fct_perp_markets_base_sepolia", "checksum": {"name": "sha256", "checksum": "ff1e100c602034fa5e42bc669846ad3f9f1fa29ef83f6916f341e6e3aa6e5150"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "Market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "Market creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_name": {"name": "market_name", "description": "Market name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584322.7194095, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\"", "raw_code": "WITH base AS (\n SELECT\n perps_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n market_symbol,\n market_name\n FROM\n {{ ref('perp_market_created_base_sepolia') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "perp_market_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.perp_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_markets_base_sepolia.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n perps_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n market_symbol,\n market_name\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_buyback_daily_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_buyback_daily_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/buyback/fct_buyback_daily_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/buyback/fct_buyback_daily_base_sepolia.sql", "unique_id": "model.synthetix.fct_buyback_daily_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "fct_buyback_daily_base_sepolia"], "alias": "fct_buyback_daily_base_sepolia", "checksum": {"name": "sha256", "checksum": "0a8af525c082fc1e55347cab84f7be974520c55faa82ea32fcf034cf9aa2db8c"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "snx_amount": {"name": "snx_amount", "description": "Amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "usd_amount": {"name": "usd_amount", "description": "Amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_snx_amount": {"name": "cumulative_snx_amount", "description": "Cumulative amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_usd_amount": {"name": "cumulative_usd_amount", "description": "Cumulative amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/buyback/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.0739841, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_buyback_daily_base_sepolia\"", "raw_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n {{ ref('fct_buyback_base_sepolia') }}\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "language": "sql", "refs": [{"name": "fct_buyback_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_buyback_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_daily_base_sepolia.sql", "compiled": true, "compiled_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_buyback_hourly_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_buyback_hourly_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/buyback/fct_buyback_hourly_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/buyback/fct_buyback_hourly_base_sepolia.sql", "unique_id": "model.synthetix.fct_buyback_hourly_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "fct_buyback_hourly_base_sepolia"], "alias": "fct_buyback_hourly_base_sepolia", "checksum": {"name": "sha256", "checksum": "423a2cd596fc571803ba313b96707b0d4324859e367b656edf217d4bc8b6108d"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "snx_amount": {"name": "snx_amount", "description": "Amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "usd_amount": {"name": "usd_amount", "description": "Amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_snx_amount": {"name": "cumulative_snx_amount", "description": "Cumulative amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_usd_amount": {"name": "cumulative_usd_amount", "description": "Cumulative amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/buyback/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.0751722, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_buyback_hourly_base_sepolia\"", "raw_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n {{ ref('fct_buyback_base_sepolia') }}\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "language": "sql", "refs": [{"name": "fct_buyback_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_buyback_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_buyback_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_buyback_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/buyback/fct_buyback_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/buyback/fct_buyback_base_sepolia.sql", "unique_id": "model.synthetix.fct_buyback_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "fct_buyback_base_sepolia"], "alias": "fct_buyback_base_sepolia", "checksum": {"name": "sha256", "checksum": "d08848357d64cb3d72cb74abbc1104906db115f2fa195a679be1ad64f414093a"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "buyer": {"name": "buyer", "description": "Address of buyer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "snx": {"name": "snx", "description": "Amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "usd": {"name": "usd", "description": "Amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "snx_price": {"name": "snx_price", "description": "SNX Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/buyback/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.0764241, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"", "raw_code": "SELECT\n id,\n block_timestamp AS ts,\n buyer,\n {{ convert_wei('snx') }} AS snx,\n {{ convert_wei('usd') }} AS usd,\n ({{ convert_wei('usd') }}) / ({{ convert_wei('snx') }}) AS snx_price\nFROM\n {{ ref('buyback_processed_base_sepolia') }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_base_sepolia.sql", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp AS ts,\n buyer,\n \n snx / 1e18\n AS snx,\n \n usd / 1e18\n AS usd,\n (\n usd / 1e18\n) / (\n snx / 1e18\n) AS snx_price\nFROM\n \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_pool_rewards_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_pool_rewards_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_pool_rewards_base_sepolia.sql", "unique_id": "model.synthetix.fct_pool_rewards_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_pool_rewards_base_sepolia"], "alias": "fct_pool_rewards_base_sepolia", "checksum": {"name": "sha256", "checksum": "00c949b1fbc17ff21b8596749aee99da936fb9af48681af66f60eeebf5b51253"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Reward amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "ts_start": {"name": "ts_start", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "duration": {"name": "duration", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.1521354, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_base_sepolia\"", "raw_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n {{ convert_wei('amount') }} AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n {{ ref('core_rewards_distributed_base_sepolia') }}\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n {{ ref('base_sepolia_reward_distributors') }}\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_sepolia", "package": null, "version": null}, {"name": "base_sepolia_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_rewards_distributed_base_sepolia", "seed.synthetix.base_sepolia_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_base_sepolia.sql", "compiled": true, "compiled_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n \n amount / 1e18\n AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"base_sepolia_reward_distributors\"\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_pool_pnl_hourly_reward_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_pool_pnl_hourly_reward_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_pool_pnl_hourly_reward_base_sepolia.sql", "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_pool_pnl_hourly_reward_base_sepolia"], "alias": "fct_pool_pnl_hourly_reward_base_sepolia", "checksum": {"name": "sha256", "checksum": "04ab8d0819e3966f8bb0d534f6f89bc572f28ecf82afd93cff9037c15744aa2b"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"], "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia", "materialized": "table", "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"]}, "created_at": 1723584315.2497582, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_reward_base_sepolia\"", "raw_code": "{{ config(\n materialized = 'table',\n unique_key = ['ts', 'pool_id', 'collateral_type', 'reward_token'],\n) }}\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n {{ ref('fct_pool_pnl_hourly_base_sepolia') }}\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n {{ ref('fct_pool_rewards_token_hourly_base_sepolia') }}\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n {{ ref('fct_pool_rewards_token_hourly_base_sepolia') }}\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia", "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_reward_base_sepolia.sql", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pools_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_core_pools_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_core_pools_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_core_pools_base_sepolia.sql", "unique_id": "model.synthetix.fct_core_pools_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_core_pools_base_sepolia"], "alias": "fct_core_pools_base_sepolia", "checksum": {"name": "sha256", "checksum": "8f3ab24a680dd44c279269bfb40b41d8b986ace3daeeb3be8e099b25654b2455"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "Pool creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.160768, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_pools_base_sepolia\"", "raw_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n {{ ref('core_pool_created_base_sepolia') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "core_pool_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_pool_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pools_base_sepolia.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_issuance_hourly_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_pool_issuance_hourly_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_pool_issuance_hourly_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_pool_issuance_hourly_base_sepolia.sql", "unique_id": "model.synthetix.fct_pool_issuance_hourly_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_pool_issuance_hourly_base_sepolia"], "alias": "fct_pool_issuance_hourly_base_sepolia", "checksum": {"name": "sha256", "checksum": "6c2ab81acc35c93d95b2075fc5e944ad0b75ea95fb2927bb0fb42fa3584e9f5a"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.1627617, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_hourly_base_sepolia\"", "raw_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_issuance_base_sepolia') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_issuance_base_sepolia') }}\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n {{ ref('fct_pool_debt_base_sepolia') }}\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n {{ ref('fct_pool_issuance_base_sepolia') }}\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_issuance_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_issuance_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_issuance_base_sepolia", "model.synthetix.fct_pool_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_issuance_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_issuance_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_pool_issuance_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_pool_issuance_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_pool_issuance_base_sepolia.sql", "unique_id": "model.synthetix.fct_pool_issuance_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_pool_issuance_base_sepolia"], "alias": "fct_pool_issuance_base_sepolia", "checksum": {"name": "sha256", "checksum": "7b8c13072f9bcd4016b21c2d9d25364ae6b843d543bc556f48d270cd756ec314"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount issued", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.1640158, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"", "raw_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * {{ convert_wei('amount') }} AS amount\n FROM\n {{ ref('core_usd_burned_base_sepolia') }}\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n {{ convert_wei('amount') }} AS amount\n FROM\n {{ ref('core_usd_minted_base_sepolia') }}\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "language": "sql", "refs": [{"name": "core_usd_burned_base_sepolia", "package": null, "version": null}, {"name": "core_usd_minted_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_usd_burned_base_sepolia", "model.synthetix.core_usd_minted_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_issuance_base_sepolia.sql", "compiled": true, "compiled_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_debt_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_pool_debt_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_pool_debt_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_pool_debt_base_sepolia.sql", "unique_id": "model.synthetix.fct_pool_debt_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_pool_debt_base_sepolia"], "alias": "fct_pool_debt_base_sepolia", "checksum": {"name": "sha256", "checksum": "5b3f19fafc35dd4ed8556b5c1664b2c2ffd1c5e1526380b0c4a7e41dfeab8b3e"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.1618137, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"", "raw_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n {{ ref('core_vault_debt_base_sepolia') }}\nORDER BY\n ts", "language": "sql", "refs": [{"name": "core_vault_debt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_vault_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_debt_base_sepolia.sql", "compiled": true, "compiled_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_base_sepolia\"\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_hourly_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_pool_rewards_hourly_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_pool_rewards_hourly_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_pool_rewards_hourly_base_sepolia.sql", "unique_id": "model.synthetix.fct_pool_rewards_hourly_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_pool_rewards_hourly_base_sepolia"], "alias": "fct_pool_rewards_hourly_base_sepolia", "checksum": {"name": "sha256", "checksum": "6775e891d850165d43e26b5374983ec7bfbb893e043ef008113666b53f3d48e4"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.1672404, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_hourly_base_sepolia\"", "raw_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n {{ ref('fct_pool_rewards_token_hourly_base_sepolia') }}\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pool_delegation_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_core_pool_delegation_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_core_pool_delegation_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_core_pool_delegation_base_sepolia.sql", "unique_id": "model.synthetix.fct_core_pool_delegation_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_core_pool_delegation_base_sepolia"], "alias": "fct_core_pool_delegation_base_sepolia", "checksum": {"name": "sha256", "checksum": "8190acfa1abaebaf43a0af52f1b4688a9fed5db7f291ddf604482e4653091d23"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delegated": {"name": "amount_delegated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.1598043, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_pool_delegation_base_sepolia\"", "raw_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n {{ convert_wei('amount') }} - LAG({{ convert_wei('amount') }}, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n {{ ref('core_delegation_updated_base_sepolia') }}\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pool_delegation_base_sepolia.sql", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_apr_rewards_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_core_apr_rewards_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_core_apr_rewards_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_core_apr_rewards_base_sepolia.sql", "unique_id": "model.synthetix.fct_core_apr_rewards_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_core_apr_rewards_base_sepolia"], "alias": "fct_core_apr_rewards_base_sepolia", "checksum": {"name": "sha256", "checksum": "63b33de28e942a3cf287adb226d6a3c50080344812eddcb5ead6e260aef3c33c"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia", "materialized": "table"}, "created_at": 1723584315.2741535, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_apr_rewards_base_sepolia\"", "raw_code": "{{\n config(\n materialized = 'table',\n )\n}}\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n {{ ref('fct_pool_pnl_hourly_reward_base_sepolia') }}\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_reward_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_core_apr_rewards_base_sepolia.sql", "compiled": true, "compiled_code": "\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_reward_base_sepolia\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_pool_rewards_token_hourly_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_pool_rewards_token_hourly_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_pool_rewards_token_hourly_base_sepolia.sql", "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_pool_rewards_token_hourly_base_sepolia"], "alias": "fct_pool_rewards_token_hourly_base_sepolia", "checksum": {"name": "sha256", "checksum": "1858d644303fa7c2f73fa4d690e458341c52b58f7f1a178332d6025c96abd02f"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_amount": {"name": "hourly_amount", "description": "Hourly rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_distributed": {"name": "amount_distributed", "description": "Distributed rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.168772, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"", "raw_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_debt_base_sepolia') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_debt_base_sepolia') }}\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n {{ ref('fct_pool_rewards_base_sepolia') }}\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN {{ ref('fct_prices_hourly_base_sepolia') }}\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "language": "sql", "refs": [{"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_rewards_base_sepolia", "package": null, "version": null}, {"name": "fct_prices_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_debt_base_sepolia", "model.synthetix.fct_pool_rewards_base_sepolia", "model.synthetix.fct_prices_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_token_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_base_sepolia\"\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN \"analytics\".\"prod_base_sepolia\".\"fct_prices_hourly_base_sepolia\"\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_market_updated_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_core_market_updated_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_core_market_updated_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_core_market_updated_base_sepolia.sql", "unique_id": "model.synthetix.fct_core_market_updated_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_core_market_updated_base_sepolia"], "alias": "fct_core_market_updated_base_sepolia", "checksum": {"name": "sha256", "checksum": "2255b64d243b167ee58d3195b5a7e2a0c676dc07292d7a821706eccca4573c09"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.1579602, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\"", "raw_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n {{ ref('core_market_updated_base_sepolia') }}\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n {{ convert_wei(\"credit_capacity\") }} AS credit_capacity,\n {{ convert_wei(\"net_issuance\") }} AS net_issuance,\n {{ convert_wei(\"token_amount\") }} AS token_amount\nFROM\n market_updated", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_core_market_updated_base_sepolia.sql", "compiled": true, "compiled_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n \n credit_capacity / 1e18\n AS credit_capacity,\n \n net_issuance / 1e18\n AS net_issuance,\n \n token_amount / 1e18\n AS token_amount\nFROM\n market_updated", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_apr_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_core_apr_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_core_apr_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_core_apr_base_sepolia.sql", "unique_id": "model.synthetix.fct_core_apr_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_core_apr_base_sepolia"], "alias": "fct_core_apr_base_sepolia", "checksum": {"name": "sha256", "checksum": "735c4a96b7f795e56f0c044670d1d9184c7bad4ca12c51d742448d0d0395d005"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_pnl": {"name": "cumulative_pnl", "description": "Cumulative PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_issuance": {"name": "cumulative_issuance", "description": "Cumulative Issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h": {"name": "apr_24h", "description": "APR (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h": {"name": "apy_24h", "description": "APY (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d": {"name": "apr_7d", "description": "APR (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d": {"name": "apy_7d", "description": "APY (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d": {"name": "apr_28d", "description": "APR (28d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d": {"name": "apy_28d", "description": "APY (28d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h_pnl": {"name": "apr_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h_pnl": {"name": "apy_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d_pnl": {"name": "apr_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d_pnl": {"name": "apy_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d_pnl": {"name": "apr_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d_pnl": {"name": "apy_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h_rewards": {"name": "apr_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h_rewards": {"name": "apy_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d_rewards": {"name": "apr_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d_rewards": {"name": "apy_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d_rewards": {"name": "apr_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d_rewards": {"name": "apy_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia", "materialized": "table"}, "created_at": 1723584323.1564243, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"", "raw_code": "{{\n config(\n materialized = 'table',\n )\n}}\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n {{ ref('fct_pool_pnl_hourly_base_sepolia') }}\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_core_apr_base_sepolia.sql", "compiled": true, "compiled_code": "\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_account_delegation_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_core_account_delegation_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_core_account_delegation_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_core_account_delegation_base_sepolia.sql", "unique_id": "model.synthetix.fct_core_account_delegation_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_core_account_delegation_base_sepolia"], "alias": "fct_core_account_delegation_base_sepolia", "checksum": {"name": "sha256", "checksum": "9ee1e84857e250e605c8df62388c8516cdf95251669df9e3379fcb77720c006a"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delegated": {"name": "amount_delegated", "description": "Amount of delegated collateral", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.1532557, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_account_delegation_base_sepolia\"", "raw_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n {{ convert_wei('amount') }} - LAG({{ convert_wei('amount') }}, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n {{ ref('core_delegation_updated_base_sepolia') }}\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_core_account_delegation_base_sepolia.sql", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_pnl_hourly_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_pool_pnl_hourly_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_pool_pnl_hourly_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_pool_pnl_hourly_base_sepolia.sql", "unique_id": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_pool_pnl_hourly_base_sepolia"], "alias": "fct_pool_pnl_hourly_base_sepolia", "checksum": {"name": "sha256", "checksum": "75138d60b80e54ac8186fe2ae0f41e1dfadef5d85705e9799446dfe1fd06cd76"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": ["ts", "pool_id", "collateral_type"], "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_total_pct": {"name": "hourly_total_pct", "description": "Hourly Total (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia", "materialized": "table", "unique_key": ["ts", "pool_id", "collateral_type"]}, "created_at": 1723584323.166226, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"", "raw_code": "{{ config(\n materialized = 'table',\n unique_key = ['ts', 'pool_id', 'collateral_type'],\n) }}\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_debt_base_sepolia') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_debt_base_sepolia') }}\n ) AS p\nGROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n {{ ref('fct_pool_issuance_hourly_base_sepolia') }}\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n {{ ref('fct_pool_debt_base_sepolia') }}\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n {{ ref('core_vault_collateral_base_sepolia') }}\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n {{ ref('fct_pool_rewards_hourly_base_sepolia') }}\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "language": "sql", "refs": [{"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_issuance_hourly_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}, {"name": "core_vault_collateral_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_rewards_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_debt_base_sepolia", "model.synthetix.fct_pool_issuance_hourly_base_sepolia", "model.synthetix.core_vault_collateral_base_sepolia", "model.synthetix.fct_pool_rewards_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n ) AS p\nGROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_hourly_base_sepolia\"\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_hourly_base_sepolia\"\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pool_collateral_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_core_pool_collateral_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_core_pool_collateral_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_core_pool_collateral_base_sepolia.sql", "unique_id": "model.synthetix.fct_core_pool_collateral_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_core_pool_collateral_base_sepolia"], "alias": "fct_core_pool_collateral_base_sepolia", "checksum": {"name": "sha256", "checksum": "600c830622aab729a7a6588d2e26b55502e33413b401b4aac20c9cd0993eddfd"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_deposited": {"name": "amount_deposited", "description": "Amount deposited", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.15878, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_pool_collateral_base_sepolia\"", "raw_code": "WITH events AS (\n SELECT\n block_timestamp,\n {{ convert_wei('token_amount') }} AS token_amount,\n collateral_type\n FROM\n {{ ref('core_deposited_base_sepolia') }}\n UNION ALL\n SELECT\n block_timestamp,- {{ convert_wei('token_amount') }} AS token_amount,\n collateral_type\n FROM\n {{ ref('core_withdrawn_base_sepolia') }}\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_deposited_base_sepolia", "package": null, "version": null}, {"name": "core_withdrawn_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_deposited_base_sepolia", "model.synthetix.core_withdrawn_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pool_collateral_base_sepolia.sql", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n block_timestamp,\n \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\n UNION ALL\n SELECT\n block_timestamp,- \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_keeper_stats_daily_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_keeper_stats_daily_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp_stats/fct_perp_keeper_stats_daily_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_daily_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_keeper_stats_daily_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp_stats", "fct_perp_keeper_stats_daily_base_sepolia"], "alias": "fct_perp_keeper_stats_daily_base_sepolia", "checksum": {"name": "sha256", "checksum": "38287ddaffc9974c910e24f5034ecaedbd748555f58f4a4c5ce3eff33b6adf01"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "keeper": {"name": "keeper", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settlement_rewards": {"name": "settlement_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_settled": {"name": "amount_settled", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades_pct": {"name": "trades_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settlement_rewards_pct": {"name": "settlement_rewards_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_settled_pct": {"name": "amount_settled_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.432257, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_keeper_stats_daily_base_sepolia\"", "raw_code": "WITH hourly AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n keeper,\n settlement_rewards,\n amount_settled,\n trades\n FROM\n {{ ref('fct_perp_keeper_stats_hourly_base_sepolia') }}\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_rewards) AS settlement_reward_total,\n SUM(amount_settled) AS amount_settled_total\n FROM\n hourly\n GROUP BY\n 1\n)\nSELECT\n hourly.ts,\n keeper,\n SUM(trades) AS trades,\n SUM(settlement_rewards) AS settlement_rewards,\n SUM(amount_settled) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_rewards) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(amount_settled) / MAX(amount_settled_total) AS amount_settled_pct\nFROM\n hourly\n JOIN total\n ON hourly.ts = total.ts\nGROUP BY\n 1,\n 2", "language": "sql", "refs": [{"name": "fct_perp_keeper_stats_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_daily_base_sepolia.sql", "compiled": true, "compiled_code": "WITH hourly AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n keeper,\n settlement_rewards,\n amount_settled,\n trades\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_keeper_stats_hourly_base_sepolia\"\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_rewards) AS settlement_reward_total,\n SUM(amount_settled) AS amount_settled_total\n FROM\n hourly\n GROUP BY\n 1\n)\nSELECT\n hourly.ts,\n keeper,\n SUM(trades) AS trades,\n SUM(settlement_rewards) AS settlement_rewards,\n SUM(amount_settled) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_rewards) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(amount_settled) / MAX(amount_settled_total) AS amount_settled_pct\nFROM\n hourly\n JOIN total\n ON hourly.ts = total.ts\nGROUP BY\n 1,\n 2", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_stats_daily_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_stats_daily_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp_stats/fct_perp_stats_daily_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp_stats/fct_perp_stats_daily_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_stats_daily_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp_stats", "fct_perp_stats_daily_base_sepolia"], "alias": "fct_perp_stats_daily_base_sepolia", "checksum": {"name": "sha256", "checksum": "9b1f27e572b62c7f5c433e29294994dad68024614d08621073306a6931ca2398"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_rewards": {"name": "liquidation_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidated_accounts": {"name": "liquidated_accounts", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.42816, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_stats_daily_base_sepolia\"", "raw_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(liquidation_rewards) AS liquidation_rewards,\n SUM(liquidated_accounts) AS liquidated_accounts,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n {{ ref('fct_perp_stats_hourly_base_sepolia') }}\nGROUP BY\n 1", "language": "sql", "refs": [{"name": "fct_perp_stats_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_stats_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_stats_daily_base_sepolia.sql", "compiled": true, "compiled_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(liquidation_rewards) AS liquidation_rewards,\n SUM(liquidated_accounts) AS liquidated_accounts,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_stats_hourly_base_sepolia\"\nGROUP BY\n 1", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_account_stats_hourly_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_account_stats_hourly_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp_stats/fct_perp_account_stats_hourly_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp_stats/fct_perp_account_stats_hourly_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_account_stats_hourly_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp_stats", "fct_perp_account_stats_hourly_base_sepolia"], "alias": "fct_perp_account_stats_hourly_base_sepolia", "checksum": {"name": "sha256", "checksum": "c1a7c66c0b4a1b1b5b40e486e3395c8507314d5671c713f2afcd0f3f7ae9ec78"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "cumulative_fees": {"name": "cumulative_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.433176, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_account_stats_hourly_base_sepolia\"", "raw_code": "WITH trades AS (\n SELECT\n ts,\n account_id,\n total_fees,\n notional_trade_size,\n 1 AS trades,\n SUM(\n total_fees\n ) over (\n PARTITION BY account_id\n ORDER BY\n ts\n ) AS cumulative_fees,\n SUM(\n notional_trade_size\n ) over (\n PARTITION BY account_id\n ORDER BY\n ts\n ) AS cumulative_volume\n FROM\n {{ ref('fct_perp_trades_base_sepolia') }}\n),\nliq AS (\n SELECT\n ts,\n account_id,\n amount_liquidated,\n 1 AS liquidations\n FROM\n {{ ref('fct_perp_liq_position_base_sepolia') }}\n),\ninc_trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n account_id,\n SUM(trades) AS trades,\n SUM(total_fees) AS fees,\n SUM(notional_trade_size) AS volume,\n MAX(cumulative_fees) AS cumulative_fees,\n MAX(cumulative_volume) AS cumulative_volume\n FROM\n trades\n GROUP BY\n 1,\n 2\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n account_id,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n liq\n GROUP BY\n 1,\n 2\n),\ninc AS (\n SELECT\n h.ts,\n h.account_id,\n COALESCE(\n h.trades,\n 0\n ) AS trades,\n COALESCE(\n h.fees,\n 0\n ) AS fees,\n COALESCE(\n h.volume,\n 0\n ) AS volume,\n COALESCE(\n l.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n l.liquidations,\n 0\n ) AS liquidations,\n COALESCE(\n h.cumulative_fees,\n 0\n ) AS cumulative_fees,\n COALESCE(\n h.cumulative_volume,\n 0\n ) AS cumulative_volume\n FROM\n inc_trades h\n LEFT JOIN inc_liq l\n ON h.ts = l.ts\n AND h.account_id = l.account_id\n)\nSELECT\n *\nFROM\n inc", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}, {"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia", "model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_account_stats_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n ts,\n account_id,\n total_fees,\n notional_trade_size,\n 1 AS trades,\n SUM(\n total_fees\n ) over (\n PARTITION BY account_id\n ORDER BY\n ts\n ) AS cumulative_fees,\n SUM(\n notional_trade_size\n ) over (\n PARTITION BY account_id\n ORDER BY\n ts\n ) AS cumulative_volume\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n),\nliq AS (\n SELECT\n ts,\n account_id,\n amount_liquidated,\n 1 AS liquidations\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\n),\ninc_trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n account_id,\n SUM(trades) AS trades,\n SUM(total_fees) AS fees,\n SUM(notional_trade_size) AS volume,\n MAX(cumulative_fees) AS cumulative_fees,\n MAX(cumulative_volume) AS cumulative_volume\n FROM\n trades\n GROUP BY\n 1,\n 2\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n account_id,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n liq\n GROUP BY\n 1,\n 2\n),\ninc AS (\n SELECT\n h.ts,\n h.account_id,\n COALESCE(\n h.trades,\n 0\n ) AS trades,\n COALESCE(\n h.fees,\n 0\n ) AS fees,\n COALESCE(\n h.volume,\n 0\n ) AS volume,\n COALESCE(\n l.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n l.liquidations,\n 0\n ) AS liquidations,\n COALESCE(\n h.cumulative_fees,\n 0\n ) AS cumulative_fees,\n COALESCE(\n h.cumulative_volume,\n 0\n ) AS cumulative_volume\n FROM\n inc_trades h\n LEFT JOIN inc_liq l\n ON h.ts = l.ts\n AND h.account_id = l.account_id\n)\nSELECT\n *\nFROM\n inc", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_market_stats_hourly_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_market_stats_hourly_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp_stats/fct_perp_market_stats_hourly_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp_stats/fct_perp_market_stats_hourly_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_market_stats_hourly_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp_stats", "fct_perp_market_stats_hourly_base_sepolia"], "alias": "fct_perp_market_stats_hourly_base_sepolia", "checksum": {"name": "sha256", "checksum": "1e4170d41372234eca17b8ef3f8b6bfa86959a03539e820639e8901f8d3651c2"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.429285, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_market_stats_hourly_base_sepolia\"", "raw_code": "WITH trades AS (\n SELECT\n ts,\n market_symbol,\n exchange_fees,\n referral_fees,\n collected_fees,\n notional_trade_size,\n 1 AS trades\n FROM\n {{ ref('fct_perp_trades_base_sepolia') }}\n),\nliq AS (\n SELECT\n ts,\n market_symbol,\n amount_liquidated,\n 1 AS liquidations\n FROM\n {{ ref('fct_perp_liq_position_base_sepolia') }}\n),\ninc_trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(notional_trade_size) AS volume\n FROM\n trades\n GROUP BY\n 1,\n 2\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n liq\n GROUP BY\n 1,\n 2\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n trades\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n trades\n ) AS m\n GROUP BY\n m.market_symbol\n),\ninc AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n COALESCE(\n h.trades,\n 0\n ) AS trades,\n COALESCE(\n h.exchange_fees,\n 0\n ) AS exchange_fees,\n COALESCE(\n h.referral_fees,\n 0\n ) AS referral_fees,\n COALESCE(\n h.collected_fees,\n 0\n ) AS collected_fees,\n COALESCE(\n h.volume,\n 0\n ) AS volume,\n COALESCE(\n l.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n l.liquidations,\n 0\n ) AS liquidations,\n SUM(\n h.exchange_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_exchange_fees,\n SUM(\n h.referral_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_referral_fees,\n SUM(\n h.collected_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_collected_fees,\n SUM(\n h.volume\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_volume\n FROM\n dim\n LEFT JOIN inc_trades h\n ON dim.ts = h.ts\n AND dim.market_symbol = h.market_symbol\n LEFT JOIN inc_liq l\n ON dim.ts = l.ts\n AND dim.market_symbol = l.market_symbol\n)\nSELECT\n *\nFROM\n inc", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}, {"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia", "model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_market_stats_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n ts,\n market_symbol,\n exchange_fees,\n referral_fees,\n collected_fees,\n notional_trade_size,\n 1 AS trades\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n),\nliq AS (\n SELECT\n ts,\n market_symbol,\n amount_liquidated,\n 1 AS liquidations\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\n),\ninc_trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(notional_trade_size) AS volume\n FROM\n trades\n GROUP BY\n 1,\n 2\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n liq\n GROUP BY\n 1,\n 2\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n trades\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n trades\n ) AS m\n GROUP BY\n m.market_symbol\n),\ninc AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n COALESCE(\n h.trades,\n 0\n ) AS trades,\n COALESCE(\n h.exchange_fees,\n 0\n ) AS exchange_fees,\n COALESCE(\n h.referral_fees,\n 0\n ) AS referral_fees,\n COALESCE(\n h.collected_fees,\n 0\n ) AS collected_fees,\n COALESCE(\n h.volume,\n 0\n ) AS volume,\n COALESCE(\n l.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n l.liquidations,\n 0\n ) AS liquidations,\n SUM(\n h.exchange_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_exchange_fees,\n SUM(\n h.referral_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_referral_fees,\n SUM(\n h.collected_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_collected_fees,\n SUM(\n h.volume\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_volume\n FROM\n dim\n LEFT JOIN inc_trades h\n ON dim.ts = h.ts\n AND dim.market_symbol = h.market_symbol\n LEFT JOIN inc_liq l\n ON dim.ts = l.ts\n AND dim.market_symbol = l.market_symbol\n)\nSELECT\n *\nFROM\n inc", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_account_stats_daily_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_account_stats_daily_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp_stats/fct_perp_account_stats_daily_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp_stats/fct_perp_account_stats_daily_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_account_stats_daily_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp_stats", "fct_perp_account_stats_daily_base_sepolia"], "alias": "fct_perp_account_stats_daily_base_sepolia", "checksum": {"name": "sha256", "checksum": "640df851be3f67f57c110e74ad5f3354472e24621907a20bc96e108a802c092c"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_fees": {"name": "cumulative_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.4340518, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_account_stats_daily_base_sepolia\"", "raw_code": "WITH daily AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n account_id,\n SUM(fees) AS fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n {{ ref('fct_perp_account_stats_hourly_base_sepolia') }}\n GROUP BY\n 1,\n 2\n),\nstats AS (\n SELECT\n daily.*,\n SUM(fees) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_fees,\n SUM(volume) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_volume\n FROM\n daily\n)\nSELECT\n *\nFROM\n stats", "language": "sql", "refs": [{"name": "fct_perp_account_stats_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_account_stats_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_account_stats_daily_base_sepolia.sql", "compiled": true, "compiled_code": "WITH daily AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n account_id,\n SUM(fees) AS fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_account_stats_hourly_base_sepolia\"\n GROUP BY\n 1,\n 2\n),\nstats AS (\n SELECT\n daily.*,\n SUM(fees) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_fees,\n SUM(volume) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_volume\n FROM\n daily\n)\nSELECT\n *\nFROM\n stats", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_stats_hourly_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_stats_hourly_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp_stats/fct_perp_stats_hourly_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp_stats/fct_perp_stats_hourly_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_stats_hourly_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp_stats", "fct_perp_stats_hourly_base_sepolia"], "alias": "fct_perp_stats_hourly_base_sepolia", "checksum": {"name": "sha256", "checksum": "44765d1a36646971c1ee906684a3227d25a7764326ca2e80491fdcc74027678f"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_rewards": {"name": "liquidation_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidated_accounts": {"name": "liquidated_accounts", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.426822, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_stats_hourly_base_sepolia\"", "raw_code": "WITH inc_market AS (\n SELECT\n ts,\n market_symbol,\n trades,\n exchange_fees,\n referral_fees,\n collected_fees,\n volume,\n liquidations,\n cumulative_exchange_fees,\n cumulative_referral_fees,\n cumulative_collected_fees,\n cumulative_volume\n FROM\n {{ ref('fct_perp_market_stats_hourly_base_sepolia') }}\n),\nliq AS (\n SELECT\n ts,\n total_reward,\n 1 AS liquidated_accounts\n FROM\n {{ ref('fct_perp_liq_account_base_sepolia') }}\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(total_reward) AS liquidation_rewards,\n SUM(liquidated_accounts) AS liquidated_accounts\n FROM\n liq\n GROUP BY\n 1\n),\ninc_trade AS (\n SELECT\n ts,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(cumulative_exchange_fees) AS cumulative_exchange_fees,\n SUM(cumulative_referral_fees) AS cumulative_referral_fees,\n SUM(cumulative_collected_fees) AS cumulative_collected_fees,\n SUM(cumulative_volume) AS cumulative_volume\n FROM\n inc_market\n GROUP BY\n 1\n),\ninc AS (\n SELECT\n h.ts,\n h.trades,\n h.exchange_fees,\n h.referral_fees,\n h.collected_fees,\n h.volume,\n COALESCE(\n l.liquidation_rewards,\n 0\n ) AS liquidation_rewards,\n COALESCE(\n l.liquidated_accounts,\n 0\n ) AS liquidated_accounts,\n h.cumulative_exchange_fees,\n h.cumulative_referral_fees,\n h.cumulative_collected_fees,\n h.cumulative_volume\n FROM\n inc_trade h\n LEFT JOIN inc_liq l\n ON h.ts = l.ts\n)\nSELECT\n *\nFROM\n inc", "language": "sql", "refs": [{"name": "fct_perp_market_stats_hourly_base_sepolia", "package": null, "version": null}, {"name": "fct_perp_liq_account_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_market_stats_hourly_base_sepolia", "model.synthetix.fct_perp_liq_account_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_stats_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "WITH inc_market AS (\n SELECT\n ts,\n market_symbol,\n trades,\n exchange_fees,\n referral_fees,\n collected_fees,\n volume,\n liquidations,\n cumulative_exchange_fees,\n cumulative_referral_fees,\n cumulative_collected_fees,\n cumulative_volume\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_stats_hourly_base_sepolia\"\n),\nliq AS (\n SELECT\n ts,\n total_reward,\n 1 AS liquidated_accounts\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_account_base_sepolia\"\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(total_reward) AS liquidation_rewards,\n SUM(liquidated_accounts) AS liquidated_accounts\n FROM\n liq\n GROUP BY\n 1\n),\ninc_trade AS (\n SELECT\n ts,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(cumulative_exchange_fees) AS cumulative_exchange_fees,\n SUM(cumulative_referral_fees) AS cumulative_referral_fees,\n SUM(cumulative_collected_fees) AS cumulative_collected_fees,\n SUM(cumulative_volume) AS cumulative_volume\n FROM\n inc_market\n GROUP BY\n 1\n),\ninc AS (\n SELECT\n h.ts,\n h.trades,\n h.exchange_fees,\n h.referral_fees,\n h.collected_fees,\n h.volume,\n COALESCE(\n l.liquidation_rewards,\n 0\n ) AS liquidation_rewards,\n COALESCE(\n l.liquidated_accounts,\n 0\n ) AS liquidated_accounts,\n h.cumulative_exchange_fees,\n h.cumulative_referral_fees,\n h.cumulative_collected_fees,\n h.cumulative_volume\n FROM\n inc_trade h\n LEFT JOIN inc_liq l\n ON h.ts = l.ts\n)\nSELECT\n *\nFROM\n inc", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_market_stats_daily_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_market_stats_daily_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp_stats/fct_perp_market_stats_daily_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp_stats/fct_perp_market_stats_daily_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_market_stats_daily_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp_stats", "fct_perp_market_stats_daily_base_sepolia"], "alias": "fct_perp_market_stats_daily_base_sepolia", "checksum": {"name": "sha256", "checksum": "231d4a1f0c7decd0e73f23f4405a22729381a68a5c11ffa35b7ab2d9c94e37f2"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.4303916, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_market_stats_daily_base_sepolia\"", "raw_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n {{ ref('fct_perp_market_stats_hourly_base_sepolia') }}\nGROUP BY\n 1,\n 2", "language": "sql", "refs": [{"name": "fct_perp_market_stats_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_market_stats_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_market_stats_daily_base_sepolia.sql", "compiled": true, "compiled_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_stats_hourly_base_sepolia\"\nGROUP BY\n 1,\n 2", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_keeper_stats_hourly_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp_stats/fct_perp_keeper_stats_hourly_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_hourly_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp_stats", "fct_perp_keeper_stats_hourly_base_sepolia"], "alias": "fct_perp_keeper_stats_hourly_base_sepolia", "checksum": {"name": "sha256", "checksum": "fa9c0b0142fc121ee8a88b547508ba3bfb51121a349532fa57e65ac49c39277c"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "keeper": {"name": "keeper", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "settlement_rewards": {"name": "settlement_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_settled": {"name": "amount_settled", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades_pct": {"name": "trades_pct", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "settlement_rewards_pct": {"name": "settlement_rewards_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_settled_pct": {"name": "amount_settled_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.4313016, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_keeper_stats_hourly_base_sepolia\"", "raw_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n settler,\n settlement_reward,\n notional_trade_size,\n 1 AS trades\n FROM\n {{ ref('fct_perp_trades_base_sepolia') }}\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_reward) AS settlement_reward_total,\n SUM(notional_trade_size) AS notional_trade_size_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n settler AS keeper,\n SUM(trades) AS trades,\n SUM(settlement_reward) AS settlement_rewards,\n SUM(notional_trade_size) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_reward) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(notional_trade_size) / MAX(notional_trade_size_total) AS amount_settled_pct\nFROM\n trades\n JOIN total\n ON trades.ts = total.ts\nGROUP BY\n 1,\n 2", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n settler,\n settlement_reward,\n notional_trade_size,\n 1 AS trades\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_reward) AS settlement_reward_total,\n SUM(notional_trade_size) AS notional_trade_size_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n settler AS keeper,\n SUM(trades) AS trades,\n SUM(settlement_reward) AS settlement_rewards,\n SUM(notional_trade_size) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_reward) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(notional_trade_size) / MAX(notional_trade_size_total) AS amount_settled_pct\nFROM\n trades\n JOIN total\n ON trades.ts = total.ts\nGROUP BY\n 1,\n 2", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_tracking_stats_daily_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_tracking_stats_daily_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp_stats/fct_perp_tracking_stats_daily_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_daily_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_tracking_stats_daily_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp_stats", "fct_perp_tracking_stats_daily_base_sepolia"], "alias": "fct_perp_tracking_stats_daily_base_sepolia", "checksum": {"name": "sha256", "checksum": "f6f26ae99be8ac3185fc203f82739bce40d3d09776a9c03ee55b25fcaee5e3b4"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "accounts": {"name": "accounts", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "exchange_fees_share": {"name": "exchange_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees_share": {"name": "referral_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees_share": {"name": "collected_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume_share": {"name": "volume_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades_share": {"name": "trades_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.425739, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_tracking_stats_daily_base_sepolia\"", "raw_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(trades) AS trades\n FROM\n {{ ref('fct_perp_tracking_stats_hourly_base_sepolia') }}\n GROUP BY\n 1,\n 2\n),\naccounts AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n COUNT(\n DISTINCT account_id\n ) AS accounts\n FROM\n {{ ref('fct_perp_trades_base_sepolia') }}\n GROUP BY\n 1,\n 2\n),\ntotal AS (\n SELECT\n ts,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(referral_fees) AS referral_fees_total,\n SUM(collected_fees) AS collected_fees_total,\n SUM(volume) AS volume_total,\n SUM(trades) AS trades_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n trades.tracking_code,\n trades.exchange_fees,\n trades.referral_fees,\n trades.collected_fees,\n trades.volume,\n trades.trades,\n accounts.accounts,\n CASE\n WHEN total.exchange_fees_total = 0 THEN 0\n ELSE trades.exchange_fees / total.exchange_fees_total\n END AS exchange_fees_share,\n CASE\n WHEN total.referral_fees_total = 0 THEN 0\n ELSE trades.referral_fees / total.referral_fees_total\n END AS referral_fees_share,\n CASE\n WHEN total.collected_fees_total = 0 THEN 0\n ELSE trades.collected_fees / total.collected_fees_total\n END AS collected_fees_share,\n CASE\n WHEN total.volume_total = 0 THEN 0\n ELSE trades.volume / total.volume_total\n END AS volume_share,\n CASE\n WHEN total.trades_total = 0 THEN 0\n ELSE trades.trades / total.trades_total\n END AS trades_share\nFROM\n trades\n JOIN accounts\n ON trades.ts = accounts.ts\n AND trades.tracking_code = accounts.tracking_code\n JOIN total\n ON trades.ts = total.ts", "language": "sql", "refs": [{"name": "fct_perp_tracking_stats_hourly_base_sepolia", "package": null, "version": null}, {"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_tracking_stats_hourly_base_sepolia", "model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_daily_base_sepolia.sql", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(trades) AS trades\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_tracking_stats_hourly_base_sepolia\"\n GROUP BY\n 1,\n 2\n),\naccounts AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n COUNT(\n DISTINCT account_id\n ) AS accounts\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n GROUP BY\n 1,\n 2\n),\ntotal AS (\n SELECT\n ts,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(referral_fees) AS referral_fees_total,\n SUM(collected_fees) AS collected_fees_total,\n SUM(volume) AS volume_total,\n SUM(trades) AS trades_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n trades.tracking_code,\n trades.exchange_fees,\n trades.referral_fees,\n trades.collected_fees,\n trades.volume,\n trades.trades,\n accounts.accounts,\n CASE\n WHEN total.exchange_fees_total = 0 THEN 0\n ELSE trades.exchange_fees / total.exchange_fees_total\n END AS exchange_fees_share,\n CASE\n WHEN total.referral_fees_total = 0 THEN 0\n ELSE trades.referral_fees / total.referral_fees_total\n END AS referral_fees_share,\n CASE\n WHEN total.collected_fees_total = 0 THEN 0\n ELSE trades.collected_fees / total.collected_fees_total\n END AS collected_fees_share,\n CASE\n WHEN total.volume_total = 0 THEN 0\n ELSE trades.volume / total.volume_total\n END AS volume_share,\n CASE\n WHEN total.trades_total = 0 THEN 0\n ELSE trades.trades / total.trades_total\n END AS trades_share\nFROM\n trades\n JOIN accounts\n ON trades.ts = accounts.ts\n AND trades.tracking_code = accounts.tracking_code\n JOIN total\n ON trades.ts = total.ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_tracking_stats_hourly_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_tracking_stats_hourly_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp_stats/fct_perp_tracking_stats_hourly_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_hourly_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_tracking_stats_hourly_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp_stats", "fct_perp_tracking_stats_hourly_base_sepolia"], "alias": "fct_perp_tracking_stats_hourly_base_sepolia", "checksum": {"name": "sha256", "checksum": "d45eb17cfe125daca9c995baf75c0981545c9258cca87c0c2b208da8a44e40a0"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "accounts": {"name": "accounts", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "exchange_fees_share": {"name": "exchange_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees_share": {"name": "referral_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees_share": {"name": "collected_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume_share": {"name": "volume_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades_share": {"name": "trades_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.4245934, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_tracking_stats_hourly_base_sepolia\"", "raw_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(notional_trade_size) AS volume,\n SUM(1) AS trades\n FROM\n {{ ref('fct_perp_trades_base_sepolia') }}\n GROUP BY\n 1,\n 2\n),\naccounts AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n COUNT(\n DISTINCT account_id\n ) AS accounts\n FROM\n {{ ref('fct_perp_trades_base_sepolia') }}\n GROUP BY\n 1,\n 2\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(referral_fees) AS referral_fees_total,\n SUM(collected_fees) AS collected_fees_total,\n SUM(volume) AS volume_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n trades.tracking_code,\n trades.exchange_fees,\n trades.referral_fees,\n trades.collected_fees,\n trades.volume,\n trades.trades,\n accounts.accounts,\n CASE\n WHEN total.exchange_fees_total = 0 THEN 0\n ELSE trades.exchange_fees / total.exchange_fees_total\n END AS exchange_fees_share,\n CASE\n WHEN total.referral_fees_total = 0 THEN 0\n ELSE trades.referral_fees / total.referral_fees_total\n END AS referral_fees_share,\n CASE\n WHEN total.collected_fees_total = 0 THEN 0\n ELSE trades.collected_fees / total.collected_fees_total\n END AS collected_fees_share,\n CASE\n WHEN total.volume_total = 0 THEN 0\n ELSE trades.volume / total.volume_total\n END AS volume_share,\n CASE\n WHEN total.trades_total = 0 THEN 0\n ELSE trades.trades / total.trades_total\n END AS trades_share\nFROM\n trades\n JOIN accounts\n ON trades.ts = accounts.ts\n AND trades.tracking_code = accounts.tracking_code\n JOIN total\n ON trades.ts = total.ts", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}, {"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(notional_trade_size) AS volume,\n SUM(1) AS trades\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n GROUP BY\n 1,\n 2\n),\naccounts AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n COUNT(\n DISTINCT account_id\n ) AS accounts\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n GROUP BY\n 1,\n 2\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(referral_fees) AS referral_fees_total,\n SUM(collected_fees) AS collected_fees_total,\n SUM(volume) AS volume_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n trades.tracking_code,\n trades.exchange_fees,\n trades.referral_fees,\n trades.collected_fees,\n trades.volume,\n trades.trades,\n accounts.accounts,\n CASE\n WHEN total.exchange_fees_total = 0 THEN 0\n ELSE trades.exchange_fees / total.exchange_fees_total\n END AS exchange_fees_share,\n CASE\n WHEN total.referral_fees_total = 0 THEN 0\n ELSE trades.referral_fees / total.referral_fees_total\n END AS referral_fees_share,\n CASE\n WHEN total.collected_fees_total = 0 THEN 0\n ELSE trades.collected_fees / total.collected_fees_total\n END AS collected_fees_share,\n CASE\n WHEN total.volume_total = 0 THEN 0\n ELSE trades.volume / total.volume_total\n END AS volume_share,\n CASE\n WHEN total.trades_total = 0 THEN 0\n ELSE trades.trades / total.trades_total\n END AS trades_share\nFROM\n trades\n JOIN accounts\n ON trades.ts = accounts.ts\n AND trades.tracking_code = accounts.tracking_code\n JOIN total\n ON trades.ts = total.ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_synth_supply_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_synth_supply_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/spot/fct_synth_supply_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/spot/fct_synth_supply_base_sepolia.sql", "unique_id": "model.synthetix.fct_synth_supply_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "fct_synth_supply_base_sepolia"], "alias": "fct_synth_supply_base_sepolia", "checksum": {"name": "sha256", "checksum": "b9f39b1adb9afbdf3ee9bd6048fdd17c88a5f85f41a067050e87a39b8c02df23"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "supply": {"name": "supply", "description": "Supply", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.4352052, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_synth_supply_base_sepolia\"", "raw_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n {{ ref('fct_spot_wrapper_base_sepolia') }}\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n {{ ref('fct_spot_atomics_base_sepolia') }}\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n {{ ref('fct_spot_atomics_base_sepolia') }}\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n {{ convert_wei(\"amount\") }} AS change_amount\n FROM\n {{ ref('core_usd_minted_base_sepolia') }}\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * {{ convert_wei(\"amount\") }} AS change_amount\n FROM\n {{ ref('core_usd_burned_base_sepolia') }}\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_sepolia", "package": null, "version": null}, {"name": "fct_spot_atomics_base_sepolia", "package": null, "version": null}, {"name": "fct_spot_atomics_base_sepolia", "package": null, "version": null}, {"name": "core_usd_minted_base_sepolia", "package": null, "version": null}, {"name": "core_usd_burned_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.fct_spot_wrapper_base_sepolia", "model.synthetix.fct_spot_atomics_base_sepolia", "model.synthetix.core_usd_minted_base_sepolia", "model.synthetix.core_usd_burned_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/fct_synth_supply_base_sepolia.sql", "compiled": true, "compiled_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_spot_wrapper_base_sepolia\"\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_spot_wrapper_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_spot_wrapper_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/spot/fct_spot_wrapper_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/spot/fct_spot_wrapper_base_sepolia.sql", "unique_id": "model.synthetix.fct_spot_wrapper_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "fct_spot_wrapper_base_sepolia"], "alias": "fct_spot_wrapper_base_sepolia", "checksum": {"name": "sha256", "checksum": "f8f0218986ec16e291f4dfc7af21944b4c9f55a3c737a2f65c1e33a0a75d7d70"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tx_hash": {"name": "tx_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_wrapped": {"name": "amount_wrapped", "description": "Amount wrapped", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.4386768, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_spot_wrapper_base_sepolia\"", "raw_code": "WITH wraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n {{ convert_wei('amount_wrapped') }} AS amount_wrapped\n FROM\n {{ ref('spot_synth_wrapped_base_sepolia') }}\n),\nunwraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n -1 * {{ convert_wei('amount_unwrapped') }} AS amount_wrapped\n FROM\n {{ ref('spot_synth_unwrapped_base_sepolia') }}\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n wraps\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n unwraps\nORDER BY\n ts", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_sepolia", "package": null, "version": null}, {"name": "spot_synth_unwrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.spot_synth_wrapped_base_sepolia", "model.synthetix.spot_synth_unwrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_wrapper_base_sepolia.sql", "compiled": true, "compiled_code": "WITH wraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n amount_wrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\n),\nunwraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n -1 * \n amount_unwrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n wraps\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n unwraps\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_spot_atomics_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_spot_atomics_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/spot/fct_spot_atomics_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/spot/fct_spot_atomics_base_sepolia.sql", "unique_id": "model.synthetix.fct_spot_atomics_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "fct_spot_atomics_base_sepolia"], "alias": "fct_spot_atomics_base_sepolia", "checksum": {"name": "sha256", "checksum": "bcc99617a43a9e27772957624aec228d9bb5a080d0e1c188a1c80aa166c47402"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tx_hash": {"name": "tx_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.436584, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"", "raw_code": "WITH bought AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n {{ convert_wei('price') }} AS price,\n {{ convert_wei('synth_returned') }} AS amount,\n referrer\n FROM\n {{ ref('spot_synth_bought_base_sepolia') }}\n),\nsold AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n {{ convert_wei('price') }} AS price,\n -1 * {{ convert_wei('amount_returned') }} AS amount,\n referrer\n FROM\n {{ ref('spot_synth_sold_base_sepolia') }}\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n bought\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n sold\nORDER BY\n ts", "language": "sql", "refs": [{"name": "spot_synth_bought_base_sepolia", "package": null, "version": null}, {"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.spot_synth_bought_base_sepolia", "model.synthetix.spot_synth_sold_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_atomics_base_sepolia.sql", "compiled": true, "compiled_code": "WITH bought AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n \n synth_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\n),\nsold AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n -1 * \n amount_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n bought\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n sold\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_spot_markets_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_spot_markets_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/spot/fct_spot_markets_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/spot/fct_spot_markets_base_sepolia.sql", "unique_id": "model.synthetix.fct_spot_markets_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "fct_spot_markets_base_sepolia"], "alias": "fct_spot_markets_base_sepolia", "checksum": {"name": "sha256", "checksum": "260e08d14dd0b9df1b871c70894b6ade163d92c3658b2361f44570128661ba5b"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_address": {"name": "token_address", "description": "Token address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.4375226, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_spot_markets_base_sepolia\"", "raw_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n {{ ref('spot_synth_registered_base_sepolia') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "spot_synth_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.spot_synth_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_markets_base_sepolia.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_prices_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_prices_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/prices/fct_prices_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/prices/fct_prices_base_sepolia.sql", "unique_id": "model.synthetix.fct_prices_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "prices", "fct_prices_base_sepolia"], "alias": "fct_prices_base_sepolia", "checksum": {"name": "sha256", "checksum": "86b3684930dc837661107504e3a55d71c3c23e57b25c1e5d05eabf9d5b65cfc0"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_address": {"name": "market_address", "description": "Market address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/prices/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.4961627, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_prices_base_sepolia\"", "raw_code": "WITH all_prices AS (\n SELECT\n ts,\n NULL AS market_address,\n market_symbol,\n price\n FROM\n {{ ref('fct_perp_market_history_base_sepolia') }}\n UNION ALL\n SELECT\n ts,\n NULL AS market_address,\n 'SNX' AS market_symbol,\n snx_price AS price\n FROM\n {{ ref('fct_buyback_base_sepolia') }}\n WHERE\n snx_price > 0\n UNION ALL\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n {{ ref('core_vault_collateral_base_sepolia') }}\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n {{ ref('base_sepolia_tokens') }}\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}, {"name": "fct_buyback_base_sepolia", "package": null, "version": null}, {"name": "core_vault_collateral_base_sepolia", "package": null, "version": null}, {"name": "base_sepolia_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia", "model.synthetix.fct_buyback_base_sepolia", "model.synthetix.core_vault_collateral_base_sepolia", "seed.synthetix.base_sepolia_tokens"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/prices/fct_prices_base_sepolia.sql", "compiled": true, "compiled_code": "WITH all_prices AS (\n SELECT\n ts,\n NULL AS market_address,\n market_symbol,\n price\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\n UNION ALL\n SELECT\n ts,\n NULL AS market_address,\n 'SNX' AS market_symbol,\n snx_price AS price\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\n WHERE\n snx_price > 0\n UNION ALL\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"base_sepolia_tokens\"\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_prices_hourly_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_prices_hourly_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/prices/fct_prices_hourly_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/prices/fct_prices_hourly_base_sepolia.sql", "unique_id": "model.synthetix.fct_prices_hourly_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "prices", "fct_prices_hourly_base_sepolia"], "alias": "fct_prices_hourly_base_sepolia", "checksum": {"name": "sha256", "checksum": "17062f0a5183dc2efafb5862505f2ce6e59ec8090824ea5f335320c3b5fca9a2"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/prices/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.497035, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_prices_hourly_base_sepolia\"", "raw_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n {{ ref('fct_prices_base_sepolia') }}\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "language": "sql", "refs": [{"name": "fct_prices_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_prices_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/prices/fct_prices_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_prices_base_sepolia\"\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "seed.synthetix.eth_mainnet_tokens": {"database": "analytics", "schema": "prod_seeds", "name": "eth_mainnet_tokens", "resource_type": "seed", "package_name": "synthetix", "path": "tokens/eth_mainnet_tokens.csv", "original_file_path": "seeds/tokens/eth_mainnet_tokens.csv", "unique_id": "seed.synthetix.eth_mainnet_tokens", "fqn": ["synthetix", "tokens", "eth_mainnet_tokens"], "alias": "eth_mainnet_tokens", "checksum": {"name": "sha256", "checksum": "ecda1fa4c149a8d8edfcdefe8136ad5b05bae9e2e380ed570c71970e3537c4be"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "delimiter": ",", "quote_columns": null}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1723584315.5520973, "relation_name": "\"analytics\".\"prod_seeds\".\"eth_mainnet_tokens\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.base_mainnet_tokens": {"database": "analytics", "schema": "prod_seeds", "name": "base_mainnet_tokens", "resource_type": "seed", "package_name": "synthetix", "path": "tokens/base_mainnet_tokens.csv", "original_file_path": "seeds/tokens/base_mainnet_tokens.csv", "unique_id": "seed.synthetix.base_mainnet_tokens", "fqn": ["synthetix", "tokens", "base_mainnet_tokens"], "alias": "base_mainnet_tokens", "checksum": {"name": "sha256", "checksum": "fa824a5833a2016791178ca64c456e8269786194fd7aec1ee3b76215303f41f5"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "delimiter": ",", "quote_columns": null}, "tags": [], "description": "Mapping of common token addresses to their respective token symbols", "columns": {"token_address": {"name": "token_address", "description": "Address of the token contract", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1723584315.641697, "relation_name": "\"analytics\".\"prod_seeds\".\"base_mainnet_tokens\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.arbitrum_sepolia_tokens": {"database": "analytics", "schema": "prod_seeds", "name": "arbitrum_sepolia_tokens", "resource_type": "seed", "package_name": "synthetix", "path": "tokens/arbitrum_sepolia_tokens.csv", "original_file_path": "seeds/tokens/arbitrum_sepolia_tokens.csv", "unique_id": "seed.synthetix.arbitrum_sepolia_tokens", "fqn": ["synthetix", "tokens", "arbitrum_sepolia_tokens"], "alias": "arbitrum_sepolia_tokens", "checksum": {"name": "sha256", "checksum": "6b4346bb29f7267b9e48644be4eab89382476b43f6cca3f164ab90c0581e1aa7"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "delimiter": ",", "quote_columns": null}, "tags": [], "description": "Mapping of common token addresses to their respective token symbols", "columns": {"token_address": {"name": "token_address", "description": "Address of the token contract", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1723584315.6409843, "relation_name": "\"analytics\".\"prod_seeds\".\"arbitrum_sepolia_tokens\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.base_sepolia_tokens": {"database": "analytics", "schema": "prod_seeds", "name": "base_sepolia_tokens", "resource_type": "seed", "package_name": "synthetix", "path": "tokens/base_sepolia_tokens.csv", "original_file_path": "seeds/tokens/base_sepolia_tokens.csv", "unique_id": "seed.synthetix.base_sepolia_tokens", "fqn": ["synthetix", "tokens", "base_sepolia_tokens"], "alias": "base_sepolia_tokens", "checksum": {"name": "sha256", "checksum": "6d857d226ef3dcdb580890560110248fa4b99151125bf3dabf4492fe4c3540b9"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "delimiter": ",", "quote_columns": null}, "tags": [], "description": "Mapping of common token addresses to their respective token symbols", "columns": {"token_address": {"name": "token_address", "description": "Address of the token contract", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1723584315.6425111, "relation_name": "\"analytics\".\"prod_seeds\".\"base_sepolia_tokens\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.arbitrum_mainnet_tokens": {"database": "analytics", "schema": "prod_seeds", "name": "arbitrum_mainnet_tokens", "resource_type": "seed", "package_name": "synthetix", "path": "tokens/arbitrum_mainnet_tokens.csv", "original_file_path": "seeds/tokens/arbitrum_mainnet_tokens.csv", "unique_id": "seed.synthetix.arbitrum_mainnet_tokens", "fqn": ["synthetix", "tokens", "arbitrum_mainnet_tokens"], "alias": "arbitrum_mainnet_tokens", "checksum": {"name": "sha256", "checksum": "ee1a57b4c41ce84d5924a8b99a59466a85b74dcc4c79bc54efc8b71e6877e716"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "delimiter": ",", "quote_columns": null}, "tags": [], "description": "Mapping of common token addresses to their respective token symbols", "columns": {"token_address": {"name": "token_address", "description": "Address of the token contract", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1723584315.6402633, "relation_name": "\"analytics\".\"prod_seeds\".\"arbitrum_mainnet_tokens\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.arbitrum_sepolia_reward_distributors": {"database": "analytics", "schema": "prod_seeds", "name": "arbitrum_sepolia_reward_distributors", "resource_type": "seed", "package_name": "synthetix", "path": "reward_distributors/arbitrum_sepolia_reward_distributors.csv", "original_file_path": "seeds/reward_distributors/arbitrum_sepolia_reward_distributors.csv", "unique_id": "seed.synthetix.arbitrum_sepolia_reward_distributors", "fqn": ["synthetix", "reward_distributors", "arbitrum_sepolia_reward_distributors"], "alias": "arbitrum_sepolia_reward_distributors", "checksum": {"name": "sha256", "checksum": "66f760aca8b7a9cb8bb3928d472480e8fbd482f6ed52e2eb37917894b30c8c37"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "delimiter": ",", "quote_columns": null}, "tags": [], "description": "Mapping of reward distributor addresses to their respective reward tokens", "columns": {"distributor_address": {"name": "distributor_address", "description": "Address of the reward distributor contract", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token received as reward", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1723584315.6376817, "relation_name": "\"analytics\".\"prod_seeds\".\"arbitrum_sepolia_reward_distributors\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.eth_mainnet_reward_distributors": {"database": "analytics", "schema": "prod_seeds", "name": "eth_mainnet_reward_distributors", "resource_type": "seed", "package_name": "synthetix", "path": "reward_distributors/eth_mainnet_reward_distributors.csv", "original_file_path": "seeds/reward_distributors/eth_mainnet_reward_distributors.csv", "unique_id": "seed.synthetix.eth_mainnet_reward_distributors", "fqn": ["synthetix", "reward_distributors", "eth_mainnet_reward_distributors"], "alias": "eth_mainnet_reward_distributors", "checksum": {"name": "sha256", "checksum": "66f760aca8b7a9cb8bb3928d472480e8fbd482f6ed52e2eb37917894b30c8c37"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "delimiter": ",", "quote_columns": null}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1723584315.5649908, "relation_name": "\"analytics\".\"prod_seeds\".\"eth_mainnet_reward_distributors\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.base_mainnet_reward_distributors": {"database": "analytics", "schema": "prod_seeds", "name": "base_mainnet_reward_distributors", "resource_type": "seed", "package_name": "synthetix", "path": "reward_distributors/base_mainnet_reward_distributors.csv", "original_file_path": "seeds/reward_distributors/base_mainnet_reward_distributors.csv", "unique_id": "seed.synthetix.base_mainnet_reward_distributors", "fqn": ["synthetix", "reward_distributors", "base_mainnet_reward_distributors"], "alias": "base_mainnet_reward_distributors", "checksum": {"name": "sha256", "checksum": "68808ecde9adc18c4f86959c5283b4f556da3aa7f204b4aef821f654d1119b23"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "delimiter": ",", "quote_columns": null}, "tags": [], "description": "Mapping of reward distributor addresses to their respective reward tokens", "columns": {"distributor_address": {"name": "distributor_address", "description": "Address of the reward distributor contract", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token received as reward", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1723584315.6384277, "relation_name": "\"analytics\".\"prod_seeds\".\"base_mainnet_reward_distributors\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.base_sepolia_reward_distributors": {"database": "analytics", "schema": "prod_seeds", "name": "base_sepolia_reward_distributors", "resource_type": "seed", "package_name": "synthetix", "path": "reward_distributors/base_sepolia_reward_distributors.csv", "original_file_path": "seeds/reward_distributors/base_sepolia_reward_distributors.csv", "unique_id": "seed.synthetix.base_sepolia_reward_distributors", "fqn": ["synthetix", "reward_distributors", "base_sepolia_reward_distributors"], "alias": "base_sepolia_reward_distributors", "checksum": {"name": "sha256", "checksum": "66f760aca8b7a9cb8bb3928d472480e8fbd482f6ed52e2eb37917894b30c8c37"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "delimiter": ",", "quote_columns": null}, "tags": [], "description": "Mapping of reward distributor addresses to their respective reward tokens", "columns": {"distributor_address": {"name": "distributor_address", "description": "Address of the reward distributor contract", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token received as reward", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1723584315.6392105, "relation_name": "\"analytics\".\"prod_seeds\".\"base_sepolia_reward_distributors\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.arbitrum_mainnet_reward_distributors": {"database": "analytics", "schema": "prod_seeds", "name": "arbitrum_mainnet_reward_distributors", "resource_type": "seed", "package_name": "synthetix", "path": "reward_distributors/arbitrum_mainnet_reward_distributors.csv", "original_file_path": "seeds/reward_distributors/arbitrum_mainnet_reward_distributors.csv", "unique_id": "seed.synthetix.arbitrum_mainnet_reward_distributors", "fqn": ["synthetix", "reward_distributors", "arbitrum_mainnet_reward_distributors"], "alias": "arbitrum_mainnet_reward_distributors", "checksum": {"name": "sha256", "checksum": "4b3b2370f2e64a8c44d93cc2c5657881631de23e2c69d026ec930cddb725a5f1"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "delimiter": ",", "quote_columns": null}, "tags": [], "description": "Mapping of reward distributor addresses to their respective reward tokens", "columns": {"distributor_address": {"name": "distributor_address", "description": "Address of the reward distributor contract", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token received as reward", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1723584315.636878, "relation_name": "\"analytics\".\"prod_seeds\".\"arbitrum_mainnet_reward_distributors\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_distributor_address.700581d5a6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_arbitrum_mainnet_reward_distributors_distributor_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_distributor_address.700581d5a6", "fqn": ["synthetix", "not_null_arbitrum_mainnet_reward_distributors_distributor_address"], "alias": "not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1"}, "created_at": 1723584315.750779, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1\") }}", "language": "sql", "refs": [{"name": "arbitrum_mainnet_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.arbitrum_mainnet_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor_address\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_reward_distributors\"\nwhere distributor_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor_address", "file_key_name": "seeds.arbitrum_mainnet_reward_distributors", "attached_node": "seed.synthetix.arbitrum_mainnet_reward_distributors", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor_address", "model": "{{ get_where_subquery(ref('arbitrum_mainnet_reward_distributors')) }}"}, "namespace": null}}, "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_token_symbol.a65060c57e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_arbitrum_mainnet_reward_distributors_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_arbitrum_mainnet_reward_distributors_token_symbol.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_token_symbol.a65060c57e", "fqn": ["synthetix", "not_null_arbitrum_mainnet_reward_distributors_token_symbol"], "alias": "not_null_arbitrum_mainnet_reward_distributors_token_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584315.7528265, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "arbitrum_mainnet_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.arbitrum_mainnet_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_reward_distributors_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_reward_distributors\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "seeds.arbitrum_mainnet_reward_distributors", "attached_node": "seed.synthetix.arbitrum_mainnet_reward_distributors", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('arbitrum_mainnet_reward_distributors')) }}"}, "namespace": null}}, "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_distributor_address.6379395bc6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_arbitrum_sepolia_reward_distributors_distributor_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_arbitrum_sepolia_rewa_3a4a8df81e818d95a18f5f2753e2c60f.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_distributor_address.6379395bc6", "fqn": ["synthetix", "not_null_arbitrum_sepolia_reward_distributors_distributor_address"], "alias": "not_null_arbitrum_sepolia_rewa_3a4a8df81e818d95a18f5f2753e2c60f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_arbitrum_sepolia_rewa_3a4a8df81e818d95a18f5f2753e2c60f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_arbitrum_sepolia_rewa_3a4a8df81e818d95a18f5f2753e2c60f"}, "created_at": 1723584315.7545018, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_arbitrum_sepolia_rewa_3a4a8df81e818d95a18f5f2753e2c60f\") }}", "language": "sql", "refs": [{"name": "arbitrum_sepolia_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.arbitrum_sepolia_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_rewa_3a4a8df81e818d95a18f5f2753e2c60f.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor_address\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_reward_distributors\"\nwhere distributor_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor_address", "file_key_name": "seeds.arbitrum_sepolia_reward_distributors", "attached_node": "seed.synthetix.arbitrum_sepolia_reward_distributors", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor_address", "model": "{{ get_where_subquery(ref('arbitrum_sepolia_reward_distributors')) }}"}, "namespace": null}}, "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_token_symbol.62adebb178": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_arbitrum_sepolia_reward_distributors_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_arbitrum_sepolia_reward_distributors_token_symbol.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_token_symbol.62adebb178", "fqn": ["synthetix", "not_null_arbitrum_sepolia_reward_distributors_token_symbol"], "alias": "not_null_arbitrum_sepolia_reward_distributors_token_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584315.7561388, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "arbitrum_sepolia_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.arbitrum_sepolia_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_reward_distributors_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_reward_distributors\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "seeds.arbitrum_sepolia_reward_distributors", "attached_node": "seed.synthetix.arbitrum_sepolia_reward_distributors", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('arbitrum_sepolia_reward_distributors')) }}"}, "namespace": null}}, "test.synthetix.not_null_base_mainnet_reward_distributors_distributor_address.d0aab9bee0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_base_mainnet_reward_distributors_distributor_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_base_mainnet_reward_distributors_distributor_address.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_base_mainnet_reward_distributors_distributor_address.d0aab9bee0", "fqn": ["synthetix", "not_null_base_mainnet_reward_distributors_distributor_address"], "alias": "not_null_base_mainnet_reward_distributors_distributor_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584315.7577484, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "base_mainnet_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.base_mainnet_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_reward_distributors_distributor_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor_address\nfrom \"analytics\".\"prod_seeds\".\"base_mainnet_reward_distributors\"\nwhere distributor_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor_address", "file_key_name": "seeds.base_mainnet_reward_distributors", "attached_node": "seed.synthetix.base_mainnet_reward_distributors", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor_address", "model": "{{ get_where_subquery(ref('base_mainnet_reward_distributors')) }}"}, "namespace": null}}, "test.synthetix.not_null_base_mainnet_reward_distributors_token_symbol.d94311a8fc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_base_mainnet_reward_distributors_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_base_mainnet_reward_distributors_token_symbol.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_base_mainnet_reward_distributors_token_symbol.d94311a8fc", "fqn": ["synthetix", "not_null_base_mainnet_reward_distributors_token_symbol"], "alias": "not_null_base_mainnet_reward_distributors_token_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584315.7593718, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "base_mainnet_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.base_mainnet_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_reward_distributors_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"base_mainnet_reward_distributors\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "seeds.base_mainnet_reward_distributors", "attached_node": "seed.synthetix.base_mainnet_reward_distributors", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('base_mainnet_reward_distributors')) }}"}, "namespace": null}}, "test.synthetix.not_null_base_sepolia_reward_distributors_distributor_address.08551b149c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_base_sepolia_reward_distributors_distributor_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_base_sepolia_reward_distributors_distributor_address.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_base_sepolia_reward_distributors_distributor_address.08551b149c", "fqn": ["synthetix", "not_null_base_sepolia_reward_distributors_distributor_address"], "alias": "not_null_base_sepolia_reward_distributors_distributor_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584315.7610998, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "base_sepolia_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.base_sepolia_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_reward_distributors_distributor_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor_address\nfrom \"analytics\".\"prod_seeds\".\"base_sepolia_reward_distributors\"\nwhere distributor_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor_address", "file_key_name": "seeds.base_sepolia_reward_distributors", "attached_node": "seed.synthetix.base_sepolia_reward_distributors", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor_address", "model": "{{ get_where_subquery(ref('base_sepolia_reward_distributors')) }}"}, "namespace": null}}, "test.synthetix.not_null_base_sepolia_reward_distributors_token_symbol.37319f3c5c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_base_sepolia_reward_distributors_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_base_sepolia_reward_distributors_token_symbol.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_base_sepolia_reward_distributors_token_symbol.37319f3c5c", "fqn": ["synthetix", "not_null_base_sepolia_reward_distributors_token_symbol"], "alias": "not_null_base_sepolia_reward_distributors_token_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584315.762693, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "base_sepolia_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.base_sepolia_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_reward_distributors_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"base_sepolia_reward_distributors\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "seeds.base_sepolia_reward_distributors", "attached_node": "seed.synthetix.base_sepolia_reward_distributors", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('base_sepolia_reward_distributors')) }}"}, "namespace": null}}, "test.synthetix.not_null_arbitrum_mainnet_tokens_token_address.08d3db4ee2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_arbitrum_mainnet_tokens_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_arbitrum_mainnet_tokens_token_address.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_arbitrum_mainnet_tokens_token_address.08d3db4ee2", "fqn": ["synthetix", "not_null_arbitrum_mainnet_tokens_token_address"], "alias": "not_null_arbitrum_mainnet_tokens_token_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584315.7643032, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "arbitrum_mainnet_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.arbitrum_mainnet_tokens"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_tokens_token_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_address\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_tokens\"\nwhere token_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_address", "file_key_name": "seeds.arbitrum_mainnet_tokens", "attached_node": "seed.synthetix.arbitrum_mainnet_tokens", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_address", "model": "{{ get_where_subquery(ref('arbitrum_mainnet_tokens')) }}"}, "namespace": null}}, "test.synthetix.not_null_arbitrum_mainnet_tokens_token_symbol.619d115f2e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_arbitrum_mainnet_tokens_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_arbitrum_mainnet_tokens_token_symbol.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_arbitrum_mainnet_tokens_token_symbol.619d115f2e", "fqn": ["synthetix", "not_null_arbitrum_mainnet_tokens_token_symbol"], "alias": "not_null_arbitrum_mainnet_tokens_token_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584315.7659378, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "arbitrum_mainnet_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.arbitrum_mainnet_tokens"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_tokens_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_tokens\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "seeds.arbitrum_mainnet_tokens", "attached_node": "seed.synthetix.arbitrum_mainnet_tokens", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('arbitrum_mainnet_tokens')) }}"}, "namespace": null}}, "test.synthetix.not_null_arbitrum_sepolia_tokens_token_address.9daa149fb1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_arbitrum_sepolia_tokens_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_arbitrum_sepolia_tokens_token_address.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_arbitrum_sepolia_tokens_token_address.9daa149fb1", "fqn": ["synthetix", "not_null_arbitrum_sepolia_tokens_token_address"], "alias": "not_null_arbitrum_sepolia_tokens_token_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584315.7675467, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "arbitrum_sepolia_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.arbitrum_sepolia_tokens"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_tokens_token_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_address\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_tokens\"\nwhere token_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_address", "file_key_name": "seeds.arbitrum_sepolia_tokens", "attached_node": "seed.synthetix.arbitrum_sepolia_tokens", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_address", "model": "{{ get_where_subquery(ref('arbitrum_sepolia_tokens')) }}"}, "namespace": null}}, "test.synthetix.not_null_arbitrum_sepolia_tokens_token_symbol.17ecd3a7d8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_arbitrum_sepolia_tokens_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_arbitrum_sepolia_tokens_token_symbol.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_arbitrum_sepolia_tokens_token_symbol.17ecd3a7d8", "fqn": ["synthetix", "not_null_arbitrum_sepolia_tokens_token_symbol"], "alias": "not_null_arbitrum_sepolia_tokens_token_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584315.770001, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "arbitrum_sepolia_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.arbitrum_sepolia_tokens"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_tokens_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_tokens\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "seeds.arbitrum_sepolia_tokens", "attached_node": "seed.synthetix.arbitrum_sepolia_tokens", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('arbitrum_sepolia_tokens')) }}"}, "namespace": null}}, "test.synthetix.not_null_base_mainnet_tokens_token_address.47a3f5acd2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_base_mainnet_tokens_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_base_mainnet_tokens_token_address.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_base_mainnet_tokens_token_address.47a3f5acd2", "fqn": ["synthetix", "not_null_base_mainnet_tokens_token_address"], "alias": "not_null_base_mainnet_tokens_token_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584315.7716382, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "base_mainnet_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.base_mainnet_tokens"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_tokens_token_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_address\nfrom \"analytics\".\"prod_seeds\".\"base_mainnet_tokens\"\nwhere token_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_address", "file_key_name": "seeds.base_mainnet_tokens", "attached_node": "seed.synthetix.base_mainnet_tokens", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_address", "model": "{{ get_where_subquery(ref('base_mainnet_tokens')) }}"}, "namespace": null}}, "test.synthetix.not_null_base_mainnet_tokens_token_symbol.77007fd576": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_base_mainnet_tokens_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_base_mainnet_tokens_token_symbol.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_base_mainnet_tokens_token_symbol.77007fd576", "fqn": ["synthetix", "not_null_base_mainnet_tokens_token_symbol"], "alias": "not_null_base_mainnet_tokens_token_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584315.773241, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "base_mainnet_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.base_mainnet_tokens"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_tokens_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"base_mainnet_tokens\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "seeds.base_mainnet_tokens", "attached_node": "seed.synthetix.base_mainnet_tokens", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('base_mainnet_tokens')) }}"}, "namespace": null}}, "test.synthetix.not_null_base_sepolia_tokens_token_address.73f3c4e0ef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_base_sepolia_tokens_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_base_sepolia_tokens_token_address.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_base_sepolia_tokens_token_address.73f3c4e0ef", "fqn": ["synthetix", "not_null_base_sepolia_tokens_token_address"], "alias": "not_null_base_sepolia_tokens_token_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584315.7748249, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "base_sepolia_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.base_sepolia_tokens"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_tokens_token_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_address\nfrom \"analytics\".\"prod_seeds\".\"base_sepolia_tokens\"\nwhere token_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_address", "file_key_name": "seeds.base_sepolia_tokens", "attached_node": "seed.synthetix.base_sepolia_tokens", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_address", "model": "{{ get_where_subquery(ref('base_sepolia_tokens')) }}"}, "namespace": null}}, "test.synthetix.not_null_base_sepolia_tokens_token_symbol.1afdd41b38": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_base_sepolia_tokens_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_base_sepolia_tokens_token_symbol.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_base_sepolia_tokens_token_symbol.1afdd41b38", "fqn": ["synthetix", "not_null_base_sepolia_tokens_token_symbol"], "alias": "not_null_base_sepolia_tokens_token_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584315.776526, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "base_sepolia_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.base_sepolia_tokens"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_tokens_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"base_sepolia_tokens\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "seeds.base_sepolia_tokens", "attached_node": "seed.synthetix.base_sepolia_tokens", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('base_sepolia_tokens')) }}"}, "namespace": null}}, "test.synthetix.not_null_blocks_eth_mainnet_block_number.aba38b4904": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_blocks_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_blocks_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_blocks_eth_mainnet_block_number.aba38b4904", "fqn": ["synthetix", "raw", "eth", "mainnet", "not_null_blocks_eth_mainnet_block_number"], "alias": "not_null_blocks_eth_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.2439704, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/schema.yml/not_null_blocks_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"blocks_eth_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.blocks_eth_mainnet", "attached_node": "model.synthetix.blocks_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('blocks_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_blocks_eth_mainnet_block_number.ddb4ca7d09": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_blocks_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "unique_blocks_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/schema.yml", "unique_id": "test.synthetix.unique_blocks_eth_mainnet_block_number.ddb4ca7d09", "fqn": ["synthetix", "raw", "eth", "mainnet", "unique_blocks_eth_mainnet_block_number"], "alias": "unique_blocks_eth_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.2457778, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/schema.yml/unique_blocks_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n block_number as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"blocks_eth_mainnet\"\nwhere block_number is not null\ngroup by block_number\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.blocks_eth_mainnet", "attached_node": "model.synthetix.blocks_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('blocks_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_recency_blocks_eth_mainnet_hour__ts__1.7c6c4534db": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_recency_blocks_eth_mainnet_hour__ts__1", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_recency_blocks_eth_mainnet_hour__ts__1.sql", "original_file_path": "models/raw/eth/mainnet/schema.yml", "unique_id": "test.synthetix.dbt_utils_recency_blocks_eth_mainnet_hour__ts__1.7c6c4534db", "fqn": ["synthetix", "raw", "eth", "mainnet", "dbt_utils_recency_blocks_eth_mainnet_hour__ts__1"], "alias": "dbt_utils_recency_blocks_eth_mainnet_hour__ts__1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.2480683, "relation_name": null, "raw_code": "{{ dbt_utils.test_recency(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_recency", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/schema.yml/dbt_utils_recency_blocks_eth_mainnet_hour__ts__1.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\n\nwith recency as (\n\n select \n\n \n \n max(ts) as most_recent\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"blocks_eth_mainnet\"\n\n \n\n)\n\nselect\n\n \n most_recent,\n cast(\n\n now() + ((interval '1 hour') * (-1))\n\n as timestamp) as threshold\n\nfrom recency\nwhere most_recent < cast(\n\n now() + ((interval '1 hour') * (-1))\n\n as timestamp)\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": null, "file_key_name": "models.blocks_eth_mainnet", "attached_node": "model.synthetix.blocks_eth_mainnet", "test_metadata": {"name": "recency", "kwargs": {"datepart": "hour", "field": "ts", "interval": 1, "model": "{{ get_where_subquery(ref('blocks_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_account_created_eth_mainnet_owner.9141d07512": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_eth_mainnet_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_eth_mainnet_owner.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_eth_mainnet_owner.9141d07512", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_created_eth_mainnet_owner"], "alias": "not_null_core_account_created_eth_mainnet_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.3720412, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_created_eth_mainnet\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.core_account_created_eth_mainnet", "attached_node": "model.synthetix.core_account_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('core_account_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_eth_mainnet_account_id.162a9a11ae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_eth_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_eth_mainnet_account_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_eth_mainnet_account_id.162a9a11ae", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_created_eth_mainnet_account_id"], "alias": "not_null_core_account_created_eth_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.3737805, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_created_eth_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_account_created_eth_mainnet", "attached_node": "model.synthetix.core_account_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_account_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_account_created_eth_mainnet_account_id__True__0.4d9379ebdc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_account_created_eth_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__e62759940a69e060a2ee4d98660274e8.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_account_created_eth_mainnet_account_id__True__0.4d9379ebdc", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_account_created_eth_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__e62759940a69e060a2ee4d98660274e8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__e62759940a69e060a2ee4d98660274e8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__e62759940a69e060a2ee4d98660274e8"}, "created_at": 1723584316.3754704, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__e62759940a69e060a2ee4d98660274e8\") }}", "language": "sql", "refs": [{"name": "core_account_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e62759940a69e060a2ee4d98660274e8.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_created_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_account_created_eth_mainnet", "attached_node": "model.synthetix.core_account_created_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_account_created_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_account_created_eth_mainnet_id.0d5cd71e99": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_eth_mainnet_id.0d5cd71e99", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_created_eth_mainnet_id"], "alias": "not_null_core_account_created_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.3842032, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_created_eth_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_account_created_eth_mainnet", "attached_node": "model.synthetix.core_account_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_account_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_account_created_eth_mainnet_id.51b373b820": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_account_created_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_account_created_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_account_created_eth_mainnet_id.51b373b820", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_account_created_eth_mainnet_id"], "alias": "unique_core_account_created_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.3858776, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_account_created_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_created_eth_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_account_created_eth_mainnet", "attached_node": "model.synthetix.core_account_created_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_account_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_eth_mainnet_transaction_hash.5349e51024": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_eth_mainnet_transaction_hash.5349e51024", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_created_eth_mainnet_transaction_hash"], "alias": "not_null_core_account_created_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.3877497, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_created_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_account_created_eth_mainnet", "attached_node": "model.synthetix.core_account_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_account_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_eth_mainnet_block_number.be5f037644": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_eth_mainnet_block_number.be5f037644", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_created_eth_mainnet_block_number"], "alias": "not_null_core_account_created_eth_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.3894143, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_created_eth_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_account_created_eth_mainnet", "attached_node": "model.synthetix.core_account_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_account_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_eth_mainnet_block_timestamp.8287155cde": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_eth_mainnet_block_timestamp.8287155cde", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_created_eth_mainnet_block_timestamp"], "alias": "not_null_core_account_created_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.391048, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_created_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_account_created_eth_mainnet", "attached_node": "model.synthetix.core_account_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_account_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_eth_mainnet_event_name.5a44f6813f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_eth_mainnet_event_name.5a44f6813f", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_created_eth_mainnet_event_name"], "alias": "not_null_core_account_created_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.392674, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_created_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_account_created_eth_mainnet", "attached_node": "model.synthetix.core_account_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_account_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_account_created_eth_mainnet_event_name__AccountCreated.7bff7383b3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_account_created_eth_mainnet_event_name__AccountCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_account_c_0f48537cd74cb798591ed4f9c612985c.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_account_created_eth_mainnet_event_name__AccountCreated.7bff7383b3", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_account_created_eth_mainnet_event_name__AccountCreated"], "alias": "accepted_values_core_account_c_0f48537cd74cb798591ed4f9c612985c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_account_c_0f48537cd74cb798591ed4f9c612985c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_account_c_0f48537cd74cb798591ed4f9c612985c"}, "created_at": 1723584316.394403, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_account_c_0f48537cd74cb798591ed4f9c612985c\") }}", "language": "sql", "refs": [{"name": "core_account_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_account_c_0f48537cd74cb798591ed4f9c612985c.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_created_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'AccountCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_account_created_eth_mainnet", "attached_node": "model.synthetix.core_account_created_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["AccountCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_account_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_eth_mainnet_contract.84cae83ab9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_eth_mainnet_contract.84cae83ab9", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_created_eth_mainnet_contract"], "alias": "not_null_core_account_created_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4027028, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_created_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_account_created_eth_mainnet", "attached_node": "model.synthetix.core_account_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_account_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_migrated_eth_mainnet_staker.cb3d4f410b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_migrated_eth_mainnet_staker", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_migrated_eth_mainnet_staker.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_staker.cb3d4f410b", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_migrated_eth_mainnet_staker"], "alias": "not_null_core_account_migrated_eth_mainnet_staker", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4043863, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_staker.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect staker\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\nwhere staker is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "staker", "file_key_name": "models.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "staker", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_migrated_eth_mainnet_account_id.6263532792": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_migrated_eth_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_migrated_eth_mainnet_account_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_account_id.6263532792", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_migrated_eth_mainnet_account_id"], "alias": "not_null_core_account_migrated_eth_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.406018, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_account_id__True__0.f1da2d38e8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_account_migrated_eth_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__e8596be14723c2504d1e35c74d629953.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_account_id__True__0.f1da2d38e8", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_account_migrated_eth_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__e8596be14723c2504d1e35c74d629953", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__e8596be14723c2504d1e35c74d629953", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__e8596be14723c2504d1e35c74d629953"}, "created_at": 1723584316.40769, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__e8596be14723c2504d1e35c74d629953\") }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e8596be14723c2504d1e35c74d629953.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_account_migrated_eth_mainnet_id.3f18fc79cf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_migrated_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_migrated_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_id.3f18fc79cf", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_migrated_eth_mainnet_id"], "alias": "not_null_core_account_migrated_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4123335, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_account_migrated_eth_mainnet_id.b21ce76ba7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_account_migrated_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_account_migrated_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_account_migrated_eth_mainnet_id.b21ce76ba7", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_account_migrated_eth_mainnet_id"], "alias": "unique_core_account_migrated_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4139826, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_account_migrated_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_migrated_eth_mainnet_transaction_hash.bb710f8259": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_migrated_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_migrated_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_transaction_hash.bb710f8259", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_migrated_eth_mainnet_transaction_hash"], "alias": "not_null_core_account_migrated_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4156344, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_migrated_eth_mainnet_block_number.8a5aa490b5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_migrated_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_migrated_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_block_number.8a5aa490b5", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_migrated_eth_mainnet_block_number"], "alias": "not_null_core_account_migrated_eth_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.417412, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_migrated_eth_mainnet_block_timestamp.29c8a3ae97": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_migrated_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_migrated_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_block_timestamp.29c8a3ae97", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_migrated_eth_mainnet_block_timestamp"], "alias": "not_null_core_account_migrated_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.419028, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_migrated_eth_mainnet_event_name.969c074241": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_migrated_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_migrated_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_event_name.969c074241", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_migrated_eth_mainnet_event_name"], "alias": "not_null_core_account_migrated_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4207504, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_migrated_eth_mainnet_contract.ccd34b4a40": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_migrated_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_migrated_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_contract.ccd34b4a40", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_migrated_eth_mainnet_contract"], "alias": "not_null_core_account_migrated_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.42237, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_migrated_eth_mainnet_collateral_amount.3673a78a7a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_migrated_eth_mainnet_collateral_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_migrated_eth_mainnet_collateral_amount.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_collateral_amount.3673a78a7a", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_migrated_eth_mainnet_collateral_amount"], "alias": "not_null_core_account_migrated_eth_mainnet_collateral_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4241185, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_collateral_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_amount\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\nwhere collateral_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_amount", "file_key_name": "models.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_amount", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_collateral_amount__True__0.b1df54815d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_account_migrated_eth_mainnet_collateral_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__e78cd25c31d029d1b39b35fd267f9885.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_collateral_amount__True__0.b1df54815d", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_account_migrated_eth_mainnet_collateral_amount__True__0"], "alias": "dbt_utils_accepted_range_core__e78cd25c31d029d1b39b35fd267f9885", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__e78cd25c31d029d1b39b35fd267f9885", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__e78cd25c31d029d1b39b35fd267f9885"}, "created_at": 1723584316.4257503, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__e78cd25c31d029d1b39b35fd267f9885\") }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e78cd25c31d029d1b39b35fd267f9885.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_amount", "file_key_name": "models.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_amount", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_account_migrated_eth_mainnet_debt_amount.37622c6a60": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_migrated_eth_mainnet_debt_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_migrated_eth_mainnet_debt_amount.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_debt_amount.37622c6a60", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_migrated_eth_mainnet_debt_amount"], "alias": "not_null_core_account_migrated_eth_mainnet_debt_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4300163, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_debt_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt_amount\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\nwhere debt_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt_amount", "file_key_name": "models.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt_amount", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_debt_amount__True__0.a8e29325c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_account_migrated_eth_mainnet_debt_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__9da9ecf517a1cca467ef0aa90b794d23.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_debt_amount__True__0.a8e29325c2", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_account_migrated_eth_mainnet_debt_amount__True__0"], "alias": "dbt_utils_accepted_range_core__9da9ecf517a1cca467ef0aa90b794d23", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__9da9ecf517a1cca467ef0aa90b794d23", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__9da9ecf517a1cca467ef0aa90b794d23"}, "created_at": 1723584316.43173, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__9da9ecf517a1cca467ef0aa90b794d23\") }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9da9ecf517a1cca467ef0aa90b794d23.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not debt_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt_amount", "file_key_name": "models.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "debt_amount", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_eth_mainnet_contract.5d369822a4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_contract.5d369822a4", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_delegation_updated_eth_mainnet_contract"], "alias": "not_null_core_delegation_updated_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4357731, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_eth_mainnet_id.622c20c239": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_id.622c20c239", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_delegation_updated_eth_mainnet_id"], "alias": "not_null_core_delegation_updated_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4375813, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_delegation_updated_eth_mainnet_id.2467edf8ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_delegation_updated_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_delegation_updated_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_delegation_updated_eth_mainnet_id.2467edf8ec", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_delegation_updated_eth_mainnet_id"], "alias": "unique_core_delegation_updated_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4392517, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_delegation_updated_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_eth_mainnet_account_id.141fb0f466": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_eth_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_eth_mainnet_account_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_account_id.141fb0f466", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_delegation_updated_eth_mainnet_account_id"], "alias": "not_null_core_delegation_updated_eth_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4408777, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_account_id__True__0.3a3f9a0475": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__bb6ebbb6a6ce6d43f01be8ed59f2504d.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_account_id__True__0.3a3f9a0475", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__bb6ebbb6a6ce6d43f01be8ed59f2504d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__bb6ebbb6a6ce6d43f01be8ed59f2504d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__bb6ebbb6a6ce6d43f01be8ed59f2504d"}, "created_at": 1723584316.4425147, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__bb6ebbb6a6ce6d43f01be8ed59f2504d\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__bb6ebbb6a6ce6d43f01be8ed59f2504d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_eth_mainnet_collateral_type.e3d73862e4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_eth_mainnet_collateral_type.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_collateral_type.e3d73862e4", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_delegation_updated_eth_mainnet_collateral_type"], "alias": "not_null_core_delegation_updated_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4467804, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_eth_mainnet_pool_id.914b411c12": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_eth_mainnet_pool_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_pool_id.914b411c12", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_delegation_updated_eth_mainnet_pool_id"], "alias": "not_null_core_delegation_updated_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.448469, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_pool_id__True__0.fb370aa2ca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__bdc679a230626364ca0549f88b5432ea.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_pool_id__True__0.fb370aa2ca", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__bdc679a230626364ca0549f88b5432ea", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__bdc679a230626364ca0549f88b5432ea", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__bdc679a230626364ca0549f88b5432ea"}, "created_at": 1723584316.4500847, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__bdc679a230626364ca0549f88b5432ea\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__bdc679a230626364ca0549f88b5432ea.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_eth_mainnet_sender.3a40ed8f3a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_eth_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_eth_mainnet_sender.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_sender.3a40ed8f3a", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_delegation_updated_eth_mainnet_sender"], "alias": "not_null_core_delegation_updated_eth_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4542646, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_eth_mainnet_block_timestamp.cd7fa2f4ff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_block_timestamp.cd7fa2f4ff", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_delegation_updated_eth_mainnet_block_timestamp"], "alias": "not_null_core_delegation_updated_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4559076, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_eth_mainnet_block_number.5479fa5e08": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_block_number.5479fa5e08", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_delegation_updated_eth_mainnet_block_number"], "alias": "not_null_core_delegation_updated_eth_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4575484, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_eth_mainnet_leverage.3edfe7323e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_eth_mainnet_leverage", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_eth_mainnet_leverage.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_leverage.3edfe7323e", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_delegation_updated_eth_mainnet_leverage"], "alias": "not_null_core_delegation_updated_eth_mainnet_leverage", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4593303, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_leverage.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect leverage\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\nwhere leverage is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "leverage", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "leverage", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_leverage__True__1000000000000000000__1000000000000000000.eb061a2128": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_leverage__True__1000000000000000000__1000000000000000000", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__d133a92aff53649ad809d9856f6093bb.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_leverage__True__1000000000000000000__1000000000000000000.eb061a2128", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_leverage__True__1000000000000000000__1000000000000000000"], "alias": "dbt_utils_accepted_range_core__d133a92aff53649ad809d9856f6093bb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__d133a92aff53649ad809d9856f6093bb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__d133a92aff53649ad809d9856f6093bb"}, "created_at": 1723584316.4609795, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__d133a92aff53649ad809d9856f6093bb\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__d133a92aff53649ad809d9856f6093bb.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not leverage >= 1000000000000000000\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not leverage <= 1000000000000000000\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "leverage", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 1000000000000000000, "max_value": 1000000000000000000, "inclusive": true, "column_name": "leverage", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_eth_mainnet_transaction_hash.048b7a5c68": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_transaction_hash.048b7a5c68", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_delegation_updated_eth_mainnet_transaction_hash"], "alias": "not_null_core_delegation_updated_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4651744, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_eth_mainnet_amount.256481de3c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_eth_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_eth_mainnet_amount.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_amount.256481de3c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_delegation_updated_eth_mainnet_amount"], "alias": "not_null_core_delegation_updated_eth_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4668024, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_amount__True__0.94b97c0270": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__e27d22f3bc14a0c94336e4f54758e361.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_amount__True__0.94b97c0270", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__e27d22f3bc14a0c94336e4f54758e361", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__e27d22f3bc14a0c94336e4f54758e361", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__e27d22f3bc14a0c94336e4f54758e361"}, "created_at": 1723584316.468477, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__e27d22f3bc14a0c94336e4f54758e361\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e27d22f3bc14a0c94336e4f54758e361.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_eth_mainnet_event_name.69b76075f5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_event_name.69b76075f5", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_delegation_updated_eth_mainnet_event_name"], "alias": "not_null_core_delegation_updated_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4726567, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_delegation_updated_eth_mainnet_event_name__DelegationUpdated.ec623b86f2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_delegation_updated_eth_mainnet_event_name__DelegationUpdated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_delegatio_4394e6d3658f80520484c746bbda874b.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_delegation_updated_eth_mainnet_event_name__DelegationUpdated.ec623b86f2", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_delegation_updated_eth_mainnet_event_name__DelegationUpdated"], "alias": "accepted_values_core_delegatio_4394e6d3658f80520484c746bbda874b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_delegatio_4394e6d3658f80520484c746bbda874b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_delegatio_4394e6d3658f80520484c746bbda874b"}, "created_at": 1723584316.474292, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_delegatio_4394e6d3658f80520484c746bbda874b\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_delegatio_4394e6d3658f80520484c746bbda874b.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'DelegationUpdated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["DelegationUpdated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_eth_mainnet_collateral_type.f940e4eba6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_eth_mainnet_collateral_type.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_collateral_type.f940e4eba6", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_deposited_eth_mainnet_collateral_type"], "alias": "not_null_core_deposited_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4787793, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_eth_mainnet_id.9c5a20c527": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_id.9c5a20c527", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_deposited_eth_mainnet_id"], "alias": "not_null_core_deposited_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4804525, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_deposited_eth_mainnet_id.97fd3624a5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_deposited_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_deposited_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_deposited_eth_mainnet_id.97fd3624a5", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_deposited_eth_mainnet_id"], "alias": "unique_core_deposited_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4820662, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_deposited_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_eth_mainnet_contract.d1fbae48f5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_contract.d1fbae48f5", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_deposited_eth_mainnet_contract"], "alias": "not_null_core_deposited_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4836867, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_eth_mainnet_event_name.e185f199f1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_event_name.e185f199f1", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_deposited_eth_mainnet_event_name"], "alias": "not_null_core_deposited_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.485409, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_deposited_eth_mainnet_event_name__Deposited.18727c72b0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_deposited_eth_mainnet_event_name__Deposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_deposited_d0c36d861e4f6802850a07c61cd63dac.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_deposited_eth_mainnet_event_name__Deposited.18727c72b0", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_deposited_eth_mainnet_event_name__Deposited"], "alias": "accepted_values_core_deposited_d0c36d861e4f6802850a07c61cd63dac", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_deposited_d0c36d861e4f6802850a07c61cd63dac", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_deposited_d0c36d861e4f6802850a07c61cd63dac"}, "created_at": 1723584316.4870448, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_deposited_d0c36d861e4f6802850a07c61cd63dac\") }}", "language": "sql", "refs": [{"name": "core_deposited_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_deposited_d0c36d861e4f6802850a07c61cd63dac.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Deposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Deposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_eth_mainnet_transaction_hash.7087a2e09e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_transaction_hash.7087a2e09e", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_deposited_eth_mainnet_transaction_hash"], "alias": "not_null_core_deposited_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4919431, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_eth_mainnet_account_id.527d2b71c3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_eth_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_eth_mainnet_account_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_account_id.527d2b71c3", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_deposited_eth_mainnet_account_id"], "alias": "not_null_core_deposited_eth_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4935808, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_deposited_eth_mainnet_account_id__True__0.5e26b84f6a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_deposited_eth_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__ffb3ff84b8a74f473ae464c2a79b3009.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_eth_mainnet_account_id__True__0.5e26b84f6a", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_deposited_eth_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__ffb3ff84b8a74f473ae464c2a79b3009", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__ffb3ff84b8a74f473ae464c2a79b3009", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__ffb3ff84b8a74f473ae464c2a79b3009"}, "created_at": 1723584316.4952414, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__ffb3ff84b8a74f473ae464c2a79b3009\") }}", "language": "sql", "refs": [{"name": "core_deposited_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ffb3ff84b8a74f473ae464c2a79b3009.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_deposited_eth_mainnet_sender.4c70b365da": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_eth_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_eth_mainnet_sender.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_sender.4c70b365da", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_deposited_eth_mainnet_sender"], "alias": "not_null_core_deposited_eth_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4994316, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_eth_mainnet_block_timestamp.6194c9ac03": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_block_timestamp.6194c9ac03", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_deposited_eth_mainnet_block_timestamp"], "alias": "not_null_core_deposited_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5010836, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_eth_mainnet_block_number.5e2350a777": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_block_number.5e2350a777", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_deposited_eth_mainnet_block_number"], "alias": "not_null_core_deposited_eth_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5027065, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_eth_mainnet_token_amount.dc8696c011": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_eth_mainnet_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_eth_mainnet_token_amount.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_token_amount.dc8696c011", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_deposited_eth_mainnet_token_amount"], "alias": "not_null_core_deposited_eth_mainnet_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.504364, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_deposited_eth_mainnet_token_amount__True__0.a57f2edd1b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_deposited_eth_mainnet_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__4a27e7f269078fd6d52dcbdc1f4cccaa.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_eth_mainnet_token_amount__True__0.a57f2edd1b", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_deposited_eth_mainnet_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__4a27e7f269078fd6d52dcbdc1f4cccaa", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__4a27e7f269078fd6d52dcbdc1f4cccaa", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__4a27e7f269078fd6d52dcbdc1f4cccaa"}, "created_at": 1723584316.506093, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__4a27e7f269078fd6d52dcbdc1f4cccaa\") }}", "language": "sql", "refs": [{"name": "core_deposited_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4a27e7f269078fd6d52dcbdc1f4cccaa.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_eth_mainnet_block_timestamp.b6326ea438": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_block_timestamp.b6326ea438", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_withdrawn_eth_mainnet_block_timestamp"], "alias": "not_null_core_withdrawn_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5101748, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_eth_mainnet_contract.a4eb9c51f7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_contract.a4eb9c51f7", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_withdrawn_eth_mainnet_contract"], "alias": "not_null_core_withdrawn_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.512087, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_eth_mainnet_block_number.74ee30eaa5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_block_number.74ee30eaa5", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_withdrawn_eth_mainnet_block_number"], "alias": "not_null_core_withdrawn_eth_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5137475, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_eth_mainnet_transaction_hash.6b6f75c74b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_transaction_hash.6b6f75c74b", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_withdrawn_eth_mainnet_transaction_hash"], "alias": "not_null_core_withdrawn_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.515382, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_eth_mainnet_token_amount.d3547c3837": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_eth_mainnet_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_eth_mainnet_token_amount.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_token_amount.d3547c3837", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_withdrawn_eth_mainnet_token_amount"], "alias": "not_null_core_withdrawn_eth_mainnet_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5169861, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_withdrawn_eth_mainnet_token_amount__True__0.8bd25add1c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_withdrawn_eth_mainnet_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__142a88aa23e7aab522cfeb4e97f9dede.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_eth_mainnet_token_amount__True__0.8bd25add1c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_withdrawn_eth_mainnet_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__142a88aa23e7aab522cfeb4e97f9dede", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__142a88aa23e7aab522cfeb4e97f9dede", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__142a88aa23e7aab522cfeb4e97f9dede"}, "created_at": 1723584316.5186045, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__142a88aa23e7aab522cfeb4e97f9dede\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__142a88aa23e7aab522cfeb4e97f9dede.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_eth_mainnet_collateral_type.28458fb6de": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_eth_mainnet_collateral_type.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_collateral_type.28458fb6de", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_withdrawn_eth_mainnet_collateral_type"], "alias": "not_null_core_withdrawn_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5227668, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_eth_mainnet_account_id.7846828c26": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_eth_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_eth_mainnet_account_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_account_id.7846828c26", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_withdrawn_eth_mainnet_account_id"], "alias": "not_null_core_withdrawn_eth_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5244372, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_withdrawn_eth_mainnet_account_id__True__0.cdf381b428": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_withdrawn_eth_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__3ced14a391cf32c49396edfc10aeea56.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_eth_mainnet_account_id__True__0.cdf381b428", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_withdrawn_eth_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__3ced14a391cf32c49396edfc10aeea56", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__3ced14a391cf32c49396edfc10aeea56", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__3ced14a391cf32c49396edfc10aeea56"}, "created_at": 1723584316.5260723, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__3ced14a391cf32c49396edfc10aeea56\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3ced14a391cf32c49396edfc10aeea56.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_eth_mainnet_id.b0e6ed95b5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_id.b0e6ed95b5", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_withdrawn_eth_mainnet_id"], "alias": "not_null_core_withdrawn_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5302436, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_withdrawn_eth_mainnet_id.3d5210133c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_withdrawn_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_withdrawn_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_withdrawn_eth_mainnet_id.3d5210133c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_withdrawn_eth_mainnet_id"], "alias": "unique_core_withdrawn_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5319173, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_withdrawn_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_eth_mainnet_sender.b7bc5bdadc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_eth_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_eth_mainnet_sender.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_sender.b7bc5bdadc", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_withdrawn_eth_mainnet_sender"], "alias": "not_null_core_withdrawn_eth_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5336895, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_eth_mainnet_event_name.2d3b6771d6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_event_name.2d3b6771d6", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_withdrawn_eth_mainnet_event_name"], "alias": "not_null_core_withdrawn_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.535372, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_withdrawn_eth_mainnet_event_name__Withdrawn.cbf35f5a80": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_withdrawn_eth_mainnet_event_name__Withdrawn", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_withdrawn_061e5bf4357070ce9d2bb3c4fa4488f2.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_withdrawn_eth_mainnet_event_name__Withdrawn.cbf35f5a80", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_withdrawn_eth_mainnet_event_name__Withdrawn"], "alias": "accepted_values_core_withdrawn_061e5bf4357070ce9d2bb3c4fa4488f2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_withdrawn_061e5bf4357070ce9d2bb3c4fa4488f2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_withdrawn_061e5bf4357070ce9d2bb3c4fa4488f2"}, "created_at": 1723584316.5370162, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_withdrawn_061e5bf4357070ce9d2bb3c4fa4488f2\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_withdrawn_061e5bf4357070ce9d2bb3c4fa4488f2.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Withdrawn'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Withdrawn"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_eth_mainnet_pool_id.0966ab4339": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_eth_mainnet_pool_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_pool_id.0966ab4339", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_liquidation_eth_mainnet_pool_id"], "alias": "not_null_core_liquidation_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5415242, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_pool_id__True__0.0b09af0400": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__1863fd816f138e8a3f0169dc6031f846.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_pool_id__True__0.0b09af0400", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_liquidation_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__1863fd816f138e8a3f0169dc6031f846", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__1863fd816f138e8a3f0169dc6031f846", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__1863fd816f138e8a3f0169dc6031f846"}, "created_at": 1723584316.5432036, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__1863fd816f138e8a3f0169dc6031f846\") }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__1863fd816f138e8a3f0169dc6031f846.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_liquidation_eth_mainnet_block_timestamp.c85990976a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_block_timestamp.c85990976a", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_liquidation_eth_mainnet_block_timestamp"], "alias": "not_null_core_liquidation_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5473933, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_eth_mainnet_block_number.8c6c1cbe38": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_block_number.8c6c1cbe38", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_liquidation_eth_mainnet_block_number"], "alias": "not_null_core_liquidation_eth_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.549038, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_eth_mainnet_id.8175916dcc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_id.8175916dcc", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_liquidation_eth_mainnet_id"], "alias": "not_null_core_liquidation_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5506656, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_liquidation_eth_mainnet_id.05a09be0f1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_liquidation_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_liquidation_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_liquidation_eth_mainnet_id.05a09be0f1", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_liquidation_eth_mainnet_id"], "alias": "unique_core_liquidation_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5523207, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_liquidation_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_eth_mainnet_contract.05fe5f9d13": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_contract.05fe5f9d13", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_liquidation_eth_mainnet_contract"], "alias": "not_null_core_liquidation_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.554032, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_eth_mainnet_event_name.a70ed0a4dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_event_name.a70ed0a4dd", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_liquidation_eth_mainnet_event_name"], "alias": "not_null_core_liquidation_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5556815, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_liquidation_eth_mainnet_event_name__Liquidation.10d3a28f0f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_liquidation_eth_mainnet_event_name__Liquidation", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_liquidati_81995d17c81a92034aeec108b3c3ac2a.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_liquidation_eth_mainnet_event_name__Liquidation.10d3a28f0f", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_liquidation_eth_mainnet_event_name__Liquidation"], "alias": "accepted_values_core_liquidati_81995d17c81a92034aeec108b3c3ac2a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_liquidati_81995d17c81a92034aeec108b3c3ac2a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_liquidati_81995d17c81a92034aeec108b3c3ac2a"}, "created_at": 1723584316.5573096, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_liquidati_81995d17c81a92034aeec108b3c3ac2a\") }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_liquidati_81995d17c81a92034aeec108b3c3ac2a.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Liquidation'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Liquidation"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_eth_mainnet_collateral_type.59a2516e40": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_eth_mainnet_collateral_type.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_collateral_type.59a2516e40", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_liquidation_eth_mainnet_collateral_type"], "alias": "not_null_core_liquidation_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.561808, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_eth_mainnet_sender.734f70adf9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_eth_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_eth_mainnet_sender.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_sender.734f70adf9", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_liquidation_eth_mainnet_sender"], "alias": "not_null_core_liquidation_eth_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5634704, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_eth_mainnet_account_id.13c94e5d02": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_eth_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_eth_mainnet_account_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_account_id.13c94e5d02", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_liquidation_eth_mainnet_account_id"], "alias": "not_null_core_liquidation_eth_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5650702, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_account_id__True__0.d050e2f72d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_eth_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__a5076d6da76c2ebdad71369ab529d017.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_account_id__True__0.d050e2f72d", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_liquidation_eth_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__a5076d6da76c2ebdad71369ab529d017", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__a5076d6da76c2ebdad71369ab529d017", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__a5076d6da76c2ebdad71369ab529d017"}, "created_at": 1723584316.5667224, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__a5076d6da76c2ebdad71369ab529d017\") }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a5076d6da76c2ebdad71369ab529d017.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_liquidation_eth_mainnet_transaction_hash.e3478512f6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_transaction_hash.e3478512f6", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_liquidation_eth_mainnet_transaction_hash"], "alias": "not_null_core_liquidation_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.570891, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_eth_mainnet_liquidate_as_account_id.778690c632": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_eth_mainnet_liquidate_as_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_eth_mainnet_liquidate_as_account_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_liquidate_as_account_id.778690c632", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_liquidation_eth_mainnet_liquidate_as_account_id"], "alias": "not_null_core_liquidation_eth_mainnet_liquidate_as_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5725574, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_liquidate_as_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidate_as_account_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\nwhere liquidate_as_account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_liquidate_as_account_id__True__0.02ffa79c7a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_eth_mainnet_liquidate_as_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__64b2bd4201fb2e04ff0fdf39861a2977.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_liquidate_as_account_id__True__0.02ffa79c7a", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_liquidation_eth_mainnet_liquidate_as_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__64b2bd4201fb2e04ff0fdf39861a2977", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__64b2bd4201fb2e04ff0fdf39861a2977", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__64b2bd4201fb2e04ff0fdf39861a2977"}, "created_at": 1723584316.574728, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__64b2bd4201fb2e04ff0fdf39861a2977\") }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__64b2bd4201fb2e04ff0fdf39861a2977.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not liquidate_as_account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_id.f7dedb5ddb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_id.f7dedb5ddb", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_id"], "alias": "not_null_core_market_updated_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5787659, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_updated_eth_mainnet_id.7cd00231f1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_updated_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_updated_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_updated_eth_mainnet_id.7cd00231f1", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_market_updated_eth_mainnet_id"], "alias": "unique_core_market_updated_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5804121, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_market_updated_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_block_timestamp.683bea78d4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_block_timestamp.683bea78d4", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_block_timestamp"], "alias": "not_null_core_market_updated_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5822015, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_block_number.f4a7497fbe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_block_number.f4a7497fbe", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_block_number"], "alias": "not_null_core_market_updated_eth_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5838404, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_transaction_hash.3a0d8e52a3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_transaction_hash.3a0d8e52a3", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_transaction_hash"], "alias": "not_null_core_market_updated_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5854354, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_contract.97f87c3b4a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_contract.97f87c3b4a", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_contract"], "alias": "not_null_core_market_updated_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5870187, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_event_name.6d64c2a842": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_event_name.6d64c2a842", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_event_name"], "alias": "not_null_core_market_updated_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5887532, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.7de7687ac0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_market_up_7ba076211cbbb640a048ec7634d09886.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.7de7687ac0", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited"], "alias": "accepted_values_core_market_up_7ba076211cbbb640a048ec7634d09886", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_market_up_7ba076211cbbb640a048ec7634d09886", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_market_up_7ba076211cbbb640a048ec7634d09886"}, "created_at": 1723584316.5903955, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_market_up_7ba076211cbbb640a048ec7634d09886\") }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_market_up_7ba076211cbbb640a048ec7634d09886.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCollateralWithdrawn", "MarketCollateralDeposited", "MarketUsdWithdrawn", "MarketUsdDeposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_market_id.649fb28529": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_eth_mainnet_market_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_market_id.649fb28529", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_market_id"], "alias": "not_null_core_market_updated_eth_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5959904, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_market_id__True__0.58438c84b4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_eth_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__850d1d54cc44743490eead197c78549e.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_market_id__True__0.58438c84b4", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_market_updated_eth_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_core__850d1d54cc44743490eead197c78549e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__850d1d54cc44743490eead197c78549e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__850d1d54cc44743490eead197c78549e"}, "created_at": 1723584316.5977483, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__850d1d54cc44743490eead197c78549e\") }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__850d1d54cc44743490eead197c78549e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_net_issuance.3e92a0dc4a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_net_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_eth_mainnet_net_issuance.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_net_issuance.3e92a0dc4a", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_net_issuance"], "alias": "not_null_core_market_updated_eth_mainnet_net_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6019511, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_net_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect net_issuance\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\nwhere net_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "net_issuance", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "net_issuance", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_deposited_collateral_value.93b2bdea02": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_deposited_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_e_f4a48863c0b61b139248c098c824a58f.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_deposited_collateral_value.93b2bdea02", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_deposited_collateral_value"], "alias": "not_null_core_market_updated_e_f4a48863c0b61b139248c098c824a58f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_market_updated_e_f4a48863c0b61b139248c098c824a58f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_market_updated_e_f4a48863c0b61b139248c098c824a58f"}, "created_at": 1723584316.6036272, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_market_updated_e_f4a48863c0b61b139248c098c824a58f\") }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_e_f4a48863c0b61b139248c098c824a58f.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect deposited_collateral_value\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\nwhere deposited_collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "deposited_collateral_value", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "deposited_collateral_value", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_deposited_collateral_value__True__0.06de946dba": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_eth_mainnet_deposited_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__0e00d04e52857726685b46491eb3126f.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_deposited_collateral_value__True__0.06de946dba", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_market_updated_eth_mainnet_deposited_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_core__0e00d04e52857726685b46491eb3126f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__0e00d04e52857726685b46491eb3126f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__0e00d04e52857726685b46491eb3126f"}, "created_at": 1723584316.6052437, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__0e00d04e52857726685b46491eb3126f\") }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__0e00d04e52857726685b46491eb3126f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not deposited_collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "deposited_collateral_value", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "deposited_collateral_value", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_sender.12a64a65ef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_eth_mainnet_sender.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_sender.12a64a65ef", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_sender"], "alias": "not_null_core_market_updated_eth_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6094546, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_collateral_type.c83211fd2f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_eth_mainnet_collateral_type.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_collateral_type.c83211fd2f", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_collateral_type"], "alias": "not_null_core_market_updated_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6111221, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_credit_capacity.baa89e2e5a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_credit_capacity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_eth_mainnet_credit_capacity.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_credit_capacity.baa89e2e5a", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_credit_capacity"], "alias": "not_null_core_market_updated_eth_mainnet_credit_capacity", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6127615, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_credit_capacity.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect credit_capacity\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\nwhere credit_capacity is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "credit_capacity", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "credit_capacity", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_token_amount.a9f6d4a588": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_eth_mainnet_token_amount.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_token_amount.a9f6d4a588", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_token_amount"], "alias": "not_null_core_market_updated_eth_mainnet_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6145492, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_token_amount__True__0.fdf0db60b7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_eth_mainnet_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__dcb9f3d0eb710936590e4744a1dba9a1.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_token_amount__True__0.fdf0db60b7", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_market_updated_eth_mainnet_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__dcb9f3d0eb710936590e4744a1dba9a1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__dcb9f3d0eb710936590e4744a1dba9a1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__dcb9f3d0eb710936590e4744a1dba9a1"}, "created_at": 1723584316.6162405, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__dcb9f3d0eb710936590e4744a1dba9a1\") }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__dcb9f3d0eb710936590e4744a1dba9a1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_registered_eth_mainnet_market.fccda96dc8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_eth_mainnet_market", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_eth_mainnet_market.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_market.fccda96dc8", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_registered_eth_mainnet_market"], "alias": "not_null_core_market_registered_eth_mainnet_market", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6204035, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_market.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_mainnet\"\nwhere market is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market", "file_key_name": "models.core_market_registered_eth_mainnet", "attached_node": "model.synthetix.core_market_registered_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market", "model": "{{ get_where_subquery(ref('core_market_registered_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_eth_mainnet_market_id.2e945dec67": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_eth_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_eth_mainnet_market_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_market_id.2e945dec67", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_registered_eth_mainnet_market_id"], "alias": "not_null_core_market_registered_eth_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6222556, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_registered_eth_mainnet", "attached_node": "model.synthetix.core_market_registered_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_registered_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_registered_eth_mainnet_market_id.496c543395": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_registered_eth_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_registered_eth_mainnet_market_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_registered_eth_mainnet_market_id.496c543395", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_market_registered_eth_mainnet_market_id"], "alias": "unique_core_market_registered_eth_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6239247, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_market_registered_eth_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n market_id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_mainnet\"\nwhere market_id is not null\ngroup by market_id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_registered_eth_mainnet", "attached_node": "model.synthetix.core_market_registered_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_registered_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_eth_mainnet_id.35b1e4e0f3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_id.35b1e4e0f3", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_registered_eth_mainnet_id"], "alias": "not_null_core_market_registered_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6255517, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_registered_eth_mainnet", "attached_node": "model.synthetix.core_market_registered_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_registered_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_registered_eth_mainnet_id.ae732b851b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_registered_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_registered_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_registered_eth_mainnet_id.ae732b851b", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_market_registered_eth_mainnet_id"], "alias": "unique_core_market_registered_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6272485, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_market_registered_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_registered_eth_mainnet", "attached_node": "model.synthetix.core_market_registered_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_registered_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_eth_mainnet_block_timestamp.0b8054a50c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_block_timestamp.0b8054a50c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_registered_eth_mainnet_block_timestamp"], "alias": "not_null_core_market_registered_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.629023, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_market_registered_eth_mainnet", "attached_node": "model.synthetix.core_market_registered_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_market_registered_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_eth_mainnet_contract.f582853f53": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_contract.f582853f53", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_registered_eth_mainnet_contract"], "alias": "not_null_core_market_registered_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.630653, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_market_registered_eth_mainnet", "attached_node": "model.synthetix.core_market_registered_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_market_registered_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_eth_mainnet_transaction_hash.7c581f179e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_transaction_hash.7c581f179e", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_registered_eth_mainnet_transaction_hash"], "alias": "not_null_core_market_registered_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.632302, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_market_registered_eth_mainnet", "attached_node": "model.synthetix.core_market_registered_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_market_registered_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_eth_mainnet_block_number.7eec7e8f2c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_block_number.7eec7e8f2c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_registered_eth_mainnet_block_number"], "alias": "not_null_core_market_registered_eth_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.633937, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_market_registered_eth_mainnet", "attached_node": "model.synthetix.core_market_registered_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_market_registered_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_eth_mainnet_event_name.0d26c502fa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_event_name.0d26c502fa", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_registered_eth_mainnet_event_name"], "alias": "not_null_core_market_registered_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6355634, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_registered_eth_mainnet", "attached_node": "model.synthetix.core_market_registered_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_registered_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_market_registered_eth_mainnet_event_name__MarketRegistered.db8e4ac8d2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_market_registered_eth_mainnet_event_name__MarketRegistered", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_market_re_2dfb6bc88e97780111c93264c2a9579e.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_market_registered_eth_mainnet_event_name__MarketRegistered.db8e4ac8d2", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_market_registered_eth_mainnet_event_name__MarketRegistered"], "alias": "accepted_values_core_market_re_2dfb6bc88e97780111c93264c2a9579e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_market_re_2dfb6bc88e97780111c93264c2a9579e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_market_re_2dfb6bc88e97780111c93264c2a9579e"}, "created_at": 1723584316.637337, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_market_re_2dfb6bc88e97780111c93264c2a9579e\") }}", "language": "sql", "refs": [{"name": "core_market_registered_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_market_re_2dfb6bc88e97780111c93264c2a9579e.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketRegistered'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_registered_eth_mainnet", "attached_node": "model.synthetix.core_market_registered_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketRegistered"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_registered_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_eth_mainnet_sender.6e63d1acbc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_eth_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_eth_mainnet_sender.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_sender.6e63d1acbc", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_registered_eth_mainnet_sender"], "alias": "not_null_core_market_registered_eth_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6417613, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_market_registered_eth_mainnet", "attached_node": "model.synthetix.core_market_registered_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_market_registered_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_eth_mainnet_contract.31bb49a3da": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_contract.31bb49a3da", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_pool_created_eth_mainnet_contract"], "alias": "not_null_core_pool_created_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6436722, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_pool_created_eth_mainnet", "attached_node": "model.synthetix.core_pool_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_pool_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_eth_mainnet_sender.0e2161372e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_eth_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_eth_mainnet_sender.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_sender.0e2161372e", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_pool_created_eth_mainnet_sender"], "alias": "not_null_core_pool_created_eth_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6453836, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_pool_created_eth_mainnet", "attached_node": "model.synthetix.core_pool_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_pool_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_eth_mainnet_block_timestamp.edc63e1dd6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_block_timestamp.edc63e1dd6", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_pool_created_eth_mainnet_block_timestamp"], "alias": "not_null_core_pool_created_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6470246, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_pool_created_eth_mainnet", "attached_node": "model.synthetix.core_pool_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_pool_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_eth_mainnet_id.d903c0dfc4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_id.d903c0dfc4", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_pool_created_eth_mainnet_id"], "alias": "not_null_core_pool_created_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6486878, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_pool_created_eth_mainnet", "attached_node": "model.synthetix.core_pool_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_pool_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_pool_created_eth_mainnet_id.8a7d542185": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_pool_created_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_pool_created_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_pool_created_eth_mainnet_id.8a7d542185", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_pool_created_eth_mainnet_id"], "alias": "unique_core_pool_created_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6504216, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_pool_created_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_pool_created_eth_mainnet", "attached_node": "model.synthetix.core_pool_created_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_pool_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_eth_mainnet_block_number.2f99b31050": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_block_number.2f99b31050", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_pool_created_eth_mainnet_block_number"], "alias": "not_null_core_pool_created_eth_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6520784, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_pool_created_eth_mainnet", "attached_node": "model.synthetix.core_pool_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_pool_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_eth_mainnet_transaction_hash.c51273100e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_transaction_hash.c51273100e", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_pool_created_eth_mainnet_transaction_hash"], "alias": "not_null_core_pool_created_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6536908, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_pool_created_eth_mainnet", "attached_node": "model.synthetix.core_pool_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_pool_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_eth_mainnet_event_name.86049849e6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_event_name.86049849e6", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_pool_created_eth_mainnet_event_name"], "alias": "not_null_core_pool_created_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6553373, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_pool_created_eth_mainnet", "attached_node": "model.synthetix.core_pool_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_pool_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_pool_created_eth_mainnet_event_name__PoolCreated.109464a698": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_pool_created_eth_mainnet_event_name__PoolCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_pool_crea_46b6678307559277d42bf31c285cce68.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_pool_created_eth_mainnet_event_name__PoolCreated.109464a698", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_pool_created_eth_mainnet_event_name__PoolCreated"], "alias": "accepted_values_core_pool_crea_46b6678307559277d42bf31c285cce68", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_pool_crea_46b6678307559277d42bf31c285cce68", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_pool_crea_46b6678307559277d42bf31c285cce68"}, "created_at": 1723584316.6569977, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_pool_crea_46b6678307559277d42bf31c285cce68\") }}", "language": "sql", "refs": [{"name": "core_pool_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_pool_crea_46b6678307559277d42bf31c285cce68.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'PoolCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_pool_created_eth_mainnet", "attached_node": "model.synthetix.core_pool_created_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PoolCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_pool_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_eth_mainnet_owner.4ac2c4d7d7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_eth_mainnet_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_eth_mainnet_owner.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_owner.4ac2c4d7d7", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_pool_created_eth_mainnet_owner"], "alias": "not_null_core_pool_created_eth_mainnet_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.661827, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.core_pool_created_eth_mainnet", "attached_node": "model.synthetix.core_pool_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('core_pool_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_eth_mainnet_pool_id.6662208418": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_eth_mainnet_pool_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_pool_id.6662208418", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_pool_created_eth_mainnet_pool_id"], "alias": "not_null_core_pool_created_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6634934, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_pool_created_eth_mainnet", "attached_node": "model.synthetix.core_pool_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_pool_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_pool_created_eth_mainnet_pool_id__True__0.7c8df298df": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_pool_created_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__55547c93691aab2c68f12ab54bd8eeb6.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_pool_created_eth_mainnet_pool_id__True__0.7c8df298df", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_pool_created_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__55547c93691aab2c68f12ab54bd8eeb6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__55547c93691aab2c68f12ab54bd8eeb6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__55547c93691aab2c68f12ab54bd8eeb6"}, "created_at": 1723584316.6652882, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__55547c93691aab2c68f12ab54bd8eeb6\") }}", "language": "sql", "refs": [{"name": "core_pool_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__55547c93691aab2c68f12ab54bd8eeb6.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_pool_created_eth_mainnet", "attached_node": "model.synthetix.core_pool_created_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_pool_created_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_transaction_hash.db7f7a63db": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_transaction_hash.db7f7a63db", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_claimed_eth_mainnet_transaction_hash"], "alias": "not_null_core_rewards_claimed_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6693811, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_account_id.a671c2ed40": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_eth_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_eth_mainnet_account_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_account_id.a671c2ed40", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_claimed_eth_mainnet_account_id"], "alias": "not_null_core_rewards_claimed_eth_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6712592, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_account_id__True__0.7eae5581d0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__ab3340df585e5d39571d087ca7bda546.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_account_id__True__0.7eae5581d0", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__ab3340df585e5d39571d087ca7bda546", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__ab3340df585e5d39571d087ca7bda546", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__ab3340df585e5d39571d087ca7bda546"}, "created_at": 1723584316.6729233, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__ab3340df585e5d39571d087ca7bda546\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ab3340df585e5d39571d087ca7bda546.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_collateral_type.440762309c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_eth_mainnet_collateral_type.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_collateral_type.440762309c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_claimed_eth_mainnet_collateral_type"], "alias": "not_null_core_rewards_claimed_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.677006, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_event_name.b83d684e5d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_event_name.b83d684e5d", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_claimed_eth_mainnet_event_name"], "alias": "not_null_core_rewards_claimed_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6788177, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_rewards_claimed_eth_mainnet_event_name__RewardsClaimed.e5c952f144": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_rewards_claimed_eth_mainnet_event_name__RewardsClaimed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_rewards_c_3400470aa0b3513778ddaae1366c24b7.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_rewards_claimed_eth_mainnet_event_name__RewardsClaimed.e5c952f144", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_rewards_claimed_eth_mainnet_event_name__RewardsClaimed"], "alias": "accepted_values_core_rewards_c_3400470aa0b3513778ddaae1366c24b7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_rewards_c_3400470aa0b3513778ddaae1366c24b7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_rewards_c_3400470aa0b3513778ddaae1366c24b7"}, "created_at": 1723584316.680503, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_rewards_c_3400470aa0b3513778ddaae1366c24b7\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_rewards_c_3400470aa0b3513778ddaae1366c24b7.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'RewardsClaimed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["RewardsClaimed"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_contract.fba4f37c05": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_contract.fba4f37c05", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_claimed_eth_mainnet_contract"], "alias": "not_null_core_rewards_claimed_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6850247, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_amount.aa1ebaa88c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_eth_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_eth_mainnet_amount.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_amount.aa1ebaa88c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_claimed_eth_mainnet_amount"], "alias": "not_null_core_rewards_claimed_eth_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6866841, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_amount__True__0.8d7de0dad3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__2334d836541a83e1bf5131c9f2ebcf12.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_amount__True__0.8d7de0dad3", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__2334d836541a83e1bf5131c9f2ebcf12", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__2334d836541a83e1bf5131c9f2ebcf12", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__2334d836541a83e1bf5131c9f2ebcf12"}, "created_at": 1723584316.6883714, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__2334d836541a83e1bf5131c9f2ebcf12\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__2334d836541a83e1bf5131c9f2ebcf12.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_distributor.728609281c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_eth_mainnet_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_eth_mainnet_distributor.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_distributor.728609281c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_claimed_eth_mainnet_distributor"], "alias": "not_null_core_rewards_claimed_eth_mainnet_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.692649, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_block_timestamp.890e664a3c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_block_timestamp.890e664a3c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_claimed_eth_mainnet_block_timestamp"], "alias": "not_null_core_rewards_claimed_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.694281, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_id.d534df2fd8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_id.d534df2fd8", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_claimed_eth_mainnet_id"], "alias": "not_null_core_rewards_claimed_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6959414, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_rewards_claimed_eth_mainnet_id.b73c8da16c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_rewards_claimed_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_rewards_claimed_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_rewards_claimed_eth_mainnet_id.b73c8da16c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_rewards_claimed_eth_mainnet_id"], "alias": "unique_core_rewards_claimed_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6976848, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_rewards_claimed_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_pool_id.760bae7f85": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_eth_mainnet_pool_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_pool_id.760bae7f85", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_claimed_eth_mainnet_pool_id"], "alias": "not_null_core_rewards_claimed_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6994276, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_pool_id__True__0.4ee2d574e0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__b5c763d35850d0285215e75d16281f41.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_pool_id__True__0.4ee2d574e0", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__b5c763d35850d0285215e75d16281f41", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__b5c763d35850d0285215e75d16281f41", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__b5c763d35850d0285215e75d16281f41"}, "created_at": 1723584316.701079, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__b5c763d35850d0285215e75d16281f41\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b5c763d35850d0285215e75d16281f41.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_block_number.fb82a92db5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_block_number.fb82a92db5", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_claimed_eth_mainnet_block_number"], "alias": "not_null_core_rewards_claimed_eth_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7053263, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_id.cb5898e934": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_id.cb5898e934", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_distributed_eth_mainnet_id"], "alias": "not_null_core_rewards_distributed_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.706984, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_rewards_distributed_eth_mainnet_id.48f45b85d1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_rewards_distributed_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_rewards_distributed_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_rewards_distributed_eth_mainnet_id.48f45b85d1", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_rewards_distributed_eth_mainnet_id"], "alias": "unique_core_rewards_distributed_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.708688, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_rewards_distributed_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_event_name.193bdd11d3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_event_name.193bdd11d3", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_distributed_eth_mainnet_event_name"], "alias": "not_null_core_rewards_distributed_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.710311, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_rewards_distributed_eth_mainnet_event_name__RewardsDistributed.fae0bd904b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_rewards_distributed_eth_mainnet_event_name__RewardsDistributed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_rewards_d_422012a5b2e64aa65e3be081b505e9bb.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_rewards_distributed_eth_mainnet_event_name__RewardsDistributed.fae0bd904b", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_rewards_distributed_eth_mainnet_event_name__RewardsDistributed"], "alias": "accepted_values_core_rewards_d_422012a5b2e64aa65e3be081b505e9bb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_rewards_d_422012a5b2e64aa65e3be081b505e9bb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_rewards_d_422012a5b2e64aa65e3be081b505e9bb"}, "created_at": 1723584316.711944, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_rewards_d_422012a5b2e64aa65e3be081b505e9bb\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_rewards_d_422012a5b2e64aa65e3be081b505e9bb.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'RewardsDistributed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["RewardsDistributed"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_amount.a39a6908b6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_eth_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_eth_mainnet_amount.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_amount.a39a6908b6", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_distributed_eth_mainnet_amount"], "alias": "not_null_core_rewards_distributed_eth_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7163875, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_amount__True__0.43de804120": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__157d6b4dbbb0fac88dba100ee1b9cfd9.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_amount__True__0.43de804120", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__157d6b4dbbb0fac88dba100ee1b9cfd9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__157d6b4dbbb0fac88dba100ee1b9cfd9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__157d6b4dbbb0fac88dba100ee1b9cfd9"}, "created_at": 1723584316.718054, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__157d6b4dbbb0fac88dba100ee1b9cfd9\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__157d6b4dbbb0fac88dba100ee1b9cfd9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_contract.4cb5b10595": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_contract.4cb5b10595", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_distributed_eth_mainnet_contract"], "alias": "not_null_core_rewards_distributed_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7222238, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_block_timestamp.f066e2381d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_block_timestamp.f066e2381d", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_distributed_eth_mainnet_block_timestamp"], "alias": "not_null_core_rewards_distributed_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7239058, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_transaction_hash.dd811ca405": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_transaction_hash.dd811ca405", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_distributed_eth_mainnet_transaction_hash"], "alias": "not_null_core_rewards_distributed_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7255256, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_collateral_type.2475fcd59d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_eth_mainnet_collateral_type.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_collateral_type.2475fcd59d", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_distributed_eth_mainnet_collateral_type"], "alias": "not_null_core_rewards_distributed_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.727288, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_block_number.79a91ea969": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_block_number.79a91ea969", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_distributed_eth_mainnet_block_number"], "alias": "not_null_core_rewards_distributed_eth_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7289233, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_duration.07b5947e7c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_eth_mainnet_duration", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_eth_mainnet_duration.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_duration.07b5947e7c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_distributed_eth_mainnet_duration"], "alias": "not_null_core_rewards_distributed_eth_mainnet_duration", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7305396, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_duration.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect duration\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\nwhere duration is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "duration", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "duration", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_duration__True__0.7d6965f572": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_duration__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__64fe8859043095bb79f806a2fc2e3ad0.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_duration__True__0.7d6965f572", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_duration__True__0"], "alias": "dbt_utils_accepted_range_core__64fe8859043095bb79f806a2fc2e3ad0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__64fe8859043095bb79f806a2fc2e3ad0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__64fe8859043095bb79f806a2fc2e3ad0"}, "created_at": 1723584316.7321904, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__64fe8859043095bb79f806a2fc2e3ad0\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__64fe8859043095bb79f806a2fc2e3ad0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not duration >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "duration", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "duration", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_distributor.7022e12146": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_eth_mainnet_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_eth_mainnet_distributor.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_distributor.7022e12146", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_distributed_eth_mainnet_distributor"], "alias": "not_null_core_rewards_distributed_eth_mainnet_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7363698, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_pool_id.059709c3dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_eth_mainnet_pool_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_pool_id.059709c3dd", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_distributed_eth_mainnet_pool_id"], "alias": "not_null_core_rewards_distributed_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7380414, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_pool_id__True__0.37dd01cd96": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__87da3698c05a0c2dec1c49bbf2c2dc1a.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_pool_id__True__0.37dd01cd96", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__87da3698c05a0c2dec1c49bbf2c2dc1a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__87da3698c05a0c2dec1c49bbf2c2dc1a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__87da3698c05a0c2dec1c49bbf2c2dc1a"}, "created_at": 1723584316.7397244, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__87da3698c05a0c2dec1c49bbf2c2dc1a\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__87da3698c05a0c2dec1c49bbf2c2dc1a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_eth_mainnet_amount.45ebd0ede8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_eth_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_eth_mainnet_amount.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_amount.45ebd0ede8", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_burned_eth_mainnet_amount"], "alias": "not_null_core_usd_burned_eth_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7442176, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_amount__True__0.7cba0ca593": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_eth_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__6b66c2ba0887795645e99b88deb4f1ea.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_amount__True__0.7cba0ca593", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_usd_burned_eth_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__6b66c2ba0887795645e99b88deb4f1ea", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__6b66c2ba0887795645e99b88deb4f1ea", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__6b66c2ba0887795645e99b88deb4f1ea"}, "created_at": 1723584316.7458575, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__6b66c2ba0887795645e99b88deb4f1ea\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__6b66c2ba0887795645e99b88deb4f1ea.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_eth_mainnet_pool_id.e4d58d3b63": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_eth_mainnet_pool_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_pool_id.e4d58d3b63", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_burned_eth_mainnet_pool_id"], "alias": "not_null_core_usd_burned_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7500231, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_pool_id__True__0.cc44e47fc8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__ed349b171986df3283564b0b5bc71aea.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_pool_id__True__0.cc44e47fc8", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_usd_burned_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__ed349b171986df3283564b0b5bc71aea", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__ed349b171986df3283564b0b5bc71aea", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__ed349b171986df3283564b0b5bc71aea"}, "created_at": 1723584316.7516963, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__ed349b171986df3283564b0b5bc71aea\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ed349b171986df3283564b0b5bc71aea.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_eth_mainnet_event_name.7f0fc644d5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_event_name.7f0fc644d5", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_burned_eth_mainnet_event_name"], "alias": "not_null_core_usd_burned_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.755915, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_usd_burned_eth_mainnet_event_name__UsdBurned.1eb7853972": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_usd_burned_eth_mainnet_event_name__UsdBurned", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_usd_burne_d199b1326f4abeafe146163d7e82cac2.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_usd_burned_eth_mainnet_event_name__UsdBurned.1eb7853972", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_usd_burned_eth_mainnet_event_name__UsdBurned"], "alias": "accepted_values_core_usd_burne_d199b1326f4abeafe146163d7e82cac2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_usd_burne_d199b1326f4abeafe146163d7e82cac2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_usd_burne_d199b1326f4abeafe146163d7e82cac2"}, "created_at": 1723584316.7575831, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_usd_burne_d199b1326f4abeafe146163d7e82cac2\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_usd_burne_d199b1326f4abeafe146163d7e82cac2.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'UsdBurned'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["UsdBurned"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_eth_mainnet_id.161a49599f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_id.161a49599f", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_burned_eth_mainnet_id"], "alias": "not_null_core_usd_burned_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7620916, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_usd_burned_eth_mainnet_id.482b04a60c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_usd_burned_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_usd_burned_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_usd_burned_eth_mainnet_id.482b04a60c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_usd_burned_eth_mainnet_id"], "alias": "unique_core_usd_burned_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7637715, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_usd_burned_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_eth_mainnet_block_number.b5e8a371fc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_block_number.b5e8a371fc", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_burned_eth_mainnet_block_number"], "alias": "not_null_core_usd_burned_eth_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7654188, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_eth_mainnet_account_id.fc5fb3a0e5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_eth_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_eth_mainnet_account_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_account_id.fc5fb3a0e5", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_burned_eth_mainnet_account_id"], "alias": "not_null_core_usd_burned_eth_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7670445, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_account_id__True__0.6d8f7f7d85": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_eth_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__a490407e83132725bbc6fc0001adefe6.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_account_id__True__0.6d8f7f7d85", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_usd_burned_eth_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__a490407e83132725bbc6fc0001adefe6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__a490407e83132725bbc6fc0001adefe6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__a490407e83132725bbc6fc0001adefe6"}, "created_at": 1723584316.7688618, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__a490407e83132725bbc6fc0001adefe6\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a490407e83132725bbc6fc0001adefe6.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_eth_mainnet_sender.62bbe0ad28": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_eth_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_eth_mainnet_sender.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_sender.62bbe0ad28", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_burned_eth_mainnet_sender"], "alias": "not_null_core_usd_burned_eth_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.772941, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_eth_mainnet_transaction_hash.e57add79d6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_transaction_hash.e57add79d6", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_burned_eth_mainnet_transaction_hash"], "alias": "not_null_core_usd_burned_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.774748, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_eth_mainnet_contract.f9009e6423": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_contract.f9009e6423", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_burned_eth_mainnet_contract"], "alias": "not_null_core_usd_burned_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7763891, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_eth_mainnet_collateral_type.6dbc31d2ac": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_eth_mainnet_collateral_type.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_collateral_type.6dbc31d2ac", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_burned_eth_mainnet_collateral_type"], "alias": "not_null_core_usd_burned_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.77801, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_eth_mainnet_block_timestamp.616215c03f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_block_timestamp.616215c03f", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_burned_eth_mainnet_block_timestamp"], "alias": "not_null_core_usd_burned_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.779644, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_eth_mainnet_pool_id.dd8998f0f3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_eth_mainnet_pool_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_pool_id.dd8998f0f3", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_minted_eth_mainnet_pool_id"], "alias": "not_null_core_usd_minted_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7812548, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_pool_id__True__0.2d561e9842": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__f44247063799070cde0de14f062cb55c.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_pool_id__True__0.2d561e9842", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_usd_minted_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__f44247063799070cde0de14f062cb55c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__f44247063799070cde0de14f062cb55c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__f44247063799070cde0de14f062cb55c"}, "created_at": 1723584316.7829623, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__f44247063799070cde0de14f062cb55c\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__f44247063799070cde0de14f062cb55c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_eth_mainnet_block_timestamp.e1477f67df": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_block_timestamp.e1477f67df", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_minted_eth_mainnet_block_timestamp"], "alias": "not_null_core_usd_minted_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7870364, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_eth_mainnet_account_id.e32d9e9621": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_eth_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_eth_mainnet_account_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_account_id.e32d9e9621", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_minted_eth_mainnet_account_id"], "alias": "not_null_core_usd_minted_eth_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7888906, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_account_id__True__0.b6d81dac3d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_eth_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__4933a15ad47f5808b128f72fc5a2f764.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_account_id__True__0.b6d81dac3d", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_usd_minted_eth_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__4933a15ad47f5808b128f72fc5a2f764", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__4933a15ad47f5808b128f72fc5a2f764", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__4933a15ad47f5808b128f72fc5a2f764"}, "created_at": 1723584316.7905352, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__4933a15ad47f5808b128f72fc5a2f764\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4933a15ad47f5808b128f72fc5a2f764.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_eth_mainnet_collateral_type.3bc61e56d9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_eth_mainnet_collateral_type.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_collateral_type.3bc61e56d9", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_minted_eth_mainnet_collateral_type"], "alias": "not_null_core_usd_minted_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.794758, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_eth_mainnet_block_number.8475901994": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_block_number.8475901994", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_minted_eth_mainnet_block_number"], "alias": "not_null_core_usd_minted_eth_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.796434, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_eth_mainnet_id.5b1199f72c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_id.5b1199f72c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_minted_eth_mainnet_id"], "alias": "not_null_core_usd_minted_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7980607, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_usd_minted_eth_mainnet_id.ccad3381ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_usd_minted_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_usd_minted_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_usd_minted_eth_mainnet_id.ccad3381ec", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_usd_minted_eth_mainnet_id"], "alias": "unique_core_usd_minted_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.799711, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_usd_minted_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_eth_mainnet_sender.31025fd349": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_eth_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_eth_mainnet_sender.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_sender.31025fd349", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_minted_eth_mainnet_sender"], "alias": "not_null_core_usd_minted_eth_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8013418, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_eth_mainnet_amount.d50e5f0da5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_eth_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_eth_mainnet_amount.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_amount.d50e5f0da5", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_minted_eth_mainnet_amount"], "alias": "not_null_core_usd_minted_eth_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8030717, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_amount__True__0.17e2d727c5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_eth_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__fe48a8a9210850d9b04cdea08008e5c6.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_amount__True__0.17e2d727c5", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_usd_minted_eth_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__fe48a8a9210850d9b04cdea08008e5c6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__fe48a8a9210850d9b04cdea08008e5c6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__fe48a8a9210850d9b04cdea08008e5c6"}, "created_at": 1723584316.8047178, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__fe48a8a9210850d9b04cdea08008e5c6\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fe48a8a9210850d9b04cdea08008e5c6.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_eth_mainnet_event_name.061c40bc0a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_event_name.061c40bc0a", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_minted_eth_mainnet_event_name"], "alias": "not_null_core_usd_minted_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8089724, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_usd_minted_eth_mainnet_event_name__UsdMinted.c8d883ddfa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_usd_minted_eth_mainnet_event_name__UsdMinted", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_usd_minte_1cdd80f9a41233e7e9492176e8e94f66.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_usd_minted_eth_mainnet_event_name__UsdMinted.c8d883ddfa", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_usd_minted_eth_mainnet_event_name__UsdMinted"], "alias": "accepted_values_core_usd_minte_1cdd80f9a41233e7e9492176e8e94f66", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_usd_minte_1cdd80f9a41233e7e9492176e8e94f66", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_usd_minte_1cdd80f9a41233e7e9492176e8e94f66"}, "created_at": 1723584316.810642, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_usd_minte_1cdd80f9a41233e7e9492176e8e94f66\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_usd_minte_1cdd80f9a41233e7e9492176e8e94f66.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'UsdMinted'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["UsdMinted"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_eth_mainnet_transaction_hash.dba64c6cd2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_transaction_hash.dba64c6cd2", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_minted_eth_mainnet_transaction_hash"], "alias": "not_null_core_usd_minted_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8152068, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_eth_mainnet_contract.2287afa612": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_contract.2287afa612", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_minted_eth_mainnet_contract"], "alias": "not_null_core_usd_minted_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.816902, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_transaction_hash.5e22cb6ded": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_transaction_hash.5e22cb6ded", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_liquidation_eth_mainnet_transaction_hash"], "alias": "not_null_core_vault_liquidation_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8185363, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_collateral_type.22405706c4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_eth_mainnet_collateral_type.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_collateral_type.22405706c4", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_liquidation_eth_mainnet_collateral_type"], "alias": "not_null_core_vault_liquidation_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8201623, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_pool_id.ca9bfaf7f3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_eth_mainnet_pool_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_pool_id.ca9bfaf7f3", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_liquidation_eth_mainnet_pool_id"], "alias": "not_null_core_vault_liquidation_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8217683, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_pool_id__True__0.cccb8c7cca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__c5fcdbeaa3e1d24749794a9960190a70.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_pool_id__True__0.cccb8c7cca", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__c5fcdbeaa3e1d24749794a9960190a70", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__c5fcdbeaa3e1d24749794a9960190a70", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__c5fcdbeaa3e1d24749794a9960190a70"}, "created_at": 1723584316.823801, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__c5fcdbeaa3e1d24749794a9960190a70\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c5fcdbeaa3e1d24749794a9960190a70.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_event_name.e6bd41012e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_event_name.e6bd41012e", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_liquidation_eth_mainnet_event_name"], "alias": "not_null_core_vault_liquidation_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.827878, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_vault_liquidation_eth_mainnet_event_name__VaultLiquidation.8d1cb5eebf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_vault_liquidation_eth_mainnet_event_name__VaultLiquidation", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_vault_liq_4acb6756b2875f23c737e6e121320177.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_vault_liquidation_eth_mainnet_event_name__VaultLiquidation.8d1cb5eebf", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_vault_liquidation_eth_mainnet_event_name__VaultLiquidation"], "alias": "accepted_values_core_vault_liq_4acb6756b2875f23c737e6e121320177", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_vault_liq_4acb6756b2875f23c737e6e121320177", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_vault_liq_4acb6756b2875f23c737e6e121320177"}, "created_at": 1723584316.8297298, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_vault_liq_4acb6756b2875f23c737e6e121320177\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_vault_liq_4acb6756b2875f23c737e6e121320177.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'VaultLiquidation'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["VaultLiquidation"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_id.11becd0eff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_id.11becd0eff", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_liquidation_eth_mainnet_id"], "alias": "not_null_core_vault_liquidation_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8341084, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_vault_liquidation_eth_mainnet_id.9b474978a9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_vault_liquidation_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_vault_liquidation_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_vault_liquidation_eth_mainnet_id.9b474978a9", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_vault_liquidation_eth_mainnet_id"], "alias": "unique_core_vault_liquidation_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8359663, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_vault_liquidation_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_block_timestamp.439cb16960": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_block_timestamp.439cb16960", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_liquidation_eth_mainnet_block_timestamp"], "alias": "not_null_core_vault_liquidation_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8376176, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_liquidate_as_account_id.978ffc7da9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_eth_mainnet_liquidate_as_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_4be498920f5476d4fbe5b11196fb1973.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_liquidate_as_account_id.978ffc7da9", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_liquidation_eth_mainnet_liquidate_as_account_id"], "alias": "not_null_core_vault_liquidatio_4be498920f5476d4fbe5b11196fb1973", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_4be498920f5476d4fbe5b11196fb1973", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_vault_liquidatio_4be498920f5476d4fbe5b11196fb1973"}, "created_at": 1723584316.8392665, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_4be498920f5476d4fbe5b11196fb1973\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidatio_4be498920f5476d4fbe5b11196fb1973.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidate_as_account_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\nwhere liquidate_as_account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_liquidate_as_account_id__True__0.a9d184de0a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_liquidate_as_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__9decc85dc8999bd440933d85c2c93145.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_liquidate_as_account_id__True__0.a9d184de0a", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_liquidate_as_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__9decc85dc8999bd440933d85c2c93145", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__9decc85dc8999bd440933d85c2c93145", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__9decc85dc8999bd440933d85c2c93145"}, "created_at": 1723584316.840964, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__9decc85dc8999bd440933d85c2c93145\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9decc85dc8999bd440933d85c2c93145.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not liquidate_as_account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_liquidation_data.485b65c6b5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_eth_mainnet_liquidation_data", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_eth_mainnet_liquidation_data.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_liquidation_data.485b65c6b5", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_liquidation_eth_mainnet_liquidation_data"], "alias": "not_null_core_vault_liquidation_eth_mainnet_liquidation_data", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8451953, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_liquidation_data.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidation_data\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\nwhere liquidation_data is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidation_data", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "liquidation_data", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_contract.65501d763b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_contract.65501d763b", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_liquidation_eth_mainnet_contract"], "alias": "not_null_core_vault_liquidation_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8468733, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_block_number.39193d7213": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_block_number.39193d7213", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_liquidation_eth_mainnet_block_number"], "alias": "not_null_core_vault_liquidation_eth_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8485866, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_sender.03a447332b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_eth_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_eth_mainnet_sender.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_sender.03a447332b", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_liquidation_eth_mainnet_sender"], "alias": "not_null_core_vault_liquidation_eth_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.850385, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_eth_mainnet_ts.dc63e45225": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_eth_mainnet_ts.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_ts.dc63e45225", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_collateral_eth_mainnet_ts"], "alias": "not_null_core_vault_collateral_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.852059, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.core_vault_collateral_eth_mainnet", "attached_node": "model.synthetix.core_vault_collateral_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('core_vault_collateral_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_eth_mainnet_block_number.68d8b02925": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_block_number.68d8b02925", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_collateral_eth_mainnet_block_number"], "alias": "not_null_core_vault_collateral_eth_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8536701, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_vault_collateral_eth_mainnet", "attached_node": "model.synthetix.core_vault_collateral_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_collateral_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_eth_mainnet_pool_id.f31cb4b3e6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_eth_mainnet_pool_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_pool_id.f31cb4b3e6", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_collateral_eth_mainnet_pool_id"], "alias": "not_null_core_vault_collateral_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.855311, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_collateral_eth_mainnet", "attached_node": "model.synthetix.core_vault_collateral_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_collateral_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_pool_id__True__0.509da6a489": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__28e82948dc6ab678ad812a53741a8b45.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_pool_id__True__0.509da6a489", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__28e82948dc6ab678ad812a53741a8b45", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__28e82948dc6ab678ad812a53741a8b45", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__28e82948dc6ab678ad812a53741a8b45"}, "created_at": 1723584316.8569565, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__28e82948dc6ab678ad812a53741a8b45\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__28e82948dc6ab678ad812a53741a8b45.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_collateral_eth_mainnet", "attached_node": "model.synthetix.core_vault_collateral_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_collateral_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_eth_mainnet_collateral_type.9ba1fda62f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_eth_mainnet_collateral_type.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_collateral_type.9ba1fda62f", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_collateral_eth_mainnet_collateral_type"], "alias": "not_null_core_vault_collateral_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.861112, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_collateral_eth_mainnet", "attached_node": "model.synthetix.core_vault_collateral_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_collateral_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_eth_mainnet_amount.62dc926f36": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_eth_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_eth_mainnet_amount.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_amount.62dc926f36", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_collateral_eth_mainnet_amount"], "alias": "not_null_core_vault_collateral_eth_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8627477, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_vault_collateral_eth_mainnet", "attached_node": "model.synthetix.core_vault_collateral_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_vault_collateral_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_amount__True__0.320b16493d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__fecc8306cd07aafea6c325ce7fc34ce1.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_amount__True__0.320b16493d", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__fecc8306cd07aafea6c325ce7fc34ce1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__fecc8306cd07aafea6c325ce7fc34ce1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__fecc8306cd07aafea6c325ce7fc34ce1"}, "created_at": 1723584316.8645763, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__fecc8306cd07aafea6c325ce7fc34ce1\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fecc8306cd07aafea6c325ce7fc34ce1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_vault_collateral_eth_mainnet", "attached_node": "model.synthetix.core_vault_collateral_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_vault_collateral_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_eth_mainnet_collateral_value.53d42edc8a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_eth_mainnet_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_eth_mainnet_collateral_value.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_collateral_value.53d42edc8a", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_collateral_eth_mainnet_collateral_value"], "alias": "not_null_core_vault_collateral_eth_mainnet_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8686152, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.core_vault_collateral_eth_mainnet", "attached_node": "model.synthetix.core_vault_collateral_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('core_vault_collateral_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_collateral_value__True__0.17170969dc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__5e1ce99b75b0a3f820babda67941da0a.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_collateral_value__True__0.17170969dc", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_core__5e1ce99b75b0a3f820babda67941da0a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__5e1ce99b75b0a3f820babda67941da0a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__5e1ce99b75b0a3f820babda67941da0a"}, "created_at": 1723584316.8702724, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__5e1ce99b75b0a3f820babda67941da0a\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__5e1ce99b75b0a3f820babda67941da0a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.core_vault_collateral_eth_mainnet", "attached_node": "model.synthetix.core_vault_collateral_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('core_vault_collateral_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_eth_mainnet_contract_address.8b336867d2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_eth_mainnet_contract_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_eth_mainnet_contract_address.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_contract_address.8b336867d2", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_collateral_eth_mainnet_contract_address"], "alias": "not_null_core_vault_collateral_eth_mainnet_contract_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8744347, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_contract_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract_address\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"\nwhere contract_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract_address", "file_key_name": "models.core_vault_collateral_eth_mainnet", "attached_node": "model.synthetix.core_vault_collateral_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract_address", "model": "{{ get_where_subquery(ref('core_vault_collateral_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_eth_mainnet_ts.3b5cb40175": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_eth_mainnet_ts.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_eth_mainnet_ts.3b5cb40175", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_debt_eth_mainnet_ts"], "alias": "not_null_core_vault_debt_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8761086, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_debt_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.core_vault_debt_eth_mainnet", "attached_node": "model.synthetix.core_vault_debt_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('core_vault_debt_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_eth_mainnet_block_number.930416e329": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_eth_mainnet_block_number.930416e329", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_debt_eth_mainnet_block_number"], "alias": "not_null_core_vault_debt_eth_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.877964, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_debt_eth_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_vault_debt_eth_mainnet", "attached_node": "model.synthetix.core_vault_debt_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_debt_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_eth_mainnet_pool_id.2f8f15549f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_eth_mainnet_pool_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_eth_mainnet_pool_id.2f8f15549f", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_debt_eth_mainnet_pool_id"], "alias": "not_null_core_vault_debt_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8796525, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_debt_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_debt_eth_mainnet", "attached_node": "model.synthetix.core_vault_debt_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_debt_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_debt_eth_mainnet_pool_id__True__0.55f388e287": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_debt_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__9f11a2c2f57a755a3f6b1e0ffeaa9b87.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_eth_mainnet_pool_id__True__0.55f388e287", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_vault_debt_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__9f11a2c2f57a755a3f6b1e0ffeaa9b87", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__9f11a2c2f57a755a3f6b1e0ffeaa9b87", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__9f11a2c2f57a755a3f6b1e0ffeaa9b87"}, "created_at": 1723584316.8812761, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__9f11a2c2f57a755a3f6b1e0ffeaa9b87\") }}", "language": "sql", "refs": [{"name": "core_vault_debt_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9f11a2c2f57a755a3f6b1e0ffeaa9b87.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_debt_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_debt_eth_mainnet", "attached_node": "model.synthetix.core_vault_debt_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_debt_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_debt_eth_mainnet_collateral_type.557a042f2b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_eth_mainnet_collateral_type.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_eth_mainnet_collateral_type.557a042f2b", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_debt_eth_mainnet_collateral_type"], "alias": "not_null_core_vault_debt_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8855007, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_debt_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_debt_eth_mainnet", "attached_node": "model.synthetix.core_vault_debt_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_debt_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_eth_mainnet_debt.a314c480fe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_eth_mainnet_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_eth_mainnet_debt.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_eth_mainnet_debt.a314c480fe", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_debt_eth_mainnet_debt"], "alias": "not_null_core_vault_debt_eth_mainnet_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8871474, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_debt_eth_mainnet\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.core_vault_debt_eth_mainnet", "attached_node": "model.synthetix.core_vault_debt_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('core_vault_debt_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_eth_mainnet_contract_address.d43dcb9614": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_eth_mainnet_contract_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_eth_mainnet_contract_address.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_eth_mainnet_contract_address.d43dcb9614", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_debt_eth_mainnet_contract_address"], "alias": "not_null_core_vault_debt_eth_mainnet_contract_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8887784, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_contract_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract_address\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_debt_eth_mainnet\"\nwhere contract_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract_address", "file_key_name": "models.core_vault_debt_eth_mainnet", "attached_node": "model.synthetix.core_vault_debt_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract_address", "model": "{{ get_where_subquery(ref('core_vault_debt_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_blocks_arbitrum_mainnet_block_number.60351acf6d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_blocks_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_blocks_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_blocks_arbitrum_mainnet_block_number.60351acf6d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "not_null_blocks_arbitrum_mainnet_block_number"], "alias": "not_null_blocks_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8916287, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/not_null_blocks_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"blocks_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.blocks_arbitrum_mainnet", "attached_node": "model.synthetix.blocks_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('blocks_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_blocks_arbitrum_mainnet_block_number.d70bece923": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_blocks_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "unique_blocks_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/schema.yml", "unique_id": "test.synthetix.unique_blocks_arbitrum_mainnet_block_number.d70bece923", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "unique_blocks_arbitrum_mainnet_block_number"], "alias": "unique_blocks_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8933003, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/unique_blocks_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n block_number as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"blocks_arbitrum_mainnet\"\nwhere block_number is not null\ngroup by block_number\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.blocks_arbitrum_mainnet", "attached_node": "model.synthetix.blocks_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('blocks_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1.e5882e697a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1.sql", "original_file_path": "models/raw/arbitrum/mainnet/schema.yml", "unique_id": "test.synthetix.dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1.e5882e697a", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1"], "alias": "dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8949552, "relation_name": null, "raw_code": "{{ dbt_utils.test_recency(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_recency", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\n\nwith recency as (\n\n select \n\n \n \n max(ts) as most_recent\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"blocks_arbitrum_mainnet\"\n\n \n\n)\n\nselect\n\n \n most_recent,\n cast(\n\n now() + ((interval '1 hour') * (-1))\n\n as timestamp) as threshold\n\nfrom recency\nwhere most_recent < cast(\n\n now() + ((interval '1 hour') * (-1))\n\n as timestamp)\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": null, "file_key_name": "models.blocks_arbitrum_mainnet", "attached_node": "model.synthetix.blocks_arbitrum_mainnet", "test_metadata": {"name": "recency", "kwargs": {"datepart": "hour", "field": "ts", "interval": 1, "model": "{{ get_where_subquery(ref('blocks_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_account_created_arbitrum_mainnet_owner.510bc65b8e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_mainnet_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_mainnet_owner.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_owner.510bc65b8e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_account_created_arbitrum_mainnet_owner"], "alias": "not_null_core_account_created_arbitrum_mainnet_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9258091, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.core_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_account_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_arbitrum_mainnet_account_id.80fd41e8a3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_mainnet_account_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_account_id.80fd41e8a3", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_account_created_arbitrum_mainnet_account_id"], "alias": "not_null_core_account_created_arbitrum_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9275563, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_account_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_account_created_arbitrum_mainnet_account_id__True__0.1a60fd1c13": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_account_created_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__ce84723b0f0bb7e19e3c1cf75ab01e65.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_account_created_arbitrum_mainnet_account_id__True__0.1a60fd1c13", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_account_created_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__ce84723b0f0bb7e19e3c1cf75ab01e65", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__ce84723b0f0bb7e19e3c1cf75ab01e65", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__ce84723b0f0bb7e19e3c1cf75ab01e65"}, "created_at": 1723584316.9292295, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__ce84723b0f0bb7e19e3c1cf75ab01e65\") }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ce84723b0f0bb7e19e3c1cf75ab01e65.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_account_created_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_account_created_arbitrum_mainnet_id.ccb85216a1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_id.ccb85216a1", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_account_created_arbitrum_mainnet_id"], "alias": "not_null_core_account_created_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.933526, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_account_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_account_created_arbitrum_mainnet_id.572cf5cf85": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_account_created_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_account_created_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_account_created_arbitrum_mainnet_id.572cf5cf85", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_account_created_arbitrum_mainnet_id"], "alias": "unique_core_account_created_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9351902, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_account_created_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_account_created_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_arbitrum_mainnet_transaction_hash.ca429d274c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_transaction_hash.ca429d274c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_account_created_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_account_created_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9368415, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_account_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_arbitrum_mainnet_block_number.ad85823ab6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_block_number.ad85823ab6", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_account_created_arbitrum_mainnet_block_number"], "alias": "not_null_core_account_created_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9385905, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_account_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_arbitrum_mainnet_block_timestamp.707ea51d9b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_block_timestamp.707ea51d9b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_account_created_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_account_created_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.940294, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_account_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_arbitrum_mainnet_event_name.f044350ea8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_event_name.f044350ea8", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_account_created_arbitrum_mainnet_event_name"], "alias": "not_null_core_account_created_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9419591, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_account_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_account_created_arbitrum_mainnet_event_name__AccountCreated.8d24ea0d1c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_account_created_arbitrum_mainnet_event_name__AccountCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_account_c_f0b5cfe645ca98dd83a548881dbb231f.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_account_created_arbitrum_mainnet_event_name__AccountCreated.8d24ea0d1c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_account_created_arbitrum_mainnet_event_name__AccountCreated"], "alias": "accepted_values_core_account_c_f0b5cfe645ca98dd83a548881dbb231f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_account_c_f0b5cfe645ca98dd83a548881dbb231f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_account_c_f0b5cfe645ca98dd83a548881dbb231f"}, "created_at": 1723584316.9436266, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_account_c_f0b5cfe645ca98dd83a548881dbb231f\") }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_account_c_f0b5cfe645ca98dd83a548881dbb231f.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'AccountCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_account_created_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["AccountCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_arbitrum_mainnet_contract.51a2890c59": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_contract.51a2890c59", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_account_created_arbitrum_mainnet_contract"], "alias": "not_null_core_account_created_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9478416, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_account_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_contract.ae8a4f4c27": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_contract.ae8a4f4c27", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_delegation_updated_arbitrum_mainnet_contract"], "alias": "not_null_core_delegation_updated_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.949581, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_id.a1e63ca6e1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_id.a1e63ca6e1", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_delegation_updated_arbitrum_mainnet_id"], "alias": "not_null_core_delegation_updated_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9512455, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_delegation_updated_arbitrum_mainnet_id.53afc27917": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_delegation_updated_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_delegation_updated_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_delegation_updated_arbitrum_mainnet_id.53afc27917", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_delegation_updated_arbitrum_mainnet_id"], "alias": "unique_core_delegation_updated_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9529977, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_delegation_updated_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_account_id.1f6cadcc5d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_mainnet_account_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_account_id.1f6cadcc5d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_delegation_updated_arbitrum_mainnet_account_id"], "alias": "not_null_core_delegation_updated_arbitrum_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9546063, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_account_id__True__0.eb3b030871": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__abf56ab13d78830abe56ceb90e3fe727.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_account_id__True__0.eb3b030871", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__abf56ab13d78830abe56ceb90e3fe727", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__abf56ab13d78830abe56ceb90e3fe727", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__abf56ab13d78830abe56ceb90e3fe727"}, "created_at": 1723584316.9562657, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__abf56ab13d78830abe56ceb90e3fe727\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__abf56ab13d78830abe56ceb90e3fe727.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_collateral_type.ca955a713e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updat_ff6c4be455bb5a689b64cffbd9b8359e.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_collateral_type.ca955a713e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_delegation_updated_arbitrum_mainnet_collateral_type"], "alias": "not_null_core_delegation_updat_ff6c4be455bb5a689b64cffbd9b8359e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_delegation_updat_ff6c4be455bb5a689b64cffbd9b8359e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_delegation_updat_ff6c4be455bb5a689b64cffbd9b8359e"}, "created_at": 1723584316.9606643, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_delegation_updat_ff6c4be455bb5a689b64cffbd9b8359e\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updat_ff6c4be455bb5a689b64cffbd9b8359e.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_pool_id.0fcc7a403c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_pool_id.0fcc7a403c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_delegation_updated_arbitrum_mainnet_pool_id"], "alias": "not_null_core_delegation_updated_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9623785, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_pool_id__True__0.ceaf47901a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__dc6042ca5fc188d63643b43860ffe978.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_pool_id__True__0.ceaf47901a", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__dc6042ca5fc188d63643b43860ffe978", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__dc6042ca5fc188d63643b43860ffe978", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__dc6042ca5fc188d63643b43860ffe978"}, "created_at": 1723584316.9641387, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__dc6042ca5fc188d63643b43860ffe978\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__dc6042ca5fc188d63643b43860ffe978.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_sender.7b21b54d07": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_mainnet_sender.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_sender.7b21b54d07", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_delegation_updated_arbitrum_mainnet_sender"], "alias": "not_null_core_delegation_updated_arbitrum_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9684198, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_block_timestamp.bf7b6f5a50": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updat_25d626a6081121e32d064cc583bcb245.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_block_timestamp.bf7b6f5a50", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_delegation_updated_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_delegation_updat_25d626a6081121e32d064cc583bcb245", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_delegation_updat_25d626a6081121e32d064cc583bcb245", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_delegation_updat_25d626a6081121e32d064cc583bcb245"}, "created_at": 1723584316.970065, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_delegation_updat_25d626a6081121e32d064cc583bcb245\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updat_25d626a6081121e32d064cc583bcb245.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_block_number.e7dff1a919": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_block_number.e7dff1a919", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_delegation_updated_arbitrum_mainnet_block_number"], "alias": "not_null_core_delegation_updated_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9716864, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_leverage.e240b1993e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_mainnet_leverage", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_mainnet_leverage.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_leverage.e240b1993e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_delegation_updated_arbitrum_mainnet_leverage"], "alias": "not_null_core_delegation_updated_arbitrum_mainnet_leverage", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9734995, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_leverage.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect leverage\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere leverage is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "leverage", "file_key_name": "models.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "leverage", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_leverage__True__1000000000000000000__1000000000000000000.fa830910e7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_leverage__True__1000000000000000000__1000000000000000000", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__74d4af353caf502d0233666f263aab05.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_leverage__True__1000000000000000000__1000000000000000000.fa830910e7", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_leverage__True__1000000000000000000__1000000000000000000"], "alias": "dbt_utils_accepted_range_core__74d4af353caf502d0233666f263aab05", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__74d4af353caf502d0233666f263aab05", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__74d4af353caf502d0233666f263aab05"}, "created_at": 1723584316.975172, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__74d4af353caf502d0233666f263aab05\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__74d4af353caf502d0233666f263aab05.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not leverage >= 1000000000000000000\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not leverage <= 1000000000000000000\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "leverage", "file_key_name": "models.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 1000000000000000000, "max_value": 1000000000000000000, "inclusive": true, "column_name": "leverage", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_transaction_hash.df3b0b1ada": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updat_6ac250e2c9a952d186fe70b880fd912c.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_transaction_hash.df3b0b1ada", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_delegation_updated_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_delegation_updat_6ac250e2c9a952d186fe70b880fd912c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_delegation_updat_6ac250e2c9a952d186fe70b880fd912c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_delegation_updat_6ac250e2c9a952d186fe70b880fd912c"}, "created_at": 1723584316.9793394, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_delegation_updat_6ac250e2c9a952d186fe70b880fd912c\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updat_6ac250e2c9a952d186fe70b880fd912c.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_amount.790af0bbca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_mainnet_amount.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_amount.790af0bbca", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_delegation_updated_arbitrum_mainnet_amount"], "alias": "not_null_core_delegation_updated_arbitrum_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9811502, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_amount__True__0.4dc42e5b67": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__61e561255e4147ac717892c2ffac2552.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_amount__True__0.4dc42e5b67", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__61e561255e4147ac717892c2ffac2552", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__61e561255e4147ac717892c2ffac2552", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__61e561255e4147ac717892c2ffac2552"}, "created_at": 1723584316.9827883, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__61e561255e4147ac717892c2ffac2552\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__61e561255e4147ac717892c2ffac2552.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_event_name.124ce539d9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_event_name.124ce539d9", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_delegation_updated_arbitrum_mainnet_event_name"], "alias": "not_null_core_delegation_updated_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.987007, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_delegation_updated_arbitrum_mainnet_event_name__DelegationUpdated.8158a7cafc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_delegation_updated_arbitrum_mainnet_event_name__DelegationUpdated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_delegatio_10d8d15fae821bb25ad7292f00624ac0.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_delegation_updated_arbitrum_mainnet_event_name__DelegationUpdated.8158a7cafc", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_delegation_updated_arbitrum_mainnet_event_name__DelegationUpdated"], "alias": "accepted_values_core_delegatio_10d8d15fae821bb25ad7292f00624ac0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_delegatio_10d8d15fae821bb25ad7292f00624ac0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_delegatio_10d8d15fae821bb25ad7292f00624ac0"}, "created_at": 1723584316.988739, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_delegatio_10d8d15fae821bb25ad7292f00624ac0\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_delegatio_10d8d15fae821bb25ad7292f00624ac0.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'DelegationUpdated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["DelegationUpdated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_mainnet_collateral_type.42a3d10d97": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_collateral_type.42a3d10d97", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_deposited_arbitrum_mainnet_collateral_type"], "alias": "not_null_core_deposited_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9934783, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_mainnet_id.2f7b341009": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_id.2f7b341009", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_deposited_arbitrum_mainnet_id"], "alias": "not_null_core_deposited_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9951444, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_deposited_arbitrum_mainnet_id.65592bb86d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_deposited_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_deposited_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_deposited_arbitrum_mainnet_id.65592bb86d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_deposited_arbitrum_mainnet_id"], "alias": "unique_core_deposited_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9967532, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_deposited_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_mainnet_contract.a2cd7b2bb5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_contract.a2cd7b2bb5", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_deposited_arbitrum_mainnet_contract"], "alias": "not_null_core_deposited_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9983494, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_mainnet_event_name.8f5b81cb40": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_event_name.8f5b81cb40", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_deposited_arbitrum_mainnet_event_name"], "alias": "not_null_core_deposited_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9999518, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_deposited_arbitrum_mainnet_event_name__Deposited.63620c995c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_deposited_arbitrum_mainnet_event_name__Deposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_deposited_366c4a08a18bac7687c18ce14ec3027d.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_deposited_arbitrum_mainnet_event_name__Deposited.63620c995c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_deposited_arbitrum_mainnet_event_name__Deposited"], "alias": "accepted_values_core_deposited_366c4a08a18bac7687c18ce14ec3027d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_deposited_366c4a08a18bac7687c18ce14ec3027d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_deposited_366c4a08a18bac7687c18ce14ec3027d"}, "created_at": 1723584317.0016592, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_deposited_366c4a08a18bac7687c18ce14ec3027d\") }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_deposited_366c4a08a18bac7687c18ce14ec3027d.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Deposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Deposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_mainnet_transaction_hash.649446c0bd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_transaction_hash.649446c0bd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_deposited_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_deposited_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.005703, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_mainnet_account_id.c7afbe52a5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_mainnet_account_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_account_id.c7afbe52a5", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_deposited_arbitrum_mainnet_account_id"], "alias": "not_null_core_deposited_arbitrum_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0075498, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_account_id__True__0.2fc937f08c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__a5ecd22e7bdfeb1b3599bfacd78a5738.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_account_id__True__0.2fc937f08c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__a5ecd22e7bdfeb1b3599bfacd78a5738", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__a5ecd22e7bdfeb1b3599bfacd78a5738", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__a5ecd22e7bdfeb1b3599bfacd78a5738"}, "created_at": 1723584317.0092173, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__a5ecd22e7bdfeb1b3599bfacd78a5738\") }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a5ecd22e7bdfeb1b3599bfacd78a5738.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_deposited_arbitrum_mainnet_sender.5f276242f7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_mainnet_sender.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_sender.5f276242f7", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_deposited_arbitrum_mainnet_sender"], "alias": "not_null_core_deposited_arbitrum_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.013256, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_mainnet_block_timestamp.a16e8ef361": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_block_timestamp.a16e8ef361", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_deposited_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_deposited_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0150325, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_mainnet_block_number.689c18351b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_block_number.689c18351b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_deposited_arbitrum_mainnet_block_number"], "alias": "not_null_core_deposited_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0166805, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_mainnet_token_amount.238a5119e6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_mainnet_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_mainnet_token_amount.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_token_amount.238a5119e6", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_deposited_arbitrum_mainnet_token_amount"], "alias": "not_null_core_deposited_arbitrum_mainnet_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0183063, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_token_amount__True__0.825b012474": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__3324e55773a095cfea7b176bf7917ebd.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_token_amount__True__0.825b012474", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__3324e55773a095cfea7b176bf7917ebd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__3324e55773a095cfea7b176bf7917ebd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__3324e55773a095cfea7b176bf7917ebd"}, "created_at": 1723584317.019969, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__3324e55773a095cfea7b176bf7917ebd\") }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3324e55773a095cfea7b176bf7917ebd.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_block_timestamp.0605d1994e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_block_timestamp.0605d1994e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_withdrawn_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_withdrawn_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0241082, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_contract.a8c5968db3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_contract.a8c5968db3", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_withdrawn_arbitrum_mainnet_contract"], "alias": "not_null_core_withdrawn_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.025729, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_block_number.29891eb70b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_block_number.29891eb70b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_withdrawn_arbitrum_mainnet_block_number"], "alias": "not_null_core_withdrawn_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0273674, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_transaction_hash.492d634608": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_transaction_hash.492d634608", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_withdrawn_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_withdrawn_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.029113, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_token_amount.4bc0081148": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_mainnet_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_mainnet_token_amount.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_token_amount.4bc0081148", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_withdrawn_arbitrum_mainnet_token_amount"], "alias": "not_null_core_withdrawn_arbitrum_mainnet_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0307207, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_token_amount__True__0.0008eb5d09": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__1b9682952c91a5545e16c1bfbe752818.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_token_amount__True__0.0008eb5d09", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__1b9682952c91a5545e16c1bfbe752818", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__1b9682952c91a5545e16c1bfbe752818", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__1b9682952c91a5545e16c1bfbe752818"}, "created_at": 1723584317.0324256, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__1b9682952c91a5545e16c1bfbe752818\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__1b9682952c91a5545e16c1bfbe752818.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_collateral_type.772b018013": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_collateral_type.772b018013", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_withdrawn_arbitrum_mainnet_collateral_type"], "alias": "not_null_core_withdrawn_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0366766, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_account_id.ccf8b71875": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_mainnet_account_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_account_id.ccf8b71875", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_withdrawn_arbitrum_mainnet_account_id"], "alias": "not_null_core_withdrawn_arbitrum_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0383182, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_account_id__True__0.8873db614c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__4373ee0fef9904d117ac68961177311c.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_account_id__True__0.8873db614c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__4373ee0fef9904d117ac68961177311c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__4373ee0fef9904d117ac68961177311c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__4373ee0fef9904d117ac68961177311c"}, "created_at": 1723584317.0399854, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__4373ee0fef9904d117ac68961177311c\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4373ee0fef9904d117ac68961177311c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_id.46c5fcd073": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_id.46c5fcd073", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_withdrawn_arbitrum_mainnet_id"], "alias": "not_null_core_withdrawn_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0441768, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_withdrawn_arbitrum_mainnet_id.9810244f0d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_withdrawn_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_withdrawn_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_withdrawn_arbitrum_mainnet_id.9810244f0d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_withdrawn_arbitrum_mainnet_id"], "alias": "unique_core_withdrawn_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.045822, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_withdrawn_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_sender.665f4ade6b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_mainnet_sender.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_sender.665f4ade6b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_withdrawn_arbitrum_mainnet_sender"], "alias": "not_null_core_withdrawn_arbitrum_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0474813, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_event_name.69a5a9a880": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_event_name.69a5a9a880", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_withdrawn_arbitrum_mainnet_event_name"], "alias": "not_null_core_withdrawn_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0492127, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_withdrawn_arbitrum_mainnet_event_name__Withdrawn.e5deebfa14": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_withdrawn_arbitrum_mainnet_event_name__Withdrawn", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_withdrawn_0269f17bd6215ef29080cc4cb1c56b34.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_withdrawn_arbitrum_mainnet_event_name__Withdrawn.e5deebfa14", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_withdrawn_arbitrum_mainnet_event_name__Withdrawn"], "alias": "accepted_values_core_withdrawn_0269f17bd6215ef29080cc4cb1c56b34", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_withdrawn_0269f17bd6215ef29080cc4cb1c56b34", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_withdrawn_0269f17bd6215ef29080cc4cb1c56b34"}, "created_at": 1723584317.0508287, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_withdrawn_0269f17bd6215ef29080cc4cb1c56b34\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_withdrawn_0269f17bd6215ef29080cc4cb1c56b34.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Withdrawn'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Withdrawn"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_pool_id.910c4e273f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_pool_id.910c4e273f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_liquidation_arbitrum_mainnet_pool_id"], "alias": "not_null_core_liquidation_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0548556, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_pool_id__True__0.5d8232e38f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__3b7574a4994fd13124cd20e62aa94fc0.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_pool_id__True__0.5d8232e38f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__3b7574a4994fd13124cd20e62aa94fc0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__3b7574a4994fd13124cd20e62aa94fc0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__3b7574a4994fd13124cd20e62aa94fc0"}, "created_at": 1723584317.0567298, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__3b7574a4994fd13124cd20e62aa94fc0\") }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3b7574a4994fd13124cd20e62aa94fc0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_block_timestamp.e8b33f1dcb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_block_timestamp.e8b33f1dcb", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_liquidation_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_liquidation_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0607352, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_block_number.c43f5e1404": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_block_number.c43f5e1404", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_liquidation_arbitrum_mainnet_block_number"], "alias": "not_null_core_liquidation_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0625257, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_id.428529a968": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_id.428529a968", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_liquidation_arbitrum_mainnet_id"], "alias": "not_null_core_liquidation_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0641687, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_liquidation_arbitrum_mainnet_id.ab79adeb33": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_liquidation_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_liquidation_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_liquidation_arbitrum_mainnet_id.ab79adeb33", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_liquidation_arbitrum_mainnet_id"], "alias": "unique_core_liquidation_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0657635, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_liquidation_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_contract.b02df4336b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_contract.b02df4336b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_liquidation_arbitrum_mainnet_contract"], "alias": "not_null_core_liquidation_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0673902, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_event_name.c11ebbad99": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_event_name.c11ebbad99", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_liquidation_arbitrum_mainnet_event_name"], "alias": "not_null_core_liquidation_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0689998, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_liquidation_arbitrum_mainnet_event_name__Liquidation.85cae70384": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_liquidation_arbitrum_mainnet_event_name__Liquidation", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_liquidati_4442c34ed542a292a0634c15edf28899.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_liquidation_arbitrum_mainnet_event_name__Liquidation.85cae70384", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_liquidation_arbitrum_mainnet_event_name__Liquidation"], "alias": "accepted_values_core_liquidati_4442c34ed542a292a0634c15edf28899", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_liquidati_4442c34ed542a292a0634c15edf28899", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_liquidati_4442c34ed542a292a0634c15edf28899"}, "created_at": 1723584317.0707362, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_liquidati_4442c34ed542a292a0634c15edf28899\") }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_liquidati_4442c34ed542a292a0634c15edf28899.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Liquidation'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Liquidation"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_collateral_type.7eae92d91d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_collateral_type.7eae92d91d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_liquidation_arbitrum_mainnet_collateral_type"], "alias": "not_null_core_liquidation_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0747054, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_sender.de5e917bc2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_mainnet_sender.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_sender.de5e917bc2", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_liquidation_arbitrum_mainnet_sender"], "alias": "not_null_core_liquidation_arbitrum_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0767658, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_account_id.2b9f90b003": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_mainnet_account_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_account_id.2b9f90b003", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_liquidation_arbitrum_mainnet_account_id"], "alias": "not_null_core_liquidation_arbitrum_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0783832, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_account_id__True__0.71c92954dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__d573daafd2d94573fc34ea75105093f1.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_account_id__True__0.71c92954dd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__d573daafd2d94573fc34ea75105093f1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__d573daafd2d94573fc34ea75105093f1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__d573daafd2d94573fc34ea75105093f1"}, "created_at": 1723584317.0800273, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__d573daafd2d94573fc34ea75105093f1\") }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__d573daafd2d94573fc34ea75105093f1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_transaction_hash.7c4641c1db": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_transaction_hash.7c4641c1db", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_liquidation_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_liquidation_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.084245, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_liquidate_as_account_id.00768ed71d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_mainnet_liquidate_as_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbi_92f55229ca201ad07fd249fb04e9775d.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_liquidate_as_account_id.00768ed71d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_liquidation_arbitrum_mainnet_liquidate_as_account_id"], "alias": "not_null_core_liquidation_arbi_92f55229ca201ad07fd249fb04e9775d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_liquidation_arbi_92f55229ca201ad07fd249fb04e9775d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_liquidation_arbi_92f55229ca201ad07fd249fb04e9775d"}, "created_at": 1723584317.0858822, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_liquidation_arbi_92f55229ca201ad07fd249fb04e9775d\") }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbi_92f55229ca201ad07fd249fb04e9775d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidate_as_account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere liquidate_as_account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0.6ad1a29899": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__95f20c9d730453e2564fdd995e9c0737.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0.6ad1a29899", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__95f20c9d730453e2564fdd995e9c0737", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__95f20c9d730453e2564fdd995e9c0737", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__95f20c9d730453e2564fdd995e9c0737"}, "created_at": 1723584317.0875769, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__95f20c9d730453e2564fdd995e9c0737\") }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__95f20c9d730453e2564fdd995e9c0737.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not liquidate_as_account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_id.6634d79b97": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_id.6634d79b97", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_id"], "alias": "not_null_core_market_updated_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0918195, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_updated_arbitrum_mainnet_id.ef7b2e2622": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_updated_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_updated_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_updated_arbitrum_mainnet_id.ef7b2e2622", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_market_updated_arbitrum_mainnet_id"], "alias": "unique_core_market_updated_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0934653, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_updated_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_block_timestamp.2bd177f07f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_block_timestamp.2bd177f07f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_market_updated_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.095117, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_block_number.eea9214a4b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_block_number.eea9214a4b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_block_number"], "alias": "not_null_core_market_updated_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0968983, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_transaction_hash.9db6bb9d6b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_transaction_hash.9db6bb9d6b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_market_updated_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.09855, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_contract.3ed1c1d699": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_contract.3ed1c1d699", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_contract"], "alias": "not_null_core_market_updated_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1001961, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_event_name.1198969560": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_event_name.1198969560", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_event_name"], "alias": "not_null_core_market_updated_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.10178, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.b6d0a34129": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_market_up_1d0210873bb72c6c6b77ae8c79ff0d1f.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.b6d0a34129", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited"], "alias": "accepted_values_core_market_up_1d0210873bb72c6c6b77ae8c79ff0d1f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_market_up_1d0210873bb72c6c6b77ae8c79ff0d1f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_market_up_1d0210873bb72c6c6b77ae8c79ff0d1f"}, "created_at": 1723584317.1034212, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_market_up_1d0210873bb72c6c6b77ae8c79ff0d1f\") }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_market_up_1d0210873bb72c6c6b77ae8c79ff0d1f.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCollateralWithdrawn", "MarketCollateralDeposited", "MarketUsdWithdrawn", "MarketUsdDeposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_market_id.92b8458e5c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_mainnet_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_market_id.92b8458e5c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_market_id"], "alias": "not_null_core_market_updated_arbitrum_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1075447, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_market_id__True__0.8e0b3e9147": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__02a955166e22231ca285723dacdb2832.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_market_id__True__0.8e0b3e9147", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_core__02a955166e22231ca285723dacdb2832", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__02a955166e22231ca285723dacdb2832", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__02a955166e22231ca285723dacdb2832"}, "created_at": 1723584317.1091967, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__02a955166e22231ca285723dacdb2832\") }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__02a955166e22231ca285723dacdb2832.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_net_issuance.016c84545c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_net_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_mainnet_net_issuance.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_net_issuance.016c84545c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_net_issuance"], "alias": "not_null_core_market_updated_arbitrum_mainnet_net_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.11339, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_net_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect net_issuance\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere net_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "net_issuance", "file_key_name": "models.core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "net_issuance", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_deposited_collateral_value.45b375717f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_deposited_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_a_c8d66a6213d38496ae35d373291887d5.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_deposited_collateral_value.45b375717f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_deposited_collateral_value"], "alias": "not_null_core_market_updated_a_c8d66a6213d38496ae35d373291887d5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_market_updated_a_c8d66a6213d38496ae35d373291887d5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_market_updated_a_c8d66a6213d38496ae35d373291887d5"}, "created_at": 1723584317.1150362, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_market_updated_a_c8d66a6213d38496ae35d373291887d5\") }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_a_c8d66a6213d38496ae35d373291887d5.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect deposited_collateral_value\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere deposited_collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "deposited_collateral_value", "file_key_name": "models.core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "deposited_collateral_value", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_deposited_collateral_value__True__0.f78663cae5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_deposited_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__cdcb72975596908844844e1e35f50f8c.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_deposited_collateral_value__True__0.f78663cae5", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_deposited_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_core__cdcb72975596908844844e1e35f50f8c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__cdcb72975596908844844e1e35f50f8c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__cdcb72975596908844844e1e35f50f8c"}, "created_at": 1723584317.116732, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__cdcb72975596908844844e1e35f50f8c\") }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__cdcb72975596908844844e1e35f50f8c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not deposited_collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "deposited_collateral_value", "file_key_name": "models.core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "deposited_collateral_value", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_sender.fe1f2d4275": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_mainnet_sender.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_sender.fe1f2d4275", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_sender"], "alias": "not_null_core_market_updated_arbitrum_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.120896, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_collateral_type.5ccd7ace00": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_collateral_type.5ccd7ace00", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_collateral_type"], "alias": "not_null_core_market_updated_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.122542, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_credit_capacity.09c391d59d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_credit_capacity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_mainnet_credit_capacity.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_credit_capacity.09c391d59d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_credit_capacity"], "alias": "not_null_core_market_updated_arbitrum_mainnet_credit_capacity", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1242082, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_credit_capacity.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect credit_capacity\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere credit_capacity is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "credit_capacity", "file_key_name": "models.core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "credit_capacity", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_token_amount.b89be9c43a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_mainnet_token_amount.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_token_amount.b89be9c43a", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_token_amount"], "alias": "not_null_core_market_updated_arbitrum_mainnet_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1259654, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_token_amount__True__0.bfc2ca181b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__7483e902594aee8b4bcbb6849e0f0993.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_token_amount__True__0.bfc2ca181b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__7483e902594aee8b4bcbb6849e0f0993", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__7483e902594aee8b4bcbb6849e0f0993", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__7483e902594aee8b4bcbb6849e0f0993"}, "created_at": 1723584317.127613, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__7483e902594aee8b4bcbb6849e0f0993\") }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__7483e902594aee8b4bcbb6849e0f0993.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_market.4671a5874b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_mainnet_market", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_mainnet_market.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_market.4671a5874b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_registered_arbitrum_mainnet_market"], "alias": "not_null_core_market_registered_arbitrum_mainnet_market", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1318462, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_market.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\nwhere market is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market", "file_key_name": "models.core_market_registered_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_registered_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_market_id.edc1b5f010": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_mainnet_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_market_id.edc1b5f010", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_registered_arbitrum_mainnet_market_id"], "alias": "not_null_core_market_registered_arbitrum_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1334822, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_registered_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_registered_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_registered_arbitrum_mainnet_market_id.f4e9d45c5f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_registered_arbitrum_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_registered_arbitrum_mainnet_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_registered_arbitrum_mainnet_market_id.f4e9d45c5f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_market_registered_arbitrum_mainnet_market_id"], "alias": "unique_core_market_registered_arbitrum_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1351202, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_registered_arbitrum_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n market_id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\nwhere market_id is not null\ngroup by market_id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_registered_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_registered_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_id.4c7305111a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_id.4c7305111a", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_registered_arbitrum_mainnet_id"], "alias": "not_null_core_market_registered_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1367164, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_registered_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_registered_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_registered_arbitrum_mainnet_id.c4fce94bc5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_registered_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_registered_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_registered_arbitrum_mainnet_id.c4fce94bc5", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_market_registered_arbitrum_mainnet_id"], "alias": "unique_core_market_registered_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1383069, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_registered_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_registered_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_registered_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_block_timestamp.9ccff6bb17": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registere_3aa714f691befa9329876e1321ce4907.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_block_timestamp.9ccff6bb17", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_registered_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_market_registere_3aa714f691befa9329876e1321ce4907", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_market_registere_3aa714f691befa9329876e1321ce4907", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_market_registere_3aa714f691befa9329876e1321ce4907"}, "created_at": 1723584317.1400313, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_market_registere_3aa714f691befa9329876e1321ce4907\") }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registere_3aa714f691befa9329876e1321ce4907.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_market_registered_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_registered_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_contract.705a5b5579": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_contract.705a5b5579", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_registered_arbitrum_mainnet_contract"], "alias": "not_null_core_market_registered_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.141604, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_market_registered_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_registered_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_transaction_hash.2e6db31571": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registere_ce97e23941cfcece9eb1a8b9bdf4cb64.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_transaction_hash.2e6db31571", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_registered_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_market_registere_ce97e23941cfcece9eb1a8b9bdf4cb64", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_market_registere_ce97e23941cfcece9eb1a8b9bdf4cb64", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_market_registere_ce97e23941cfcece9eb1a8b9bdf4cb64"}, "created_at": 1723584317.1432629, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_market_registere_ce97e23941cfcece9eb1a8b9bdf4cb64\") }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registere_ce97e23941cfcece9eb1a8b9bdf4cb64.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_market_registered_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_registered_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_block_number.49f898432d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_block_number.49f898432d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_registered_arbitrum_mainnet_block_number"], "alias": "not_null_core_market_registered_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1448967, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_market_registered_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_registered_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_event_name.5833e57631": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_event_name.5833e57631", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_registered_arbitrum_mainnet_event_name"], "alias": "not_null_core_market_registered_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1465025, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_registered_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_registered_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_market_registered_arbitrum_mainnet_event_name__MarketRegistered.61c1a17f46": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_market_registered_arbitrum_mainnet_event_name__MarketRegistered", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_market_re_e286af90b0ff8870e4f1f6cc2f332f5e.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_market_registered_arbitrum_mainnet_event_name__MarketRegistered.61c1a17f46", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_market_registered_arbitrum_mainnet_event_name__MarketRegistered"], "alias": "accepted_values_core_market_re_e286af90b0ff8870e4f1f6cc2f332f5e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_market_re_e286af90b0ff8870e4f1f6cc2f332f5e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_market_re_e286af90b0ff8870e4f1f6cc2f332f5e"}, "created_at": 1723584317.1482735, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_market_re_e286af90b0ff8870e4f1f6cc2f332f5e\") }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_market_re_e286af90b0ff8870e4f1f6cc2f332f5e.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketRegistered'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_registered_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_registered_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketRegistered"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_sender.a9f878c2c9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_mainnet_sender.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_sender.a9f878c2c9", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_registered_arbitrum_mainnet_sender"], "alias": "not_null_core_market_registered_arbitrum_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1522498, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_market_registered_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_registered_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_contract.ad227a594e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_contract.ad227a594e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_pool_created_arbitrum_mainnet_contract"], "alias": "not_null_core_pool_created_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1540465, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_pool_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_pool_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_sender.b85ac4e404": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_mainnet_sender.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_sender.b85ac4e404", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_pool_created_arbitrum_mainnet_sender"], "alias": "not_null_core_pool_created_arbitrum_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1556787, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_pool_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_pool_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_block_timestamp.4bcfbab318": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_block_timestamp.4bcfbab318", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_pool_created_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_pool_created_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1572602, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_pool_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_pool_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_id.b0e9e6535d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_id.b0e9e6535d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_pool_created_arbitrum_mainnet_id"], "alias": "not_null_core_pool_created_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1588614, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_pool_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_pool_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_pool_created_arbitrum_mainnet_id.4a0435d902": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_pool_created_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_pool_created_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_pool_created_arbitrum_mainnet_id.4a0435d902", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_pool_created_arbitrum_mainnet_id"], "alias": "unique_core_pool_created_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1605158, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_pool_created_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_pool_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_pool_created_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_block_number.184c04858e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_block_number.184c04858e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_pool_created_arbitrum_mainnet_block_number"], "alias": "not_null_core_pool_created_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1625483, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_pool_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_pool_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_transaction_hash.762082599b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_transaction_hash.762082599b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_pool_created_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_pool_created_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.164175, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_pool_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_pool_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_event_name.67b202a2ae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_event_name.67b202a2ae", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_pool_created_arbitrum_mainnet_event_name"], "alias": "not_null_core_pool_created_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1657622, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_pool_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_pool_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_pool_created_arbitrum_mainnet_event_name__PoolCreated.e7fda490fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_pool_created_arbitrum_mainnet_event_name__PoolCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_pool_crea_0ebc185f8081387dd6790ea39fa08892.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_pool_created_arbitrum_mainnet_event_name__PoolCreated.e7fda490fd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_pool_created_arbitrum_mainnet_event_name__PoolCreated"], "alias": "accepted_values_core_pool_crea_0ebc185f8081387dd6790ea39fa08892", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_pool_crea_0ebc185f8081387dd6790ea39fa08892", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_pool_crea_0ebc185f8081387dd6790ea39fa08892"}, "created_at": 1723584317.1673882, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_pool_crea_0ebc185f8081387dd6790ea39fa08892\") }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_pool_crea_0ebc185f8081387dd6790ea39fa08892.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'PoolCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_pool_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_pool_created_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PoolCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_owner.749821fb46": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_mainnet_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_mainnet_owner.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_owner.749821fb46", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_pool_created_arbitrum_mainnet_owner"], "alias": "not_null_core_pool_created_arbitrum_mainnet_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1714768, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.core_pool_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_pool_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_pool_id.ce6f3bd570": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_pool_id.ce6f3bd570", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_pool_created_arbitrum_mainnet_pool_id"], "alias": "not_null_core_pool_created_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.173116, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_pool_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_pool_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_pool_created_arbitrum_mainnet_pool_id__True__0.fc42e6b4ce": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_pool_created_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__a4fd93112bb463c7536d0249bba13868.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_pool_created_arbitrum_mainnet_pool_id__True__0.fc42e6b4ce", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_pool_created_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__a4fd93112bb463c7536d0249bba13868", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__a4fd93112bb463c7536d0249bba13868", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__a4fd93112bb463c7536d0249bba13868"}, "created_at": 1723584317.174745, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__a4fd93112bb463c7536d0249bba13868\") }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a4fd93112bb463c7536d0249bba13868.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_pool_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_pool_created_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash.b143b485c4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash.b143b485c4", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.178954, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_rewards_claimed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_account_id.657d0a650c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_mainnet_account_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_account_id.657d0a650c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_claimed_arbitrum_mainnet_account_id"], "alias": "not_null_core_rewards_claimed_arbitrum_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1806278, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_rewards_claimed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_account_id__True__0.34b4de86db": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__a017d5223b610b9f7423d02fd237a61e.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_account_id__True__0.34b4de86db", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__a017d5223b610b9f7423d02fd237a61e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__a017d5223b610b9f7423d02fd237a61e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__a017d5223b610b9f7423d02fd237a61e"}, "created_at": 1723584317.1824164, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__a017d5223b610b9f7423d02fd237a61e\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a017d5223b610b9f7423d02fd237a61e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_rewards_claimed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type.868513a78c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type.868513a78c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type"], "alias": "not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1865149, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_rewards_claimed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_event_name.c85b97045f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_event_name.c85b97045f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_claimed_arbitrum_mainnet_event_name"], "alias": "not_null_core_rewards_claimed_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.188164, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_claimed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_rewards_claimed_arbitrum_mainnet_event_name__RewardsClaimed.3c1cd34ad1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_rewards_claimed_arbitrum_mainnet_event_name__RewardsClaimed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_rewards_c_ae0e5101dec8d345cd75f3d5717a9de2.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_rewards_claimed_arbitrum_mainnet_event_name__RewardsClaimed.3c1cd34ad1", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_rewards_claimed_arbitrum_mainnet_event_name__RewardsClaimed"], "alias": "accepted_values_core_rewards_c_ae0e5101dec8d345cd75f3d5717a9de2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_rewards_c_ae0e5101dec8d345cd75f3d5717a9de2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_rewards_c_ae0e5101dec8d345cd75f3d5717a9de2"}, "created_at": 1723584317.1899455, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_rewards_c_ae0e5101dec8d345cd75f3d5717a9de2\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_rewards_c_ae0e5101dec8d345cd75f3d5717a9de2.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'RewardsClaimed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_claimed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["RewardsClaimed"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_contract.dbeede65a0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_contract.dbeede65a0", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_claimed_arbitrum_mainnet_contract"], "alias": "not_null_core_rewards_claimed_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1939368, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_rewards_claimed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_amount.b7ad8d34fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_mainnet_amount.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_amount.b7ad8d34fd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_claimed_arbitrum_mainnet_amount"], "alias": "not_null_core_rewards_claimed_arbitrum_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1957648, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_claimed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_amount__True__0.d98a3e4cc7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__c0dd3bdf5507ce87c72c955b444272c7.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_amount__True__0.d98a3e4cc7", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__c0dd3bdf5507ce87c72c955b444272c7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__c0dd3bdf5507ce87c72c955b444272c7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__c0dd3bdf5507ce87c72c955b444272c7"}, "created_at": 1723584317.197403, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__c0dd3bdf5507ce87c72c955b444272c7\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c0dd3bdf5507ce87c72c955b444272c7.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_claimed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_distributor.cfe4797061": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_mainnet_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_mainnet_distributor.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_distributor.cfe4797061", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_claimed_arbitrum_mainnet_distributor"], "alias": "not_null_core_rewards_claimed_arbitrum_mainnet_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.201538, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.core_rewards_claimed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp.830ba4bdac": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp.830ba4bdac", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.203387, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_rewards_claimed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_id.ec96b450dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_id.ec96b450dd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_claimed_arbitrum_mainnet_id"], "alias": "not_null_core_rewards_claimed_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2050128, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_claimed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_rewards_claimed_arbitrum_mainnet_id.0aa80585e9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_rewards_claimed_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_rewards_claimed_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_rewards_claimed_arbitrum_mainnet_id.0aa80585e9", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_rewards_claimed_arbitrum_mainnet_id"], "alias": "unique_core_rewards_claimed_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2066174, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_rewards_claimed_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_claimed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_pool_id.bd58480578": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_pool_id.bd58480578", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_claimed_arbitrum_mainnet_pool_id"], "alias": "not_null_core_rewards_claimed_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.208276, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_claimed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_pool_id__True__0.1c91c56a7b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__08848a564c54b05c2cb6e82b66d83e50.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_pool_id__True__0.1c91c56a7b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__08848a564c54b05c2cb6e82b66d83e50", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__08848a564c54b05c2cb6e82b66d83e50", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__08848a564c54b05c2cb6e82b66d83e50"}, "created_at": 1723584317.209999, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__08848a564c54b05c2cb6e82b66d83e50\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__08848a564c54b05c2cb6e82b66d83e50.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_claimed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_block_number.90a2165709": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_block_number.90a2165709", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_claimed_arbitrum_mainnet_block_number"], "alias": "not_null_core_rewards_claimed_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2140555, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_rewards_claimed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_id.2d439b2dff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_id.2d439b2dff", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_distributed_arbitrum_mainnet_id"], "alias": "not_null_core_rewards_distributed_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2159207, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_distributed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_rewards_distributed_arbitrum_mainnet_id.b2d650e4fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_rewards_distributed_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_rewards_distributed_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_rewards_distributed_arbitrum_mainnet_id.b2d650e4fd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_rewards_distributed_arbitrum_mainnet_id"], "alias": "unique_core_rewards_distributed_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2175717, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_rewards_distributed_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_distributed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_event_name.bb49accedd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_event_name.bb49accedd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_distributed_arbitrum_mainnet_event_name"], "alias": "not_null_core_rewards_distributed_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2192068, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_distributed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_rewards_distributed_arbitrum_mainnet_event_name__RewardsDistributed.3370ace359": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_rewards_distributed_arbitrum_mainnet_event_name__RewardsDistributed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_rewards_d_d7316b4d554f3dda3a2963d18779fd27.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_rewards_distributed_arbitrum_mainnet_event_name__RewardsDistributed.3370ace359", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_rewards_distributed_arbitrum_mainnet_event_name__RewardsDistributed"], "alias": "accepted_values_core_rewards_d_d7316b4d554f3dda3a2963d18779fd27", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_rewards_d_d7316b4d554f3dda3a2963d18779fd27", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_rewards_d_d7316b4d554f3dda3a2963d18779fd27"}, "created_at": 1723584317.2208261, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_rewards_d_d7316b4d554f3dda3a2963d18779fd27\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_rewards_d_d7316b4d554f3dda3a2963d18779fd27.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'RewardsDistributed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_distributed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["RewardsDistributed"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_amount.efe177b3e7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_mainnet_amount.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_amount.efe177b3e7", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_distributed_arbitrum_mainnet_amount"], "alias": "not_null_core_rewards_distributed_arbitrum_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2249372, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_distributed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_amount__True__0.09cd5040a6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__7b28a3ed9d8c19140e6eb1d7ed751b7a.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_amount__True__0.09cd5040a6", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__7b28a3ed9d8c19140e6eb1d7ed751b7a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__7b28a3ed9d8c19140e6eb1d7ed751b7a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__7b28a3ed9d8c19140e6eb1d7ed751b7a"}, "created_at": 1723584317.2265973, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__7b28a3ed9d8c19140e6eb1d7ed751b7a\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__7b28a3ed9d8c19140e6eb1d7ed751b7a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_distributed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_contract.cad4a84b49": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_contract.cad4a84b49", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_distributed_arbitrum_mainnet_contract"], "alias": "not_null_core_rewards_distributed_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2307518, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_rewards_distributed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_block_timestamp.b6efe37fde": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distribu_0615a0b17ded5d162f692f079ef20621.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_block_timestamp.b6efe37fde", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_distributed_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_rewards_distribu_0615a0b17ded5d162f692f079ef20621", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_rewards_distribu_0615a0b17ded5d162f692f079ef20621", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_rewards_distribu_0615a0b17ded5d162f692f079ef20621"}, "created_at": 1723584317.232423, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_rewards_distribu_0615a0b17ded5d162f692f079ef20621\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distribu_0615a0b17ded5d162f692f079ef20621.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_rewards_distributed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_transaction_hash.a791a80876": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distribu_b9de231940d6a64359b041a045f6df44.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_transaction_hash.a791a80876", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_distributed_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_rewards_distribu_b9de231940d6a64359b041a045f6df44", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_rewards_distribu_b9de231940d6a64359b041a045f6df44", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_rewards_distribu_b9de231940d6a64359b041a045f6df44"}, "created_at": 1723584317.2340248, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_rewards_distribu_b9de231940d6a64359b041a045f6df44\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distribu_b9de231940d6a64359b041a045f6df44.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_rewards_distributed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_collateral_type.d8c598b114": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distribu_0c83e6d18c229c54ea7814f211652fba.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_collateral_type.d8c598b114", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_distributed_arbitrum_mainnet_collateral_type"], "alias": "not_null_core_rewards_distribu_0c83e6d18c229c54ea7814f211652fba", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_rewards_distribu_0c83e6d18c229c54ea7814f211652fba", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_rewards_distribu_0c83e6d18c229c54ea7814f211652fba"}, "created_at": 1723584317.2356458, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_rewards_distribu_0c83e6d18c229c54ea7814f211652fba\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distribu_0c83e6d18c229c54ea7814f211652fba.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_rewards_distributed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_block_number.4692e1b237": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_block_number.4692e1b237", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_distributed_arbitrum_mainnet_block_number"], "alias": "not_null_core_rewards_distributed_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.237345, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_rewards_distributed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_duration.8dfbbf7a51": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_mainnet_duration", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_mainnet_duration.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_duration.8dfbbf7a51", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_distributed_arbitrum_mainnet_duration"], "alias": "not_null_core_rewards_distributed_arbitrum_mainnet_duration", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.23896, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_duration.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect duration\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere duration is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "duration", "file_key_name": "models.core_rewards_distributed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "duration", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_duration__True__0.00212b4134": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_duration__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__1df6834a594836c2dcc71fe060c468ad.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_duration__True__0.00212b4134", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_duration__True__0"], "alias": "dbt_utils_accepted_range_core__1df6834a594836c2dcc71fe060c468ad", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__1df6834a594836c2dcc71fe060c468ad", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__1df6834a594836c2dcc71fe060c468ad"}, "created_at": 1723584317.2405927, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__1df6834a594836c2dcc71fe060c468ad\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__1df6834a594836c2dcc71fe060c468ad.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not duration >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "duration", "file_key_name": "models.core_rewards_distributed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "duration", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_distributor.b8c551ebf5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_mainnet_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_mainnet_distributor.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_distributor.b8c551ebf5", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_distributed_arbitrum_mainnet_distributor"], "alias": "not_null_core_rewards_distributed_arbitrum_mainnet_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2450428, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.core_rewards_distributed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_pool_id.06cc36de8b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_pool_id.06cc36de8b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_distributed_arbitrum_mainnet_pool_id"], "alias": "not_null_core_rewards_distributed_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2466547, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_distributed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_pool_id__True__0.d68e3c64d9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__8f5972b03f3e35993a0d31e0f5be9dab.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_pool_id__True__0.d68e3c64d9", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__8f5972b03f3e35993a0d31e0f5be9dab", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__8f5972b03f3e35993a0d31e0f5be9dab", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__8f5972b03f3e35993a0d31e0f5be9dab"}, "created_at": 1723584317.2482843, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__8f5972b03f3e35993a0d31e0f5be9dab\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__8f5972b03f3e35993a0d31e0f5be9dab.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_distributed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_amount.638bb23cb6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_mainnet_amount.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_amount.638bb23cb6", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_burned_arbitrum_mainnet_amount"], "alias": "not_null_core_usd_burned_arbitrum_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2524467, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_burned_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_burned_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_amount__True__0.2bf9da99f6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__53d099c4a50eba60cd9dbb7bdf1dea70.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_amount__True__0.2bf9da99f6", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__53d099c4a50eba60cd9dbb7bdf1dea70", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__53d099c4a50eba60cd9dbb7bdf1dea70", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__53d099c4a50eba60cd9dbb7bdf1dea70"}, "created_at": 1723584317.2541099, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__53d099c4a50eba60cd9dbb7bdf1dea70\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__53d099c4a50eba60cd9dbb7bdf1dea70.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_burned_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_burned_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_pool_id.574d8e09b8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_pool_id.574d8e09b8", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_burned_arbitrum_mainnet_pool_id"], "alias": "not_null_core_usd_burned_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2582994, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_burned_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_burned_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_pool_id__True__0.dad5587ce6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__a4d9b1f66ba6ee616c7a435ebac2f092.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_pool_id__True__0.dad5587ce6", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__a4d9b1f66ba6ee616c7a435ebac2f092", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__a4d9b1f66ba6ee616c7a435ebac2f092", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__a4d9b1f66ba6ee616c7a435ebac2f092"}, "created_at": 1723584317.2599533, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__a4d9b1f66ba6ee616c7a435ebac2f092\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a4d9b1f66ba6ee616c7a435ebac2f092.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_burned_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_burned_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_event_name.2c934d7229": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_event_name.2c934d7229", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_burned_arbitrum_mainnet_event_name"], "alias": "not_null_core_usd_burned_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2641206, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_burned_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_burned_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_usd_burned_arbitrum_mainnet_event_name__UsdBurned.9ecdb75459": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_usd_burned_arbitrum_mainnet_event_name__UsdBurned", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_usd_burne_f1001c8fa3982fe799c897828b0b2c8e.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_usd_burned_arbitrum_mainnet_event_name__UsdBurned.9ecdb75459", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_usd_burned_arbitrum_mainnet_event_name__UsdBurned"], "alias": "accepted_values_core_usd_burne_f1001c8fa3982fe799c897828b0b2c8e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_usd_burne_f1001c8fa3982fe799c897828b0b2c8e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_usd_burne_f1001c8fa3982fe799c897828b0b2c8e"}, "created_at": 1723584317.2657857, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_usd_burne_f1001c8fa3982fe799c897828b0b2c8e\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_usd_burne_f1001c8fa3982fe799c897828b0b2c8e.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'UsdBurned'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_burned_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_burned_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["UsdBurned"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_id.f07377da8d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_id.f07377da8d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_burned_arbitrum_mainnet_id"], "alias": "not_null_core_usd_burned_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2699313, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_burned_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_burned_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_usd_burned_arbitrum_mainnet_id.1918882dbf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_usd_burned_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_usd_burned_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_usd_burned_arbitrum_mainnet_id.1918882dbf", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_usd_burned_arbitrum_mainnet_id"], "alias": "unique_core_usd_burned_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2715838, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_usd_burned_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_burned_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_burned_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_block_number.9d57cfa9ee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_block_number.9d57cfa9ee", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_burned_arbitrum_mainnet_block_number"], "alias": "not_null_core_usd_burned_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2732239, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_usd_burned_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_burned_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_account_id.c71695a669": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_mainnet_account_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_account_id.c71695a669", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_burned_arbitrum_mainnet_account_id"], "alias": "not_null_core_usd_burned_arbitrum_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.274838, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_burned_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_burned_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_account_id__True__0.f8708303cd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__c9d0905ae7ab5806ca28ed36a31d845e.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_account_id__True__0.f8708303cd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__c9d0905ae7ab5806ca28ed36a31d845e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__c9d0905ae7ab5806ca28ed36a31d845e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__c9d0905ae7ab5806ca28ed36a31d845e"}, "created_at": 1723584317.2766042, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__c9d0905ae7ab5806ca28ed36a31d845e\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c9d0905ae7ab5806ca28ed36a31d845e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_burned_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_burned_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_sender.1b76ecab38": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_mainnet_sender.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_sender.1b76ecab38", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_burned_arbitrum_mainnet_sender"], "alias": "not_null_core_usd_burned_arbitrum_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2806513, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_usd_burned_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_burned_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_transaction_hash.6535b2db90": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_transaction_hash.6535b2db90", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_burned_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_usd_burned_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.282463, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_usd_burned_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_burned_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_contract.718a1f61dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_contract.718a1f61dd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_burned_arbitrum_mainnet_contract"], "alias": "not_null_core_usd_burned_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2840905, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_usd_burned_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_burned_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_collateral_type.6f8f53a6c9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_collateral_type.6f8f53a6c9", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_burned_arbitrum_mainnet_collateral_type"], "alias": "not_null_core_usd_burned_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2857192, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_usd_burned_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_burned_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_block_timestamp.da67490d2d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_block_timestamp.da67490d2d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_burned_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_usd_burned_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2873197, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_usd_burned_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_burned_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_pool_id.4593996ffd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_pool_id.4593996ffd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_minted_arbitrum_mainnet_pool_id"], "alias": "not_null_core_usd_minted_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2889, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_minted_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_minted_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_pool_id__True__0.5d700fe50b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__e2fdd34efe9357cbe68cce2a4f447e0b.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_pool_id__True__0.5d700fe50b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__e2fdd34efe9357cbe68cce2a4f447e0b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__e2fdd34efe9357cbe68cce2a4f447e0b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__e2fdd34efe9357cbe68cce2a4f447e0b"}, "created_at": 1723584317.2906353, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__e2fdd34efe9357cbe68cce2a4f447e0b\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e2fdd34efe9357cbe68cce2a4f447e0b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_minted_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_minted_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_block_timestamp.8ca5480dbc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_block_timestamp.8ca5480dbc", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_minted_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_usd_minted_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2947438, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_usd_minted_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_minted_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_account_id.9ccf9039ea": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_mainnet_account_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_account_id.9ccf9039ea", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_minted_arbitrum_mainnet_account_id"], "alias": "not_null_core_usd_minted_arbitrum_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2965825, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_minted_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_minted_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_account_id__True__0.6487cbbb70": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__e8c505f36fc50f5a863c74c16d675fd6.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_account_id__True__0.6487cbbb70", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__e8c505f36fc50f5a863c74c16d675fd6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__e8c505f36fc50f5a863c74c16d675fd6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__e8c505f36fc50f5a863c74c16d675fd6"}, "created_at": 1723584317.2982264, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__e8c505f36fc50f5a863c74c16d675fd6\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e8c505f36fc50f5a863c74c16d675fd6.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_minted_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_minted_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_collateral_type.0129f350e1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_collateral_type.0129f350e1", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_minted_arbitrum_mainnet_collateral_type"], "alias": "not_null_core_usd_minted_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.302289, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_usd_minted_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_minted_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_block_number.2c3c8fc1e5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_block_number.2c3c8fc1e5", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_minted_arbitrum_mainnet_block_number"], "alias": "not_null_core_usd_minted_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.304196, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_usd_minted_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_minted_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_id.3157330f1c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_id.3157330f1c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_minted_arbitrum_mainnet_id"], "alias": "not_null_core_usd_minted_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3058462, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_minted_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_minted_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_usd_minted_arbitrum_mainnet_id.557dbdade9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_usd_minted_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_usd_minted_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_usd_minted_arbitrum_mainnet_id.557dbdade9", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_usd_minted_arbitrum_mainnet_id"], "alias": "unique_core_usd_minted_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3074834, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_usd_minted_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_minted_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_minted_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_sender.829a4593b0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_mainnet_sender.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_sender.829a4593b0", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_minted_arbitrum_mainnet_sender"], "alias": "not_null_core_usd_minted_arbitrum_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.309108, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_usd_minted_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_minted_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_amount.f37a3a83d0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_mainnet_amount.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_amount.f37a3a83d0", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_minted_arbitrum_mainnet_amount"], "alias": "not_null_core_usd_minted_arbitrum_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3108318, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_minted_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_minted_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_amount__True__0.9400183d7a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__4f96c27108a58faefb0cfa1c6e2f1740.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_amount__True__0.9400183d7a", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__4f96c27108a58faefb0cfa1c6e2f1740", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__4f96c27108a58faefb0cfa1c6e2f1740", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__4f96c27108a58faefb0cfa1c6e2f1740"}, "created_at": 1723584317.312502, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__4f96c27108a58faefb0cfa1c6e2f1740\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4f96c27108a58faefb0cfa1c6e2f1740.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_minted_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_minted_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_event_name.8c280cde80": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_event_name.8c280cde80", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_minted_arbitrum_mainnet_event_name"], "alias": "not_null_core_usd_minted_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3165467, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_minted_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_minted_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_usd_minted_arbitrum_mainnet_event_name__UsdMinted.cb75bc5dc7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_usd_minted_arbitrum_mainnet_event_name__UsdMinted", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_usd_minte_bb8849e7a8bb986a942b463f36bae946.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_usd_minted_arbitrum_mainnet_event_name__UsdMinted.cb75bc5dc7", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_usd_minted_arbitrum_mainnet_event_name__UsdMinted"], "alias": "accepted_values_core_usd_minte_bb8849e7a8bb986a942b463f36bae946", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_usd_minte_bb8849e7a8bb986a942b463f36bae946", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_usd_minte_bb8849e7a8bb986a942b463f36bae946"}, "created_at": 1723584317.3183758, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_usd_minte_bb8849e7a8bb986a942b463f36bae946\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_usd_minte_bb8849e7a8bb986a942b463f36bae946.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'UsdMinted'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_minted_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_minted_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["UsdMinted"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_transaction_hash.74c68bc07e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_transaction_hash.74c68bc07e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_minted_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_usd_minted_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3223453, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_usd_minted_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_minted_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_contract.317c6e89d1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_contract.317c6e89d1", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_minted_arbitrum_mainnet_contract"], "alias": "not_null_core_usd_minted_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.324471, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_usd_minted_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_minted_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_transaction_hash.5da9d8cd8f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_2185e560e310ac8c9b339ed46c9526c9.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_transaction_hash.5da9d8cd8f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_liquidation_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_vault_liquidatio_2185e560e310ac8c9b339ed46c9526c9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_2185e560e310ac8c9b339ed46c9526c9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_vault_liquidatio_2185e560e310ac8c9b339ed46c9526c9"}, "created_at": 1723584317.3260808, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_2185e560e310ac8c9b339ed46c9526c9\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_2185e560e310ac8c9b339ed46c9526c9.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_vault_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_collateral_type.ba4823f6ed": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_28327b33172f7d5299eb84c369c67082.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_collateral_type.ba4823f6ed", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_liquidation_arbitrum_mainnet_collateral_type"], "alias": "not_null_core_vault_liquidatio_28327b33172f7d5299eb84c369c67082", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_28327b33172f7d5299eb84c369c67082", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_vault_liquidatio_28327b33172f7d5299eb84c369c67082"}, "created_at": 1723584317.3277092, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_28327b33172f7d5299eb84c369c67082\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_28327b33172f7d5299eb84c369c67082.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_pool_id.f9e6978af1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_pool_id.f9e6978af1", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_liquidation_arbitrum_mainnet_pool_id"], "alias": "not_null_core_vault_liquidation_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3293018, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_pool_id__True__0.c4b79598cb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__f63d5e5a5e522a8c30ea4c8b615e3e5e.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_pool_id__True__0.c4b79598cb", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__f63d5e5a5e522a8c30ea4c8b615e3e5e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__f63d5e5a5e522a8c30ea4c8b615e3e5e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__f63d5e5a5e522a8c30ea4c8b615e3e5e"}, "created_at": 1723584317.3309047, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__f63d5e5a5e522a8c30ea4c8b615e3e5e\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__f63d5e5a5e522a8c30ea4c8b615e3e5e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_event_name.fcb481b7e9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_event_name.fcb481b7e9", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_liquidation_arbitrum_mainnet_event_name"], "alias": "not_null_core_vault_liquidation_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.33512, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_vault_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_vault_liquidation_arbitrum_mainnet_event_name__VaultLiquidation.429345a118": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_vault_liquidation_arbitrum_mainnet_event_name__VaultLiquidation", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_vault_liq_6095cf2bff19baee5a4998828dc70324.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_vault_liquidation_arbitrum_mainnet_event_name__VaultLiquidation.429345a118", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_vault_liquidation_arbitrum_mainnet_event_name__VaultLiquidation"], "alias": "accepted_values_core_vault_liq_6095cf2bff19baee5a4998828dc70324", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_vault_liq_6095cf2bff19baee5a4998828dc70324", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_vault_liq_6095cf2bff19baee5a4998828dc70324"}, "created_at": 1723584317.3367672, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_vault_liq_6095cf2bff19baee5a4998828dc70324\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_vault_liq_6095cf2bff19baee5a4998828dc70324.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'VaultLiquidation'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_vault_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["VaultLiquidation"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_id.c7ac33a6c3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_id.c7ac33a6c3", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_liquidation_arbitrum_mainnet_id"], "alias": "not_null_core_vault_liquidation_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3408964, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_vault_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_vault_liquidation_arbitrum_mainnet_id.3f5a30c375": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_vault_liquidation_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_vault_liquidation_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_vault_liquidation_arbitrum_mainnet_id.3f5a30c375", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_vault_liquidation_arbitrum_mainnet_id"], "alias": "unique_core_vault_liquidation_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.34255, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_vault_liquidation_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_vault_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_block_timestamp.3054b6aeaa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_edbeff2a9e391e647da0aed49fa55c31.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_block_timestamp.3054b6aeaa", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_liquidation_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_vault_liquidatio_edbeff2a9e391e647da0aed49fa55c31", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_edbeff2a9e391e647da0aed49fa55c31", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_vault_liquidatio_edbeff2a9e391e647da0aed49fa55c31"}, "created_at": 1723584317.3442073, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_edbeff2a9e391e647da0aed49fa55c31\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_edbeff2a9e391e647da0aed49fa55c31.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_vault_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id.5e1fa876a7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_ed674d5ff714efc416d714e69fc94711.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id.5e1fa876a7", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id"], "alias": "not_null_core_vault_liquidatio_ed674d5ff714efc416d714e69fc94711", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_ed674d5ff714efc416d714e69fc94711", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_vault_liquidatio_ed674d5ff714efc416d714e69fc94711"}, "created_at": 1723584317.3459504, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_ed674d5ff714efc416d714e69fc94711\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_ed674d5ff714efc416d714e69fc94711.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidate_as_account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere liquidate_as_account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_vault_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0.c9be297afd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__c5b65935367ae54ff2e891d5bdcb69d2.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0.c9be297afd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__c5b65935367ae54ff2e891d5bdcb69d2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__c5b65935367ae54ff2e891d5bdcb69d2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__c5b65935367ae54ff2e891d5bdcb69d2"}, "created_at": 1723584317.347645, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__c5b65935367ae54ff2e891d5bdcb69d2\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c5b65935367ae54ff2e891d5bdcb69d2.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not liquidate_as_account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_vault_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_liquidation_data.2555b245ad": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_mainnet_liquidation_data", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_2415782e836c6b669ea8436e64c0849d.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_liquidation_data.2555b245ad", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_liquidation_arbitrum_mainnet_liquidation_data"], "alias": "not_null_core_vault_liquidatio_2415782e836c6b669ea8436e64c0849d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_2415782e836c6b669ea8436e64c0849d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_vault_liquidatio_2415782e836c6b669ea8436e64c0849d"}, "created_at": 1723584317.3518598, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_2415782e836c6b669ea8436e64c0849d\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_2415782e836c6b669ea8436e64c0849d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidation_data\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere liquidation_data is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidation_data", "file_key_name": "models.core_vault_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "liquidation_data", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_contract.625029e21f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_contract.625029e21f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_liquidation_arbitrum_mainnet_contract"], "alias": "not_null_core_vault_liquidation_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3534904, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_vault_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_block_number.1dc8ebaf67": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_block_number.1dc8ebaf67", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_liquidation_arbitrum_mainnet_block_number"], "alias": "not_null_core_vault_liquidation_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3551145, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_vault_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_sender.d35f8c0cc2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_arbitrum_mainnet_sender.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_sender.d35f8c0cc2", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_liquidation_arbitrum_mainnet_sender"], "alias": "not_null_core_vault_liquidation_arbitrum_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3567517, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_vault_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_ts.d7d74011cb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_arbitrum_mainnet_ts.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_ts.d7d74011cb", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_collateral_arbitrum_mainnet_ts"], "alias": "not_null_core_vault_collateral_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3583715, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.core_vault_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_block_number.5a68e5a2c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_block_number.5a68e5a2c2", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_collateral_arbitrum_mainnet_block_number"], "alias": "not_null_core_vault_collateral_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.360099, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_vault_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_pool_id.4536274374": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_pool_id.4536274374", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_collateral_arbitrum_mainnet_pool_id"], "alias": "not_null_core_vault_collateral_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3617036, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_pool_id__True__0.14e1d9edc3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__6ff23194f832443df6b21fe69436430c.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_pool_id__True__0.14e1d9edc3", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__6ff23194f832443df6b21fe69436430c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__6ff23194f832443df6b21fe69436430c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__6ff23194f832443df6b21fe69436430c"}, "created_at": 1723584317.3633578, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__6ff23194f832443df6b21fe69436430c\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__6ff23194f832443df6b21fe69436430c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_collateral_type.50f0a76c9d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_collateral_type.50f0a76c9d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_collateral_arbitrum_mainnet_collateral_type"], "alias": "not_null_core_vault_collateral_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3677385, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_amount.0bdb85ef31": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_arbitrum_mainnet_amount.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_amount.0bdb85ef31", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_collateral_arbitrum_mainnet_amount"], "alias": "not_null_core_vault_collateral_arbitrum_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3694701, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_vault_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_amount__True__0.b98dc30014": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__c4067ecbb847c7045c7afebdb68d1a02.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_amount__True__0.b98dc30014", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__c4067ecbb847c7045c7afebdb68d1a02", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__c4067ecbb847c7045c7afebdb68d1a02", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__c4067ecbb847c7045c7afebdb68d1a02"}, "created_at": 1723584317.371135, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__c4067ecbb847c7045c7afebdb68d1a02\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c4067ecbb847c7045c7afebdb68d1a02.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_vault_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_collateral_value.09fcd07f3a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_mainnet_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_cf213cb7e0e55ec70bd0cbcc38c21022.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_collateral_value.09fcd07f3a", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_collateral_arbitrum_mainnet_collateral_value"], "alias": "not_null_core_vault_collateral_cf213cb7e0e55ec70bd0cbcc38c21022", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_collateral_cf213cb7e0e55ec70bd0cbcc38c21022", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_vault_collateral_cf213cb7e0e55ec70bd0cbcc38c21022"}, "created_at": 1723584317.375358, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_collateral_cf213cb7e0e55ec70bd0cbcc38c21022\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_cf213cb7e0e55ec70bd0cbcc38c21022.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.core_vault_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_collateral_value__True__0.9fa49aae71": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__b2b477e0fac69864d383c1ff941e78c9.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_collateral_value__True__0.9fa49aae71", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_core__b2b477e0fac69864d383c1ff941e78c9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__b2b477e0fac69864d383c1ff941e78c9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__b2b477e0fac69864d383c1ff941e78c9"}, "created_at": 1723584317.3770192, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__b2b477e0fac69864d383c1ff941e78c9\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b2b477e0fac69864d383c1ff941e78c9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.core_vault_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_contract_address.8cc08e1bbc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_mainnet_contract_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_4d64c8eaa01fe95c5b02ce8af6762f6e.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_contract_address.8cc08e1bbc", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_collateral_arbitrum_mainnet_contract_address"], "alias": "not_null_core_vault_collateral_4d64c8eaa01fe95c5b02ce8af6762f6e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_collateral_4d64c8eaa01fe95c5b02ce8af6762f6e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_vault_collateral_4d64c8eaa01fe95c5b02ce8af6762f6e"}, "created_at": 1723584317.3812647, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_collateral_4d64c8eaa01fe95c5b02ce8af6762f6e\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_4d64c8eaa01fe95c5b02ce8af6762f6e.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract_address\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\nwhere contract_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract_address", "file_key_name": "models.core_vault_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract_address", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_ts.d2363d0b7d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_arbitrum_mainnet_ts.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_ts.d2363d0b7d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_debt_arbitrum_mainnet_ts"], "alias": "not_null_core_vault_debt_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3829122, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_debt_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.core_vault_debt_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_debt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_block_number.3ef5dfaa45": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_block_number.3ef5dfaa45", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_debt_arbitrum_mainnet_block_number"], "alias": "not_null_core_vault_debt_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3845687, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_debt_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_vault_debt_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_debt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_pool_id.8f94082342": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_pool_id.8f94082342", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_debt_arbitrum_mainnet_pool_id"], "alias": "not_null_core_vault_debt_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3861768, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_debt_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_debt_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_debt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_debt_arbitrum_mainnet_pool_id__True__0.8e3a2c72e9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_debt_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__c4e1955a9097cfc0472cb79eca9a6dc0.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_arbitrum_mainnet_pool_id__True__0.8e3a2c72e9", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_vault_debt_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__c4e1955a9097cfc0472cb79eca9a6dc0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__c4e1955a9097cfc0472cb79eca9a6dc0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__c4e1955a9097cfc0472cb79eca9a6dc0"}, "created_at": 1723584317.3879828, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__c4e1955a9097cfc0472cb79eca9a6dc0\") }}", "language": "sql", "refs": [{"name": "core_vault_debt_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c4e1955a9097cfc0472cb79eca9a6dc0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_debt_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_debt_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_debt_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_collateral_type.f9fb1089d7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_collateral_type.f9fb1089d7", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_debt_arbitrum_mainnet_collateral_type"], "alias": "not_null_core_vault_debt_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3920715, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_debt_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_debt_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_debt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_debt.7a33d30f43": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_arbitrum_mainnet_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_arbitrum_mainnet_debt.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_debt.7a33d30f43", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_debt_arbitrum_mainnet_debt"], "alias": "not_null_core_vault_debt_arbitrum_mainnet_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3938713, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_debt_arbitrum_mainnet\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.core_vault_debt_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_debt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_contract_address.fee8a6440d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_arbitrum_mainnet_contract_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_arbitrum_mainnet_contract_address.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_contract_address.fee8a6440d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_debt_arbitrum_mainnet_contract_address"], "alias": "not_null_core_vault_debt_arbitrum_mainnet_contract_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3955326, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_contract_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract_address\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_debt_arbitrum_mainnet\"\nwhere contract_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract_address", "file_key_name": "models.core_vault_debt_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_debt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract_address", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_id.2bedbed49c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_id.2bedbed49c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_committed_arbitrum_mainnet_id"], "alias": "not_null_spot_order_committed_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.418198, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_committed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_order_committed_arbitrum_mainnet_id.715535831f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_order_committed_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_order_committed_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_order_committed_arbitrum_mainnet_id.715535831f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "unique_spot_order_committed_arbitrum_mainnet_id"], "alias": "unique_spot_order_committed_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4199138, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_committed_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_committed_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_event_name.364a2ed7fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_event_name.364a2ed7fd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_committed_arbitrum_mainnet_event_name"], "alias": "not_null_spot_order_committed_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4215596, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_committed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_order_committed_arbitrum_mainnet_event_name__OrderCommitted.e30a77b9b3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_order_committed_arbitrum_mainnet_event_name__OrderCommitted", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_order_com_612c7255a7f36043bcb4a7cdb76a0e20.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_order_committed_arbitrum_mainnet_event_name__OrderCommitted.e30a77b9b3", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "accepted_values_spot_order_committed_arbitrum_mainnet_event_name__OrderCommitted"], "alias": "accepted_values_spot_order_com_612c7255a7f36043bcb4a7cdb76a0e20", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_order_com_612c7255a7f36043bcb4a7cdb76a0e20", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_order_com_612c7255a7f36043bcb4a7cdb76a0e20"}, "created_at": 1723584317.4232242, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_order_com_612c7255a7f36043bcb4a7cdb76a0e20\") }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_order_com_612c7255a7f36043bcb4a7cdb76a0e20.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderCommitted'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_committed_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderCommitted"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_sender.d7cbd6bc05": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_mainnet_sender.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_sender.d7cbd6bc05", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_committed_arbitrum_mainnet_sender"], "alias": "not_null_spot_order_committed_arbitrum_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4278584, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.spot_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_committed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_block_timestamp.a4f827fd66": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_block_timestamp.a4f827fd66", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_committed_arbitrum_mainnet_block_timestamp"], "alias": "not_null_spot_order_committed_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4295137, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_committed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_referrer.23dc146929": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_mainnet_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_mainnet_referrer.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_referrer.23dc146929", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_committed_arbitrum_mainnet_referrer"], "alias": "not_null_spot_order_committed_arbitrum_mainnet_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.431311, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "file_key_name": "models.spot_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_committed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referrer", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_amount_provided.618d749652": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_mainnet_amount_provided", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_mainnet_amount_provided.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_amount_provided.618d749652", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_committed_arbitrum_mainnet_amount_provided"], "alias": "not_null_spot_order_committed_arbitrum_mainnet_amount_provided", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4329352, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_amount_provided.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_provided\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere amount_provided is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_provided", "file_key_name": "models.spot_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_committed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_provided", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_amount_provided__True__0.a0c5711e24": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_amount_provided__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__9a56f742862e6cc8ba800f049871410a.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_amount_provided__True__0.a0c5711e24", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_amount_provided__True__0"], "alias": "dbt_utils_accepted_range_spot__9a56f742862e6cc8ba800f049871410a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__9a56f742862e6cc8ba800f049871410a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__9a56f742862e6cc8ba800f049871410a"}, "created_at": 1723584317.4345555, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__9a56f742862e6cc8ba800f049871410a\") }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__9a56f742862e6cc8ba800f049871410a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_provided >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_provided", "file_key_name": "models.spot_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_committed_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_provided", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_transaction_hash.47ac362f75": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_transaction_hash.47ac362f75", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_committed_arbitrum_mainnet_transaction_hash"], "alias": "not_null_spot_order_committed_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.43874, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_committed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_contract.1d73e820e2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_contract.1d73e820e2", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_committed_arbitrum_mainnet_contract"], "alias": "not_null_spot_order_committed_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4403825, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_committed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_market_id.eb267aefe6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_mainnet_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_market_id.eb267aefe6", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_committed_arbitrum_mainnet_market_id"], "alias": "not_null_spot_order_committed_arbitrum_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4420075, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_committed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_market_id__True__0.fcb0bd480c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__5645de8902a4439c1821035cd269d4c3.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_market_id__True__0.fcb0bd480c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__5645de8902a4439c1821035cd269d4c3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__5645de8902a4439c1821035cd269d4c3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__5645de8902a4439c1821035cd269d4c3"}, "created_at": 1723584317.4436884, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__5645de8902a4439c1821035cd269d4c3\") }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__5645de8902a4439c1821035cd269d4c3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_committed_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_block_number.bbd3030ffd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_block_number.bbd3030ffd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_committed_arbitrum_mainnet_block_number"], "alias": "not_null_spot_order_committed_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4478397, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_committed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_order_type.9bedf0c3bc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_mainnet_order_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_mainnet_order_type.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_order_type.9bedf0c3bc", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_committed_arbitrum_mainnet_order_type"], "alias": "not_null_spot_order_committed_arbitrum_mainnet_order_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.449454, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_order_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect order_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere order_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "order_type", "file_key_name": "models.spot_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_committed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "order_type", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_final_order_amount__True__0.d78aeda819": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_final_order_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__53c639690d3f6db86ed3a99de0616038.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_final_order_amount__True__0.d78aeda819", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_final_order_amount__True__0"], "alias": "dbt_utils_accepted_range_spot__53c639690d3f6db86ed3a99de0616038", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__53c639690d3f6db86ed3a99de0616038", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__53c639690d3f6db86ed3a99de0616038"}, "created_at": 1723584317.4511352, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__53c639690d3f6db86ed3a99de0616038\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__53c639690d3f6db86ed3a99de0616038.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not final_order_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "final_order_amount", "file_key_name": "models.spot_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_settled_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "final_order_amount", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_settler.2f85667062": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_mainnet_settler", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_mainnet_settler.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_settler.2f85667062", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_settled_arbitrum_mainnet_settler"], "alias": "not_null_spot_order_settled_arbitrum_mainnet_settler", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4553862, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_settler.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect settler\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere settler is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "settler", "file_key_name": "models.spot_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_settled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "settler", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_block_number.876a0a0282": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_block_number.876a0a0282", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_settled_arbitrum_mainnet_block_number"], "alias": "not_null_spot_order_settled_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4570491, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_settled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_transaction_hash.a8b7f93ae5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_transaction_hash.a8b7f93ae5", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_settled_arbitrum_mainnet_transaction_hash"], "alias": "not_null_spot_order_settled_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4588351, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_settled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_block_timestamp.483fdb2a21": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_block_timestamp.483fdb2a21", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_settled_arbitrum_mainnet_block_timestamp"], "alias": "not_null_spot_order_settled_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4604752, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_settled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_id.1124fb8990": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_id.1124fb8990", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_settled_arbitrum_mainnet_id"], "alias": "not_null_spot_order_settled_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.462068, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_settled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_order_settled_arbitrum_mainnet_id.a1ec7e590f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_order_settled_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_order_settled_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_order_settled_arbitrum_mainnet_id.a1ec7e590f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "unique_spot_order_settled_arbitrum_mainnet_id"], "alias": "unique_spot_order_settled_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4636836, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_settled_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_settled_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_order_type.cc9846cfde": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_mainnet_order_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_mainnet_order_type.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_order_type.cc9846cfde", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_settled_arbitrum_mainnet_order_type"], "alias": "not_null_spot_order_settled_arbitrum_mainnet_order_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4652908, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_order_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect order_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere order_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "order_type", "file_key_name": "models.spot_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_settled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "order_type", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_contract.7d4f904249": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_contract.7d4f904249", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_settled_arbitrum_mainnet_contract"], "alias": "not_null_spot_order_settled_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.466999, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_settled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_price.3e2897303c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_mainnet_price.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_price.3e2897303c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_settled_arbitrum_mainnet_price"], "alias": "not_null_spot_order_settled_arbitrum_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.468633, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_settled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_price__True__0.94dec93a68": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__a35b7176e9f72d0481ad6d735e7bb103.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_price__True__0.94dec93a68", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_spot__a35b7176e9f72d0481ad6d735e7bb103", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__a35b7176e9f72d0481ad6d735e7bb103", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__a35b7176e9f72d0481ad6d735e7bb103"}, "created_at": 1723584317.4702342, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__a35b7176e9f72d0481ad6d735e7bb103\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__a35b7176e9f72d0481ad6d735e7bb103.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_settled_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_market_id.84635206a3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_mainnet_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_market_id.84635206a3", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_settled_arbitrum_mainnet_market_id"], "alias": "not_null_spot_order_settled_arbitrum_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4744394, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_settled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_market_id__True__0.498546554e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__9e6f9cd3db0f82b8764ba445759e8445.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_market_id__True__0.498546554e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__9e6f9cd3db0f82b8764ba445759e8445", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__9e6f9cd3db0f82b8764ba445759e8445", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__9e6f9cd3db0f82b8764ba445759e8445"}, "created_at": 1723584317.476121, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__9e6f9cd3db0f82b8764ba445759e8445\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__9e6f9cd3db0f82b8764ba445759e8445.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_settled_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_collected_fees.4c46cfb386": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_mainnet_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_mainnet_collected_fees.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_collected_fees.4c46cfb386", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_settled_arbitrum_mainnet_collected_fees"], "alias": "not_null_spot_order_settled_arbitrum_mainnet_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.480335, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_settled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_collected_fees__True__0.e9fce02c77": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__5d972fc4f292296beb2cb5f34a47fa6e.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_collected_fees__True__0.e9fce02c77", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_spot__5d972fc4f292296beb2cb5f34a47fa6e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__5d972fc4f292296beb2cb5f34a47fa6e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__5d972fc4f292296beb2cb5f34a47fa6e"}, "created_at": 1723584317.481992, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__5d972fc4f292296beb2cb5f34a47fa6e\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__5d972fc4f292296beb2cb5f34a47fa6e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_settled_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_event_name.32a64f7398": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_event_name.32a64f7398", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_settled_arbitrum_mainnet_event_name"], "alias": "not_null_spot_order_settled_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4861681, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_settled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_order_settled_arbitrum_mainnet_event_name__OrderSettled.c43865614e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_order_settled_arbitrum_mainnet_event_name__OrderSettled", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_order_set_d3b65b75a55fbc94523af798a74f0d8d.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_order_settled_arbitrum_mainnet_event_name__OrderSettled.c43865614e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "accepted_values_spot_order_settled_arbitrum_mainnet_event_name__OrderSettled"], "alias": "accepted_values_spot_order_set_d3b65b75a55fbc94523af798a74f0d8d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_order_set_d3b65b75a55fbc94523af798a74f0d8d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_order_set_d3b65b75a55fbc94523af798a74f0d8d"}, "created_at": 1723584317.4878933, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_order_set_d3b65b75a55fbc94523af798a74f0d8d\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_order_set_d3b65b75a55fbc94523af798a74f0d8d.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderSettled'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_settled_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderSettled"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_id.bf2929fb2c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_id.bf2929fb2c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_cancelled_arbitrum_mainnet_id"], "alias": "not_null_spot_order_cancelled_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.492959, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_cancelled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_order_cancelled_arbitrum_mainnet_id.de40647c46": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_order_cancelled_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_order_cancelled_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_order_cancelled_arbitrum_mainnet_id.de40647c46", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "unique_spot_order_cancelled_arbitrum_mainnet_id"], "alias": "unique_spot_order_cancelled_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.494588, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_cancelled_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_cancelled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp.a2656a614b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp.a2656a614b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp"], "alias": "not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4962244, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_order_cancelled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash.43ee88aad5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash.43ee88aad5", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash"], "alias": "not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4978185, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_order_cancelled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_sender.a796a774d3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_mainnet_sender.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_sender.a796a774d3", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_cancelled_arbitrum_mainnet_sender"], "alias": "not_null_spot_order_cancelled_arbitrum_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.499571, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.spot_order_cancelled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_contract.cc9a04e73e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_contract.cc9a04e73e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_cancelled_arbitrum_mainnet_contract"], "alias": "not_null_spot_order_cancelled_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5011804, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_order_cancelled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_event_name.f29a2c6180": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_event_name.f29a2c6180", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_cancelled_arbitrum_mainnet_event_name"], "alias": "not_null_spot_order_cancelled_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5027757, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_cancelled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_order_cancelled_arbitrum_mainnet_event_name__OrderCancelled.bcb12d7741": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_order_cancelled_arbitrum_mainnet_event_name__OrderCancelled", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_order_can_8958c622ce842464f22572f8ca643dd9.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_order_cancelled_arbitrum_mainnet_event_name__OrderCancelled.bcb12d7741", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "accepted_values_spot_order_cancelled_arbitrum_mainnet_event_name__OrderCancelled"], "alias": "accepted_values_spot_order_can_8958c622ce842464f22572f8ca643dd9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_order_can_8958c622ce842464f22572f8ca643dd9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_order_can_8958c622ce842464f22572f8ca643dd9"}, "created_at": 1723584317.5044181, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_order_can_8958c622ce842464f22572f8ca643dd9\") }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_order_can_8958c622ce842464f22572f8ca643dd9.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderCancelled'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_cancelled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderCancelled"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_market_id.629e55a158": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_mainnet_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_market_id.629e55a158", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_cancelled_arbitrum_mainnet_market_id"], "alias": "not_null_spot_order_cancelled_arbitrum_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5088668, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_cancelled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_arbitrum_mainnet_market_id__True__0.8d08288d1d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_cancelled_arbitrum_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__51adb6d95dfdf12f2a6f8c433c71ec70.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_arbitrum_mainnet_market_id__True__0.8d08288d1d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_cancelled_arbitrum_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__51adb6d95dfdf12f2a6f8c433c71ec70", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__51adb6d95dfdf12f2a6f8c433c71ec70", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__51adb6d95dfdf12f2a6f8c433c71ec70"}, "created_at": 1723584317.510503, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__51adb6d95dfdf12f2a6f8c433c71ec70\") }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__51adb6d95dfdf12f2a6f8c433c71ec70.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_cancelled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_block_number.a85db0bd00": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_block_number.a85db0bd00", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_cancelled_arbitrum_mainnet_block_number"], "alias": "not_null_spot_order_cancelled_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5146668, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_order_cancelled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_id.456af96984": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_id.456af96984", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_registered_arbitrum_mainnet_id"], "alias": "not_null_spot_synth_registered_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5163243, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_registered_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_registered_arbitrum_mainnet_id.d4fd9eb0ba": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_registered_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_registered_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_registered_arbitrum_mainnet_id.d4fd9eb0ba", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "unique_spot_synth_registered_arbitrum_mainnet_id"], "alias": "unique_spot_synth_registered_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5179248, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_registered_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_registered_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp.155e02a96a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp.155e02a96a", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp"], "alias": "not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5197115, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_synth_registered_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id.b02a502d7f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id.b02a502d7f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id"], "alias": "not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5213132, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_registered_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_arbitrum_mainnet_synth_market_id__True__0.03490626a4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_registered_arbitrum_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__fde6d5b608f35fa598f8e7ca933aa5f8.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_arbitrum_mainnet_synth_market_id__True__0.03490626a4", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_registered_arbitrum_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__fde6d5b608f35fa598f8e7ca933aa5f8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__fde6d5b608f35fa598f8e7ca933aa5f8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__fde6d5b608f35fa598f8e7ca933aa5f8"}, "created_at": 1723584317.5229204, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__fde6d5b608f35fa598f8e7ca933aa5f8\") }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__fde6d5b608f35fa598f8e7ca933aa5f8.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_registered_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_block_number.c19306427b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_block_number.c19306427b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_registered_arbitrum_mainnet_block_number"], "alias": "not_null_spot_synth_registered_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5271125, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_synth_registered_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_contract.dc09abd1d6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_contract.dc09abd1d6", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_registered_arbitrum_mainnet_contract"], "alias": "not_null_spot_synth_registered_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5287645, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_synth_registered_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_synth_token_address.e815b8c9d4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_mainnet_synth_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_24c43a4e864a0810c9cb52d5d564cd74.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_synth_token_address.e815b8c9d4", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_registered_arbitrum_mainnet_synth_token_address"], "alias": "not_null_spot_synth_registered_24c43a4e864a0810c9cb52d5d564cd74", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_spot_synth_registered_24c43a4e864a0810c9cb52d5d564cd74", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_spot_synth_registered_24c43a4e864a0810c9cb52d5d564cd74"}, "created_at": 1723584317.530389, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_spot_synth_registered_24c43a4e864a0810c9cb52d5d564cd74\") }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_24c43a4e864a0810c9cb52d5d564cd74.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_token_address\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\nwhere synth_token_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_token_address", "file_key_name": "models.spot_synth_registered_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_token_address", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_event_name.aa6a178336": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_event_name.aa6a178336", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_registered_arbitrum_mainnet_event_name"], "alias": "not_null_spot_synth_registered_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.532036, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_registered_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_registered_arbitrum_mainnet_event_name__SynthRegistered.dab3843a60": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_registered_arbitrum_mainnet_event_name__SynthRegistered", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_reg_fedea85a7b1d2062774e1e713536791e.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_registered_arbitrum_mainnet_event_name__SynthRegistered.dab3843a60", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "accepted_values_spot_synth_registered_arbitrum_mainnet_event_name__SynthRegistered"], "alias": "accepted_values_spot_synth_reg_fedea85a7b1d2062774e1e713536791e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_reg_fedea85a7b1d2062774e1e713536791e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_synth_reg_fedea85a7b1d2062774e1e713536791e"}, "created_at": 1723584317.5337973, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_reg_fedea85a7b1d2062774e1e713536791e\") }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_reg_fedea85a7b1d2062774e1e713536791e.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthRegistered'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_registered_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthRegistered"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_transaction_hash.ae02976291": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_9666aca0705c3f058c05e5046e31f743.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_transaction_hash.ae02976291", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_registered_arbitrum_mainnet_transaction_hash"], "alias": "not_null_spot_synth_registered_9666aca0705c3f058c05e5046e31f743", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_spot_synth_registered_9666aca0705c3f058c05e5046e31f743", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_spot_synth_registered_9666aca0705c3f058c05e5046e31f743"}, "created_at": 1723584317.5381804, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_spot_synth_registered_9666aca0705c3f058c05e5046e31f743\") }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_9666aca0705c3f058c05e5046e31f743.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_synth_registered_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_collected_fees.975bb20444": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_mainnet_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_mainnet_collected_fees.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_collected_fees.975bb20444", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_bought_arbitrum_mainnet_collected_fees"], "alias": "not_null_spot_synth_bought_arbitrum_mainnet_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5400054, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_synth_bought_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_collected_fees__True__0.ffa72f24d6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__118beddb72a791fb331bdcbe14c456e3.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_collected_fees__True__0.ffa72f24d6", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_spot__118beddb72a791fb331bdcbe14c456e3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__118beddb72a791fb331bdcbe14c456e3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__118beddb72a791fb331bdcbe14c456e3"}, "created_at": 1723584317.5416422, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__118beddb72a791fb331bdcbe14c456e3\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__118beddb72a791fb331bdcbe14c456e3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_synth_bought_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash.46c5786b65": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash.46c5786b65", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash"], "alias": "not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.545715, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_synth_bought_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id.11b8c58586": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id.11b8c58586", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id"], "alias": "not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5475478, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_bought_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_synth_market_id__True__0.39b07cbd1a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__82b39e4f1130c8843eed9f8114bed411.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_synth_market_id__True__0.39b07cbd1a", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__82b39e4f1130c8843eed9f8114bed411", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__82b39e4f1130c8843eed9f8114bed411", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__82b39e4f1130c8843eed9f8114bed411"}, "created_at": 1723584317.5491807, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__82b39e4f1130c8843eed9f8114bed411\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__82b39e4f1130c8843eed9f8114bed411.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_bought_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_block_number.3db00f8fd2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_block_number.3db00f8fd2", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_bought_arbitrum_mainnet_block_number"], "alias": "not_null_spot_synth_bought_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.553425, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_synth_bought_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp.1e3c9accd9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp.1e3c9accd9", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp"], "alias": "not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.555055, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_synth_bought_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_id.94c6a2689e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_id.94c6a2689e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_bought_arbitrum_mainnet_id"], "alias": "not_null_spot_synth_bought_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.556688, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_bought_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_bought_arbitrum_mainnet_id.97a98f064e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_bought_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_bought_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_bought_arbitrum_mainnet_id.97a98f064e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "unique_spot_synth_bought_arbitrum_mainnet_id"], "alias": "unique_spot_synth_bought_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5583026, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_bought_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_bought_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_price.b7069dc105": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_mainnet_price.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_price.b7069dc105", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_bought_arbitrum_mainnet_price"], "alias": "not_null_spot_synth_bought_arbitrum_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5599356, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_synth_bought_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_price__True__0.2666787a3a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__16e212051b13a672328df75be071827f.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_price__True__0.2666787a3a", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_spot__16e212051b13a672328df75be071827f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__16e212051b13a672328df75be071827f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__16e212051b13a672328df75be071827f"}, "created_at": 1723584317.5616627, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__16e212051b13a672328df75be071827f\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__16e212051b13a672328df75be071827f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_synth_bought_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_contract.7f6d914e0b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_contract.7f6d914e0b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_bought_arbitrum_mainnet_contract"], "alias": "not_null_spot_synth_bought_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5657036, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_synth_bought_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_referrer.d5123874c5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_mainnet_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_mainnet_referrer.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_referrer.d5123874c5", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_bought_arbitrum_mainnet_referrer"], "alias": "not_null_spot_synth_bought_arbitrum_mainnet_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5675395, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "file_key_name": "models.spot_synth_bought_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referrer", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_event_name.aa51f8b10f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_event_name.aa51f8b10f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_bought_arbitrum_mainnet_event_name"], "alias": "not_null_spot_synth_bought_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.569164, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_bought_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_bought_arbitrum_mainnet_event_name__SynthBought.6968f2e38e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_bought_arbitrum_mainnet_event_name__SynthBought", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_bou_4d0f7b26a6e9d474f288b820a2a82e88.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_bought_arbitrum_mainnet_event_name__SynthBought.6968f2e38e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "accepted_values_spot_synth_bought_arbitrum_mainnet_event_name__SynthBought"], "alias": "accepted_values_spot_synth_bou_4d0f7b26a6e9d474f288b820a2a82e88", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_bou_4d0f7b26a6e9d474f288b820a2a82e88", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_synth_bou_4d0f7b26a6e9d474f288b820a2a82e88"}, "created_at": 1723584317.570787, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_bou_4d0f7b26a6e9d474f288b820a2a82e88\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_bou_4d0f7b26a6e9d474f288b820a2a82e88.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthBought'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_bought_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthBought"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_event_name.77e48ea6b8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_event_name.77e48ea6b8", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_sold_arbitrum_mainnet_event_name"], "alias": "not_null_spot_synth_sold_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.575627, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_sold_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_sold_arbitrum_mainnet_event_name__SynthSold.c2779b95d3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_sold_arbitrum_mainnet_event_name__SynthSold", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_sol_0a88e02c20f4285a38c7fc2ec7440aa5.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_sold_arbitrum_mainnet_event_name__SynthSold.c2779b95d3", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "accepted_values_spot_synth_sold_arbitrum_mainnet_event_name__SynthSold"], "alias": "accepted_values_spot_synth_sol_0a88e02c20f4285a38c7fc2ec7440aa5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_sol_0a88e02c20f4285a38c7fc2ec7440aa5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_synth_sol_0a88e02c20f4285a38c7fc2ec7440aa5"}, "created_at": 1723584317.5772996, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_sol_0a88e02c20f4285a38c7fc2ec7440aa5\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_sol_0a88e02c20f4285a38c7fc2ec7440aa5.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthSold'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_sold_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthSold"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash.b35ac6eb10": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash.b35ac6eb10", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash"], "alias": "not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5818548, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_synth_sold_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_collected_fees.ae5a9854f2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_mainnet_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_mainnet_collected_fees.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_collected_fees.ae5a9854f2", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_sold_arbitrum_mainnet_collected_fees"], "alias": "not_null_spot_synth_sold_arbitrum_mainnet_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5835533, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_synth_sold_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_collected_fees__True__0.ebed4cb6c6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__39815e5a71f59b35ff559c6cb94df4e2.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_collected_fees__True__0.ebed4cb6c6", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_spot__39815e5a71f59b35ff559c6cb94df4e2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__39815e5a71f59b35ff559c6cb94df4e2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__39815e5a71f59b35ff559c6cb94df4e2"}, "created_at": 1723584317.5851765, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__39815e5a71f59b35ff559c6cb94df4e2\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__39815e5a71f59b35ff559c6cb94df4e2.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_synth_sold_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp.ece96724ff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp.ece96724ff", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp"], "alias": "not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5893679, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_synth_sold_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_referrer.fc97629e01": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_mainnet_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_mainnet_referrer.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_referrer.fc97629e01", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_sold_arbitrum_mainnet_referrer"], "alias": "not_null_spot_synth_sold_arbitrum_mainnet_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5910048, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "file_key_name": "models.spot_synth_sold_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referrer", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_block_number.21c8144aca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_block_number.21c8144aca", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_sold_arbitrum_mainnet_block_number"], "alias": "not_null_spot_synth_sold_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.592659, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_synth_sold_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_price.83b6e6b427": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_mainnet_price.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_price.83b6e6b427", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_sold_arbitrum_mainnet_price"], "alias": "not_null_spot_synth_sold_arbitrum_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5944152, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_synth_sold_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_price__True__0.736ec6a18f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__965ba5e4a40cef652215a98792245930.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_price__True__0.736ec6a18f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_spot__965ba5e4a40cef652215a98792245930", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__965ba5e4a40cef652215a98792245930", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__965ba5e4a40cef652215a98792245930"}, "created_at": 1723584317.596054, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__965ba5e4a40cef652215a98792245930\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__965ba5e4a40cef652215a98792245930.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_synth_sold_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_amount_returned.a22fe1e87b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_mainnet_amount_returned", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_mainnet_amount_returned.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_amount_returned.a22fe1e87b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_sold_arbitrum_mainnet_amount_returned"], "alias": "not_null_spot_synth_sold_arbitrum_mainnet_amount_returned", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6001492, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_amount_returned.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_returned\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere amount_returned is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_returned", "file_key_name": "models.spot_synth_sold_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_returned", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_amount_returned__True__0.94e383949d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_amount_returned__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__f354cedc5a73045b7c974894592d98d4.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_amount_returned__True__0.94e383949d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_amount_returned__True__0"], "alias": "dbt_utils_accepted_range_spot__f354cedc5a73045b7c974894592d98d4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__f354cedc5a73045b7c974894592d98d4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__f354cedc5a73045b7c974894592d98d4"}, "created_at": 1723584317.6019773, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__f354cedc5a73045b7c974894592d98d4\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__f354cedc5a73045b7c974894592d98d4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_returned >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_returned", "file_key_name": "models.spot_synth_sold_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_returned", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id.0a9309e0fe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id.0a9309e0fe", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id"], "alias": "not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6060042, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_sold_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_synth_market_id__True__0.502a7c73ae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__811ac17f45c2607ffe25a2191580334f.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_synth_market_id__True__0.502a7c73ae", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__811ac17f45c2607ffe25a2191580334f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__811ac17f45c2607ffe25a2191580334f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__811ac17f45c2607ffe25a2191580334f"}, "created_at": 1723584317.6078548, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__811ac17f45c2607ffe25a2191580334f\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__811ac17f45c2607ffe25a2191580334f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_sold_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_id.5672923066": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_id.5672923066", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_sold_arbitrum_mainnet_id"], "alias": "not_null_spot_synth_sold_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6118839, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_sold_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_sold_arbitrum_mainnet_id.77e9d1569f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_sold_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_sold_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_sold_arbitrum_mainnet_id.77e9d1569f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "unique_spot_synth_sold_arbitrum_mainnet_id"], "alias": "unique_spot_synth_sold_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6137278, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_sold_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_sold_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_contract.7e747f7197": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_contract.7e747f7197", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_sold_arbitrum_mainnet_contract"], "alias": "not_null_spot_synth_sold_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6153836, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_synth_sold_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_id.e6be3c26ab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_id.e6be3c26ab", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_wrapped_arbitrum_mainnet_id"], "alias": "not_null_spot_synth_wrapped_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.616996, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_wrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_wrapped_arbitrum_mainnet_id.4240a5b9ed": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_wrapped_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_wrapped_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_wrapped_arbitrum_mainnet_id.4240a5b9ed", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "unique_spot_synth_wrapped_arbitrum_mainnet_id"], "alias": "unique_spot_synth_wrapped_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6186004, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_wrapped_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_wrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash.470b375862": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash.470b375862", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash"], "alias": "not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6202319, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_synth_wrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id.22e9bbcaaf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id.22e9bbcaaf", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id"], "alias": "not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6219265, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_wrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_synth_market_id__True__0.69e1aef58d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__6cace87e4dac2e4c3b6e4cc8c2ab6183.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_synth_market_id__True__0.69e1aef58d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__6cace87e4dac2e4c3b6e4cc8c2ab6183", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__6cace87e4dac2e4c3b6e4cc8c2ab6183", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__6cace87e4dac2e4c3b6e4cc8c2ab6183"}, "created_at": 1723584317.6235354, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__6cace87e4dac2e4c3b6e4cc8c2ab6183\") }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__6cace87e4dac2e4c3b6e4cc8c2ab6183.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_wrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_contract.12b8537d63": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_contract.12b8537d63", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_wrapped_arbitrum_mainnet_contract"], "alias": "not_null_spot_synth_wrapped_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6278472, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_synth_wrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_event_name.a537b3bcc9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_event_name.a537b3bcc9", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_wrapped_arbitrum_mainnet_event_name"], "alias": "not_null_spot_synth_wrapped_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.629517, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_wrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_wrapped_arbitrum_mainnet_event_name__SynthWrapped.c2a7fae75f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_wrapped_arbitrum_mainnet_event_name__SynthWrapped", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_wra_b91a1226e94bc45aafd59decf0beb7da.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_wrapped_arbitrum_mainnet_event_name__SynthWrapped.c2a7fae75f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "accepted_values_spot_synth_wrapped_arbitrum_mainnet_event_name__SynthWrapped"], "alias": "accepted_values_spot_synth_wra_b91a1226e94bc45aafd59decf0beb7da", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_wra_b91a1226e94bc45aafd59decf0beb7da", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_synth_wra_b91a1226e94bc45aafd59decf0beb7da"}, "created_at": 1723584317.6311884, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_wra_b91a1226e94bc45aafd59decf0beb7da\") }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_wra_b91a1226e94bc45aafd59decf0beb7da.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthWrapped'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_wrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthWrapped"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp.62e5fb2f2c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp.62e5fb2f2c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp"], "alias": "not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6356897, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_synth_wrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_block_number.388f222586": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_block_number.388f222586", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_wrapped_arbitrum_mainnet_block_number"], "alias": "not_null_spot_synth_wrapped_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6373289, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_synth_wrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected.ab1cc1a24e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected.ab1cc1a24e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected"], "alias": "not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6389458, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect fees_collected\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\nwhere fees_collected is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "file_key_name": "models.spot_synth_wrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_fees_collected__True__0.8427a98042": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_fees_collected__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__5916f3e442949c3b85752fe12637d1f8.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_fees_collected__True__0.8427a98042", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_fees_collected__True__0"], "alias": "dbt_utils_accepted_range_spot__5916f3e442949c3b85752fe12637d1f8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__5916f3e442949c3b85752fe12637d1f8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__5916f3e442949c3b85752fe12637d1f8"}, "created_at": 1723584317.64058, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__5916f3e442949c3b85752fe12637d1f8\") }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__5916f3e442949c3b85752fe12637d1f8.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not fees_collected >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "file_key_name": "models.spot_synth_wrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp.7eb830695e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp.7eb830695e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp"], "alias": "not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6447904, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_synth_unwrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped.6338d14461": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped.6338d14461", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped"], "alias": "not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6464415, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_unwrapped\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\nwhere amount_unwrapped is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_unwrapped", "file_key_name": "models.spot_synth_unwrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_unwrapped", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped__True__0.dfb2bf555e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__b89d045b278e76cb3f1a9a3e7a3af418.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped__True__0.dfb2bf555e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped__True__0"], "alias": "dbt_utils_accepted_range_spot__b89d045b278e76cb3f1a9a3e7a3af418", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__b89d045b278e76cb3f1a9a3e7a3af418", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__b89d045b278e76cb3f1a9a3e7a3af418"}, "created_at": 1723584317.6481225, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__b89d045b278e76cb3f1a9a3e7a3af418\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__b89d045b278e76cb3f1a9a3e7a3af418.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_unwrapped >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_unwrapped", "file_key_name": "models.spot_synth_unwrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_unwrapped", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected.82edb6c70c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected.82edb6c70c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected"], "alias": "not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6522844, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect fees_collected\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\nwhere fees_collected is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "file_key_name": "models.spot_synth_unwrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_fees_collected__True__0.caa0ab5069": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_fees_collected__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__2a1f6354cf1b32473953f1a2a502086a.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_fees_collected__True__0.caa0ab5069", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_fees_collected__True__0"], "alias": "dbt_utils_accepted_range_spot__2a1f6354cf1b32473953f1a2a502086a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__2a1f6354cf1b32473953f1a2a502086a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__2a1f6354cf1b32473953f1a2a502086a"}, "created_at": 1723584317.6539264, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__2a1f6354cf1b32473953f1a2a502086a\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__2a1f6354cf1b32473953f1a2a502086a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not fees_collected >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "file_key_name": "models.spot_synth_unwrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name.15be4b2d2e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name.15be4b2d2e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name"], "alias": "not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6583827, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_unwrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_unwrapped_arbitrum_mainnet_event_name__SynthUnwrapped.0156eda083": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_unwrapped_arbitrum_mainnet_event_name__SynthUnwrapped", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_unw_8ff3edab6d10fb5d2c67b3a892cce771.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_unwrapped_arbitrum_mainnet_event_name__SynthUnwrapped.0156eda083", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "accepted_values_spot_synth_unwrapped_arbitrum_mainnet_event_name__SynthUnwrapped"], "alias": "accepted_values_spot_synth_unw_8ff3edab6d10fb5d2c67b3a892cce771", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_unw_8ff3edab6d10fb5d2c67b3a892cce771", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_synth_unw_8ff3edab6d10fb5d2c67b3a892cce771"}, "created_at": 1723584317.660043, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_unw_8ff3edab6d10fb5d2c67b3a892cce771\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_unw_8ff3edab6d10fb5d2c67b3a892cce771.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthUnwrapped'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_unwrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthUnwrapped"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number.6c4594ed9b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number.6c4594ed9b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number"], "alias": "not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6645122, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_synth_unwrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash.266bb54277": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash.266bb54277", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash"], "alias": "not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.666129, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_synth_unwrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_contract.df671e35b9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_contract.df671e35b9", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_unwrapped_arbitrum_mainnet_contract"], "alias": "not_null_spot_synth_unwrapped_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6677885, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_synth_unwrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_id.c93a8c455f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_id.c93a8c455f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_unwrapped_arbitrum_mainnet_id"], "alias": "not_null_spot_synth_unwrapped_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6695402, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_unwrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_unwrapped_arbitrum_mainnet_id.81790072c1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_unwrapped_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_unwrapped_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_unwrapped_arbitrum_mainnet_id.81790072c1", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "unique_spot_synth_unwrapped_arbitrum_mainnet_id"], "alias": "unique_spot_synth_unwrapped_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6711688, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_unwrapped_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_unwrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id.597a45b266": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id.597a45b266", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id"], "alias": "not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6727693, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_unwrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id__True__0.c8e2a0ce2e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__75e894a262aaded64378571f08266f9c.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id__True__0.c8e2a0ce2e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__75e894a262aaded64378571f08266f9c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__75e894a262aaded64378571f08266f9c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__75e894a262aaded64378571f08266f9c"}, "created_at": 1723584317.6743758, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__75e894a262aaded64378571f08266f9c\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__75e894a262aaded64378571f08266f9c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_unwrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_blocks_arbitrum_sepolia_block_number.73833a1893": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_blocks_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_blocks_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/schema.yml", "unique_id": "test.synthetix.not_null_blocks_arbitrum_sepolia_block_number.73833a1893", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "not_null_blocks_arbitrum_sepolia_block_number"], "alias": "not_null_blocks_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6808138, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/not_null_blocks_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"blocks_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.blocks_arbitrum_sepolia", "attached_node": "model.synthetix.blocks_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('blocks_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_blocks_arbitrum_sepolia_block_number.4c474d2bd5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_blocks_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "unique_blocks_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/schema.yml", "unique_id": "test.synthetix.unique_blocks_arbitrum_sepolia_block_number.4c474d2bd5", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "unique_blocks_arbitrum_sepolia_block_number"], "alias": "unique_blocks_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.682646, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/unique_blocks_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n block_number as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"blocks_arbitrum_sepolia\"\nwhere block_number is not null\ngroup by block_number\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.blocks_arbitrum_sepolia", "attached_node": "model.synthetix.blocks_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('blocks_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1.8a321a2874": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1.sql", "original_file_path": "models/raw/arbitrum/sepolia/schema.yml", "unique_id": "test.synthetix.dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1.8a321a2874", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1"], "alias": "dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6848536, "relation_name": null, "raw_code": "{{ dbt_utils.test_recency(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_recency", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\n\nwith recency as (\n\n select \n\n \n \n max(ts) as most_recent\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"blocks_arbitrum_sepolia\"\n\n \n\n)\n\nselect\n\n \n most_recent,\n cast(\n\n now() + ((interval '1 hour') * (-1))\n\n as timestamp) as threshold\n\nfrom recency\nwhere most_recent < cast(\n\n now() + ((interval '1 hour') * (-1))\n\n as timestamp)\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": null, "file_key_name": "models.blocks_arbitrum_sepolia", "attached_node": "model.synthetix.blocks_arbitrum_sepolia", "test_metadata": {"name": "recency", "kwargs": {"datepart": "hour", "field": "ts", "interval": 1, "model": "{{ get_where_subquery(ref('blocks_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_account_created_arbitrum_sepolia_owner.9aad095481": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_sepolia_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_sepolia_owner.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_owner.9aad095481", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_account_created_arbitrum_sepolia_owner"], "alias": "not_null_core_account_created_arbitrum_sepolia_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7153683, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.core_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_account_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_arbitrum_sepolia_account_id.7a98480d2d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_sepolia_account_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_account_id.7a98480d2d", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_account_created_arbitrum_sepolia_account_id"], "alias": "not_null_core_account_created_arbitrum_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7170923, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_account_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_account_created_arbitrum_sepolia_account_id__True__0.2ee2f4ab2f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_account_created_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__d3c170d9b1af1c90f03d4a7ddd481a8a.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_account_created_arbitrum_sepolia_account_id__True__0.2ee2f4ab2f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_account_created_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__d3c170d9b1af1c90f03d4a7ddd481a8a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__d3c170d9b1af1c90f03d4a7ddd481a8a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__d3c170d9b1af1c90f03d4a7ddd481a8a"}, "created_at": 1723584317.7187657, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__d3c170d9b1af1c90f03d4a7ddd481a8a\") }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__d3c170d9b1af1c90f03d4a7ddd481a8a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_account_created_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_account_created_arbitrum_sepolia_id.07253fa9ea": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_id.07253fa9ea", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_account_created_arbitrum_sepolia_id"], "alias": "not_null_core_account_created_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7229826, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_account_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_account_created_arbitrum_sepolia_id.f9001194ee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_account_created_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_account_created_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_account_created_arbitrum_sepolia_id.f9001194ee", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_account_created_arbitrum_sepolia_id"], "alias": "unique_core_account_created_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7246392, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_account_created_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_account_created_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_arbitrum_sepolia_transaction_hash.59070c07aa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_transaction_hash.59070c07aa", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_account_created_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_account_created_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7262304, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_account_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_arbitrum_sepolia_block_number.1841c44bbb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_block_number.1841c44bbb", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_account_created_arbitrum_sepolia_block_number"], "alias": "not_null_core_account_created_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7280219, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_account_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_arbitrum_sepolia_block_timestamp.74d0052bed": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_block_timestamp.74d0052bed", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_account_created_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_account_created_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7296312, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_account_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_arbitrum_sepolia_event_name.8db7179ccc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_event_name.8db7179ccc", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_account_created_arbitrum_sepolia_event_name"], "alias": "not_null_core_account_created_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.731253, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_account_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_account_created_arbitrum_sepolia_event_name__AccountCreated.f6de61acf3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_account_created_arbitrum_sepolia_event_name__AccountCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_account_c_7deddd78526590b6fcfe2d7cc7ffc229.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_account_created_arbitrum_sepolia_event_name__AccountCreated.f6de61acf3", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_account_created_arbitrum_sepolia_event_name__AccountCreated"], "alias": "accepted_values_core_account_c_7deddd78526590b6fcfe2d7cc7ffc229", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_account_c_7deddd78526590b6fcfe2d7cc7ffc229", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_account_c_7deddd78526590b6fcfe2d7cc7ffc229"}, "created_at": 1723584317.7328858, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_account_c_7deddd78526590b6fcfe2d7cc7ffc229\") }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_account_c_7deddd78526590b6fcfe2d7cc7ffc229.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'AccountCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_account_created_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["AccountCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_arbitrum_sepolia_contract.c63e7e4dbf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_contract.c63e7e4dbf", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_account_created_arbitrum_sepolia_contract"], "alias": "not_null_core_account_created_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7370112, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_account_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_contract.8f08a5a9da": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_contract.8f08a5a9da", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_delegation_updated_arbitrum_sepolia_contract"], "alias": "not_null_core_delegation_updated_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7386746, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_id.12fb857e85": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_id.12fb857e85", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_delegation_updated_arbitrum_sepolia_id"], "alias": "not_null_core_delegation_updated_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7403185, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_delegation_updated_arbitrum_sepolia_id.beef769010": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_delegation_updated_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_delegation_updated_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_delegation_updated_arbitrum_sepolia_id.beef769010", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_delegation_updated_arbitrum_sepolia_id"], "alias": "unique_core_delegation_updated_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7425444, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_delegation_updated_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_account_id.689f7da996": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_sepolia_account_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_account_id.689f7da996", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_delegation_updated_arbitrum_sepolia_account_id"], "alias": "not_null_core_delegation_updated_arbitrum_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7441897, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_account_id__True__0.ead58dff29": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__af1c1b7dc2e89ddcc80a7182014097c9.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_account_id__True__0.ead58dff29", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__af1c1b7dc2e89ddcc80a7182014097c9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__af1c1b7dc2e89ddcc80a7182014097c9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__af1c1b7dc2e89ddcc80a7182014097c9"}, "created_at": 1723584317.745812, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__af1c1b7dc2e89ddcc80a7182014097c9\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__af1c1b7dc2e89ddcc80a7182014097c9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_collateral_type.db67498e80": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updat_fced6f6a07ae6cf4cc4ca4aec59538e9.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_collateral_type.db67498e80", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_delegation_updated_arbitrum_sepolia_collateral_type"], "alias": "not_null_core_delegation_updat_fced6f6a07ae6cf4cc4ca4aec59538e9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_delegation_updat_fced6f6a07ae6cf4cc4ca4aec59538e9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_delegation_updat_fced6f6a07ae6cf4cc4ca4aec59538e9"}, "created_at": 1723584317.7500014, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_delegation_updat_fced6f6a07ae6cf4cc4ca4aec59538e9\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updat_fced6f6a07ae6cf4cc4ca4aec59538e9.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_pool_id.8f59052242": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_pool_id.8f59052242", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_delegation_updated_arbitrum_sepolia_pool_id"], "alias": "not_null_core_delegation_updated_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7516556, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_pool_id__True__0.f9aeca9f9a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__646ffddebcdfdc39eca01ef79c5888c3.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_pool_id__True__0.f9aeca9f9a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__646ffddebcdfdc39eca01ef79c5888c3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__646ffddebcdfdc39eca01ef79c5888c3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__646ffddebcdfdc39eca01ef79c5888c3"}, "created_at": 1723584317.7532794, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__646ffddebcdfdc39eca01ef79c5888c3\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__646ffddebcdfdc39eca01ef79c5888c3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_sender.ef3937b25b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_sepolia_sender.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_sender.ef3937b25b", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_delegation_updated_arbitrum_sepolia_sender"], "alias": "not_null_core_delegation_updated_arbitrum_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.757498, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_block_timestamp.ae4bac2433": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updat_1d8fb505dff149b0a79d18d14d459cb0.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_block_timestamp.ae4bac2433", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_delegation_updated_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_delegation_updat_1d8fb505dff149b0a79d18d14d459cb0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_delegation_updat_1d8fb505dff149b0a79d18d14d459cb0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_delegation_updat_1d8fb505dff149b0a79d18d14d459cb0"}, "created_at": 1723584317.7591736, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_delegation_updat_1d8fb505dff149b0a79d18d14d459cb0\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updat_1d8fb505dff149b0a79d18d14d459cb0.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_block_number.fa4a36eaeb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_block_number.fa4a36eaeb", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_delegation_updated_arbitrum_sepolia_block_number"], "alias": "not_null_core_delegation_updated_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7607882, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_leverage.d5bd156a6e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_sepolia_leverage", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_sepolia_leverage.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_leverage.d5bd156a6e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_delegation_updated_arbitrum_sepolia_leverage"], "alias": "not_null_core_delegation_updated_arbitrum_sepolia_leverage", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7625291, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_leverage.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect leverage\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere leverage is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "leverage", "file_key_name": "models.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "leverage", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_leverage__True__1000000000000000000__1000000000000000000.5ff8a67507": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_leverage__True__1000000000000000000__1000000000000000000", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__227dfefd0387eb2a49e4e51d7751b403.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_leverage__True__1000000000000000000__1000000000000000000.5ff8a67507", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_leverage__True__1000000000000000000__1000000000000000000"], "alias": "dbt_utils_accepted_range_core__227dfefd0387eb2a49e4e51d7751b403", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__227dfefd0387eb2a49e4e51d7751b403", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__227dfefd0387eb2a49e4e51d7751b403"}, "created_at": 1723584317.7641995, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__227dfefd0387eb2a49e4e51d7751b403\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__227dfefd0387eb2a49e4e51d7751b403.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not leverage >= 1000000000000000000\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not leverage <= 1000000000000000000\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "leverage", "file_key_name": "models.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 1000000000000000000, "max_value": 1000000000000000000, "inclusive": true, "column_name": "leverage", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_transaction_hash.8199cb0155": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updat_f5c10a02007f076c72c065e66ac6c125.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_transaction_hash.8199cb0155", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_delegation_updated_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_delegation_updat_f5c10a02007f076c72c065e66ac6c125", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_delegation_updat_f5c10a02007f076c72c065e66ac6c125", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_delegation_updat_f5c10a02007f076c72c065e66ac6c125"}, "created_at": 1723584317.768276, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_delegation_updat_f5c10a02007f076c72c065e66ac6c125\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updat_f5c10a02007f076c72c065e66ac6c125.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_amount.77ddc8625f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_sepolia_amount.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_amount.77ddc8625f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_delegation_updated_arbitrum_sepolia_amount"], "alias": "not_null_core_delegation_updated_arbitrum_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7701235, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_amount__True__0.aefd73a62f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__180f62a360449136307cad82d3d275c2.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_amount__True__0.aefd73a62f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_core__180f62a360449136307cad82d3d275c2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__180f62a360449136307cad82d3d275c2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__180f62a360449136307cad82d3d275c2"}, "created_at": 1723584317.7717922, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__180f62a360449136307cad82d3d275c2\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__180f62a360449136307cad82d3d275c2.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_event_name.4d0a81b0f4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_event_name.4d0a81b0f4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_delegation_updated_arbitrum_sepolia_event_name"], "alias": "not_null_core_delegation_updated_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7759843, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_delegation_updated_arbitrum_sepolia_event_name__DelegationUpdated.46889d7476": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_delegation_updated_arbitrum_sepolia_event_name__DelegationUpdated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_delegatio_5725850bbca14a54c6e29ef720390e08.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_delegation_updated_arbitrum_sepolia_event_name__DelegationUpdated.46889d7476", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_delegation_updated_arbitrum_sepolia_event_name__DelegationUpdated"], "alias": "accepted_values_core_delegatio_5725850bbca14a54c6e29ef720390e08", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_delegatio_5725850bbca14a54c6e29ef720390e08", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_delegatio_5725850bbca14a54c6e29ef720390e08"}, "created_at": 1723584317.7776423, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_delegatio_5725850bbca14a54c6e29ef720390e08\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_delegatio_5725850bbca14a54c6e29ef720390e08.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'DelegationUpdated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["DelegationUpdated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_sepolia_collateral_type.88d590c5ca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_collateral_type.88d590c5ca", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_deposited_arbitrum_sepolia_collateral_type"], "alias": "not_null_core_deposited_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7818072, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_sepolia_id.7d3846b9e3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_id.7d3846b9e3", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_deposited_arbitrum_sepolia_id"], "alias": "not_null_core_deposited_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7834609, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_deposited_arbitrum_sepolia_id.9f22c1a15e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_deposited_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_deposited_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_deposited_arbitrum_sepolia_id.9f22c1a15e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_deposited_arbitrum_sepolia_id"], "alias": "unique_core_deposited_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7850795, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_deposited_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_sepolia_contract.98776e9523": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_contract.98776e9523", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_deposited_arbitrum_sepolia_contract"], "alias": "not_null_core_deposited_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7866864, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_sepolia_event_name.ca52f6033b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_event_name.ca52f6033b", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_deposited_arbitrum_sepolia_event_name"], "alias": "not_null_core_deposited_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.788326, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_deposited_arbitrum_sepolia_event_name__Deposited.1c0d375890": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_deposited_arbitrum_sepolia_event_name__Deposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_deposited_3447f586ef0bedc98c0034a9029207a9.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_deposited_arbitrum_sepolia_event_name__Deposited.1c0d375890", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_deposited_arbitrum_sepolia_event_name__Deposited"], "alias": "accepted_values_core_deposited_3447f586ef0bedc98c0034a9029207a9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_deposited_3447f586ef0bedc98c0034a9029207a9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_deposited_3447f586ef0bedc98c0034a9029207a9"}, "created_at": 1723584317.7900388, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_deposited_3447f586ef0bedc98c0034a9029207a9\") }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_deposited_3447f586ef0bedc98c0034a9029207a9.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Deposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Deposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_sepolia_transaction_hash.8084f934a8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_transaction_hash.8084f934a8", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_deposited_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_deposited_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7940087, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_sepolia_account_id.0850a5cdd2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_sepolia_account_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_account_id.0850a5cdd2", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_deposited_arbitrum_sepolia_account_id"], "alias": "not_null_core_deposited_arbitrum_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7958612, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_account_id__True__0.d3287e563c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__90868842c54bde794fa0177f8b525764.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_account_id__True__0.d3287e563c", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__90868842c54bde794fa0177f8b525764", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__90868842c54bde794fa0177f8b525764", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__90868842c54bde794fa0177f8b525764"}, "created_at": 1723584317.797497, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__90868842c54bde794fa0177f8b525764\") }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__90868842c54bde794fa0177f8b525764.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_deposited_arbitrum_sepolia_sender.2aeec9aec1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_sepolia_sender.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_sender.2aeec9aec1", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_deposited_arbitrum_sepolia_sender"], "alias": "not_null_core_deposited_arbitrum_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.801521, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_sepolia_block_timestamp.423f2e9f55": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_block_timestamp.423f2e9f55", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_deposited_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_deposited_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8033333, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_sepolia_block_number.c3036ab47e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_block_number.c3036ab47e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_deposited_arbitrum_sepolia_block_number"], "alias": "not_null_core_deposited_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8051093, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_sepolia_token_amount.653e14e03e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_sepolia_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_sepolia_token_amount.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_token_amount.653e14e03e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_deposited_arbitrum_sepolia_token_amount"], "alias": "not_null_core_deposited_arbitrum_sepolia_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8067431, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_token_amount__True__0.0f0aa65236": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__c4751eb754fdeafc806c3c5daee5eec0.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_token_amount__True__0.0f0aa65236", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__c4751eb754fdeafc806c3c5daee5eec0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__c4751eb754fdeafc806c3c5daee5eec0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__c4751eb754fdeafc806c3c5daee5eec0"}, "created_at": 1723584317.808424, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__c4751eb754fdeafc806c3c5daee5eec0\") }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c4751eb754fdeafc806c3c5daee5eec0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_block_timestamp.7fcd8e34b4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_block_timestamp.7fcd8e34b4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_withdrawn_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_withdrawn_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8126924, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_contract.7095f79cd5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_contract.7095f79cd5", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_withdrawn_arbitrum_sepolia_contract"], "alias": "not_null_core_withdrawn_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8143425, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_block_number.fb2901f9b9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_block_number.fb2901f9b9", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_withdrawn_arbitrum_sepolia_block_number"], "alias": "not_null_core_withdrawn_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8160198, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_transaction_hash.a4480fb9e0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_transaction_hash.a4480fb9e0", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_withdrawn_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_withdrawn_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8178716, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_token_amount.df20ce27b8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_sepolia_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_sepolia_token_amount.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_token_amount.df20ce27b8", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_withdrawn_arbitrum_sepolia_token_amount"], "alias": "not_null_core_withdrawn_arbitrum_sepolia_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8195744, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_token_amount__True__0.0301b264d6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__157007dec7b1b2d22ad30881236c1034.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_token_amount__True__0.0301b264d6", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__157007dec7b1b2d22ad30881236c1034", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__157007dec7b1b2d22ad30881236c1034", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__157007dec7b1b2d22ad30881236c1034"}, "created_at": 1723584317.8212166, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__157007dec7b1b2d22ad30881236c1034\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__157007dec7b1b2d22ad30881236c1034.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_collateral_type.462d8e9d4a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_collateral_type.462d8e9d4a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_withdrawn_arbitrum_sepolia_collateral_type"], "alias": "not_null_core_withdrawn_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8257444, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_account_id.93a7f1c6e0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_sepolia_account_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_account_id.93a7f1c6e0", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_withdrawn_arbitrum_sepolia_account_id"], "alias": "not_null_core_withdrawn_arbitrum_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.82738, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_account_id__True__0.d4050dde67": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__b697698686fcde3c8868f6ddae12ac0a.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_account_id__True__0.d4050dde67", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__b697698686fcde3c8868f6ddae12ac0a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__b697698686fcde3c8868f6ddae12ac0a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__b697698686fcde3c8868f6ddae12ac0a"}, "created_at": 1723584317.8289979, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__b697698686fcde3c8868f6ddae12ac0a\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b697698686fcde3c8868f6ddae12ac0a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_id.bdd65cec2b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_id.bdd65cec2b", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_withdrawn_arbitrum_sepolia_id"], "alias": "not_null_core_withdrawn_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.83328, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_withdrawn_arbitrum_sepolia_id.3f0503a510": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_withdrawn_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_withdrawn_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_withdrawn_arbitrum_sepolia_id.3f0503a510", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_withdrawn_arbitrum_sepolia_id"], "alias": "unique_core_withdrawn_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8349268, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_withdrawn_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_sender.b2d53e6596": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_sepolia_sender.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_sender.b2d53e6596", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_withdrawn_arbitrum_sepolia_sender"], "alias": "not_null_core_withdrawn_arbitrum_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.836571, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_event_name.6e275cf97d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_event_name.6e275cf97d", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_withdrawn_arbitrum_sepolia_event_name"], "alias": "not_null_core_withdrawn_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8383217, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_withdrawn_arbitrum_sepolia_event_name__Withdrawn.cd07ab25e2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_withdrawn_arbitrum_sepolia_event_name__Withdrawn", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_withdrawn_385bab233f89206ca427f62b7d61d652.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_withdrawn_arbitrum_sepolia_event_name__Withdrawn.cd07ab25e2", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_withdrawn_arbitrum_sepolia_event_name__Withdrawn"], "alias": "accepted_values_core_withdrawn_385bab233f89206ca427f62b7d61d652", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_withdrawn_385bab233f89206ca427f62b7d61d652", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_withdrawn_385bab233f89206ca427f62b7d61d652"}, "created_at": 1723584317.8399765, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_withdrawn_385bab233f89206ca427f62b7d61d652\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_withdrawn_385bab233f89206ca427f62b7d61d652.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Withdrawn'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Withdrawn"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_pool_id.851303c6c6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_pool_id.851303c6c6", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_liquidation_arbitrum_sepolia_pool_id"], "alias": "not_null_core_liquidation_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8440948, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_pool_id__True__0.d1a4bd0579": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__fc42306ae34220c01d6a0ae29644bf2f.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_pool_id__True__0.d1a4bd0579", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__fc42306ae34220c01d6a0ae29644bf2f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__fc42306ae34220c01d6a0ae29644bf2f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__fc42306ae34220c01d6a0ae29644bf2f"}, "created_at": 1723584317.8459656, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__fc42306ae34220c01d6a0ae29644bf2f\") }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__fc42306ae34220c01d6a0ae29644bf2f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_block_timestamp.2b65fcd144": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_block_timestamp.2b65fcd144", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_liquidation_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_liquidation_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8500323, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_block_number.28a164853c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_block_number.28a164853c", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_liquidation_arbitrum_sepolia_block_number"], "alias": "not_null_core_liquidation_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8518727, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_id.acb7c881c1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_id.acb7c881c1", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_liquidation_arbitrum_sepolia_id"], "alias": "not_null_core_liquidation_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8535044, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_liquidation_arbitrum_sepolia_id.7489e81022": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_liquidation_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_liquidation_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_liquidation_arbitrum_sepolia_id.7489e81022", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_liquidation_arbitrum_sepolia_id"], "alias": "unique_core_liquidation_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8551118, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_liquidation_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_contract.b3848813ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_contract.b3848813ec", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_liquidation_arbitrum_sepolia_contract"], "alias": "not_null_core_liquidation_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8567343, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_event_name.6dff9cd9a5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_event_name.6dff9cd9a5", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_liquidation_arbitrum_sepolia_event_name"], "alias": "not_null_core_liquidation_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8583422, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_liquidation_arbitrum_sepolia_event_name__Liquidation.32c120b3b8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_liquidation_arbitrum_sepolia_event_name__Liquidation", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_liquidati_b461cb0ce5ba60061680a38a20df3a2e.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_liquidation_arbitrum_sepolia_event_name__Liquidation.32c120b3b8", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_liquidation_arbitrum_sepolia_event_name__Liquidation"], "alias": "accepted_values_core_liquidati_b461cb0ce5ba60061680a38a20df3a2e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_liquidati_b461cb0ce5ba60061680a38a20df3a2e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_liquidati_b461cb0ce5ba60061680a38a20df3a2e"}, "created_at": 1723584317.860103, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_liquidati_b461cb0ce5ba60061680a38a20df3a2e\") }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_liquidati_b461cb0ce5ba60061680a38a20df3a2e.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Liquidation'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Liquidation"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_collateral_type.611a474b69": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_collateral_type.611a474b69", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_liquidation_arbitrum_sepolia_collateral_type"], "alias": "not_null_core_liquidation_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8640954, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_sender.b1951bbf59": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_sepolia_sender.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_sender.b1951bbf59", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_liquidation_arbitrum_sepolia_sender"], "alias": "not_null_core_liquidation_arbitrum_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.865899, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_account_id.2f2251c90a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_sepolia_account_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_account_id.2f2251c90a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_liquidation_arbitrum_sepolia_account_id"], "alias": "not_null_core_liquidation_arbitrum_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8675103, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_account_id__True__0.fa367d1bc5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__273b8f3b9e78a44685ad78298bd5d2be.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_account_id__True__0.fa367d1bc5", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__273b8f3b9e78a44685ad78298bd5d2be", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__273b8f3b9e78a44685ad78298bd5d2be", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__273b8f3b9e78a44685ad78298bd5d2be"}, "created_at": 1723584317.8691273, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__273b8f3b9e78a44685ad78298bd5d2be\") }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__273b8f3b9e78a44685ad78298bd5d2be.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_transaction_hash.aa34dc1b7f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_transaction_hash.aa34dc1b7f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_liquidation_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_liquidation_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8733037, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_liquidate_as_account_id.8fb362bd59": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_sepolia_liquidate_as_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbi_16feddd4f091f1c8b33b9fc2c628662a.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_liquidate_as_account_id.8fb362bd59", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_liquidation_arbitrum_sepolia_liquidate_as_account_id"], "alias": "not_null_core_liquidation_arbi_16feddd4f091f1c8b33b9fc2c628662a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_liquidation_arbi_16feddd4f091f1c8b33b9fc2c628662a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_liquidation_arbi_16feddd4f091f1c8b33b9fc2c628662a"}, "created_at": 1723584317.8749342, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_liquidation_arbi_16feddd4f091f1c8b33b9fc2c628662a\") }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbi_16feddd4f091f1c8b33b9fc2c628662a.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidate_as_account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere liquidate_as_account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0.aa641f64fe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__3993674f5aef91e5ca368e8994926d90.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0.aa641f64fe", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__3993674f5aef91e5ca368e8994926d90", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__3993674f5aef91e5ca368e8994926d90", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__3993674f5aef91e5ca368e8994926d90"}, "created_at": 1723584317.8765883, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__3993674f5aef91e5ca368e8994926d90\") }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__3993674f5aef91e5ca368e8994926d90.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not liquidate_as_account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_id.087024faa4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_id.087024faa4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_id"], "alias": "not_null_core_market_updated_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8808362, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_updated_arbitrum_sepolia_id.7ed403a10d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_updated_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_updated_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_updated_arbitrum_sepolia_id.7ed403a10d", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_market_updated_arbitrum_sepolia_id"], "alias": "unique_core_market_updated_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8824735, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_updated_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_block_timestamp.f0ccbe740a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_block_timestamp.f0ccbe740a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_market_updated_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.884136, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_block_number.18b9e7bff4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_block_number.18b9e7bff4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_block_number"], "alias": "not_null_core_market_updated_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8858721, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_transaction_hash.697e3dd319": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_transaction_hash.697e3dd319", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_market_updated_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.88751, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_contract.925fa67624": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_contract.925fa67624", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_contract"], "alias": "not_null_core_market_updated_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8891327, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_event_name.07d4bde491": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_event_name.07d4bde491", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_event_name"], "alias": "not_null_core_market_updated_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8907225, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.4a106f8344": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_market_up_b76a5504615718e4ffa3b776b6ea5c91.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.4a106f8344", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited"], "alias": "accepted_values_core_market_up_b76a5504615718e4ffa3b776b6ea5c91", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_market_up_b76a5504615718e4ffa3b776b6ea5c91", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_market_up_b76a5504615718e4ffa3b776b6ea5c91"}, "created_at": 1723584317.8924642, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_market_up_b76a5504615718e4ffa3b776b6ea5c91\") }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_market_up_b76a5504615718e4ffa3b776b6ea5c91.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCollateralWithdrawn", "MarketCollateralDeposited", "MarketUsdWithdrawn", "MarketUsdDeposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_market_id.4d2767c0b4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_sepolia_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_market_id.4d2767c0b4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_market_id"], "alias": "not_null_core_market_updated_arbitrum_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8966153, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_market_id__True__0.f774945861": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__d39651506f1030eacebe3ec3c822ec64.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_market_id__True__0.f774945861", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_core__d39651506f1030eacebe3ec3c822ec64", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__d39651506f1030eacebe3ec3c822ec64", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__d39651506f1030eacebe3ec3c822ec64"}, "created_at": 1723584317.8982766, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__d39651506f1030eacebe3ec3c822ec64\") }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__d39651506f1030eacebe3ec3c822ec64.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_net_issuance.ab387b275f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_net_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_sepolia_net_issuance.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_net_issuance.ab387b275f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_net_issuance"], "alias": "not_null_core_market_updated_arbitrum_sepolia_net_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9024777, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_net_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect net_issuance\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere net_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "net_issuance", "file_key_name": "models.core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "net_issuance", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_deposited_collateral_value.2a9afd7205": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_deposited_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_a_f6b087458c0e22c04274bb81951dc41b.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_deposited_collateral_value.2a9afd7205", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_deposited_collateral_value"], "alias": "not_null_core_market_updated_a_f6b087458c0e22c04274bb81951dc41b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_market_updated_a_f6b087458c0e22c04274bb81951dc41b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_market_updated_a_f6b087458c0e22c04274bb81951dc41b"}, "created_at": 1723584317.9049077, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_market_updated_a_f6b087458c0e22c04274bb81951dc41b\") }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_a_f6b087458c0e22c04274bb81951dc41b.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect deposited_collateral_value\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere deposited_collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "deposited_collateral_value", "file_key_name": "models.core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "deposited_collateral_value", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_deposited_collateral_value__True__0.bb2ac3f8fc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_deposited_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__9d012abc2b4be45d3e97e9202dc66a1c.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_deposited_collateral_value__True__0.bb2ac3f8fc", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_deposited_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_core__9d012abc2b4be45d3e97e9202dc66a1c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__9d012abc2b4be45d3e97e9202dc66a1c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__9d012abc2b4be45d3e97e9202dc66a1c"}, "created_at": 1723584317.9073145, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__9d012abc2b4be45d3e97e9202dc66a1c\") }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__9d012abc2b4be45d3e97e9202dc66a1c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not deposited_collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "deposited_collateral_value", "file_key_name": "models.core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "deposited_collateral_value", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_sender.b4216822d2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_sepolia_sender.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_sender.b4216822d2", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_sender"], "alias": "not_null_core_market_updated_arbitrum_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9122138, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_collateral_type.0163e724c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_collateral_type.0163e724c2", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_collateral_type"], "alias": "not_null_core_market_updated_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9138355, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_credit_capacity.ed07eaef21": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_credit_capacity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_sepolia_credit_capacity.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_credit_capacity.ed07eaef21", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_credit_capacity"], "alias": "not_null_core_market_updated_arbitrum_sepolia_credit_capacity", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9154751, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_credit_capacity.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect credit_capacity\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere credit_capacity is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "credit_capacity", "file_key_name": "models.core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "credit_capacity", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_token_amount.e980630f1e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_sepolia_token_amount.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_token_amount.e980630f1e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_token_amount"], "alias": "not_null_core_market_updated_arbitrum_sepolia_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.917217, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_token_amount__True__0.33dea408c4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__67dac80f9dcdf38e14e2fbc6b32a6d83.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_token_amount__True__0.33dea408c4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__67dac80f9dcdf38e14e2fbc6b32a6d83", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__67dac80f9dcdf38e14e2fbc6b32a6d83", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__67dac80f9dcdf38e14e2fbc6b32a6d83"}, "created_at": 1723584317.9188519, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__67dac80f9dcdf38e14e2fbc6b32a6d83\") }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__67dac80f9dcdf38e14e2fbc6b32a6d83.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_market.67fc30dc60": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_sepolia_market", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_sepolia_market.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_market.67fc30dc60", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_registered_arbitrum_sepolia_market"], "alias": "not_null_core_market_registered_arbitrum_sepolia_market", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9230418, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_market.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\nwhere market is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market", "file_key_name": "models.core_market_registered_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_registered_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_market_id.c742aae1d0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_sepolia_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_market_id.c742aae1d0", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_registered_arbitrum_sepolia_market_id"], "alias": "not_null_core_market_registered_arbitrum_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9247577, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_registered_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_registered_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_registered_arbitrum_sepolia_market_id.78637df31f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_registered_arbitrum_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_registered_arbitrum_sepolia_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_registered_arbitrum_sepolia_market_id.78637df31f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_market_registered_arbitrum_sepolia_market_id"], "alias": "unique_core_market_registered_arbitrum_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.926383, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_registered_arbitrum_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n market_id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\nwhere market_id is not null\ngroup by market_id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_registered_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_registered_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_id.88f5db38d2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_id.88f5db38d2", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_registered_arbitrum_sepolia_id"], "alias": "not_null_core_market_registered_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9280076, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_registered_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_registered_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_registered_arbitrum_sepolia_id.5964f1fbf3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_registered_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_registered_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_registered_arbitrum_sepolia_id.5964f1fbf3", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_market_registered_arbitrum_sepolia_id"], "alias": "unique_core_market_registered_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.92961, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_registered_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_registered_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_registered_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_block_timestamp.fa45bb6a23": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registere_c57a86870f109ad96c0d360987a8207c.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_block_timestamp.fa45bb6a23", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_registered_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_market_registere_c57a86870f109ad96c0d360987a8207c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_market_registere_c57a86870f109ad96c0d360987a8207c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_market_registere_c57a86870f109ad96c0d360987a8207c"}, "created_at": 1723584317.9313333, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_market_registere_c57a86870f109ad96c0d360987a8207c\") }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registere_c57a86870f109ad96c0d360987a8207c.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_market_registered_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_registered_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_contract.8d5b49ae4d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_contract.8d5b49ae4d", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_registered_arbitrum_sepolia_contract"], "alias": "not_null_core_market_registered_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9329512, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_market_registered_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_registered_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_transaction_hash.9904023035": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registere_b02c7bb3e6bd5839f3bc17265cd86d25.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_transaction_hash.9904023035", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_registered_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_market_registere_b02c7bb3e6bd5839f3bc17265cd86d25", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_market_registere_b02c7bb3e6bd5839f3bc17265cd86d25", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_market_registere_b02c7bb3e6bd5839f3bc17265cd86d25"}, "created_at": 1723584317.9345615, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_market_registere_b02c7bb3e6bd5839f3bc17265cd86d25\") }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registere_b02c7bb3e6bd5839f3bc17265cd86d25.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_market_registered_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_registered_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_block_number.94a8562b13": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_block_number.94a8562b13", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_registered_arbitrum_sepolia_block_number"], "alias": "not_null_core_market_registered_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9361825, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_market_registered_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_registered_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_event_name.72e398dd82": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_event_name.72e398dd82", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_registered_arbitrum_sepolia_event_name"], "alias": "not_null_core_market_registered_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9378784, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_registered_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_registered_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_market_registered_arbitrum_sepolia_event_name__MarketRegistered.0d43228789": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_market_registered_arbitrum_sepolia_event_name__MarketRegistered", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_market_re_20130db6dbec068215208cbe897b2b55.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_market_registered_arbitrum_sepolia_event_name__MarketRegistered.0d43228789", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_market_registered_arbitrum_sepolia_event_name__MarketRegistered"], "alias": "accepted_values_core_market_re_20130db6dbec068215208cbe897b2b55", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_market_re_20130db6dbec068215208cbe897b2b55", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_market_re_20130db6dbec068215208cbe897b2b55"}, "created_at": 1723584317.9395168, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_market_re_20130db6dbec068215208cbe897b2b55\") }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_market_re_20130db6dbec068215208cbe897b2b55.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketRegistered'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_registered_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_registered_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketRegistered"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_sender.f940ee9c3a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_sepolia_sender.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_sender.f940ee9c3a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_registered_arbitrum_sepolia_sender"], "alias": "not_null_core_market_registered_arbitrum_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9435308, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_market_registered_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_registered_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_contract.bd9da8f8fc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_contract.bd9da8f8fc", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_pool_created_arbitrum_sepolia_contract"], "alias": "not_null_core_pool_created_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9453459, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_pool_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_pool_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_sender.999d6ba1d5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_sepolia_sender.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_sender.999d6ba1d5", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_pool_created_arbitrum_sepolia_sender"], "alias": "not_null_core_pool_created_arbitrum_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9469545, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_pool_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_pool_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_block_timestamp.fd0d1a2266": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_block_timestamp.fd0d1a2266", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_pool_created_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_pool_created_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.948601, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_pool_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_pool_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_id.2ecf600861": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_id.2ecf600861", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_pool_created_arbitrum_sepolia_id"], "alias": "not_null_core_pool_created_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9501953, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_pool_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_pool_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_pool_created_arbitrum_sepolia_id.520ef444f0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_pool_created_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_pool_created_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_pool_created_arbitrum_sepolia_id.520ef444f0", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_pool_created_arbitrum_sepolia_id"], "alias": "unique_core_pool_created_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9519248, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_pool_created_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_pool_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_pool_created_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_block_number.28a66d0e74": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_block_number.28a66d0e74", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_pool_created_arbitrum_sepolia_block_number"], "alias": "not_null_core_pool_created_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9535336, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_pool_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_pool_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_transaction_hash.09e0ac3340": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_transaction_hash.09e0ac3340", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_pool_created_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_pool_created_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9551804, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_pool_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_pool_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_event_name.9148e96626": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_event_name.9148e96626", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_pool_created_arbitrum_sepolia_event_name"], "alias": "not_null_core_pool_created_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9568787, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_pool_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_pool_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_pool_created_arbitrum_sepolia_event_name__PoolCreated.d04166c685": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_pool_created_arbitrum_sepolia_event_name__PoolCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_pool_crea_a17eefdc7d24bce86f77b4966bf4e668.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_pool_created_arbitrum_sepolia_event_name__PoolCreated.d04166c685", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_pool_created_arbitrum_sepolia_event_name__PoolCreated"], "alias": "accepted_values_core_pool_crea_a17eefdc7d24bce86f77b4966bf4e668", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_pool_crea_a17eefdc7d24bce86f77b4966bf4e668", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_pool_crea_a17eefdc7d24bce86f77b4966bf4e668"}, "created_at": 1723584317.9585423, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_pool_crea_a17eefdc7d24bce86f77b4966bf4e668\") }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_pool_crea_a17eefdc7d24bce86f77b4966bf4e668.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'PoolCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_pool_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_pool_created_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PoolCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_owner.980ce0b630": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_sepolia_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_sepolia_owner.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_owner.980ce0b630", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_pool_created_arbitrum_sepolia_owner"], "alias": "not_null_core_pool_created_arbitrum_sepolia_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.962616, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.core_pool_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_pool_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_pool_id.1fccbc8d94": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_pool_id.1fccbc8d94", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_pool_created_arbitrum_sepolia_pool_id"], "alias": "not_null_core_pool_created_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9642773, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_pool_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_pool_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_pool_created_arbitrum_sepolia_pool_id__True__0.d3bc479935": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_pool_created_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__65669fa37be963cd9f3e10b8bcee5519.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_pool_created_arbitrum_sepolia_pool_id__True__0.d3bc479935", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_pool_created_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__65669fa37be963cd9f3e10b8bcee5519", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__65669fa37be963cd9f3e10b8bcee5519", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__65669fa37be963cd9f3e10b8bcee5519"}, "created_at": 1723584317.9660268, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__65669fa37be963cd9f3e10b8bcee5519\") }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__65669fa37be963cd9f3e10b8bcee5519.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_pool_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_pool_created_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash.680f286a1c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash.680f286a1c", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.970348, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_rewards_claimed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_account_id.f2bf56343c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_sepolia_account_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_account_id.f2bf56343c", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_claimed_arbitrum_sepolia_account_id"], "alias": "not_null_core_rewards_claimed_arbitrum_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.972056, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_rewards_claimed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_account_id__True__0.931fbcf6dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__ac48ca95f58e2993da96dd57dd4ad254.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_account_id__True__0.931fbcf6dd", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__ac48ca95f58e2993da96dd57dd4ad254", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__ac48ca95f58e2993da96dd57dd4ad254", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__ac48ca95f58e2993da96dd57dd4ad254"}, "created_at": 1723584317.9739077, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__ac48ca95f58e2993da96dd57dd4ad254\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ac48ca95f58e2993da96dd57dd4ad254.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_rewards_claimed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type.d2183c9d15": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type.d2183c9d15", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type"], "alias": "not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9781504, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_rewards_claimed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_event_name.a3f0d6ec61": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_event_name.a3f0d6ec61", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_claimed_arbitrum_sepolia_event_name"], "alias": "not_null_core_rewards_claimed_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.980024, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_claimed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_rewards_claimed_arbitrum_sepolia_event_name__RewardsClaimed.34f660416a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_rewards_claimed_arbitrum_sepolia_event_name__RewardsClaimed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_rewards_c_b4db4e792106976cb0bc53713ae3e798.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_rewards_claimed_arbitrum_sepolia_event_name__RewardsClaimed.34f660416a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_rewards_claimed_arbitrum_sepolia_event_name__RewardsClaimed"], "alias": "accepted_values_core_rewards_c_b4db4e792106976cb0bc53713ae3e798", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_rewards_c_b4db4e792106976cb0bc53713ae3e798", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_rewards_c_b4db4e792106976cb0bc53713ae3e798"}, "created_at": 1723584317.981688, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_rewards_c_b4db4e792106976cb0bc53713ae3e798\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_rewards_c_b4db4e792106976cb0bc53713ae3e798.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'RewardsClaimed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_claimed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["RewardsClaimed"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_contract.d436fcb4ac": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_contract.d436fcb4ac", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_claimed_arbitrum_sepolia_contract"], "alias": "not_null_core_rewards_claimed_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.985874, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_rewards_claimed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_amount.c69c35b9b1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_sepolia_amount.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_amount.c69c35b9b1", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_claimed_arbitrum_sepolia_amount"], "alias": "not_null_core_rewards_claimed_arbitrum_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9875278, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_claimed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_amount__True__0.4bdbe43c5e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__37349c7a4b27e39f3e3de58d8f4d2064.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_amount__True__0.4bdbe43c5e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_core__37349c7a4b27e39f3e3de58d8f4d2064", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__37349c7a4b27e39f3e3de58d8f4d2064", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__37349c7a4b27e39f3e3de58d8f4d2064"}, "created_at": 1723584317.989276, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__37349c7a4b27e39f3e3de58d8f4d2064\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__37349c7a4b27e39f3e3de58d8f4d2064.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_claimed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_distributor.3f6ad9aa55": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_sepolia_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_sepolia_distributor.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_distributor.3f6ad9aa55", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_claimed_arbitrum_sepolia_distributor"], "alias": "not_null_core_rewards_claimed_arbitrum_sepolia_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.993849, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.core_rewards_claimed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp.b87721cc33": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp.b87721cc33", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9955223, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_rewards_claimed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_id.9a1c133f3b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_id.9a1c133f3b", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_claimed_arbitrum_sepolia_id"], "alias": "not_null_core_rewards_claimed_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9971325, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_claimed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_rewards_claimed_arbitrum_sepolia_id.f24f1c4553": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_rewards_claimed_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_rewards_claimed_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_rewards_claimed_arbitrum_sepolia_id.f24f1c4553", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_rewards_claimed_arbitrum_sepolia_id"], "alias": "unique_core_rewards_claimed_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.998748, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_rewards_claimed_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_claimed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_pool_id.a883be69bc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_pool_id.a883be69bc", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_claimed_arbitrum_sepolia_pool_id"], "alias": "not_null_core_rewards_claimed_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0004983, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_claimed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_pool_id__True__0.8b433a3bc6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__95ee130683b78a9a686d13557b8da0df.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_pool_id__True__0.8b433a3bc6", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__95ee130683b78a9a686d13557b8da0df", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__95ee130683b78a9a686d13557b8da0df", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__95ee130683b78a9a686d13557b8da0df"}, "created_at": 1723584318.0021224, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__95ee130683b78a9a686d13557b8da0df\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__95ee130683b78a9a686d13557b8da0df.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_claimed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_block_number.9a6d0e0806": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_block_number.9a6d0e0806", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_claimed_arbitrum_sepolia_block_number"], "alias": "not_null_core_rewards_claimed_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0064745, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_rewards_claimed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_id.4fea69e81a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_id.4fea69e81a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_distributed_arbitrum_sepolia_id"], "alias": "not_null_core_rewards_distributed_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0081856, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_distributed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_rewards_distributed_arbitrum_sepolia_id.728eef2ccb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_rewards_distributed_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_rewards_distributed_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_rewards_distributed_arbitrum_sepolia_id.728eef2ccb", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_rewards_distributed_arbitrum_sepolia_id"], "alias": "unique_core_rewards_distributed_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0098207, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_rewards_distributed_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_distributed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_event_name.1803af1787": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_event_name.1803af1787", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_distributed_arbitrum_sepolia_event_name"], "alias": "not_null_core_rewards_distributed_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.011494, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_distributed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_rewards_distributed_arbitrum_sepolia_event_name__RewardsDistributed.94958bacc6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_rewards_distributed_arbitrum_sepolia_event_name__RewardsDistributed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_rewards_d_c4d02664fe5fd73ad0cd08d90a45df93.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_rewards_distributed_arbitrum_sepolia_event_name__RewardsDistributed.94958bacc6", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_rewards_distributed_arbitrum_sepolia_event_name__RewardsDistributed"], "alias": "accepted_values_core_rewards_d_c4d02664fe5fd73ad0cd08d90a45df93", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_rewards_d_c4d02664fe5fd73ad0cd08d90a45df93", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_rewards_d_c4d02664fe5fd73ad0cd08d90a45df93"}, "created_at": 1723584318.0131538, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_rewards_d_c4d02664fe5fd73ad0cd08d90a45df93\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_rewards_d_c4d02664fe5fd73ad0cd08d90a45df93.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'RewardsDistributed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_distributed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["RewardsDistributed"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_amount.8682e416ae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_sepolia_amount.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_amount.8682e416ae", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_distributed_arbitrum_sepolia_amount"], "alias": "not_null_core_rewards_distributed_arbitrum_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0173004, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_distributed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_amount__True__0.a57935c0b7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__c649dd36588419f649cb77ff64dde320.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_amount__True__0.a57935c0b7", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_core__c649dd36588419f649cb77ff64dde320", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__c649dd36588419f649cb77ff64dde320", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__c649dd36588419f649cb77ff64dde320"}, "created_at": 1723584318.018951, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__c649dd36588419f649cb77ff64dde320\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c649dd36588419f649cb77ff64dde320.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_distributed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_contract.7bb7fd8da4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_contract.7bb7fd8da4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_distributed_arbitrum_sepolia_contract"], "alias": "not_null_core_rewards_distributed_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0231855, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_rewards_distributed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_block_timestamp.b3adafb4cf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distribu_d358d4d6fc350302f646e173f81553fa.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_block_timestamp.b3adafb4cf", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_distributed_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_rewards_distribu_d358d4d6fc350302f646e173f81553fa", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_rewards_distribu_d358d4d6fc350302f646e173f81553fa", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_rewards_distribu_d358d4d6fc350302f646e173f81553fa"}, "created_at": 1723584318.0248365, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_rewards_distribu_d358d4d6fc350302f646e173f81553fa\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distribu_d358d4d6fc350302f646e173f81553fa.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_rewards_distributed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_transaction_hash.2ae04c7450": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distribu_141ce5a090bb2655851c64ccf521f1c3.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_transaction_hash.2ae04c7450", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_distributed_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_rewards_distribu_141ce5a090bb2655851c64ccf521f1c3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_rewards_distribu_141ce5a090bb2655851c64ccf521f1c3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_rewards_distribu_141ce5a090bb2655851c64ccf521f1c3"}, "created_at": 1723584318.0264459, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_rewards_distribu_141ce5a090bb2655851c64ccf521f1c3\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distribu_141ce5a090bb2655851c64ccf521f1c3.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_rewards_distributed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_collateral_type.099d0e256e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distribu_f554e6fcd674a4f91521cfda5e60dd7f.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_collateral_type.099d0e256e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_distributed_arbitrum_sepolia_collateral_type"], "alias": "not_null_core_rewards_distribu_f554e6fcd674a4f91521cfda5e60dd7f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_rewards_distribu_f554e6fcd674a4f91521cfda5e60dd7f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_rewards_distribu_f554e6fcd674a4f91521cfda5e60dd7f"}, "created_at": 1723584318.0282183, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_rewards_distribu_f554e6fcd674a4f91521cfda5e60dd7f\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distribu_f554e6fcd674a4f91521cfda5e60dd7f.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_rewards_distributed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_block_number.5fbc655c9b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_block_number.5fbc655c9b", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_distributed_arbitrum_sepolia_block_number"], "alias": "not_null_core_rewards_distributed_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.029813, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_rewards_distributed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_duration.a042625996": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_sepolia_duration", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_sepolia_duration.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_duration.a042625996", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_distributed_arbitrum_sepolia_duration"], "alias": "not_null_core_rewards_distributed_arbitrum_sepolia_duration", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0314276, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_duration.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect duration\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere duration is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "duration", "file_key_name": "models.core_rewards_distributed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "duration", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_duration__True__0.905006d2f0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_duration__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__3407656309239400cccbdd372d1e7229.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_duration__True__0.905006d2f0", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_duration__True__0"], "alias": "dbt_utils_accepted_range_core__3407656309239400cccbdd372d1e7229", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__3407656309239400cccbdd372d1e7229", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__3407656309239400cccbdd372d1e7229"}, "created_at": 1723584318.0330336, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__3407656309239400cccbdd372d1e7229\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__3407656309239400cccbdd372d1e7229.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not duration >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "duration", "file_key_name": "models.core_rewards_distributed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "duration", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_distributor.f184171df4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_sepolia_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_sepolia_distributor.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_distributor.f184171df4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_distributed_arbitrum_sepolia_distributor"], "alias": "not_null_core_rewards_distributed_arbitrum_sepolia_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0372093, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.core_rewards_distributed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_pool_id.4ae694bfec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_pool_id.4ae694bfec", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_distributed_arbitrum_sepolia_pool_id"], "alias": "not_null_core_rewards_distributed_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0388448, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_distributed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_pool_id__True__0.4ca72a296c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__44c4075a3f7e8e57f4d5a999a7663ff1.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_pool_id__True__0.4ca72a296c", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__44c4075a3f7e8e57f4d5a999a7663ff1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__44c4075a3f7e8e57f4d5a999a7663ff1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__44c4075a3f7e8e57f4d5a999a7663ff1"}, "created_at": 1723584318.0406044, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__44c4075a3f7e8e57f4d5a999a7663ff1\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__44c4075a3f7e8e57f4d5a999a7663ff1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_distributed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_amount.6baf89b24c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_sepolia_amount.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_amount.6baf89b24c", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_burned_arbitrum_sepolia_amount"], "alias": "not_null_core_usd_burned_arbitrum_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0447602, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_burned_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_burned_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_amount__True__0.048d31e429": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__0a00bf0bd627dd3eae2f47a6f7a05666.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_amount__True__0.048d31e429", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_core__0a00bf0bd627dd3eae2f47a6f7a05666", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__0a00bf0bd627dd3eae2f47a6f7a05666", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__0a00bf0bd627dd3eae2f47a6f7a05666"}, "created_at": 1723584318.046411, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__0a00bf0bd627dd3eae2f47a6f7a05666\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__0a00bf0bd627dd3eae2f47a6f7a05666.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_burned_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_burned_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_pool_id.7bf8dd6882": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_pool_id.7bf8dd6882", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_burned_arbitrum_sepolia_pool_id"], "alias": "not_null_core_usd_burned_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.050596, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_burned_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_burned_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_pool_id__True__0.d19a9e58b9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__2a1144bd3e844e07de9f804027a1907f.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_pool_id__True__0.d19a9e58b9", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__2a1144bd3e844e07de9f804027a1907f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__2a1144bd3e844e07de9f804027a1907f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__2a1144bd3e844e07de9f804027a1907f"}, "created_at": 1723584318.0522902, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__2a1144bd3e844e07de9f804027a1907f\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__2a1144bd3e844e07de9f804027a1907f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_burned_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_burned_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_event_name.2334208293": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_event_name.2334208293", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_burned_arbitrum_sepolia_event_name"], "alias": "not_null_core_usd_burned_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0564976, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_burned_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_burned_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_usd_burned_arbitrum_sepolia_event_name__UsdBurned.82b5e1f839": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_usd_burned_arbitrum_sepolia_event_name__UsdBurned", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_usd_burne_8664ec3d1bb6c7da37f5a75513d3acd7.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_usd_burned_arbitrum_sepolia_event_name__UsdBurned.82b5e1f839", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_usd_burned_arbitrum_sepolia_event_name__UsdBurned"], "alias": "accepted_values_core_usd_burne_8664ec3d1bb6c7da37f5a75513d3acd7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_usd_burne_8664ec3d1bb6c7da37f5a75513d3acd7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_usd_burne_8664ec3d1bb6c7da37f5a75513d3acd7"}, "created_at": 1723584318.0581605, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_usd_burne_8664ec3d1bb6c7da37f5a75513d3acd7\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_usd_burne_8664ec3d1bb6c7da37f5a75513d3acd7.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'UsdBurned'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_burned_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_burned_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["UsdBurned"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_id.a9d148b478": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_id.a9d148b478", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_burned_arbitrum_sepolia_id"], "alias": "not_null_core_usd_burned_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.062274, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_burned_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_burned_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_usd_burned_arbitrum_sepolia_id.65a6dbfca4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_usd_burned_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_usd_burned_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_usd_burned_arbitrum_sepolia_id.65a6dbfca4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_usd_burned_arbitrum_sepolia_id"], "alias": "unique_core_usd_burned_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0639434, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_usd_burned_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_burned_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_burned_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_block_number.a36a988eb1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_block_number.a36a988eb1", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_burned_arbitrum_sepolia_block_number"], "alias": "not_null_core_usd_burned_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.065563, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_usd_burned_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_burned_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_account_id.620cecde52": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_sepolia_account_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_account_id.620cecde52", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_burned_arbitrum_sepolia_account_id"], "alias": "not_null_core_usd_burned_arbitrum_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0671995, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_burned_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_burned_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_account_id__True__0.2bc68923f9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__059e4866e10968bba36db62a8f9829b3.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_account_id__True__0.2bc68923f9", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__059e4866e10968bba36db62a8f9829b3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__059e4866e10968bba36db62a8f9829b3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__059e4866e10968bba36db62a8f9829b3"}, "created_at": 1723584318.0690126, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__059e4866e10968bba36db62a8f9829b3\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__059e4866e10968bba36db62a8f9829b3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_burned_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_burned_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_sender.e732504915": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_sepolia_sender.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_sender.e732504915", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_burned_arbitrum_sepolia_sender"], "alias": "not_null_core_usd_burned_arbitrum_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0730584, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_usd_burned_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_burned_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_transaction_hash.91ab5b1d0b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_transaction_hash.91ab5b1d0b", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_burned_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_usd_burned_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0751953, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_usd_burned_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_burned_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_contract.91add9f346": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_contract.91add9f346", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_burned_arbitrum_sepolia_contract"], "alias": "not_null_core_usd_burned_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0768023, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_usd_burned_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_burned_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_collateral_type.9bcf375dc5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_collateral_type.9bcf375dc5", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_burned_arbitrum_sepolia_collateral_type"], "alias": "not_null_core_usd_burned_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.078377, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_usd_burned_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_burned_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_block_timestamp.5bcc977f3d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_block_timestamp.5bcc977f3d", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_burned_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_usd_burned_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0799992, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_usd_burned_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_burned_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_pool_id.41123c7a06": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_pool_id.41123c7a06", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_minted_arbitrum_sepolia_pool_id"], "alias": "not_null_core_usd_minted_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0815701, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_minted_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_minted_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_pool_id__True__0.ae99bd6ea3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__95bf5faf485a2814ae3e7010fcdd5245.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_pool_id__True__0.ae99bd6ea3", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__95bf5faf485a2814ae3e7010fcdd5245", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__95bf5faf485a2814ae3e7010fcdd5245", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__95bf5faf485a2814ae3e7010fcdd5245"}, "created_at": 1723584318.0833156, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__95bf5faf485a2814ae3e7010fcdd5245\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__95bf5faf485a2814ae3e7010fcdd5245.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_minted_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_minted_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_block_timestamp.baa0ed9288": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_block_timestamp.baa0ed9288", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_minted_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_usd_minted_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0873177, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_usd_minted_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_minted_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_account_id.e8dbb7db41": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_sepolia_account_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_account_id.e8dbb7db41", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_minted_arbitrum_sepolia_account_id"], "alias": "not_null_core_usd_minted_arbitrum_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0890875, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_minted_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_minted_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_account_id__True__0.3ae041bf59": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__64f2c5fb0744e92501174644968cd5fb.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_account_id__True__0.3ae041bf59", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__64f2c5fb0744e92501174644968cd5fb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__64f2c5fb0744e92501174644968cd5fb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__64f2c5fb0744e92501174644968cd5fb"}, "created_at": 1723584318.0907123, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__64f2c5fb0744e92501174644968cd5fb\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__64f2c5fb0744e92501174644968cd5fb.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_minted_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_minted_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_collateral_type.36a06f20c5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_collateral_type.36a06f20c5", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_minted_arbitrum_sepolia_collateral_type"], "alias": "not_null_core_usd_minted_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0947545, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_usd_minted_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_minted_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_block_number.3319b5e432": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_block_number.3319b5e432", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_minted_arbitrum_sepolia_block_number"], "alias": "not_null_core_usd_minted_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0965812, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_usd_minted_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_minted_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_id.07b94c915b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_id.07b94c915b", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_minted_arbitrum_sepolia_id"], "alias": "not_null_core_usd_minted_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0981908, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_minted_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_minted_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_usd_minted_arbitrum_sepolia_id.d868aed363": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_usd_minted_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_usd_minted_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_usd_minted_arbitrum_sepolia_id.d868aed363", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_usd_minted_arbitrum_sepolia_id"], "alias": "unique_core_usd_minted_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0997958, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_usd_minted_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_minted_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_minted_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_sender.b183e1c56f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_sepolia_sender.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_sender.b183e1c56f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_minted_arbitrum_sepolia_sender"], "alias": "not_null_core_usd_minted_arbitrum_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1013796, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_usd_minted_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_minted_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_amount.cd18eb6390": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_sepolia_amount.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_amount.cd18eb6390", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_minted_arbitrum_sepolia_amount"], "alias": "not_null_core_usd_minted_arbitrum_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1030412, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_minted_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_minted_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_amount__True__0.e93e8d1936": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__6f091bc88ed9f23de9917bc273b6c6bd.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_amount__True__0.e93e8d1936", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_core__6f091bc88ed9f23de9917bc273b6c6bd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__6f091bc88ed9f23de9917bc273b6c6bd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__6f091bc88ed9f23de9917bc273b6c6bd"}, "created_at": 1723584318.1046588, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__6f091bc88ed9f23de9917bc273b6c6bd\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__6f091bc88ed9f23de9917bc273b6c6bd.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_minted_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_minted_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_event_name.b210011389": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_event_name.b210011389", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_minted_arbitrum_sepolia_event_name"], "alias": "not_null_core_usd_minted_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1088393, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_minted_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_minted_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_usd_minted_arbitrum_sepolia_event_name__UsdMinted.5fd40cc553": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_usd_minted_arbitrum_sepolia_event_name__UsdMinted", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_usd_minte_1bb63cf3c04acb8bfba2fe6ad729f0a4.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_usd_minted_arbitrum_sepolia_event_name__UsdMinted.5fd40cc553", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_usd_minted_arbitrum_sepolia_event_name__UsdMinted"], "alias": "accepted_values_core_usd_minte_1bb63cf3c04acb8bfba2fe6ad729f0a4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_usd_minte_1bb63cf3c04acb8bfba2fe6ad729f0a4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_usd_minte_1bb63cf3c04acb8bfba2fe6ad729f0a4"}, "created_at": 1723584318.1104856, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_usd_minte_1bb63cf3c04acb8bfba2fe6ad729f0a4\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_usd_minte_1bb63cf3c04acb8bfba2fe6ad729f0a4.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'UsdMinted'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_minted_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_minted_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["UsdMinted"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_transaction_hash.38f21551fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_transaction_hash.38f21551fd", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_minted_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_usd_minted_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1144295, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_usd_minted_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_minted_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_contract.71d9365153": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_contract.71d9365153", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_minted_arbitrum_sepolia_contract"], "alias": "not_null_core_usd_minted_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.11624, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_usd_minted_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_minted_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_transaction_hash.6b1e45b06a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_b5e91954c312abdf474f65aa83e48506.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_transaction_hash.6b1e45b06a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_liquidation_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_vault_liquidatio_b5e91954c312abdf474f65aa83e48506", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_b5e91954c312abdf474f65aa83e48506", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_vault_liquidatio_b5e91954c312abdf474f65aa83e48506"}, "created_at": 1723584318.1178625, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_b5e91954c312abdf474f65aa83e48506\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_b5e91954c312abdf474f65aa83e48506.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_vault_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_collateral_type.0b2d659b09": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_a99c3c61e60ac85e0d2bbd5f4d091507.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_collateral_type.0b2d659b09", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_liquidation_arbitrum_sepolia_collateral_type"], "alias": "not_null_core_vault_liquidatio_a99c3c61e60ac85e0d2bbd5f4d091507", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_a99c3c61e60ac85e0d2bbd5f4d091507", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_vault_liquidatio_a99c3c61e60ac85e0d2bbd5f4d091507"}, "created_at": 1723584318.1194754, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_a99c3c61e60ac85e0d2bbd5f4d091507\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_a99c3c61e60ac85e0d2bbd5f4d091507.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_pool_id.c0c0a011c4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_pool_id.c0c0a011c4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_liquidation_arbitrum_sepolia_pool_id"], "alias": "not_null_core_vault_liquidation_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1210608, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_pool_id__True__0.6022175c23": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__c0e93e66fb32a059c914f202325f04b9.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_pool_id__True__0.6022175c23", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__c0e93e66fb32a059c914f202325f04b9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__c0e93e66fb32a059c914f202325f04b9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__c0e93e66fb32a059c914f202325f04b9"}, "created_at": 1723584318.122761, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__c0e93e66fb32a059c914f202325f04b9\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c0e93e66fb32a059c914f202325f04b9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_event_name.6ee4c7edec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_event_name.6ee4c7edec", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_liquidation_arbitrum_sepolia_event_name"], "alias": "not_null_core_vault_liquidation_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1267598, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_vault_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_vault_liquidation_arbitrum_sepolia_event_name__VaultLiquidation.0c7e403f1c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_vault_liquidation_arbitrum_sepolia_event_name__VaultLiquidation", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_vault_liq_06f5266a00ebf4484edc06365604ad77.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_vault_liquidation_arbitrum_sepolia_event_name__VaultLiquidation.0c7e403f1c", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_vault_liquidation_arbitrum_sepolia_event_name__VaultLiquidation"], "alias": "accepted_values_core_vault_liq_06f5266a00ebf4484edc06365604ad77", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_vault_liq_06f5266a00ebf4484edc06365604ad77", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_vault_liq_06f5266a00ebf4484edc06365604ad77"}, "created_at": 1723584318.1284297, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_vault_liq_06f5266a00ebf4484edc06365604ad77\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_vault_liq_06f5266a00ebf4484edc06365604ad77.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'VaultLiquidation'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_vault_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["VaultLiquidation"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_id.e478906cc0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_id.e478906cc0", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_liquidation_arbitrum_sepolia_id"], "alias": "not_null_core_vault_liquidation_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1325214, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_vault_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_vault_liquidation_arbitrum_sepolia_id.39f25ec5ad": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_vault_liquidation_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_vault_liquidation_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_vault_liquidation_arbitrum_sepolia_id.39f25ec5ad", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_vault_liquidation_arbitrum_sepolia_id"], "alias": "unique_core_vault_liquidation_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1341445, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_vault_liquidation_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_vault_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_block_timestamp.3f8fcf20ee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_8474e116a366423f34bd32de6582bf97.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_block_timestamp.3f8fcf20ee", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_liquidation_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_vault_liquidatio_8474e116a366423f34bd32de6582bf97", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_8474e116a366423f34bd32de6582bf97", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_vault_liquidatio_8474e116a366423f34bd32de6582bf97"}, "created_at": 1723584318.1359017, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_8474e116a366423f34bd32de6582bf97\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_8474e116a366423f34bd32de6582bf97.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_vault_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id.557d546c5f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_3e2565718ac00c290af7457ec26b233c.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id.557d546c5f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id"], "alias": "not_null_core_vault_liquidatio_3e2565718ac00c290af7457ec26b233c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_3e2565718ac00c290af7457ec26b233c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_vault_liquidatio_3e2565718ac00c290af7457ec26b233c"}, "created_at": 1723584318.1375017, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_3e2565718ac00c290af7457ec26b233c\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_3e2565718ac00c290af7457ec26b233c.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidate_as_account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere liquidate_as_account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_vault_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0.8896409533": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__312126bbb7f0708207b65a92945e2d6a.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0.8896409533", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__312126bbb7f0708207b65a92945e2d6a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__312126bbb7f0708207b65a92945e2d6a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__312126bbb7f0708207b65a92945e2d6a"}, "created_at": 1723584318.139147, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__312126bbb7f0708207b65a92945e2d6a\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__312126bbb7f0708207b65a92945e2d6a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not liquidate_as_account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_vault_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_liquidation_data.0e7de46ea6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_sepolia_liquidation_data", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_66ecc7fe1d37c1d9697b7dac6b89c3dc.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_liquidation_data.0e7de46ea6", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_liquidation_arbitrum_sepolia_liquidation_data"], "alias": "not_null_core_vault_liquidatio_66ecc7fe1d37c1d9697b7dac6b89c3dc", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_66ecc7fe1d37c1d9697b7dac6b89c3dc", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_vault_liquidatio_66ecc7fe1d37c1d9697b7dac6b89c3dc"}, "created_at": 1723584318.143376, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_66ecc7fe1d37c1d9697b7dac6b89c3dc\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_66ecc7fe1d37c1d9697b7dac6b89c3dc.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidation_data\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere liquidation_data is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidation_data", "file_key_name": "models.core_vault_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "liquidation_data", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_contract.2bb4203c78": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_contract.2bb4203c78", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_liquidation_arbitrum_sepolia_contract"], "alias": "not_null_core_vault_liquidation_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1450002, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_vault_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_block_number.fbedd6aa28": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_block_number.fbedd6aa28", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_liquidation_arbitrum_sepolia_block_number"], "alias": "not_null_core_vault_liquidation_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1466403, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_vault_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_sender.e33149c915": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_arbitrum_sepolia_sender.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_sender.e33149c915", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_liquidation_arbitrum_sepolia_sender"], "alias": "not_null_core_vault_liquidation_arbitrum_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1482918, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_vault_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_ts.74e3fe431f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_arbitrum_sepolia_ts.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_ts.74e3fe431f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_collateral_arbitrum_sepolia_ts"], "alias": "not_null_core_vault_collateral_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1499844, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.core_vault_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_block_number.7c4c28bc6d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_block_number.7c4c28bc6d", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_collateral_arbitrum_sepolia_block_number"], "alias": "not_null_core_vault_collateral_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1516097, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_vault_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_pool_id.11828e6701": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_pool_id.11828e6701", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_collateral_arbitrum_sepolia_pool_id"], "alias": "not_null_core_vault_collateral_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.153197, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_pool_id__True__0.99b4d66658": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__4ae40b67211395d720c418bb146a39c3.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_pool_id__True__0.99b4d66658", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__4ae40b67211395d720c418bb146a39c3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__4ae40b67211395d720c418bb146a39c3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__4ae40b67211395d720c418bb146a39c3"}, "created_at": 1723584318.1547976, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__4ae40b67211395d720c418bb146a39c3\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__4ae40b67211395d720c418bb146a39c3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_collateral_type.c23ed9827f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_collateral_type.c23ed9827f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_collateral_arbitrum_sepolia_collateral_type"], "alias": "not_null_core_vault_collateral_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1591356, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_amount.e85fb4a97b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_arbitrum_sepolia_amount.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_amount.e85fb4a97b", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_collateral_arbitrum_sepolia_amount"], "alias": "not_null_core_vault_collateral_arbitrum_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.160762, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_vault_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_amount__True__0.ceaca21b1b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__cfa1da681108928e241342bb92348089.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_amount__True__0.ceaca21b1b", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_core__cfa1da681108928e241342bb92348089", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__cfa1da681108928e241342bb92348089", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__cfa1da681108928e241342bb92348089"}, "created_at": 1723584318.1623704, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__cfa1da681108928e241342bb92348089\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__cfa1da681108928e241342bb92348089.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_vault_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_collateral_value.77882c9c22": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_sepolia_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_30e3cc1f32a7c29bc10fb8b0f5d20d15.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_collateral_value.77882c9c22", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_collateral_arbitrum_sepolia_collateral_value"], "alias": "not_null_core_vault_collateral_30e3cc1f32a7c29bc10fb8b0f5d20d15", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_collateral_30e3cc1f32a7c29bc10fb8b0f5d20d15", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_vault_collateral_30e3cc1f32a7c29bc10fb8b0f5d20d15"}, "created_at": 1723584318.1665092, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_collateral_30e3cc1f32a7c29bc10fb8b0f5d20d15\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_30e3cc1f32a7c29bc10fb8b0f5d20d15.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.core_vault_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_collateral_value__True__0.5e64981616": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__6e9e2ae1310a4e2c125a94e925ab5ce8.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_collateral_value__True__0.5e64981616", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_core__6e9e2ae1310a4e2c125a94e925ab5ce8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__6e9e2ae1310a4e2c125a94e925ab5ce8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__6e9e2ae1310a4e2c125a94e925ab5ce8"}, "created_at": 1723584318.168164, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__6e9e2ae1310a4e2c125a94e925ab5ce8\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__6e9e2ae1310a4e2c125a94e925ab5ce8.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.core_vault_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_contract_address.d90d5e4d47": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_sepolia_contract_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_4bd9ecf367855f7e41dffdb9f577c757.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_contract_address.d90d5e4d47", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_collateral_arbitrum_sepolia_contract_address"], "alias": "not_null_core_vault_collateral_4bd9ecf367855f7e41dffdb9f577c757", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_collateral_4bd9ecf367855f7e41dffdb9f577c757", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_vault_collateral_4bd9ecf367855f7e41dffdb9f577c757"}, "created_at": 1723584318.1723216, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_collateral_4bd9ecf367855f7e41dffdb9f577c757\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_4bd9ecf367855f7e41dffdb9f577c757.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract_address\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\nwhere contract_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract_address", "file_key_name": "models.core_vault_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract_address", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_ts.6259a43e83": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_arbitrum_sepolia_ts.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_ts.6259a43e83", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_debt_arbitrum_sepolia_ts"], "alias": "not_null_core_vault_debt_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1739402, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_debt_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.core_vault_debt_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_debt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_block_number.39b83b17e0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_block_number.39b83b17e0", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_debt_arbitrum_sepolia_block_number"], "alias": "not_null_core_vault_debt_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.175564, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_debt_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_vault_debt_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_debt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_pool_id.3d27f2e067": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_pool_id.3d27f2e067", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_debt_arbitrum_sepolia_pool_id"], "alias": "not_null_core_vault_debt_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1773107, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_debt_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_debt_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_debt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_debt_arbitrum_sepolia_pool_id__True__0.6a7fea5bbc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_debt_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__792273c8e527e5b1b36e4666a5d0ee23.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_arbitrum_sepolia_pool_id__True__0.6a7fea5bbc", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_vault_debt_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__792273c8e527e5b1b36e4666a5d0ee23", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__792273c8e527e5b1b36e4666a5d0ee23", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__792273c8e527e5b1b36e4666a5d0ee23"}, "created_at": 1723584318.1789525, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__792273c8e527e5b1b36e4666a5d0ee23\") }}", "language": "sql", "refs": [{"name": "core_vault_debt_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__792273c8e527e5b1b36e4666a5d0ee23.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_debt_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_debt_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_debt_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_collateral_type.c136eaeaa7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_collateral_type.c136eaeaa7", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_debt_arbitrum_sepolia_collateral_type"], "alias": "not_null_core_vault_debt_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1830149, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_debt_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_debt_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_debt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_debt.13e23e52e8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_arbitrum_sepolia_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_arbitrum_sepolia_debt.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_debt.13e23e52e8", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_debt_arbitrum_sepolia_debt"], "alias": "not_null_core_vault_debt_arbitrum_sepolia_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1848578, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_debt_arbitrum_sepolia\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.core_vault_debt_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_debt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_contract_address.7162b1bbad": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_arbitrum_sepolia_contract_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_arbitrum_sepolia_contract_address.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_contract_address.7162b1bbad", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_debt_arbitrum_sepolia_contract_address"], "alias": "not_null_core_vault_debt_arbitrum_sepolia_contract_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.186482, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_contract_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract_address\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_debt_arbitrum_sepolia\"\nwhere contract_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract_address", "file_key_name": "models.core_vault_debt_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_debt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract_address", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_id.3dc77e7585": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_id.3dc77e7585", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_committed_arbitrum_sepolia_id"], "alias": "not_null_spot_order_committed_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2025867, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_committed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_order_committed_arbitrum_sepolia_id.7dddd93b21": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_order_committed_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_order_committed_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_order_committed_arbitrum_sepolia_id.7dddd93b21", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "unique_spot_order_committed_arbitrum_sepolia_id"], "alias": "unique_spot_order_committed_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2042637, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_committed_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_committed_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_event_name.10fb9fe2fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_event_name.10fb9fe2fd", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_committed_arbitrum_sepolia_event_name"], "alias": "not_null_spot_order_committed_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.205862, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_committed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_order_committed_arbitrum_sepolia_event_name__OrderCommitted.48f82592c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_order_committed_arbitrum_sepolia_event_name__OrderCommitted", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_order_com_7c9b04e5bbdb951246b0c9844010bbc6.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_order_committed_arbitrum_sepolia_event_name__OrderCommitted.48f82592c2", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "accepted_values_spot_order_committed_arbitrum_sepolia_event_name__OrderCommitted"], "alias": "accepted_values_spot_order_com_7c9b04e5bbdb951246b0c9844010bbc6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_order_com_7c9b04e5bbdb951246b0c9844010bbc6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_order_com_7c9b04e5bbdb951246b0c9844010bbc6"}, "created_at": 1723584318.2076678, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_order_com_7c9b04e5bbdb951246b0c9844010bbc6\") }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_order_com_7c9b04e5bbdb951246b0c9844010bbc6.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderCommitted'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_committed_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderCommitted"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_sender.6665c965c9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_sepolia_sender.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_sender.6665c965c9", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_committed_arbitrum_sepolia_sender"], "alias": "not_null_spot_order_committed_arbitrum_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2117898, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.spot_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_committed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_block_timestamp.053b915e14": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_block_timestamp.053b915e14", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_committed_arbitrum_sepolia_block_timestamp"], "alias": "not_null_spot_order_committed_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2134104, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_committed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_referrer.3934248ab9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_sepolia_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_sepolia_referrer.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_referrer.3934248ab9", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_committed_arbitrum_sepolia_referrer"], "alias": "not_null_spot_order_committed_arbitrum_sepolia_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2151961, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "file_key_name": "models.spot_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_committed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referrer", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_amount_provided.b4fbc53f60": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_sepolia_amount_provided", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_sepolia_amount_provided.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_amount_provided.b4fbc53f60", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_committed_arbitrum_sepolia_amount_provided"], "alias": "not_null_spot_order_committed_arbitrum_sepolia_amount_provided", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2167966, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_amount_provided.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_provided\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere amount_provided is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_provided", "file_key_name": "models.spot_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_committed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_provided", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_amount_provided__True__0.e297093a69": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_amount_provided__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__5a34291a71efb29313103eb39bf2892c.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_amount_provided__True__0.e297093a69", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_amount_provided__True__0"], "alias": "dbt_utils_accepted_range_spot__5a34291a71efb29313103eb39bf2892c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__5a34291a71efb29313103eb39bf2892c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__5a34291a71efb29313103eb39bf2892c"}, "created_at": 1723584318.218407, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__5a34291a71efb29313103eb39bf2892c\") }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__5a34291a71efb29313103eb39bf2892c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_provided >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_provided", "file_key_name": "models.spot_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_committed_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_provided", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_transaction_hash.44fbdb881f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_transaction_hash.44fbdb881f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_committed_arbitrum_sepolia_transaction_hash"], "alias": "not_null_spot_order_committed_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.222563, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_committed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_contract.8724d32b95": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_contract.8724d32b95", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_committed_arbitrum_sepolia_contract"], "alias": "not_null_spot_order_committed_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2242198, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_committed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_market_id.4600734bce": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_sepolia_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_market_id.4600734bce", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_committed_arbitrum_sepolia_market_id"], "alias": "not_null_spot_order_committed_arbitrum_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2258437, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_committed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_market_id__True__0.156852fc84": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__4c6d95c8e2708f1280d840b1803355d8.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_market_id__True__0.156852fc84", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__4c6d95c8e2708f1280d840b1803355d8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__4c6d95c8e2708f1280d840b1803355d8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__4c6d95c8e2708f1280d840b1803355d8"}, "created_at": 1723584318.2274947, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__4c6d95c8e2708f1280d840b1803355d8\") }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4c6d95c8e2708f1280d840b1803355d8.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_committed_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_block_number.e402f23638": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_block_number.e402f23638", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_committed_arbitrum_sepolia_block_number"], "alias": "not_null_spot_order_committed_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2316191, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_committed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_order_type.cfe77ca9a2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_sepolia_order_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_sepolia_order_type.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_order_type.cfe77ca9a2", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_committed_arbitrum_sepolia_order_type"], "alias": "not_null_spot_order_committed_arbitrum_sepolia_order_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2332513, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_order_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect order_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere order_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "order_type", "file_key_name": "models.spot_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_committed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "order_type", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_final_order_amount__True__0.976f3b49e5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_final_order_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__4a73de204b1dfcf91618b24d0ead6352.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_final_order_amount__True__0.976f3b49e5", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_final_order_amount__True__0"], "alias": "dbt_utils_accepted_range_spot__4a73de204b1dfcf91618b24d0ead6352", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__4a73de204b1dfcf91618b24d0ead6352", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__4a73de204b1dfcf91618b24d0ead6352"}, "created_at": 1723584318.2350075, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__4a73de204b1dfcf91618b24d0ead6352\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4a73de204b1dfcf91618b24d0ead6352.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not final_order_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "final_order_amount", "file_key_name": "models.spot_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_settled_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "final_order_amount", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_settler.709cf86f6a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_sepolia_settler", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_sepolia_settler.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_settler.709cf86f6a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_settled_arbitrum_sepolia_settler"], "alias": "not_null_spot_order_settled_arbitrum_sepolia_settler", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2390683, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_settler.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect settler\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere settler is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "settler", "file_key_name": "models.spot_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_settled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "settler", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_block_number.f4d15aa1c6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_block_number.f4d15aa1c6", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_settled_arbitrum_sepolia_block_number"], "alias": "not_null_spot_order_settled_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2407286, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_settled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_transaction_hash.e39d83aa1f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_transaction_hash.e39d83aa1f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_settled_arbitrum_sepolia_transaction_hash"], "alias": "not_null_spot_order_settled_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.242886, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_settled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_block_timestamp.4104ea8ae8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_block_timestamp.4104ea8ae8", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_settled_arbitrum_sepolia_block_timestamp"], "alias": "not_null_spot_order_settled_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2445207, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_settled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_id.61da8ff5ef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_id.61da8ff5ef", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_settled_arbitrum_sepolia_id"], "alias": "not_null_spot_order_settled_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2461314, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_settled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_order_settled_arbitrum_sepolia_id.fce4a382d0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_order_settled_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_order_settled_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_order_settled_arbitrum_sepolia_id.fce4a382d0", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "unique_spot_order_settled_arbitrum_sepolia_id"], "alias": "unique_spot_order_settled_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2477489, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_settled_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_settled_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_order_type.ce3ce512a2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_sepolia_order_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_sepolia_order_type.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_order_type.ce3ce512a2", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_settled_arbitrum_sepolia_order_type"], "alias": "not_null_spot_order_settled_arbitrum_sepolia_order_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2494512, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_order_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect order_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere order_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "order_type", "file_key_name": "models.spot_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_settled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "order_type", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_contract.2b0e9ad75a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_contract.2b0e9ad75a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_settled_arbitrum_sepolia_contract"], "alias": "not_null_spot_order_settled_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2510407, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_settled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_price.1a44fe5106": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_sepolia_price.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_price.1a44fe5106", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_settled_arbitrum_sepolia_price"], "alias": "not_null_spot_order_settled_arbitrum_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.252658, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_settled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_price__True__0.6c6c67c752": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__76a041fe88b59c30757024b4b5b64da1.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_price__True__0.6c6c67c752", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_spot__76a041fe88b59c30757024b4b5b64da1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__76a041fe88b59c30757024b4b5b64da1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__76a041fe88b59c30757024b4b5b64da1"}, "created_at": 1723584318.2542605, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__76a041fe88b59c30757024b4b5b64da1\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__76a041fe88b59c30757024b4b5b64da1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_settled_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_market_id.d28592e51d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_sepolia_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_market_id.d28592e51d", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_settled_arbitrum_sepolia_market_id"], "alias": "not_null_spot_order_settled_arbitrum_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2583878, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_settled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_market_id__True__0.6880f35b4a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__0ad36d3fa0b33a07759a4860000a9f5f.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_market_id__True__0.6880f35b4a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__0ad36d3fa0b33a07759a4860000a9f5f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__0ad36d3fa0b33a07759a4860000a9f5f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__0ad36d3fa0b33a07759a4860000a9f5f"}, "created_at": 1723584318.2600543, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__0ad36d3fa0b33a07759a4860000a9f5f\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__0ad36d3fa0b33a07759a4860000a9f5f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_settled_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_collected_fees.1010c0a5f8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_sepolia_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_sepolia_collected_fees.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_collected_fees.1010c0a5f8", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_settled_arbitrum_sepolia_collected_fees"], "alias": "not_null_spot_order_settled_arbitrum_sepolia_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.264198, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_settled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_collected_fees__True__0.43d000a1f2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__cc020e7eff85ce396580d951c708f473.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_collected_fees__True__0.43d000a1f2", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_spot__cc020e7eff85ce396580d951c708f473", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__cc020e7eff85ce396580d951c708f473", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__cc020e7eff85ce396580d951c708f473"}, "created_at": 1723584318.265851, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__cc020e7eff85ce396580d951c708f473\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__cc020e7eff85ce396580d951c708f473.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_settled_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_event_name.51feaa1c12": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_event_name.51feaa1c12", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_settled_arbitrum_sepolia_event_name"], "alias": "not_null_spot_order_settled_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2700093, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_settled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_order_settled_arbitrum_sepolia_event_name__OrderSettled.3825809881": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_order_settled_arbitrum_sepolia_event_name__OrderSettled", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_order_set_e481e38872a1c89532855e5ebae95f7f.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_order_settled_arbitrum_sepolia_event_name__OrderSettled.3825809881", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "accepted_values_spot_order_settled_arbitrum_sepolia_event_name__OrderSettled"], "alias": "accepted_values_spot_order_set_e481e38872a1c89532855e5ebae95f7f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_order_set_e481e38872a1c89532855e5ebae95f7f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_order_set_e481e38872a1c89532855e5ebae95f7f"}, "created_at": 1723584318.271684, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_order_set_e481e38872a1c89532855e5ebae95f7f\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_order_set_e481e38872a1c89532855e5ebae95f7f.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderSettled'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_settled_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderSettled"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_id.8e031ca154": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_id.8e031ca154", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_cancelled_arbitrum_sepolia_id"], "alias": "not_null_spot_order_cancelled_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2757924, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_cancelled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_order_cancelled_arbitrum_sepolia_id.463daca854": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_order_cancelled_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_order_cancelled_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_order_cancelled_arbitrum_sepolia_id.463daca854", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "unique_spot_order_cancelled_arbitrum_sepolia_id"], "alias": "unique_spot_order_cancelled_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2774124, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_cancelled_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_cancelled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp.5b304e425f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp.5b304e425f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp"], "alias": "not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.279022, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_order_cancelled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash.7bc3d70f6e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash.7bc3d70f6e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash"], "alias": "not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2806356, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_order_cancelled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_sender.dd378adc77": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_sepolia_sender.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_sender.dd378adc77", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_cancelled_arbitrum_sepolia_sender"], "alias": "not_null_spot_order_cancelled_arbitrum_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2823126, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.spot_order_cancelled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_contract.b838860ee1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_contract.b838860ee1", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_cancelled_arbitrum_sepolia_contract"], "alias": "not_null_spot_order_cancelled_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.283911, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_order_cancelled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_event_name.e938eb2758": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_event_name.e938eb2758", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_cancelled_arbitrum_sepolia_event_name"], "alias": "not_null_spot_order_cancelled_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2855055, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_cancelled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_order_cancelled_arbitrum_sepolia_event_name__OrderCancelled.7763c43292": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_order_cancelled_arbitrum_sepolia_event_name__OrderCancelled", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_order_can_d0329823473c419f7712d186d7b5e498.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_order_cancelled_arbitrum_sepolia_event_name__OrderCancelled.7763c43292", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "accepted_values_spot_order_cancelled_arbitrum_sepolia_event_name__OrderCancelled"], "alias": "accepted_values_spot_order_can_d0329823473c419f7712d186d7b5e498", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_order_can_d0329823473c419f7712d186d7b5e498", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_order_can_d0329823473c419f7712d186d7b5e498"}, "created_at": 1723584318.2871282, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_order_can_d0329823473c419f7712d186d7b5e498\") }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_order_can_d0329823473c419f7712d186d7b5e498.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderCancelled'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_cancelled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderCancelled"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_market_id.d248c77fa3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_sepolia_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_market_id.d248c77fa3", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_cancelled_arbitrum_sepolia_market_id"], "alias": "not_null_spot_order_cancelled_arbitrum_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.291237, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_cancelled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_arbitrum_sepolia_market_id__True__0.047630938a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_cancelled_arbitrum_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__2e848fb90f5ce4223805616c1e8de0ea.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_arbitrum_sepolia_market_id__True__0.047630938a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_cancelled_arbitrum_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__2e848fb90f5ce4223805616c1e8de0ea", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__2e848fb90f5ce4223805616c1e8de0ea", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__2e848fb90f5ce4223805616c1e8de0ea"}, "created_at": 1723584318.2928767, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__2e848fb90f5ce4223805616c1e8de0ea\") }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__2e848fb90f5ce4223805616c1e8de0ea.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_cancelled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_block_number.6b3267b9d4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_block_number.6b3267b9d4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_cancelled_arbitrum_sepolia_block_number"], "alias": "not_null_spot_order_cancelled_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2971165, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_order_cancelled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_id.ae9e680918": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_id.ae9e680918", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_registered_arbitrum_sepolia_id"], "alias": "not_null_spot_synth_registered_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2987509, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_registered_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_registered_arbitrum_sepolia_id.a09499cc92": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_registered_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_registered_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_registered_arbitrum_sepolia_id.a09499cc92", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "unique_spot_synth_registered_arbitrum_sepolia_id"], "alias": "unique_spot_synth_registered_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3004029, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_registered_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_registered_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp.8ad856419d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp.8ad856419d", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp"], "alias": "not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3020155, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_synth_registered_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id.41d8ffc96a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id.41d8ffc96a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id"], "alias": "not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3037784, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_registered_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_arbitrum_sepolia_synth_market_id__True__0.adc193de63": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_registered_arbitrum_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__25ac38788b40f14b3b8c8c523ac5482c.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_arbitrum_sepolia_synth_market_id__True__0.adc193de63", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_registered_arbitrum_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__25ac38788b40f14b3b8c8c523ac5482c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__25ac38788b40f14b3b8c8c523ac5482c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__25ac38788b40f14b3b8c8c523ac5482c"}, "created_at": 1723584318.3054597, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__25ac38788b40f14b3b8c8c523ac5482c\") }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__25ac38788b40f14b3b8c8c523ac5482c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_registered_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_block_number.e17831aecf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_block_number.e17831aecf", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_registered_arbitrum_sepolia_block_number"], "alias": "not_null_spot_synth_registered_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3096542, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_synth_registered_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_contract.13305b5b4f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_contract.13305b5b4f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_registered_arbitrum_sepolia_contract"], "alias": "not_null_spot_synth_registered_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3112977, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_synth_registered_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_synth_token_address.30dd706c48": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_sepolia_synth_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_2fb01859ed6fb2d73c15c31bcb3fc105.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_synth_token_address.30dd706c48", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_registered_arbitrum_sepolia_synth_token_address"], "alias": "not_null_spot_synth_registered_2fb01859ed6fb2d73c15c31bcb3fc105", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_spot_synth_registered_2fb01859ed6fb2d73c15c31bcb3fc105", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_spot_synth_registered_2fb01859ed6fb2d73c15c31bcb3fc105"}, "created_at": 1723584318.3129053, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_spot_synth_registered_2fb01859ed6fb2d73c15c31bcb3fc105\") }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_2fb01859ed6fb2d73c15c31bcb3fc105.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_token_address\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\nwhere synth_token_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_token_address", "file_key_name": "models.spot_synth_registered_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_token_address", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_event_name.5caf84c585": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_event_name.5caf84c585", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_registered_arbitrum_sepolia_event_name"], "alias": "not_null_spot_synth_registered_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.314582, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_registered_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_registered_arbitrum_sepolia_event_name__SynthRegistered.66b8fe9ef2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_registered_arbitrum_sepolia_event_name__SynthRegistered", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_reg_0336e663d10f4ca4b2e33c83cf05eaec.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_registered_arbitrum_sepolia_event_name__SynthRegistered.66b8fe9ef2", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "accepted_values_spot_synth_registered_arbitrum_sepolia_event_name__SynthRegistered"], "alias": "accepted_values_spot_synth_reg_0336e663d10f4ca4b2e33c83cf05eaec", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_reg_0336e663d10f4ca4b2e33c83cf05eaec", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_synth_reg_0336e663d10f4ca4b2e33c83cf05eaec"}, "created_at": 1723584318.3162673, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_reg_0336e663d10f4ca4b2e33c83cf05eaec\") }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_reg_0336e663d10f4ca4b2e33c83cf05eaec.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthRegistered'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_registered_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthRegistered"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_transaction_hash.211b9e6913": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_6da863fc8d9528f5a1874d8fcd090533.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_transaction_hash.211b9e6913", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_registered_arbitrum_sepolia_transaction_hash"], "alias": "not_null_spot_synth_registered_6da863fc8d9528f5a1874d8fcd090533", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_spot_synth_registered_6da863fc8d9528f5a1874d8fcd090533", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_spot_synth_registered_6da863fc8d9528f5a1874d8fcd090533"}, "created_at": 1723584318.320336, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_spot_synth_registered_6da863fc8d9528f5a1874d8fcd090533\") }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_6da863fc8d9528f5a1874d8fcd090533.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_synth_registered_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_collected_fees.32235682bf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_sepolia_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_sepolia_collected_fees.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_collected_fees.32235682bf", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_bought_arbitrum_sepolia_collected_fees"], "alias": "not_null_spot_synth_bought_arbitrum_sepolia_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.321979, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_synth_bought_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_collected_fees__True__0.e69ec41d5e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__56d8991577d08d939e2ea1986046da54.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_collected_fees__True__0.e69ec41d5e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_spot__56d8991577d08d939e2ea1986046da54", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__56d8991577d08d939e2ea1986046da54", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__56d8991577d08d939e2ea1986046da54"}, "created_at": 1723584318.324202, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__56d8991577d08d939e2ea1986046da54\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__56d8991577d08d939e2ea1986046da54.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_synth_bought_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash.b57c5b3476": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash.b57c5b3476", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash"], "alias": "not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3281932, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_synth_bought_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id.92397dca4f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id.92397dca4f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id"], "alias": "not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3298013, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_bought_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_synth_market_id__True__0.869a31cec1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__4701c94b1c8e345374139f3eba28b34f.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_synth_market_id__True__0.869a31cec1", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__4701c94b1c8e345374139f3eba28b34f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__4701c94b1c8e345374139f3eba28b34f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__4701c94b1c8e345374139f3eba28b34f"}, "created_at": 1723584318.3316221, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__4701c94b1c8e345374139f3eba28b34f\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4701c94b1c8e345374139f3eba28b34f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_bought_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_block_number.1414f728f0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_block_number.1414f728f0", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_bought_arbitrum_sepolia_block_number"], "alias": "not_null_spot_synth_bought_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.335645, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_synth_bought_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp.af0cba6258": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp.af0cba6258", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp"], "alias": "not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3374102, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_synth_bought_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_id.ed20008417": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_id.ed20008417", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_bought_arbitrum_sepolia_id"], "alias": "not_null_spot_synth_bought_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.339016, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_bought_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_bought_arbitrum_sepolia_id.3ade424d59": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_bought_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_bought_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_bought_arbitrum_sepolia_id.3ade424d59", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "unique_spot_synth_bought_arbitrum_sepolia_id"], "alias": "unique_spot_synth_bought_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.340678, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_bought_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_bought_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_price.9dde4ea814": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_sepolia_price.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_price.9dde4ea814", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_bought_arbitrum_sepolia_price"], "alias": "not_null_spot_synth_bought_arbitrum_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3423111, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_synth_bought_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_price__True__0.d95f1532c7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__ec6b539a91243fffbbaaa70b65f8ea55.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_price__True__0.d95f1532c7", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_spot__ec6b539a91243fffbbaaa70b65f8ea55", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__ec6b539a91243fffbbaaa70b65f8ea55", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__ec6b539a91243fffbbaaa70b65f8ea55"}, "created_at": 1723584318.3439267, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__ec6b539a91243fffbbaaa70b65f8ea55\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__ec6b539a91243fffbbaaa70b65f8ea55.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_synth_bought_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_contract.2c9cdafac9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_contract.2c9cdafac9", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_bought_arbitrum_sepolia_contract"], "alias": "not_null_spot_synth_bought_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.348053, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_synth_bought_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_referrer.c39eda4686": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_sepolia_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_sepolia_referrer.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_referrer.c39eda4686", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_bought_arbitrum_sepolia_referrer"], "alias": "not_null_spot_synth_bought_arbitrum_sepolia_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3496683, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "file_key_name": "models.spot_synth_bought_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referrer", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_event_name.a810bafafd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_event_name.a810bafafd", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_bought_arbitrum_sepolia_event_name"], "alias": "not_null_spot_synth_bought_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3514433, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_bought_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_bought_arbitrum_sepolia_event_name__SynthBought.134dc8cabd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_bought_arbitrum_sepolia_event_name__SynthBought", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_bou_1c39f8fe0d97b36e91f7b53ed95d2a10.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_bought_arbitrum_sepolia_event_name__SynthBought.134dc8cabd", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "accepted_values_spot_synth_bought_arbitrum_sepolia_event_name__SynthBought"], "alias": "accepted_values_spot_synth_bou_1c39f8fe0d97b36e91f7b53ed95d2a10", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_bou_1c39f8fe0d97b36e91f7b53ed95d2a10", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_synth_bou_1c39f8fe0d97b36e91f7b53ed95d2a10"}, "created_at": 1723584318.3530757, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_bou_1c39f8fe0d97b36e91f7b53ed95d2a10\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_bou_1c39f8fe0d97b36e91f7b53ed95d2a10.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthBought'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_bought_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthBought"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_event_name.333367310e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_event_name.333367310e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_sold_arbitrum_sepolia_event_name"], "alias": "not_null_spot_synth_sold_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3570697, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_sold_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_sold_arbitrum_sepolia_event_name__SynthSold.fe13707237": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_sold_arbitrum_sepolia_event_name__SynthSold", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_sol_d9a0bcb42697942066d52485de1a1b5e.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_sold_arbitrum_sepolia_event_name__SynthSold.fe13707237", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "accepted_values_spot_synth_sold_arbitrum_sepolia_event_name__SynthSold"], "alias": "accepted_values_spot_synth_sol_d9a0bcb42697942066d52485de1a1b5e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_sol_d9a0bcb42697942066d52485de1a1b5e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_synth_sol_d9a0bcb42697942066d52485de1a1b5e"}, "created_at": 1723584318.3589244, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_sol_d9a0bcb42697942066d52485de1a1b5e\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_sol_d9a0bcb42697942066d52485de1a1b5e.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthSold'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_sold_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthSold"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash.da63dad649": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash.da63dad649", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash"], "alias": "not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3629003, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_synth_sold_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_collected_fees.0c503232cc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_sepolia_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_sepolia_collected_fees.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_collected_fees.0c503232cc", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_sold_arbitrum_sepolia_collected_fees"], "alias": "not_null_spot_synth_sold_arbitrum_sepolia_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.364743, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_synth_sold_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_collected_fees__True__0.18ef00cae1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__6c0549b03b360d8cf75cf8b1c2153f8e.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_collected_fees__True__0.18ef00cae1", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_spot__6c0549b03b360d8cf75cf8b1c2153f8e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__6c0549b03b360d8cf75cf8b1c2153f8e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__6c0549b03b360d8cf75cf8b1c2153f8e"}, "created_at": 1723584318.3663714, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__6c0549b03b360d8cf75cf8b1c2153f8e\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__6c0549b03b360d8cf75cf8b1c2153f8e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_synth_sold_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp.5734b00c78": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp.5734b00c78", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp"], "alias": "not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3705618, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_synth_sold_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_referrer.31558bcae3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_sepolia_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_sepolia_referrer.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_referrer.31558bcae3", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_sold_arbitrum_sepolia_referrer"], "alias": "not_null_spot_synth_sold_arbitrum_sepolia_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3722355, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "file_key_name": "models.spot_synth_sold_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referrer", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_block_number.9eb624134f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_block_number.9eb624134f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_sold_arbitrum_sepolia_block_number"], "alias": "not_null_spot_synth_sold_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3738394, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_synth_sold_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_price.1a5abe8024": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_sepolia_price.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_price.1a5abe8024", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_sold_arbitrum_sepolia_price"], "alias": "not_null_spot_synth_sold_arbitrum_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3754873, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_synth_sold_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_price__True__0.9416491d1c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__fddc9ab15032c2b01e4f5a2d714abd05.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_price__True__0.9416491d1c", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_spot__fddc9ab15032c2b01e4f5a2d714abd05", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__fddc9ab15032c2b01e4f5a2d714abd05", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__fddc9ab15032c2b01e4f5a2d714abd05"}, "created_at": 1723584318.3771465, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__fddc9ab15032c2b01e4f5a2d714abd05\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__fddc9ab15032c2b01e4f5a2d714abd05.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_synth_sold_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_amount_returned.31fa2e2854": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_sepolia_amount_returned", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_sepolia_amount_returned.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_amount_returned.31fa2e2854", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_sold_arbitrum_sepolia_amount_returned"], "alias": "not_null_spot_synth_sold_arbitrum_sepolia_amount_returned", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3813741, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_amount_returned.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_returned\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere amount_returned is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_returned", "file_key_name": "models.spot_synth_sold_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_returned", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_amount_returned__True__0.491570b785": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_amount_returned__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__43a3fa02c5bf4f1b6e2d8a42aa072f09.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_amount_returned__True__0.491570b785", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_amount_returned__True__0"], "alias": "dbt_utils_accepted_range_spot__43a3fa02c5bf4f1b6e2d8a42aa072f09", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__43a3fa02c5bf4f1b6e2d8a42aa072f09", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__43a3fa02c5bf4f1b6e2d8a42aa072f09"}, "created_at": 1723584318.3830223, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__43a3fa02c5bf4f1b6e2d8a42aa072f09\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__43a3fa02c5bf4f1b6e2d8a42aa072f09.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_returned >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_returned", "file_key_name": "models.spot_synth_sold_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_returned", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id.2629bdcd49": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id.2629bdcd49", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id"], "alias": "not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3872364, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_sold_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_synth_market_id__True__0.2196afe46e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__bff2bd10b1ca34eec54bf964bae4a98c.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_synth_market_id__True__0.2196afe46e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__bff2bd10b1ca34eec54bf964bae4a98c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__bff2bd10b1ca34eec54bf964bae4a98c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__bff2bd10b1ca34eec54bf964bae4a98c"}, "created_at": 1723584318.3888845, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__bff2bd10b1ca34eec54bf964bae4a98c\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__bff2bd10b1ca34eec54bf964bae4a98c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_sold_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_id.415e7f2126": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_id.415e7f2126", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_sold_arbitrum_sepolia_id"], "alias": "not_null_spot_synth_sold_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3930821, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_sold_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_sold_arbitrum_sepolia_id.dd4ab72a64": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_sold_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_sold_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_sold_arbitrum_sepolia_id.dd4ab72a64", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "unique_spot_synth_sold_arbitrum_sepolia_id"], "alias": "unique_spot_synth_sold_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.394738, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_sold_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_sold_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_contract.d5f31e0816": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_contract.d5f31e0816", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_sold_arbitrum_sepolia_contract"], "alias": "not_null_spot_synth_sold_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3963647, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_synth_sold_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_id.ec9012b5a4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_id.ec9012b5a4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_wrapped_arbitrum_sepolia_id"], "alias": "not_null_spot_synth_wrapped_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3979797, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_wrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_wrapped_arbitrum_sepolia_id.25ef0efbd8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_wrapped_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_wrapped_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_wrapped_arbitrum_sepolia_id.25ef0efbd8", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "unique_spot_synth_wrapped_arbitrum_sepolia_id"], "alias": "unique_spot_synth_wrapped_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3997333, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_wrapped_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_wrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash.60e01a101a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash.60e01a101a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash"], "alias": "not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.4013443, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_synth_wrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id.f1fccfdd91": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id.f1fccfdd91", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id"], "alias": "not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.4029334, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_wrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_synth_market_id__True__0.ca19b05f78": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__0888c7458ff5876cced73d9a0ba1959c.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_synth_market_id__True__0.ca19b05f78", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__0888c7458ff5876cced73d9a0ba1959c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__0888c7458ff5876cced73d9a0ba1959c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__0888c7458ff5876cced73d9a0ba1959c"}, "created_at": 1723584318.4046006, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__0888c7458ff5876cced73d9a0ba1959c\") }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__0888c7458ff5876cced73d9a0ba1959c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_wrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_contract.410ac0c77b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_contract.410ac0c77b", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_wrapped_arbitrum_sepolia_contract"], "alias": "not_null_spot_synth_wrapped_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.409041, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_synth_wrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_event_name.e16041e32c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_event_name.e16041e32c", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_wrapped_arbitrum_sepolia_event_name"], "alias": "not_null_spot_synth_wrapped_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.4106722, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_wrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_wrapped_arbitrum_sepolia_event_name__SynthWrapped.a482cbf84f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_wrapped_arbitrum_sepolia_event_name__SynthWrapped", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_wra_6aa8a879b7bf7c59378d8ed42dff1697.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_wrapped_arbitrum_sepolia_event_name__SynthWrapped.a482cbf84f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "accepted_values_spot_synth_wrapped_arbitrum_sepolia_event_name__SynthWrapped"], "alias": "accepted_values_spot_synth_wra_6aa8a879b7bf7c59378d8ed42dff1697", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_wra_6aa8a879b7bf7c59378d8ed42dff1697", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_synth_wra_6aa8a879b7bf7c59378d8ed42dff1697"}, "created_at": 1723584318.412325, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_wra_6aa8a879b7bf7c59378d8ed42dff1697\") }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_wra_6aa8a879b7bf7c59378d8ed42dff1697.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthWrapped'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_wrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthWrapped"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp.cc2e2e7857": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp.cc2e2e7857", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp"], "alias": "not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.416408, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_synth_wrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_block_number.c861cf7b58": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_block_number.c861cf7b58", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_wrapped_arbitrum_sepolia_block_number"], "alias": "not_null_spot_synth_wrapped_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.4180226, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_synth_wrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected.8c22c01d20": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected.8c22c01d20", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected"], "alias": "not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.4197922, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect fees_collected\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\nwhere fees_collected is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "file_key_name": "models.spot_synth_wrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_fees_collected__True__0.9f8402c770": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_fees_collected__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__2285c31b6c2a1bb99689a0bc568960ad.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_fees_collected__True__0.9f8402c770", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_fees_collected__True__0"], "alias": "dbt_utils_accepted_range_spot__2285c31b6c2a1bb99689a0bc568960ad", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__2285c31b6c2a1bb99689a0bc568960ad", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__2285c31b6c2a1bb99689a0bc568960ad"}, "created_at": 1723584318.4214172, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__2285c31b6c2a1bb99689a0bc568960ad\") }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__2285c31b6c2a1bb99689a0bc568960ad.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not fees_collected >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "file_key_name": "models.spot_synth_wrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp.2897aa2af1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp.2897aa2af1", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp"], "alias": "not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.425447, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_synth_unwrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped.4d83dd17da": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped.4d83dd17da", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped"], "alias": "not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.4272692, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_unwrapped\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\nwhere amount_unwrapped is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_unwrapped", "file_key_name": "models.spot_synth_unwrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_unwrapped", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped__True__0.2d01453854": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__a7cec5df7d3e44ee4aee7a99c592f863.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped__True__0.2d01453854", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped__True__0"], "alias": "dbt_utils_accepted_range_spot__a7cec5df7d3e44ee4aee7a99c592f863", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__a7cec5df7d3e44ee4aee7a99c592f863", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__a7cec5df7d3e44ee4aee7a99c592f863"}, "created_at": 1723584318.4289217, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__a7cec5df7d3e44ee4aee7a99c592f863\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__a7cec5df7d3e44ee4aee7a99c592f863.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_unwrapped >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_unwrapped", "file_key_name": "models.spot_synth_unwrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_unwrapped", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected.342d8ecaba": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected.342d8ecaba", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected"], "alias": "not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.4330728, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect fees_collected\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\nwhere fees_collected is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "file_key_name": "models.spot_synth_unwrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_fees_collected__True__0.f01b734c27": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_fees_collected__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__8d9f8de76c5b68ce5a80ebfa99b18292.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_fees_collected__True__0.f01b734c27", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_fees_collected__True__0"], "alias": "dbt_utils_accepted_range_spot__8d9f8de76c5b68ce5a80ebfa99b18292", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__8d9f8de76c5b68ce5a80ebfa99b18292", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__8d9f8de76c5b68ce5a80ebfa99b18292"}, "created_at": 1723584318.434725, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__8d9f8de76c5b68ce5a80ebfa99b18292\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__8d9f8de76c5b68ce5a80ebfa99b18292.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not fees_collected >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "file_key_name": "models.spot_synth_unwrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name.e2e470100a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name.e2e470100a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name"], "alias": "not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.4387603, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_unwrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_unwrapped_arbitrum_sepolia_event_name__SynthUnwrapped.20624d41fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_unwrapped_arbitrum_sepolia_event_name__SynthUnwrapped", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_unw_5059cd55122eebf2fb18a70d62ded865.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_unwrapped_arbitrum_sepolia_event_name__SynthUnwrapped.20624d41fd", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "accepted_values_spot_synth_unwrapped_arbitrum_sepolia_event_name__SynthUnwrapped"], "alias": "accepted_values_spot_synth_unw_5059cd55122eebf2fb18a70d62ded865", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_unw_5059cd55122eebf2fb18a70d62ded865", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_synth_unw_5059cd55122eebf2fb18a70d62ded865"}, "created_at": 1723584318.4406226, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_unw_5059cd55122eebf2fb18a70d62ded865\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_unw_5059cd55122eebf2fb18a70d62ded865.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthUnwrapped'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_unwrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthUnwrapped"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number.bfaa7aabea": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number.bfaa7aabea", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number"], "alias": "not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.4446187, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_synth_unwrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash.5b5d8f1737": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash.5b5d8f1737", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash"], "alias": "not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.4464185, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_synth_unwrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_contract.9a67446eba": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_contract.9a67446eba", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_unwrapped_arbitrum_sepolia_contract"], "alias": "not_null_spot_synth_unwrapped_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.4480712, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_synth_unwrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_id.885fac7a78": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_id.885fac7a78", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_unwrapped_arbitrum_sepolia_id"], "alias": "not_null_spot_synth_unwrapped_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.4496663, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_unwrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_unwrapped_arbitrum_sepolia_id.5985d5d1de": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_unwrapped_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_unwrapped_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_unwrapped_arbitrum_sepolia_id.5985d5d1de", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "unique_spot_synth_unwrapped_arbitrum_sepolia_id"], "alias": "unique_spot_synth_unwrapped_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.4512773, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_unwrapped_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_unwrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id.0f2f845893": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id.0f2f845893", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id"], "alias": "not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.4528594, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_unwrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id__True__0.6744618704": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__3999a4f439b69d2d791e17ef8117b4b7.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id__True__0.6744618704", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__3999a4f439b69d2d791e17ef8117b4b7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__3999a4f439b69d2d791e17ef8117b4b7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__3999a4f439b69d2d791e17ef8117b4b7"}, "created_at": 1723584318.4545655, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__3999a4f439b69d2d791e17ef8117b4b7\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__3999a4f439b69d2d791e17ef8117b4b7.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_unwrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_blocks_base_mainnet_block_number.bb1b2f53c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_blocks_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_blocks_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_blocks_base_mainnet_block_number.bb1b2f53c2", "fqn": ["synthetix", "raw", "base", "mainnet", "not_null_blocks_base_mainnet_block_number"], "alias": "not_null_blocks_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.474455, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/schema.yml/not_null_blocks_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"blocks_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.blocks_base_mainnet", "attached_node": "model.synthetix.blocks_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('blocks_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_blocks_base_mainnet_block_number.e303976d40": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_blocks_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "unique_blocks_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/schema.yml", "unique_id": "test.synthetix.unique_blocks_base_mainnet_block_number.e303976d40", "fqn": ["synthetix", "raw", "base", "mainnet", "unique_blocks_base_mainnet_block_number"], "alias": "unique_blocks_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.476177, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/schema.yml/unique_blocks_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n block_number as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"blocks_base_mainnet\"\nwhere block_number is not null\ngroup by block_number\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.blocks_base_mainnet", "attached_node": "model.synthetix.blocks_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('blocks_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_recency_blocks_base_mainnet_hour__ts__1.b0724712c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_recency_blocks_base_mainnet_hour__ts__1", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_recency_blocks_base_mainnet_hour__ts__1.sql", "original_file_path": "models/raw/base/mainnet/schema.yml", "unique_id": "test.synthetix.dbt_utils_recency_blocks_base_mainnet_hour__ts__1.b0724712c2", "fqn": ["synthetix", "raw", "base", "mainnet", "dbt_utils_recency_blocks_base_mainnet_hour__ts__1"], "alias": "dbt_utils_recency_blocks_base_mainnet_hour__ts__1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.477816, "relation_name": null, "raw_code": "{{ dbt_utils.test_recency(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_recency", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/schema.yml/dbt_utils_recency_blocks_base_mainnet_hour__ts__1.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\n\nwith recency as (\n\n select \n\n \n \n max(ts) as most_recent\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"blocks_base_mainnet\"\n\n \n\n)\n\nselect\n\n \n most_recent,\n cast(\n\n now() + ((interval '1 hour') * (-1))\n\n as timestamp) as threshold\n\nfrom recency\nwhere most_recent < cast(\n\n now() + ((interval '1 hour') * (-1))\n\n as timestamp)\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": null, "file_key_name": "models.blocks_base_mainnet", "attached_node": "model.synthetix.blocks_base_mainnet", "test_metadata": {"name": "recency", "kwargs": {"datepart": "hour", "field": "ts", "interval": 1, "model": "{{ get_where_subquery(ref('blocks_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.unique_perp_account_created_base_mainnet_id.7e77a8a023": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_account_created_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_account_created_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_account_created_base_mainnet_id.7e77a8a023", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "unique_perp_account_created_base_mainnet_id"], "alias": "unique_perp_account_created_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5092947, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_account_created_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_account_created_base_mainnet", "attached_node": "model.synthetix.perp_account_created_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_mainnet_id.88dc5d9a3e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_mainnet_id.88dc5d9a3e", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_created_base_mainnet_id"], "alias": "not_null_perp_account_created_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5110636, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_account_created_base_mainnet", "attached_node": "model.synthetix.perp_account_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_mainnet_event_name.0ab1553ed8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_mainnet_event_name.0ab1553ed8", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_created_base_mainnet_event_name"], "alias": "not_null_perp_account_created_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5127327, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_account_created_base_mainnet", "attached_node": "model.synthetix.perp_account_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_account_created_base_mainnet_event_name__AccountCreated.c906cbec9d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_account_created_base_mainnet_event_name__AccountCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_account_c_229a191ffc81a3a6f7489f91172d1270.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_account_created_base_mainnet_event_name__AccountCreated.c906cbec9d", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "accepted_values_perp_account_created_base_mainnet_event_name__AccountCreated"], "alias": "accepted_values_perp_account_c_229a191ffc81a3a6f7489f91172d1270", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_account_c_229a191ffc81a3a6f7489f91172d1270", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_perp_account_c_229a191ffc81a3a6f7489f91172d1270"}, "created_at": 1723584318.5143576, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_account_c_229a191ffc81a3a6f7489f91172d1270\") }}", "language": "sql", "refs": [{"name": "perp_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_account_c_229a191ffc81a3a6f7489f91172d1270.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'AccountCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_account_created_base_mainnet", "attached_node": "model.synthetix.perp_account_created_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["AccountCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_mainnet_block_number.089e467aa3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_mainnet_block_number.089e467aa3", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_created_base_mainnet_block_number"], "alias": "not_null_perp_account_created_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.518485, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.perp_account_created_base_mainnet", "attached_node": "model.synthetix.perp_account_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_mainnet_block_timestamp.4e4344d68a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_mainnet_block_timestamp.4e4344d68a", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_created_base_mainnet_block_timestamp"], "alias": "not_null_perp_account_created_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.520165, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_account_created_base_mainnet", "attached_node": "model.synthetix.perp_account_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_mainnet_owner.1aca280221": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_mainnet_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_mainnet_owner.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_mainnet_owner.1aca280221", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_created_base_mainnet_owner"], "alias": "not_null_perp_account_created_base_mainnet_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5217779, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.perp_account_created_base_mainnet", "attached_node": "model.synthetix.perp_account_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('perp_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_mainnet_account_id.2d9e573ba3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_mainnet_account_id.2d9e573ba3", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_created_base_mainnet_account_id"], "alias": "not_null_perp_account_created_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5233874, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_account_created_base_mainnet", "attached_node": "model.synthetix.perp_account_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_account_created_base_mainnet_account_id__True__0.31cc3873de": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_account_created_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__2515c92d23eeb0890b4c2f5b889727c9.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_account_created_base_mainnet_account_id__True__0.31cc3873de", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_account_created_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__2515c92d23eeb0890b4c2f5b889727c9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__2515c92d23eeb0890b4c2f5b889727c9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__2515c92d23eeb0890b4c2f5b889727c9"}, "created_at": 1723584318.525083, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__2515c92d23eeb0890b4c2f5b889727c9\") }}", "language": "sql", "refs": [{"name": "perp_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__2515c92d23eeb0890b4c2f5b889727c9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_account_created_base_mainnet", "attached_node": "model.synthetix.perp_account_created_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_account_created_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_account_created_base_mainnet_transaction_hash.0274c58381": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_mainnet_transaction_hash.0274c58381", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_created_base_mainnet_transaction_hash"], "alias": "not_null_perp_account_created_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5291634, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_account_created_base_mainnet", "attached_node": "model.synthetix.perp_account_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_mainnet_contract.d77785377c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_mainnet_contract.d77785377c", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_created_base_mainnet_contract"], "alias": "not_null_perp_account_created_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5309699, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_account_created_base_mainnet", "attached_node": "model.synthetix.perp_account_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_order_committed_base_mainnet_id.471fd9d19f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_order_committed_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_order_committed_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_order_committed_base_mainnet_id.471fd9d19f", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "unique_perp_order_committed_base_mainnet_id"], "alias": "unique_perp_order_committed_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5326393, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_order_committed_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_order_committed_base_mainnet", "attached_node": "model.synthetix.perp_order_committed_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_mainnet_id.deaaf9a2d9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_mainnet_id.deaaf9a2d9", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_committed_base_mainnet_id"], "alias": "not_null_perp_order_committed_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5342457, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_order_committed_base_mainnet", "attached_node": "model.synthetix.perp_order_committed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_mainnet_block_number.743f5b2c16": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_mainnet_block_number.743f5b2c16", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_committed_base_mainnet_block_number"], "alias": "not_null_perp_order_committed_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.535869, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.perp_order_committed_base_mainnet", "attached_node": "model.synthetix.perp_order_committed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_mainnet_block_timestamp.ba049c4adc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_mainnet_block_timestamp.ba049c4adc", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_committed_base_mainnet_block_timestamp"], "alias": "not_null_perp_order_committed_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5374532, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_order_committed_base_mainnet", "attached_node": "model.synthetix.perp_order_committed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_mainnet_transaction_hash.ba7bf1fc20": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_mainnet_transaction_hash.ba7bf1fc20", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_committed_base_mainnet_transaction_hash"], "alias": "not_null_perp_order_committed_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5391567, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_order_committed_base_mainnet", "attached_node": "model.synthetix.perp_order_committed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_mainnet_contract.ec04bc0cd9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_mainnet_contract.ec04bc0cd9", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_committed_base_mainnet_contract"], "alias": "not_null_perp_order_committed_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5407462, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_order_committed_base_mainnet", "attached_node": "model.synthetix.perp_order_committed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_mainnet_event_name.ea7921e749": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_mainnet_event_name.ea7921e749", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_committed_base_mainnet_event_name"], "alias": "not_null_perp_order_committed_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.542316, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_order_committed_base_mainnet", "attached_node": "model.synthetix.perp_order_committed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_order_committed_base_mainnet_event_name__OrderCommitted.ce39697ea3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_order_committed_base_mainnet_event_name__OrderCommitted", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_order_com_520837eaa7fef2a6ed5b234803bbef68.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_order_committed_base_mainnet_event_name__OrderCommitted.ce39697ea3", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "accepted_values_perp_order_committed_base_mainnet_event_name__OrderCommitted"], "alias": "accepted_values_perp_order_com_520837eaa7fef2a6ed5b234803bbef68", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_order_com_520837eaa7fef2a6ed5b234803bbef68", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_perp_order_com_520837eaa7fef2a6ed5b234803bbef68"}, "created_at": 1723584318.5439436, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_order_com_520837eaa7fef2a6ed5b234803bbef68\") }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_order_com_520837eaa7fef2a6ed5b234803bbef68.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderCommitted'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_order_committed_base_mainnet", "attached_node": "model.synthetix.perp_order_committed_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderCommitted"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_mainnet_market_id.09e2f9dd2e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_mainnet_market_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_mainnet_market_id.09e2f9dd2e", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_committed_base_mainnet_market_id"], "alias": "not_null_perp_order_committed_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5480652, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_order_committed_base_mainnet", "attached_node": "model.synthetix.perp_order_committed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_mainnet_market_id__True__0.9964b7c003": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_committed_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__2bd7cd1b54563401a47e730ad72fa304.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_mainnet_market_id__True__0.9964b7c003", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_order_committed_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__2bd7cd1b54563401a47e730ad72fa304", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__2bd7cd1b54563401a47e730ad72fa304", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__2bd7cd1b54563401a47e730ad72fa304"}, "created_at": 1723584318.5497131, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__2bd7cd1b54563401a47e730ad72fa304\") }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__2bd7cd1b54563401a47e730ad72fa304.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_order_committed_base_mainnet", "attached_node": "model.synthetix.perp_order_committed_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_order_committed_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_committed_base_mainnet_account_id.4dabd60cd4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_mainnet_account_id.4dabd60cd4", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_committed_base_mainnet_account_id"], "alias": "not_null_perp_order_committed_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.553899, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_order_committed_base_mainnet", "attached_node": "model.synthetix.perp_order_committed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_mainnet_account_id__True__0.c996cff012": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_committed_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__73386dea77265be7ba7a4e4b0f91a257.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_mainnet_account_id__True__0.c996cff012", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_order_committed_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__73386dea77265be7ba7a4e4b0f91a257", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__73386dea77265be7ba7a4e4b0f91a257", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__73386dea77265be7ba7a4e4b0f91a257"}, "created_at": 1723584318.5555537, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__73386dea77265be7ba7a4e4b0f91a257\") }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__73386dea77265be7ba7a4e4b0f91a257.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_order_committed_base_mainnet", "attached_node": "model.synthetix.perp_order_committed_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_order_committed_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_settled_base_mainnet_contract.4999a48971": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_contract.4999a48971", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_settled_base_mainnet_contract"], "alias": "not_null_perp_order_settled_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5598035, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_order_settled_base_mainnet", "attached_node": "model.synthetix.perp_order_settled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_base_mainnet_event_name.f1e61c05e6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_event_name.f1e61c05e6", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_settled_base_mainnet_event_name"], "alias": "not_null_perp_order_settled_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5614176, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_order_settled_base_mainnet", "attached_node": "model.synthetix.perp_order_settled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_order_settled_base_mainnet_event_name__OrderSettled.2c75532624": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_order_settled_base_mainnet_event_name__OrderSettled", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_order_set_587c17a43051b53793d9fb26645be1a7.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_order_settled_base_mainnet_event_name__OrderSettled.2c75532624", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "accepted_values_perp_order_settled_base_mainnet_event_name__OrderSettled"], "alias": "accepted_values_perp_order_set_587c17a43051b53793d9fb26645be1a7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_order_set_587c17a43051b53793d9fb26645be1a7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_perp_order_set_587c17a43051b53793d9fb26645be1a7"}, "created_at": 1723584318.5630224, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_order_set_587c17a43051b53793d9fb26645be1a7\") }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_order_set_587c17a43051b53793d9fb26645be1a7.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderSettled'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_order_settled_base_mainnet", "attached_node": "model.synthetix.perp_order_settled_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderSettled"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_base_mainnet_account_id.16ba855b23": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_account_id.16ba855b23", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_settled_base_mainnet_account_id"], "alias": "not_null_perp_order_settled_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5671751, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_order_settled_base_mainnet", "attached_node": "model.synthetix.perp_order_settled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_account_id__True__0.e5564d3ff0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_settled_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__5b74aa5015b5c0e43f3026781ddfcd29.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_account_id__True__0.e5564d3ff0", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_order_settled_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__5b74aa5015b5c0e43f3026781ddfcd29", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__5b74aa5015b5c0e43f3026781ddfcd29", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__5b74aa5015b5c0e43f3026781ddfcd29"}, "created_at": 1723584318.568849, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__5b74aa5015b5c0e43f3026781ddfcd29\") }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__5b74aa5015b5c0e43f3026781ddfcd29.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_order_settled_base_mainnet", "attached_node": "model.synthetix.perp_order_settled_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_settled_base_mainnet_market_id.6f4d850570": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_mainnet_market_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_market_id.6f4d850570", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_settled_base_mainnet_market_id"], "alias": "not_null_perp_order_settled_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5734234, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_order_settled_base_mainnet", "attached_node": "model.synthetix.perp_order_settled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_market_id__True__0.f0b24bdf87": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_settled_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__a7e267fe23da132b4b45576a78a109d9.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_market_id__True__0.f0b24bdf87", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_order_settled_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__a7e267fe23da132b4b45576a78a109d9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__a7e267fe23da132b4b45576a78a109d9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__a7e267fe23da132b4b45576a78a109d9"}, "created_at": 1723584318.575028, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__a7e267fe23da132b4b45576a78a109d9\") }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__a7e267fe23da132b4b45576a78a109d9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_order_settled_base_mainnet", "attached_node": "model.synthetix.perp_order_settled_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_settled_base_mainnet_collected_fees.b6a0c12cde": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_mainnet_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_mainnet_collected_fees.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_collected_fees.b6a0c12cde", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_settled_base_mainnet_collected_fees"], "alias": "not_null_perp_order_settled_base_mainnet_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5791748, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.perp_order_settled_base_mainnet", "attached_node": "model.synthetix.perp_order_settled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collected_fees", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_collected_fees__True__0.160f85cd41": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_settled_base_mainnet_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__231f6b536bfcc27fa7f63799bc0ec1bd.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_collected_fees__True__0.160f85cd41", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_order_settled_base_mainnet_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_perp__231f6b536bfcc27fa7f63799bc0ec1bd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__231f6b536bfcc27fa7f63799bc0ec1bd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__231f6b536bfcc27fa7f63799bc0ec1bd"}, "created_at": 1723584318.5808084, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__231f6b536bfcc27fa7f63799bc0ec1bd\") }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__231f6b536bfcc27fa7f63799bc0ec1bd.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.perp_order_settled_base_mainnet", "attached_node": "model.synthetix.perp_order_settled_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_settled_base_mainnet_transaction_hash.a60987fbb0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_transaction_hash.a60987fbb0", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_settled_base_mainnet_transaction_hash"], "alias": "not_null_perp_order_settled_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.584975, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_order_settled_base_mainnet", "attached_node": "model.synthetix.perp_order_settled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_base_mainnet_block_timestamp.81876ddb40": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_block_timestamp.81876ddb40", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_settled_base_mainnet_block_timestamp"], "alias": "not_null_perp_order_settled_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5865922, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_order_settled_base_mainnet", "attached_node": "model.synthetix.perp_order_settled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_base_mainnet_block_number.f58d806635": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_block_number.f58d806635", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_settled_base_mainnet_block_number"], "alias": "not_null_perp_order_settled_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5882266, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.perp_order_settled_base_mainnet", "attached_node": "model.synthetix.perp_order_settled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_order_settled_base_mainnet_id.0225a9550b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_order_settled_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_order_settled_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_order_settled_base_mainnet_id.0225a9550b", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "unique_perp_order_settled_base_mainnet_id"], "alias": "unique_perp_order_settled_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5898244, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_order_settled_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_order_settled_base_mainnet", "attached_node": "model.synthetix.perp_order_settled_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_base_mainnet_id.5b3863aece": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_id.5b3863aece", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_settled_base_mainnet_id"], "alias": "not_null_perp_order_settled_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5915394, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_order_settled_base_mainnet", "attached_node": "model.synthetix.perp_order_settled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_market_updated_base_mainnet_id.a3e4d3e22f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_market_updated_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_market_updated_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_market_updated_base_mainnet_id.a3e4d3e22f", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "unique_perp_market_updated_base_mainnet_id"], "alias": "unique_perp_market_updated_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5931425, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_market_updated_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_market_updated_base_mainnet", "attached_node": "model.synthetix.perp_market_updated_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_mainnet_id.23f3e68a12": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_id.23f3e68a12", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_updated_base_mainnet_id"], "alias": "not_null_perp_market_updated_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.594729, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_market_updated_base_mainnet", "attached_node": "model.synthetix.perp_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_mainnet_block_number.3088915c67": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_block_number.3088915c67", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_updated_base_mainnet_block_number"], "alias": "not_null_perp_market_updated_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5963433, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.perp_market_updated_base_mainnet", "attached_node": "model.synthetix.perp_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_mainnet_block_timestamp.c0b049d2d6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_block_timestamp.c0b049d2d6", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_updated_base_mainnet_block_timestamp"], "alias": "not_null_perp_market_updated_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5979555, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_market_updated_base_mainnet", "attached_node": "model.synthetix.perp_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_mainnet_transaction_hash.28faaa00e5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_transaction_hash.28faaa00e5", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_updated_base_mainnet_transaction_hash"], "alias": "not_null_perp_market_updated_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5996912, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_market_updated_base_mainnet", "attached_node": "model.synthetix.perp_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_mainnet_contract.e19df268b3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_contract.e19df268b3", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_updated_base_mainnet_contract"], "alias": "not_null_perp_market_updated_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6012726, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_market_updated_base_mainnet", "attached_node": "model.synthetix.perp_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_mainnet_event_name.de1019fbef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_event_name.de1019fbef", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_updated_base_mainnet_event_name"], "alias": "not_null_perp_market_updated_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.602839, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_market_updated_base_mainnet", "attached_node": "model.synthetix.perp_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_market_updated_base_mainnet_event_name__MarketUpdated.33121cd63c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_market_updated_base_mainnet_event_name__MarketUpdated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_market_up_a1dbe54efa2a1b43c36cf0f8336659a3.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_market_updated_base_mainnet_event_name__MarketUpdated.33121cd63c", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "accepted_values_perp_market_updated_base_mainnet_event_name__MarketUpdated"], "alias": "accepted_values_perp_market_up_a1dbe54efa2a1b43c36cf0f8336659a3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_market_up_a1dbe54efa2a1b43c36cf0f8336659a3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_perp_market_up_a1dbe54efa2a1b43c36cf0f8336659a3"}, "created_at": 1723584318.6044722, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_market_up_a1dbe54efa2a1b43c36cf0f8336659a3\") }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_market_up_a1dbe54efa2a1b43c36cf0f8336659a3.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketUpdated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_market_updated_base_mainnet", "attached_node": "model.synthetix.perp_market_updated_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketUpdated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_mainnet_market_id.8ec7a63f6b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_mainnet_market_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_market_id.8ec7a63f6b", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_updated_base_mainnet_market_id"], "alias": "not_null_perp_market_updated_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6089008, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_market_updated_base_mainnet", "attached_node": "model.synthetix.perp_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_market_id__True__0.5c7a41566b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_market_updated_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__7ac2e63784ecdbee761807171d9c2ec0.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_market_id__True__0.5c7a41566b", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_market_updated_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__7ac2e63784ecdbee761807171d9c2ec0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__7ac2e63784ecdbee761807171d9c2ec0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__7ac2e63784ecdbee761807171d9c2ec0"}, "created_at": 1723584318.6105382, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__7ac2e63784ecdbee761807171d9c2ec0\") }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__7ac2e63784ecdbee761807171d9c2ec0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_market_updated_base_mainnet", "attached_node": "model.synthetix.perp_market_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_market_updated_base_mainnet_price.f0d91e2bd5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_mainnet_price.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_price.f0d91e2bd5", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_updated_base_mainnet_price"], "alias": "not_null_perp_market_updated_base_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6146958, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.perp_market_updated_base_mainnet", "attached_node": "model.synthetix.perp_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_price__True__0.ae7f542736": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_market_updated_base_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__26da160b4590d4de4ae4a0a27e82a9b6.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_price__True__0.ae7f542736", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_market_updated_base_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_perp__26da160b4590d4de4ae4a0a27e82a9b6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__26da160b4590d4de4ae4a0a27e82a9b6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__26da160b4590d4de4ae4a0a27e82a9b6"}, "created_at": 1723584318.6163752, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__26da160b4590d4de4ae4a0a27e82a9b6\") }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__26da160b4590d4de4ae4a0a27e82a9b6.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.perp_market_updated_base_mainnet", "attached_node": "model.synthetix.perp_market_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_market_updated_base_mainnet_interest_rate.10b7a6c389": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_mainnet_interest_rate", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_mainnet_interest_rate.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_interest_rate.10b7a6c389", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_updated_base_mainnet_interest_rate"], "alias": "not_null_perp_market_updated_base_mainnet_interest_rate", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6205769, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_interest_rate.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect interest_rate\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\nwhere interest_rate is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest_rate", "file_key_name": "models.perp_market_updated_base_mainnet", "attached_node": "model.synthetix.perp_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "interest_rate", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_interest_rate__True__0.7f6ed158d2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_market_updated_base_mainnet_interest_rate__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__372aa5f7755fd1c01417f23991a26419.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_interest_rate__True__0.7f6ed158d2", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_market_updated_base_mainnet_interest_rate__True__0"], "alias": "dbt_utils_accepted_range_perp__372aa5f7755fd1c01417f23991a26419", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__372aa5f7755fd1c01417f23991a26419", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__372aa5f7755fd1c01417f23991a26419"}, "created_at": 1723584318.6222272, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__372aa5f7755fd1c01417f23991a26419\") }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__372aa5f7755fd1c01417f23991a26419.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not interest_rate >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest_rate", "file_key_name": "models.perp_market_updated_base_mainnet", "attached_node": "model.synthetix.perp_market_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "interest_rate", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_position_liquidated_base_mainnet_account_id.498f567370": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_account_id.498f567370", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_position_liquidated_base_mainnet_account_id"], "alias": "not_null_perp_position_liquidated_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.626391, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_position_liquidated_base_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_account_id__True__0.4dca14dbcd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__1029f280bf60994fca80a768a3c6e650.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_account_id__True__0.4dca14dbcd", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__1029f280bf60994fca80a768a3c6e650", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__1029f280bf60994fca80a768a3c6e650", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__1029f280bf60994fca80a768a3c6e650"}, "created_at": 1723584318.6281157, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__1029f280bf60994fca80a768a3c6e650\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__1029f280bf60994fca80a768a3c6e650.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_position_liquidated_base_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_position_liquidated_base_mainnet_market_id.564386819e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_mainnet_market_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_market_id.564386819e", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_position_liquidated_base_mainnet_market_id"], "alias": "not_null_perp_position_liquidated_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6323085, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_position_liquidated_base_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_market_id__True__0.f77ba4ae2f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__ac750db2d65a9dc4aca0786681a29b83.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_market_id__True__0.f77ba4ae2f", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__ac750db2d65a9dc4aca0786681a29b83", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__ac750db2d65a9dc4aca0786681a29b83", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__ac750db2d65a9dc4aca0786681a29b83"}, "created_at": 1723584318.6339397, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__ac750db2d65a9dc4aca0786681a29b83\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__ac750db2d65a9dc4aca0786681a29b83.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_position_liquidated_base_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.unique_perp_position_liquidated_base_mainnet_id.922d3c5143": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_position_liquidated_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_position_liquidated_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_position_liquidated_base_mainnet_id.922d3c5143", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "unique_perp_position_liquidated_base_mainnet_id"], "alias": "unique_perp_position_liquidated_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6381168, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_position_liquidated_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_position_liquidated_base_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_base_mainnet_id.32c367bb62": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_id.32c367bb62", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_position_liquidated_base_mainnet_id"], "alias": "not_null_perp_position_liquidated_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.639772, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_position_liquidated_base_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_base_mainnet_transaction_hash.c67a9607db": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_transaction_hash.c67a9607db", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_position_liquidated_base_mainnet_transaction_hash"], "alias": "not_null_perp_position_liquidated_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.641389, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_position_liquidated_base_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_base_mainnet_current_position_size.b48e72d00b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_mainnet_current_position_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquida_b28667496979508a7c6e6f6dfd67a51c.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_current_position_size.b48e72d00b", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_position_liquidated_base_mainnet_current_position_size"], "alias": "not_null_perp_position_liquida_b28667496979508a7c6e6f6dfd67a51c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_position_liquida_b28667496979508a7c6e6f6dfd67a51c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_position_liquida_b28667496979508a7c6e6f6dfd67a51c"}, "created_at": 1723584318.6429987, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_position_liquida_b28667496979508a7c6e6f6dfd67a51c\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquida_b28667496979508a7c6e6f6dfd67a51c.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect current_position_size\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\nwhere current_position_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "current_position_size", "file_key_name": "models.perp_position_liquidated_base_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "current_position_size", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_current_position_size__True__0.f59eb84311": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_current_position_size__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__5beb1252c662f50c266e8257a75eef6e.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_current_position_size__True__0.f59eb84311", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_current_position_size__True__0"], "alias": "dbt_utils_accepted_range_perp__5beb1252c662f50c266e8257a75eef6e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__5beb1252c662f50c266e8257a75eef6e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__5beb1252c662f50c266e8257a75eef6e"}, "created_at": 1723584318.644741, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__5beb1252c662f50c266e8257a75eef6e\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__5beb1252c662f50c266e8257a75eef6e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not current_position_size >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "current_position_size", "file_key_name": "models.perp_position_liquidated_base_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "current_position_size", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_position_liquidated_base_mainnet_event_name.321097aa34": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_event_name.321097aa34", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_position_liquidated_base_mainnet_event_name"], "alias": "not_null_perp_position_liquidated_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6487691, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_position_liquidated_base_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_position_liquidated_base_mainnet_event_name__PositionLiquidated.71fb40cadb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_position_liquidated_base_mainnet_event_name__PositionLiquidated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_position__c6beb023579188542a2b190c4dafc057.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_position_liquidated_base_mainnet_event_name__PositionLiquidated.71fb40cadb", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "accepted_values_perp_position_liquidated_base_mainnet_event_name__PositionLiquidated"], "alias": "accepted_values_perp_position__c6beb023579188542a2b190c4dafc057", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_position__c6beb023579188542a2b190c4dafc057", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_perp_position__c6beb023579188542a2b190c4dafc057"}, "created_at": 1723584318.650954, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_position__c6beb023579188542a2b190c4dafc057\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_position__c6beb023579188542a2b190c4dafc057.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'PositionLiquidated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_position_liquidated_base_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PositionLiquidated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_base_mainnet_block_number.a7b9be436d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_block_number.a7b9be436d", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_position_liquidated_base_mainnet_block_number"], "alias": "not_null_perp_position_liquidated_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6553156, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.perp_position_liquidated_base_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_base_mainnet_amount_liquidated.29ad6c9103": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_mainnet_amount_liquidated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquida_e894eb4d26a331b04c111a86938cef02.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_amount_liquidated.29ad6c9103", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_position_liquidated_base_mainnet_amount_liquidated"], "alias": "not_null_perp_position_liquida_e894eb4d26a331b04c111a86938cef02", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_position_liquida_e894eb4d26a331b04c111a86938cef02", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_position_liquida_e894eb4d26a331b04c111a86938cef02"}, "created_at": 1723584318.6571276, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_position_liquida_e894eb4d26a331b04c111a86938cef02\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquida_e894eb4d26a331b04c111a86938cef02.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_liquidated\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\nwhere amount_liquidated is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_liquidated", "file_key_name": "models.perp_position_liquidated_base_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_liquidated", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_amount_liquidated__True__0.be0c7ea09d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_amount_liquidated__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__e5313268b8184c1a018e9e936b343018.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_amount_liquidated__True__0.be0c7ea09d", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_amount_liquidated__True__0"], "alias": "dbt_utils_accepted_range_perp__e5313268b8184c1a018e9e936b343018", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__e5313268b8184c1a018e9e936b343018", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__e5313268b8184c1a018e9e936b343018"}, "created_at": 1723584318.6587627, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__e5313268b8184c1a018e9e936b343018\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__e5313268b8184c1a018e9e936b343018.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_liquidated >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_liquidated", "file_key_name": "models.perp_position_liquidated_base_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_liquidated", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_position_liquidated_base_mainnet_contract.16d824dbca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_contract.16d824dbca", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_position_liquidated_base_mainnet_contract"], "alias": "not_null_perp_position_liquidated_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6628096, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_position_liquidated_base_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_base_mainnet_block_timestamp.7e8e3434f7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_block_timestamp.7e8e3434f7", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_position_liquidated_base_mainnet_block_timestamp"], "alias": "not_null_perp_position_liquidated_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6646369, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_position_liquidated_base_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_account_liquidation_attempt_base_mainnet_id.4ca8a36246": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_account_liquidation_attempt_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_account_liquidation_attempt_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_account_liquidation_attempt_base_mainnet_id.4ca8a36246", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "unique_perp_account_liquidation_attempt_base_mainnet_id"], "alias": "unique_perp_account_liquidation_attempt_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.666257, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_account_liquidation_attempt_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_account_liquidation_attempt_base_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_id.f0a38fed0b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidation_attempt_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_id.f0a38fed0b", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_base_mainnet_id"], "alias": "not_null_perp_account_liquidation_attempt_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6678748, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_account_liquidation_attempt_base_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_account_id.b9af0ad259": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_5ca1ee915e50ae956a86376e430f8cc5.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_account_id.b9af0ad259", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_base_mainnet_account_id"], "alias": "not_null_perp_account_liquidat_5ca1ee915e50ae956a86376e430f8cc5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_5ca1ee915e50ae956a86376e430f8cc5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_account_liquidat_5ca1ee915e50ae956a86376e430f8cc5"}, "created_at": 1723584318.6694567, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_5ca1ee915e50ae956a86376e430f8cc5\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_5ca1ee915e50ae956a86376e430f8cc5.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_account_liquidation_attempt_base_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_account_id__True__0.1b7d106a7e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__495fd8022fca28efa7369745702ee1e0.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_account_id__True__0.1b7d106a7e", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__495fd8022fca28efa7369745702ee1e0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__495fd8022fca28efa7369745702ee1e0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__495fd8022fca28efa7369745702ee1e0"}, "created_at": 1723584318.6711617, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__495fd8022fca28efa7369745702ee1e0\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__495fd8022fca28efa7369745702ee1e0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_account_liquidation_attempt_base_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_block_number.eb82068b1f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_3991f363cc656acdc280878f8f73f7f1.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_block_number.eb82068b1f", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_base_mainnet_block_number"], "alias": "not_null_perp_account_liquidat_3991f363cc656acdc280878f8f73f7f1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_3991f363cc656acdc280878f8f73f7f1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_account_liquidat_3991f363cc656acdc280878f8f73f7f1"}, "created_at": 1723584318.675166, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_3991f363cc656acdc280878f8f73f7f1\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_3991f363cc656acdc280878f8f73f7f1.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.perp_account_liquidation_attempt_base_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_reward.c18396dc96": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_mainnet_reward", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidation_attempt_base_mainnet_reward.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_reward.c18396dc96", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_base_mainnet_reward"], "alias": "not_null_perp_account_liquidation_attempt_base_mainnet_reward", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6769958, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_mainnet_reward.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect reward\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\nwhere reward is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "reward", "file_key_name": "models.perp_account_liquidation_attempt_base_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "reward", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_reward__True__0.cb285aadec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_reward__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__7055fc6ee6e88d7be9254461353800e0.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_reward__True__0.cb285aadec", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_reward__True__0"], "alias": "dbt_utils_accepted_range_perp__7055fc6ee6e88d7be9254461353800e0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__7055fc6ee6e88d7be9254461353800e0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__7055fc6ee6e88d7be9254461353800e0"}, "created_at": 1723584318.6786606, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__7055fc6ee6e88d7be9254461353800e0\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__7055fc6ee6e88d7be9254461353800e0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not reward >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "reward", "file_key_name": "models.perp_account_liquidation_attempt_base_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "reward", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_block_timestamp.8bb23c25bf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_81bfdcccb4ae2bf1afc79e3f88b080cb.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_block_timestamp.8bb23c25bf", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_base_mainnet_block_timestamp"], "alias": "not_null_perp_account_liquidat_81bfdcccb4ae2bf1afc79e3f88b080cb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_81bfdcccb4ae2bf1afc79e3f88b080cb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_account_liquidat_81bfdcccb4ae2bf1afc79e3f88b080cb"}, "created_at": 1723584318.682666, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_81bfdcccb4ae2bf1afc79e3f88b080cb\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_81bfdcccb4ae2bf1afc79e3f88b080cb.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_account_liquidation_attempt_base_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_contract.52c72e7f83": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidation_attempt_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_contract.52c72e7f83", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_base_mainnet_contract"], "alias": "not_null_perp_account_liquidation_attempt_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6844633, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_account_liquidation_attempt_base_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_event_name.bdd4a2d793": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_5ac779aa2f2d2fc26bae612c1644eb45.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_event_name.bdd4a2d793", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_base_mainnet_event_name"], "alias": "not_null_perp_account_liquidat_5ac779aa2f2d2fc26bae612c1644eb45", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_5ac779aa2f2d2fc26bae612c1644eb45", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_account_liquidat_5ac779aa2f2d2fc26bae612c1644eb45"}, "created_at": 1723584318.6861038, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_5ac779aa2f2d2fc26bae612c1644eb45\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_5ac779aa2f2d2fc26bae612c1644eb45.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_account_liquidation_attempt_base_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_account_liquidation_attempt_base_mainnet_event_name__AccountLiquidationAttempt.aeb7d6db9c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_account_liquidation_attempt_base_mainnet_event_name__AccountLiquidationAttempt", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_account_l_be6cdf63ff0398524f7a8387b0f6de61.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_account_liquidation_attempt_base_mainnet_event_name__AccountLiquidationAttempt.aeb7d6db9c", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "accepted_values_perp_account_liquidation_attempt_base_mainnet_event_name__AccountLiquidationAttempt"], "alias": "accepted_values_perp_account_l_be6cdf63ff0398524f7a8387b0f6de61", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_account_l_be6cdf63ff0398524f7a8387b0f6de61", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_perp_account_l_be6cdf63ff0398524f7a8387b0f6de61"}, "created_at": 1723584318.687751, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_account_l_be6cdf63ff0398524f7a8387b0f6de61\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_account_l_be6cdf63ff0398524f7a8387b0f6de61.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'AccountLiquidationAttempt'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_account_liquidation_attempt_base_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["AccountLiquidationAttempt"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_transaction_hash.70575855b6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_7991200a41f198464166c7ad5413bb1f.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_transaction_hash.70575855b6", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_base_mainnet_transaction_hash"], "alias": "not_null_perp_account_liquidat_7991200a41f198464166c7ad5413bb1f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_7991200a41f198464166c7ad5413bb1f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_account_liquidat_7991200a41f198464166c7ad5413bb1f"}, "created_at": 1723584318.6923215, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_7991200a41f198464166c7ad5413bb1f\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_7991200a41f198464166c7ad5413bb1f.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_account_liquidation_attempt_base_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_full_liquidation.13fc102881": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_mainnet_full_liquidation", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_c09c4b146c41fe063ab18d453eccdf00.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_full_liquidation.13fc102881", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_base_mainnet_full_liquidation"], "alias": "not_null_perp_account_liquidat_c09c4b146c41fe063ab18d453eccdf00", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_c09c4b146c41fe063ab18d453eccdf00", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_account_liquidat_c09c4b146c41fe063ab18d453eccdf00"}, "created_at": 1723584318.6939685, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_c09c4b146c41fe063ab18d453eccdf00\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_c09c4b146c41fe063ab18d453eccdf00.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect full_liquidation\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\nwhere full_liquidation is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "full_liquidation", "file_key_name": "models.perp_account_liquidation_attempt_base_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "full_liquidation", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_mainnet_block_timestamp.dba3f4ea26": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_block_timestamp.dba3f4ea26", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_collateral_modified_base_mainnet_block_timestamp"], "alias": "not_null_perp_collateral_modified_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.695664, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_mainnet_contract.c11139c863": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_contract.c11139c863", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_collateral_modified_base_mainnet_contract"], "alias": "not_null_perp_collateral_modified_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6973946, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_mainnet_event_name.ea66af17fe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_event_name.ea66af17fe", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_collateral_modified_base_mainnet_event_name"], "alias": "not_null_perp_collateral_modified_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6990058, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_collateral_modified_base_mainnet_event_name__CollateralModified.a5e57f2d75": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_collateral_modified_base_mainnet_event_name__CollateralModified", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_collatera_0bfcdea7902eaefa8460baeebf9cf0b4.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_collateral_modified_base_mainnet_event_name__CollateralModified.a5e57f2d75", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "accepted_values_perp_collateral_modified_base_mainnet_event_name__CollateralModified"], "alias": "accepted_values_perp_collatera_0bfcdea7902eaefa8460baeebf9cf0b4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_collatera_0bfcdea7902eaefa8460baeebf9cf0b4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_perp_collatera_0bfcdea7902eaefa8460baeebf9cf0b4"}, "created_at": 1723584318.7006478, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_collatera_0bfcdea7902eaefa8460baeebf9cf0b4\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_collatera_0bfcdea7902eaefa8460baeebf9cf0b4.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'CollateralModified'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["CollateralModified"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_mainnet_block_number.9a27b3b231": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_block_number.9a27b3b231", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_collateral_modified_base_mainnet_block_number"], "alias": "not_null_perp_collateral_modified_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7051518, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_mainnet_synth_market_id.d41b8065af": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_mainnet_synth_market_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_synth_market_id.d41b8065af", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_collateral_modified_base_mainnet_synth_market_id"], "alias": "not_null_perp_collateral_modified_base_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.706782, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_synth_market_id__True__0.d556e7848d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__71bcdc49b6c55de5d207b282ee907dda.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_synth_market_id__True__0.d556e7848d", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__71bcdc49b6c55de5d207b282ee907dda", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__71bcdc49b6c55de5d207b282ee907dda", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__71bcdc49b6c55de5d207b282ee907dda"}, "created_at": 1723584318.7084541, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__71bcdc49b6c55de5d207b282ee907dda\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__71bcdc49b6c55de5d207b282ee907dda.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.unique_perp_collateral_modified_base_mainnet_id.311ce0d794": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_collateral_modified_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_collateral_modified_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_collateral_modified_base_mainnet_id.311ce0d794", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "unique_perp_collateral_modified_base_mainnet_id"], "alias": "unique_perp_collateral_modified_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.712657, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_collateral_modified_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_mainnet_id.f24bcc6b1b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_id.f24bcc6b1b", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_collateral_modified_base_mainnet_id"], "alias": "not_null_perp_collateral_modified_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7142794, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_mainnet_sender.b40c55b7ee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_sender.b40c55b7ee", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_collateral_modified_base_mainnet_sender"], "alias": "not_null_perp_collateral_modified_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7159085, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_mainnet_account_id.cdccf3f2af": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_account_id.cdccf3f2af", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_collateral_modified_base_mainnet_account_id"], "alias": "not_null_perp_collateral_modified_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.71763, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_account_id__True__0.9f7c28c3fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__d327f92360cb6163375dfb4606e9895b.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_account_id__True__0.9f7c28c3fd", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__d327f92360cb6163375dfb4606e9895b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__d327f92360cb6163375dfb4606e9895b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__d327f92360cb6163375dfb4606e9895b"}, "created_at": 1723584318.7192757, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__d327f92360cb6163375dfb4606e9895b\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__d327f92360cb6163375dfb4606e9895b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_collateral_modified_base_mainnet_transaction_hash.3d3881c53b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_transaction_hash.3d3881c53b", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_collateral_modified_base_mainnet_transaction_hash"], "alias": "not_null_perp_collateral_modified_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7233198, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_block_timestamp.8433c78b93": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_e_10da57e3dd965c93c9a634fba1bbc051.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_block_timestamp.8433c78b93", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_previous_order_expired_base_mainnet_block_timestamp"], "alias": "not_null_perp_previous_order_e_10da57e3dd965c93c9a634fba1bbc051", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_previous_order_e_10da57e3dd965c93c9a634fba1bbc051", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_previous_order_e_10da57e3dd965c93c9a634fba1bbc051"}, "created_at": 1723584318.725129, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_previous_order_e_10da57e3dd965c93c9a634fba1bbc051\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_e_10da57e3dd965c93c9a634fba1bbc051.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_previous_order_expired_base_mainnet_id.f02978148f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_previous_order_expired_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_previous_order_expired_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_previous_order_expired_base_mainnet_id.f02978148f", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "unique_perp_previous_order_expired_base_mainnet_id"], "alias": "unique_perp_previous_order_expired_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7266986, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_previous_order_expired_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_id.bc7a46deda": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_id.bc7a46deda", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_previous_order_expired_base_mainnet_id"], "alias": "not_null_perp_previous_order_expired_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7283158, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_block_number.a563a713e9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_block_number.a563a713e9", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_previous_order_expired_base_mainnet_block_number"], "alias": "not_null_perp_previous_order_expired_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7298765, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_market_id.3b39458251": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_base_mainnet_market_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_market_id.3b39458251", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_previous_order_expired_base_mainnet_market_id"], "alias": "not_null_perp_previous_order_expired_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7318308, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_market_id__True__0.edc1c768de": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__38e6da3ddd428a4313493dcf36e342e3.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_market_id__True__0.edc1c768de", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__38e6da3ddd428a4313493dcf36e342e3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__38e6da3ddd428a4313493dcf36e342e3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__38e6da3ddd428a4313493dcf36e342e3"}, "created_at": 1723584318.7334278, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__38e6da3ddd428a4313493dcf36e342e3\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__38e6da3ddd428a4313493dcf36e342e3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_event_name.14c38c565c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_event_name.14c38c565c", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_previous_order_expired_base_mainnet_event_name"], "alias": "not_null_perp_previous_order_expired_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7376356, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired.a675fe5038": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_previous__f1f85fb8a0fd6aaccd2aa111bbcdd5f5.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired.a675fe5038", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "accepted_values_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired"], "alias": "accepted_values_perp_previous__f1f85fb8a0fd6aaccd2aa111bbcdd5f5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_previous__f1f85fb8a0fd6aaccd2aa111bbcdd5f5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_perp_previous__f1f85fb8a0fd6aaccd2aa111bbcdd5f5"}, "created_at": 1723584318.7393482, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_previous__f1f85fb8a0fd6aaccd2aa111bbcdd5f5\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_previous__f1f85fb8a0fd6aaccd2aa111bbcdd5f5.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'PreviousOrderExpired'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PreviousOrderExpired"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_transaction_hash.97e2d12b2c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_e_fe68f0f2547780fe942fbab172b4b175.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_transaction_hash.97e2d12b2c", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_previous_order_expired_base_mainnet_transaction_hash"], "alias": "not_null_perp_previous_order_e_fe68f0f2547780fe942fbab172b4b175", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_previous_order_e_fe68f0f2547780fe942fbab172b4b175", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_previous_order_e_fe68f0f2547780fe942fbab172b4b175"}, "created_at": 1723584318.743867, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_previous_order_e_fe68f0f2547780fe942fbab172b4b175\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_e_fe68f0f2547780fe942fbab172b4b175.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_account_id.c8037fd435": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_account_id.c8037fd435", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_previous_order_expired_base_mainnet_account_id"], "alias": "not_null_perp_previous_order_expired_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7455127, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_account_id__True__0.e4b1283a09": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__3acdf241e24b7f7e38734d2bd15a2f07.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_account_id__True__0.e4b1283a09", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__3acdf241e24b7f7e38734d2bd15a2f07", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__3acdf241e24b7f7e38734d2bd15a2f07", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__3acdf241e24b7f7e38734d2bd15a2f07"}, "created_at": 1723584318.7471423, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__3acdf241e24b7f7e38734d2bd15a2f07\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__3acdf241e24b7f7e38734d2bd15a2f07.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_contract.5eed227a76": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_contract.5eed227a76", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_previous_order_expired_base_mainnet_contract"], "alias": "not_null_perp_previous_order_expired_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7512884, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_mainnet_market_name.162fe82996": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_mainnet_market_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_mainnet_market_name.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_market_name.162fe82996", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_created_base_mainnet_market_name"], "alias": "not_null_perp_market_created_base_mainnet_market_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.752918, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_market_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"\nwhere market_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_name", "file_key_name": "models.perp_market_created_base_mainnet", "attached_node": "model.synthetix.perp_market_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_name", "model": "{{ get_where_subquery(ref('perp_market_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_market_created_base_mainnet_id.e1227e7e46": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_market_created_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_market_created_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_market_created_base_mainnet_id.e1227e7e46", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "unique_perp_market_created_base_mainnet_id"], "alias": "unique_perp_market_created_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7545533, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_market_created_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_market_created_base_mainnet", "attached_node": "model.synthetix.perp_market_created_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_market_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_mainnet_id.eb84eb9821": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_id.eb84eb9821", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_created_base_mainnet_id"], "alias": "not_null_perp_market_created_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7561617, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_market_created_base_mainnet", "attached_node": "model.synthetix.perp_market_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_market_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_mainnet_market_symbol.06e88b6544": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_mainnet_market_symbol.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_market_symbol.06e88b6544", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_created_base_mainnet_market_symbol"], "alias": "not_null_perp_market_created_base_mainnet_market_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7578547, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.perp_market_created_base_mainnet", "attached_node": "model.synthetix.perp_market_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('perp_market_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_mainnet_event_name.f103b43404": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_event_name.f103b43404", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_created_base_mainnet_event_name"], "alias": "not_null_perp_market_created_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7594993, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_market_created_base_mainnet", "attached_node": "model.synthetix.perp_market_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_market_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_market_created_base_mainnet_event_name__MarketCreated.d9da845e2f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_market_created_base_mainnet_event_name__MarketCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_market_cr_7434d6ba85d2b13eddfd543b8ba88517.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_market_created_base_mainnet_event_name__MarketCreated.d9da845e2f", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "accepted_values_perp_market_created_base_mainnet_event_name__MarketCreated"], "alias": "accepted_values_perp_market_cr_7434d6ba85d2b13eddfd543b8ba88517", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_market_cr_7434d6ba85d2b13eddfd543b8ba88517", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_perp_market_cr_7434d6ba85d2b13eddfd543b8ba88517"}, "created_at": 1723584318.7611187, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_market_cr_7434d6ba85d2b13eddfd543b8ba88517\") }}", "language": "sql", "refs": [{"name": "perp_market_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_market_cr_7434d6ba85d2b13eddfd543b8ba88517.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_market_created_base_mainnet", "attached_node": "model.synthetix.perp_market_created_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_market_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_mainnet_block_number.31d8a749ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_block_number.31d8a749ec", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_created_base_mainnet_block_number"], "alias": "not_null_perp_market_created_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7656114, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.perp_market_created_base_mainnet", "attached_node": "model.synthetix.perp_market_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_market_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_mainnet_block_timestamp.b13b8b381f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_block_timestamp.b13b8b381f", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_created_base_mainnet_block_timestamp"], "alias": "not_null_perp_market_created_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7672505, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_market_created_base_mainnet", "attached_node": "model.synthetix.perp_market_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_market_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_mainnet_contract.dd8ab60012": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_contract.dd8ab60012", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_created_base_mainnet_contract"], "alias": "not_null_perp_market_created_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7688553, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_market_created_base_mainnet", "attached_node": "model.synthetix.perp_market_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_market_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_mainnet_perps_market_id.d04a2adf66": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_mainnet_perps_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_mainnet_perps_market_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_perps_market_id.d04a2adf66", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_created_base_mainnet_perps_market_id"], "alias": "not_null_perp_market_created_base_mainnet_perps_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.770468, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_perps_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect perps_market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"\nwhere perps_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "perps_market_id", "file_key_name": "models.perp_market_created_base_mainnet", "attached_node": "model.synthetix.perp_market_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "perps_market_id", "model": "{{ get_where_subquery(ref('perp_market_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_market_created_base_mainnet_perps_market_id__True__0.7835f6c4e2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_market_created_base_mainnet_perps_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__0b37a3599eb14cec3c2f3ca072560ad4.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_created_base_mainnet_perps_market_id__True__0.7835f6c4e2", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_market_created_base_mainnet_perps_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__0b37a3599eb14cec3c2f3ca072560ad4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__0b37a3599eb14cec3c2f3ca072560ad4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__0b37a3599eb14cec3c2f3ca072560ad4"}, "created_at": 1723584318.772243, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__0b37a3599eb14cec3c2f3ca072560ad4\") }}", "language": "sql", "refs": [{"name": "perp_market_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__0b37a3599eb14cec3c2f3ca072560ad4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not perps_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "perps_market_id", "file_key_name": "models.perp_market_created_base_mainnet", "attached_node": "model.synthetix.perp_market_created_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "perps_market_id", "model": "{{ get_where_subquery(ref('perp_market_created_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_market_created_base_mainnet_transaction_hash.005c8ea981": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_transaction_hash.005c8ea981", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_created_base_mainnet_transaction_hash"], "alias": "not_null_perp_market_created_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7763066, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_market_created_base_mainnet", "attached_node": "model.synthetix.perp_market_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_market_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_mainnet_event_name.d0c6828a2c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_mainnet_event_name.d0c6828a2c", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_charged_base_mainnet_event_name"], "alias": "not_null_perp_interest_charged_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7781203, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_interest_charged_base_mainnet_event_name__InterestCharged.92bd4d647b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_interest_charged_base_mainnet_event_name__InterestCharged", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_interest__9a5088d02872b4bc8893361776515557.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_interest_charged_base_mainnet_event_name__InterestCharged.92bd4d647b", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "accepted_values_perp_interest_charged_base_mainnet_event_name__InterestCharged"], "alias": "accepted_values_perp_interest__9a5088d02872b4bc8893361776515557", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_interest__9a5088d02872b4bc8893361776515557", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_perp_interest__9a5088d02872b4bc8893361776515557"}, "created_at": 1723584318.7797918, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_interest__9a5088d02872b4bc8893361776515557\") }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_interest__9a5088d02872b4bc8893361776515557.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'InterestCharged'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.perp_interest_charged_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["InterestCharged"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_mainnet_contract.637ff31ac5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_mainnet_contract.637ff31ac5", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_charged_base_mainnet_contract"], "alias": "not_null_perp_interest_charged_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7842593, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_mainnet_transaction_hash.82d6f4539b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_mainnet_transaction_hash.82d6f4539b", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_charged_base_mainnet_transaction_hash"], "alias": "not_null_perp_interest_charged_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7859213, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_mainnet_block_timestamp.c006ab16a0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_mainnet_block_timestamp.c006ab16a0", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_charged_base_mainnet_block_timestamp"], "alias": "not_null_perp_interest_charged_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7875538, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_interest_charged_base_mainnet_id.849ecb5e38": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_interest_charged_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_interest_charged_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_interest_charged_base_mainnet_id.849ecb5e38", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "unique_perp_interest_charged_base_mainnet_id"], "alias": "unique_perp_interest_charged_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.789159, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_interest_charged_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.perp_interest_charged_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_mainnet_id.a4394853e3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_mainnet_id.a4394853e3", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_charged_base_mainnet_id"], "alias": "not_null_perp_interest_charged_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7907476, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_mainnet_block_number.634b5a2ca3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_mainnet_block_number.634b5a2ca3", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_charged_base_mainnet_block_number"], "alias": "not_null_perp_interest_charged_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.792476, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_mainnet_account_id.9cea8c57e9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_mainnet_account_id.9cea8c57e9", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_charged_base_mainnet_account_id"], "alias": "not_null_perp_interest_charged_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7940602, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_base_mainnet_account_id__True__0.a3ec3de479": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_interest_charged_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__4c35ab86852077b43fc01e88f838bea7.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_base_mainnet_account_id__True__0.a3ec3de479", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_interest_charged_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__4c35ab86852077b43fc01e88f838bea7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__4c35ab86852077b43fc01e88f838bea7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__4c35ab86852077b43fc01e88f838bea7"}, "created_at": 1723584318.7956676, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__4c35ab86852077b43fc01e88f838bea7\") }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__4c35ab86852077b43fc01e88f838bea7.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.perp_interest_charged_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_block_timestamp.0d665a1669": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_up_a5c50f5470a747deccef9af1fc593db4.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_block_timestamp.0d665a1669", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_rate_updated_base_mainnet_block_timestamp"], "alias": "not_null_perp_interest_rate_up_a5c50f5470a747deccef9af1fc593db4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_interest_rate_up_a5c50f5470a747deccef9af1fc593db4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_interest_rate_up_a5c50f5470a747deccef9af1fc593db4"}, "created_at": 1723584318.7998638, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_interest_rate_up_a5c50f5470a747deccef9af1fc593db4\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_a5c50f5470a747deccef9af1fc593db4.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_interest_rate_updated_base_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_event_name.36434bd8cd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_event_name.36434bd8cd", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_rate_updated_base_mainnet_event_name"], "alias": "not_null_perp_interest_rate_updated_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8015132, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_interest_rate_updated_base_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_interest_rate_updated_base_mainnet_event_name__InterestRateUpdated.1f640e1a2e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_interest_rate_updated_base_mainnet_event_name__InterestRateUpdated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_interest__fd8e2c9af9e5c30d7233e0d1058b0255.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_interest_rate_updated_base_mainnet_event_name__InterestRateUpdated.1f640e1a2e", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "accepted_values_perp_interest_rate_updated_base_mainnet_event_name__InterestRateUpdated"], "alias": "accepted_values_perp_interest__fd8e2c9af9e5c30d7233e0d1058b0255", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_interest__fd8e2c9af9e5c30d7233e0d1058b0255", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_perp_interest__fd8e2c9af9e5c30d7233e0d1058b0255"}, "created_at": 1723584318.8031604, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_interest__fd8e2c9af9e5c30d7233e0d1058b0255\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_interest__fd8e2c9af9e5c30d7233e0d1058b0255.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'InterestRateUpdated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_interest_rate_updated_base_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["InterestRateUpdated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_transaction_hash.84f20da856": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_up_ccdd1d21db3976e0a6d6664759dc9785.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_transaction_hash.84f20da856", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_rate_updated_base_mainnet_transaction_hash"], "alias": "not_null_perp_interest_rate_up_ccdd1d21db3976e0a6d6664759dc9785", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_interest_rate_up_ccdd1d21db3976e0a6d6664759dc9785", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_interest_rate_up_ccdd1d21db3976e0a6d6664759dc9785"}, "created_at": 1723584318.807673, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_interest_rate_up_ccdd1d21db3976e0a6d6664759dc9785\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_ccdd1d21db3976e0a6d6664759dc9785.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_interest_rate_updated_base_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_interest_rate.cfecf76356": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_mainnet_interest_rate", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_base_mainnet_interest_rate.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_interest_rate.cfecf76356", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_rate_updated_base_mainnet_interest_rate"], "alias": "not_null_perp_interest_rate_updated_base_mainnet_interest_rate", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8093114, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_interest_rate.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect interest_rate\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\"\nwhere interest_rate is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest_rate", "file_key_name": "models.perp_interest_rate_updated_base_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "interest_rate", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_interest_rate__True__0.9e368f0a36": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_interest_rate__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__006ba001f62dfd753ee2519801adcc64.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_interest_rate__True__0.9e368f0a36", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_interest_rate__True__0"], "alias": "dbt_utils_accepted_range_perp__006ba001f62dfd753ee2519801adcc64", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__006ba001f62dfd753ee2519801adcc64", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__006ba001f62dfd753ee2519801adcc64"}, "created_at": 1723584318.8109283, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__006ba001f62dfd753ee2519801adcc64\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__006ba001f62dfd753ee2519801adcc64.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not interest_rate >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest_rate", "file_key_name": "models.perp_interest_rate_updated_base_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "interest_rate", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_block_number.76213ff694": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_block_number.76213ff694", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_rate_updated_base_mainnet_block_number"], "alias": "not_null_perp_interest_rate_updated_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8154094, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.perp_interest_rate_updated_base_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_interest_rate_updated_base_mainnet_id.bddddb2671": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_interest_rate_updated_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_interest_rate_updated_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_interest_rate_updated_base_mainnet_id.bddddb2671", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "unique_perp_interest_rate_updated_base_mainnet_id"], "alias": "unique_perp_interest_rate_updated_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8170552, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_interest_rate_updated_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_interest_rate_updated_base_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_id.e9a20cc82f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_id.e9a20cc82f", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_rate_updated_base_mainnet_id"], "alias": "not_null_perp_interest_rate_updated_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8186455, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_interest_rate_updated_base_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_contract.79599300ad": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_contract.79599300ad", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_rate_updated_base_mainnet_contract"], "alias": "not_null_perp_interest_rate_updated_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8203952, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_interest_rate_updated_base_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_super_market_id.234f62d024": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_mainnet_super_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_up_308696c4605075a9f0960b8219cae796.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_super_market_id.234f62d024", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_rate_updated_base_mainnet_super_market_id"], "alias": "not_null_perp_interest_rate_up_308696c4605075a9f0960b8219cae796", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_interest_rate_up_308696c4605075a9f0960b8219cae796", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_interest_rate_up_308696c4605075a9f0960b8219cae796"}, "created_at": 1723584318.8219764, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_interest_rate_up_308696c4605075a9f0960b8219cae796\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_308696c4605075a9f0960b8219cae796.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect super_market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\"\nwhere super_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "super_market_id", "file_key_name": "models.perp_interest_rate_updated_base_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "super_market_id", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_super_market_id__True__0.4d69e0aece": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_super_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__01404a20fe191971a6b2db96b06927ae.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_super_market_id__True__0.4d69e0aece", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_super_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__01404a20fe191971a6b2db96b06927ae", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__01404a20fe191971a6b2db96b06927ae", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__01404a20fe191971a6b2db96b06927ae"}, "created_at": 1723584318.823585, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__01404a20fe191971a6b2db96b06927ae\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__01404a20fe191971a6b2db96b06927ae.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not super_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "super_market_id", "file_key_name": "models.perp_interest_rate_updated_base_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "super_market_id", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_buyback_processed_base_mainnet_id.f2ddc16a13": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_id.f2ddc16a13", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "not_null_buyback_processed_base_mainnet_id"], "alias": "not_null_buyback_processed_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8305097, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_buyback_processed_base_mainnet_id.7d5a3bf3a8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_buyback_processed_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_buyback_processed_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.unique_buyback_processed_base_mainnet_id.7d5a3bf3a8", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "unique_buyback_processed_base_mainnet_id"], "alias": "unique_buyback_processed_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8321774, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/unique_buyback_processed_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_mainnet_block_number.7938e67f70": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_block_number.7938e67f70", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "not_null_buyback_processed_base_mainnet_block_number"], "alias": "not_null_buyback_processed_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8337765, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_mainnet_block_timestamp.a03c2a402e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_block_timestamp.a03c2a402e", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "not_null_buyback_processed_base_mainnet_block_timestamp"], "alias": "not_null_buyback_processed_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.835589, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_mainnet_transaction_hash.48c42ff159": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_transaction_hash.48c42ff159", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "not_null_buyback_processed_base_mainnet_transaction_hash"], "alias": "not_null_buyback_processed_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8371978, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_mainnet_event_name.6b55058ad0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_event_name.6b55058ad0", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "not_null_buyback_processed_base_mainnet_event_name"], "alias": "not_null_buyback_processed_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8388002, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_buyback_processed_base_mainnet_event_name__BuybackProcessed.dfe71d53df": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_buyback_processed_base_mainnet_event_name__BuybackProcessed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_buyback_proces_8068cd10186cbca1b52cf3e47bbbd6be.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.accepted_values_buyback_processed_base_mainnet_event_name__BuybackProcessed.dfe71d53df", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "accepted_values_buyback_processed_base_mainnet_event_name__BuybackProcessed"], "alias": "accepted_values_buyback_proces_8068cd10186cbca1b52cf3e47bbbd6be", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_buyback_proces_8068cd10186cbca1b52cf3e47bbbd6be", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_buyback_proces_8068cd10186cbca1b52cf3e47bbbd6be"}, "created_at": 1723584318.840501, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_buyback_proces_8068cd10186cbca1b52cf3e47bbbd6be\") }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/accepted_values_buyback_proces_8068cd10186cbca1b52cf3e47bbbd6be.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'BuybackProcessed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["BuybackProcessed"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_mainnet_contract.73ecec38f3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_contract.73ecec38f3", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "not_null_buyback_processed_base_mainnet_contract"], "alias": "not_null_buyback_processed_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8449552, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_mainnet_buyer.6dc7c79cf3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_mainnet_buyer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_mainnet_buyer.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_buyer.6dc7c79cf3", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "not_null_buyback_processed_base_mainnet_buyer"], "alias": "not_null_buyback_processed_base_mainnet_buyer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8465633, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_buyer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect buyer\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"\nwhere buyer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "buyer", "file_key_name": "models.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "buyer", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_mainnet_snx.d434d429ea": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_mainnet_snx", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_mainnet_snx.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_snx.d434d429ea", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "not_null_buyback_processed_base_mainnet_snx"], "alias": "not_null_buyback_processed_base_mainnet_snx", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8482325, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_snx.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect snx\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"\nwhere snx is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx", "file_key_name": "models.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "snx", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_mainnet_snx__True__0.afaf938419": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_buyback_processed_base_mainnet_snx__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_buyba_7205bdf024217b749658bf7787b4a0da.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_mainnet_snx__True__0.afaf938419", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "dbt_utils_accepted_range_buyback_processed_base_mainnet_snx__True__0"], "alias": "dbt_utils_accepted_range_buyba_7205bdf024217b749658bf7787b4a0da", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_buyba_7205bdf024217b749658bf7787b4a0da", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_buyba_7205bdf024217b749658bf7787b4a0da"}, "created_at": 1723584318.850008, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_buyba_7205bdf024217b749658bf7787b4a0da\") }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_buyba_7205bdf024217b749658bf7787b4a0da.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not snx >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx", "file_key_name": "models.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "snx", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_buyback_processed_base_mainnet_usd.c5f2eba3f9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_mainnet_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_mainnet_usd.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_usd.c5f2eba3f9", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "not_null_buyback_processed_base_mainnet_usd"], "alias": "not_null_buyback_processed_base_mainnet_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.854042, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect usd\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"\nwhere usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd", "file_key_name": "models.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "usd", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_mainnet_usd__True__0.4acbfc34a4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_buyback_processed_base_mainnet_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_buyba_afb70dba74fac398d6e51d33db8447fc.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_mainnet_usd__True__0.4acbfc34a4", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "dbt_utils_accepted_range_buyback_processed_base_mainnet_usd__True__0"], "alias": "dbt_utils_accepted_range_buyba_afb70dba74fac398d6e51d33db8447fc", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_buyba_afb70dba74fac398d6e51d33db8447fc", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_buyba_afb70dba74fac398d6e51d33db8447fc"}, "created_at": 1723584318.8558528, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_buyba_afb70dba74fac398d6e51d33db8447fc\") }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_buyba_afb70dba74fac398d6e51d33db8447fc.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd", "file_key_name": "models.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "usd", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_account_created_base_mainnet_owner.c498d5b28f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_mainnet_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_mainnet_owner.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_mainnet_owner.c498d5b28f", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_account_created_base_mainnet_owner"], "alias": "not_null_core_account_created_base_mainnet_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8859649, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.core_account_created_base_mainnet", "attached_node": "model.synthetix.core_account_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('core_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_base_mainnet_account_id.9f366bbbab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_mainnet_account_id.9f366bbbab", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_account_created_base_mainnet_account_id"], "alias": "not_null_core_account_created_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8876529, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_account_created_base_mainnet", "attached_node": "model.synthetix.core_account_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_account_created_base_mainnet_account_id__True__0.13ad3c12e1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_account_created_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__fb024e3fa3982ab93641f21fa4d9026d.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_account_created_base_mainnet_account_id__True__0.13ad3c12e1", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_account_created_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__fb024e3fa3982ab93641f21fa4d9026d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__fb024e3fa3982ab93641f21fa4d9026d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__fb024e3fa3982ab93641f21fa4d9026d"}, "created_at": 1723584318.889391, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__fb024e3fa3982ab93641f21fa4d9026d\") }}", "language": "sql", "refs": [{"name": "core_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fb024e3fa3982ab93641f21fa4d9026d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_account_created_base_mainnet", "attached_node": "model.synthetix.core_account_created_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_account_created_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_account_created_base_mainnet_id.a6878c49cb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_mainnet_id.a6878c49cb", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_account_created_base_mainnet_id"], "alias": "not_null_core_account_created_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.893457, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_account_created_base_mainnet", "attached_node": "model.synthetix.core_account_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_account_created_base_mainnet_id.d79e3ab0d1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_account_created_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_account_created_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_account_created_base_mainnet_id.d79e3ab0d1", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_account_created_base_mainnet_id"], "alias": "unique_core_account_created_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.895159, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_account_created_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_account_created_base_mainnet", "attached_node": "model.synthetix.core_account_created_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_base_mainnet_transaction_hash.21cf6568c1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_mainnet_transaction_hash.21cf6568c1", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_account_created_base_mainnet_transaction_hash"], "alias": "not_null_core_account_created_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8973038, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_account_created_base_mainnet", "attached_node": "model.synthetix.core_account_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_base_mainnet_block_number.1b0ff0bd14": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_mainnet_block_number.1b0ff0bd14", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_account_created_base_mainnet_block_number"], "alias": "not_null_core_account_created_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8989427, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_account_created_base_mainnet", "attached_node": "model.synthetix.core_account_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_base_mainnet_block_timestamp.8e5d2b5809": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_mainnet_block_timestamp.8e5d2b5809", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_account_created_base_mainnet_block_timestamp"], "alias": "not_null_core_account_created_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9005985, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_account_created_base_mainnet", "attached_node": "model.synthetix.core_account_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_base_mainnet_event_name.f3ba489917": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_mainnet_event_name.f3ba489917", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_account_created_base_mainnet_event_name"], "alias": "not_null_core_account_created_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9021933, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_account_created_base_mainnet", "attached_node": "model.synthetix.core_account_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_account_created_base_mainnet_event_name__AccountCreated.8d266dd241": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_account_created_base_mainnet_event_name__AccountCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_account_c_a1256cab63a858b197b78f9432dd8903.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_account_created_base_mainnet_event_name__AccountCreated.8d266dd241", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_account_created_base_mainnet_event_name__AccountCreated"], "alias": "accepted_values_core_account_c_a1256cab63a858b197b78f9432dd8903", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_account_c_a1256cab63a858b197b78f9432dd8903", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_account_c_a1256cab63a858b197b78f9432dd8903"}, "created_at": 1723584318.9039361, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_account_c_a1256cab63a858b197b78f9432dd8903\") }}", "language": "sql", "refs": [{"name": "core_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_account_c_a1256cab63a858b197b78f9432dd8903.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'AccountCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_account_created_base_mainnet", "attached_node": "model.synthetix.core_account_created_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["AccountCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_base_mainnet_contract.9c9629d4bf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_mainnet_contract.9c9629d4bf", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_account_created_base_mainnet_contract"], "alias": "not_null_core_account_created_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9079416, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_account_created_base_mainnet", "attached_node": "model.synthetix.core_account_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_mainnet_contract.26c790b056": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_contract.26c790b056", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_delegation_updated_base_mainnet_contract"], "alias": "not_null_core_delegation_updated_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.909805, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_mainnet_id.3f46fc5fef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_id.3f46fc5fef", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_delegation_updated_base_mainnet_id"], "alias": "not_null_core_delegation_updated_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.911605, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_delegation_updated_base_mainnet_id.cb86d131a2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_delegation_updated_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_delegation_updated_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_delegation_updated_base_mainnet_id.cb86d131a2", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_delegation_updated_base_mainnet_id"], "alias": "unique_core_delegation_updated_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9132771, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_delegation_updated_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_mainnet_account_id.d54eaa7e33": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_account_id.d54eaa7e33", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_delegation_updated_base_mainnet_account_id"], "alias": "not_null_core_delegation_updated_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.914875, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_account_id__True__0.682b9be0e3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__253b9a83002d16c95924abe6f937d846.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_account_id__True__0.682b9be0e3", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_delegation_updated_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__253b9a83002d16c95924abe6f937d846", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__253b9a83002d16c95924abe6f937d846", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__253b9a83002d16c95924abe6f937d846"}, "created_at": 1723584318.9165182, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__253b9a83002d16c95924abe6f937d846\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__253b9a83002d16c95924abe6f937d846.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_base_mainnet_collateral_type.ed1a32a32c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_mainnet_collateral_type.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_collateral_type.ed1a32a32c", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_delegation_updated_base_mainnet_collateral_type"], "alias": "not_null_core_delegation_updated_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9206898, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_mainnet_pool_id.05c5c779bf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_mainnet_pool_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_pool_id.05c5c779bf", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_delegation_updated_base_mainnet_pool_id"], "alias": "not_null_core_delegation_updated_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.922321, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_pool_id__True__0.4316662214": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__ee84146b3c7f59e069cb06c4866f3afb.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_pool_id__True__0.4316662214", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_delegation_updated_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__ee84146b3c7f59e069cb06c4866f3afb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__ee84146b3c7f59e069cb06c4866f3afb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__ee84146b3c7f59e069cb06c4866f3afb"}, "created_at": 1723584318.923973, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__ee84146b3c7f59e069cb06c4866f3afb\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ee84146b3c7f59e069cb06c4866f3afb.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_base_mainnet_sender.0138cb07ed": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_sender.0138cb07ed", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_delegation_updated_base_mainnet_sender"], "alias": "not_null_core_delegation_updated_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9281616, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_mainnet_block_timestamp.c521a83475": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_block_timestamp.c521a83475", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_delegation_updated_base_mainnet_block_timestamp"], "alias": "not_null_core_delegation_updated_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.929757, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_mainnet_block_number.b7e4e88578": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_block_number.b7e4e88578", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_delegation_updated_base_mainnet_block_number"], "alias": "not_null_core_delegation_updated_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9315057, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_mainnet_leverage.5efc0a9617": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_mainnet_leverage", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_mainnet_leverage.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_leverage.5efc0a9617", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_delegation_updated_base_mainnet_leverage"], "alias": "not_null_core_delegation_updated_base_mainnet_leverage", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.933107, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_leverage.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect leverage\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere leverage is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "leverage", "file_key_name": "models.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "leverage", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_leverage__True__1000000000000000000__1000000000000000000.d5cf2050cc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_base_mainnet_leverage__True__1000000000000000000__1000000000000000000", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__5a9c6563bcebecccc18c3ba5737a8c27.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_leverage__True__1000000000000000000__1000000000000000000.d5cf2050cc", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_delegation_updated_base_mainnet_leverage__True__1000000000000000000__1000000000000000000"], "alias": "dbt_utils_accepted_range_core__5a9c6563bcebecccc18c3ba5737a8c27", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__5a9c6563bcebecccc18c3ba5737a8c27", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__5a9c6563bcebecccc18c3ba5737a8c27"}, "created_at": 1723584318.934733, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__5a9c6563bcebecccc18c3ba5737a8c27\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__5a9c6563bcebecccc18c3ba5737a8c27.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not leverage >= 1000000000000000000\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not leverage <= 1000000000000000000\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "leverage", "file_key_name": "models.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 1000000000000000000, "max_value": 1000000000000000000, "inclusive": true, "column_name": "leverage", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_base_mainnet_transaction_hash.6915579646": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_transaction_hash.6915579646", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_delegation_updated_base_mainnet_transaction_hash"], "alias": "not_null_core_delegation_updated_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9388936, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_mainnet_amount.a0ab515e0a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_mainnet_amount.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_amount.a0ab515e0a", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_delegation_updated_base_mainnet_amount"], "alias": "not_null_core_delegation_updated_base_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9405346, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_amount__True__0.a8783e193f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_base_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__624bae7a26f389d81fab0e2e4873aba4.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_amount__True__0.a8783e193f", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_delegation_updated_base_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__624bae7a26f389d81fab0e2e4873aba4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__624bae7a26f389d81fab0e2e4873aba4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__624bae7a26f389d81fab0e2e4873aba4"}, "created_at": 1723584318.9421895, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__624bae7a26f389d81fab0e2e4873aba4\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__624bae7a26f389d81fab0e2e4873aba4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_base_mainnet_event_name.cfe99ccc6b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_event_name.cfe99ccc6b", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_delegation_updated_base_mainnet_event_name"], "alias": "not_null_core_delegation_updated_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9464276, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_delegation_updated_base_mainnet_event_name__DelegationUpdated.67d059ef8b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_delegation_updated_base_mainnet_event_name__DelegationUpdated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_delegatio_6fb7ece242e2fdcc30491b13926793be.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_delegation_updated_base_mainnet_event_name__DelegationUpdated.67d059ef8b", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_delegation_updated_base_mainnet_event_name__DelegationUpdated"], "alias": "accepted_values_core_delegatio_6fb7ece242e2fdcc30491b13926793be", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_delegatio_6fb7ece242e2fdcc30491b13926793be", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_delegatio_6fb7ece242e2fdcc30491b13926793be"}, "created_at": 1723584318.9480872, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_delegatio_6fb7ece242e2fdcc30491b13926793be\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_delegatio_6fb7ece242e2fdcc30491b13926793be.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'DelegationUpdated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["DelegationUpdated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_mainnet_collateral_type.be650ff685": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_mainnet_collateral_type.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_collateral_type.be650ff685", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_deposited_base_mainnet_collateral_type"], "alias": "not_null_core_deposited_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9525478, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_mainnet_id.ee16c24c51": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_id.ee16c24c51", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_deposited_base_mainnet_id"], "alias": "not_null_core_deposited_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9544961, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_deposited_base_mainnet_id.c13be8e337": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_deposited_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_deposited_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_deposited_base_mainnet_id.c13be8e337", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_deposited_base_mainnet_id"], "alias": "unique_core_deposited_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9563458, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_deposited_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_mainnet_contract.6e9ec1150a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_contract.6e9ec1150a", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_deposited_base_mainnet_contract"], "alias": "not_null_core_deposited_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9580917, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_mainnet_event_name.31446f5c55": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_event_name.31446f5c55", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_deposited_base_mainnet_event_name"], "alias": "not_null_core_deposited_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9598753, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_deposited_base_mainnet_event_name__Deposited.8716111032": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_deposited_base_mainnet_event_name__Deposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_deposited_d2ece9aaf2ead30501daa2b49e21a31c.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_deposited_base_mainnet_event_name__Deposited.8716111032", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_deposited_base_mainnet_event_name__Deposited"], "alias": "accepted_values_core_deposited_d2ece9aaf2ead30501daa2b49e21a31c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_deposited_d2ece9aaf2ead30501daa2b49e21a31c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_deposited_d2ece9aaf2ead30501daa2b49e21a31c"}, "created_at": 1723584318.9614956, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_deposited_d2ece9aaf2ead30501daa2b49e21a31c\") }}", "language": "sql", "refs": [{"name": "core_deposited_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_deposited_d2ece9aaf2ead30501daa2b49e21a31c.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Deposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Deposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_mainnet_transaction_hash.272eb2e81d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_transaction_hash.272eb2e81d", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_deposited_base_mainnet_transaction_hash"], "alias": "not_null_core_deposited_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9657311, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_mainnet_account_id.7193b1a2c0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_account_id.7193b1a2c0", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_deposited_base_mainnet_account_id"], "alias": "not_null_core_deposited_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9673955, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_deposited_base_mainnet_account_id__True__0.64bcc1c124": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_deposited_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__6ca6e9805390c0e9a66c350a39ec9df1.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_mainnet_account_id__True__0.64bcc1c124", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_deposited_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__6ca6e9805390c0e9a66c350a39ec9df1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__6ca6e9805390c0e9a66c350a39ec9df1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__6ca6e9805390c0e9a66c350a39ec9df1"}, "created_at": 1723584318.9690433, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__6ca6e9805390c0e9a66c350a39ec9df1\") }}", "language": "sql", "refs": [{"name": "core_deposited_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__6ca6e9805390c0e9a66c350a39ec9df1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_deposited_base_mainnet_sender.7b7ebe7456": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_sender.7b7ebe7456", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_deposited_base_mainnet_sender"], "alias": "not_null_core_deposited_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.973242, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_mainnet_block_timestamp.560df883dc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_block_timestamp.560df883dc", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_deposited_base_mainnet_block_timestamp"], "alias": "not_null_core_deposited_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9748666, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_mainnet_block_number.08ee53cd26": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_block_number.08ee53cd26", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_deposited_base_mainnet_block_number"], "alias": "not_null_core_deposited_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.976536, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_mainnet_token_amount.5b0e4b379d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_mainnet_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_mainnet_token_amount.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_token_amount.5b0e4b379d", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_deposited_base_mainnet_token_amount"], "alias": "not_null_core_deposited_base_mainnet_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.978158, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_deposited_base_mainnet_token_amount__True__0.60382baf55": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_deposited_base_mainnet_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__73dff824ec86c822b9f44e7920a6345d.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_mainnet_token_amount__True__0.60382baf55", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_deposited_base_mainnet_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__73dff824ec86c822b9f44e7920a6345d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__73dff824ec86c822b9f44e7920a6345d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__73dff824ec86c822b9f44e7920a6345d"}, "created_at": 1723584318.980331, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__73dff824ec86c822b9f44e7920a6345d\") }}", "language": "sql", "refs": [{"name": "core_deposited_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__73dff824ec86c822b9f44e7920a6345d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_base_mainnet_block_timestamp.3b8ffa7210": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_block_timestamp.3b8ffa7210", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_withdrawn_base_mainnet_block_timestamp"], "alias": "not_null_core_withdrawn_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9843235, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_mainnet_contract.a8511fdb92": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_contract.a8511fdb92", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_withdrawn_base_mainnet_contract"], "alias": "not_null_core_withdrawn_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.985923, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_mainnet_block_number.03c7cebae3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_block_number.03c7cebae3", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_withdrawn_base_mainnet_block_number"], "alias": "not_null_core_withdrawn_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9876971, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_mainnet_transaction_hash.a3fda71b2a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_transaction_hash.a3fda71b2a", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_withdrawn_base_mainnet_transaction_hash"], "alias": "not_null_core_withdrawn_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.989352, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_mainnet_token_amount.fbabce38ba": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_mainnet_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_mainnet_token_amount.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_token_amount.fbabce38ba", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_withdrawn_base_mainnet_token_amount"], "alias": "not_null_core_withdrawn_base_mainnet_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9909418, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_mainnet_token_amount__True__0.54af4bae82": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_withdrawn_base_mainnet_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__4e8993cb1da2677e8026b5c779015536.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_mainnet_token_amount__True__0.54af4bae82", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_withdrawn_base_mainnet_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__4e8993cb1da2677e8026b5c779015536", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__4e8993cb1da2677e8026b5c779015536", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__4e8993cb1da2677e8026b5c779015536"}, "created_at": 1723584318.992627, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__4e8993cb1da2677e8026b5c779015536\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4e8993cb1da2677e8026b5c779015536.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_base_mainnet_collateral_type.f32eb82738": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_mainnet_collateral_type.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_collateral_type.f32eb82738", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_withdrawn_base_mainnet_collateral_type"], "alias": "not_null_core_withdrawn_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9968197, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_mainnet_account_id.ef84b5b40c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_account_id.ef84b5b40c", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_withdrawn_base_mainnet_account_id"], "alias": "not_null_core_withdrawn_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9984214, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_mainnet_account_id__True__0.0bf8555841": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_withdrawn_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__89c5610ccaa1c6a8b230b4c61815e02e.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_mainnet_account_id__True__0.0bf8555841", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_withdrawn_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__89c5610ccaa1c6a8b230b4c61815e02e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__89c5610ccaa1c6a8b230b4c61815e02e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__89c5610ccaa1c6a8b230b4c61815e02e"}, "created_at": 1723584319.0000482, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__89c5610ccaa1c6a8b230b4c61815e02e\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__89c5610ccaa1c6a8b230b4c61815e02e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_base_mainnet_id.8106f47c4d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_id.8106f47c4d", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_withdrawn_base_mainnet_id"], "alias": "not_null_core_withdrawn_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0042143, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_withdrawn_base_mainnet_id.72a24b0786": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_withdrawn_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_withdrawn_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_withdrawn_base_mainnet_id.72a24b0786", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_withdrawn_base_mainnet_id"], "alias": "unique_core_withdrawn_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.005836, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_withdrawn_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_mainnet_sender.2f5cf91bdf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_sender.2f5cf91bdf", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_withdrawn_base_mainnet_sender"], "alias": "not_null_core_withdrawn_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0074627, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_mainnet_event_name.f423143c4b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_event_name.f423143c4b", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_withdrawn_base_mainnet_event_name"], "alias": "not_null_core_withdrawn_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0092165, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_withdrawn_base_mainnet_event_name__Withdrawn.8eb5613297": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_withdrawn_base_mainnet_event_name__Withdrawn", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_withdrawn_9232007c2d4beca3cf202e40bf1586d8.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_withdrawn_base_mainnet_event_name__Withdrawn.8eb5613297", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_withdrawn_base_mainnet_event_name__Withdrawn"], "alias": "accepted_values_core_withdrawn_9232007c2d4beca3cf202e40bf1586d8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_withdrawn_9232007c2d4beca3cf202e40bf1586d8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_withdrawn_9232007c2d4beca3cf202e40bf1586d8"}, "created_at": 1723584319.010837, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_withdrawn_9232007c2d4beca3cf202e40bf1586d8\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_withdrawn_9232007c2d4beca3cf202e40bf1586d8.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Withdrawn'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Withdrawn"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_mainnet_pool_id.0342c9a9f7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_mainnet_pool_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_pool_id.0342c9a9f7", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_liquidation_base_mainnet_pool_id"], "alias": "not_null_core_liquidation_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0150075, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_pool_id__True__0.9af005d964": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__888a89f13edea0827880954dcadc49b0.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_pool_id__True__0.9af005d964", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_liquidation_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__888a89f13edea0827880954dcadc49b0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__888a89f13edea0827880954dcadc49b0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__888a89f13edea0827880954dcadc49b0"}, "created_at": 1723584319.0166996, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__888a89f13edea0827880954dcadc49b0\") }}", "language": "sql", "refs": [{"name": "core_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__888a89f13edea0827880954dcadc49b0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_liquidation_base_mainnet_block_timestamp.cc029a06b8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_block_timestamp.cc029a06b8", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_liquidation_base_mainnet_block_timestamp"], "alias": "not_null_core_liquidation_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0209677, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_mainnet_block_number.896bca83af": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_block_number.896bca83af", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_liquidation_base_mainnet_block_number"], "alias": "not_null_core_liquidation_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0225852, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_mainnet_id.c949216a70": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_id.c949216a70", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_liquidation_base_mainnet_id"], "alias": "not_null_core_liquidation_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0242212, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_liquidation_base_mainnet_id.876ec280ff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_liquidation_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_liquidation_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_liquidation_base_mainnet_id.876ec280ff", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_liquidation_base_mainnet_id"], "alias": "unique_core_liquidation_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0257878, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_liquidation_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_mainnet_contract.cb2b40daff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_contract.cb2b40daff", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_liquidation_base_mainnet_contract"], "alias": "not_null_core_liquidation_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0273623, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_mainnet_event_name.b9c8609dd4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_event_name.b9c8609dd4", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_liquidation_base_mainnet_event_name"], "alias": "not_null_core_liquidation_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0290635, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_liquidation_base_mainnet_event_name__Liquidation.b1c18b74aa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_liquidation_base_mainnet_event_name__Liquidation", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_liquidati_2f8a8c41dad7bc8573be95bdd2240533.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_liquidation_base_mainnet_event_name__Liquidation.b1c18b74aa", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_liquidation_base_mainnet_event_name__Liquidation"], "alias": "accepted_values_core_liquidati_2f8a8c41dad7bc8573be95bdd2240533", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_liquidati_2f8a8c41dad7bc8573be95bdd2240533", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_liquidati_2f8a8c41dad7bc8573be95bdd2240533"}, "created_at": 1723584319.0306695, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_liquidati_2f8a8c41dad7bc8573be95bdd2240533\") }}", "language": "sql", "refs": [{"name": "core_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_liquidati_2f8a8c41dad7bc8573be95bdd2240533.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Liquidation'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Liquidation"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_mainnet_collateral_type.c78d491846": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_mainnet_collateral_type.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_collateral_type.c78d491846", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_liquidation_base_mainnet_collateral_type"], "alias": "not_null_core_liquidation_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0346978, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_mainnet_sender.0c2397ee76": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_sender.0c2397ee76", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_liquidation_base_mainnet_sender"], "alias": "not_null_core_liquidation_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.036565, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_mainnet_account_id.2ddc542a47": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_account_id.2ddc542a47", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_liquidation_base_mainnet_account_id"], "alias": "not_null_core_liquidation_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0381541, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_account_id__True__0.136053be04": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__9c86403cb2ee785aa0809eae1dfa9291.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_account_id__True__0.136053be04", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_liquidation_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__9c86403cb2ee785aa0809eae1dfa9291", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__9c86403cb2ee785aa0809eae1dfa9291", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__9c86403cb2ee785aa0809eae1dfa9291"}, "created_at": 1723584319.0397966, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__9c86403cb2ee785aa0809eae1dfa9291\") }}", "language": "sql", "refs": [{"name": "core_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9c86403cb2ee785aa0809eae1dfa9291.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_liquidation_base_mainnet_transaction_hash.adee36dc81": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_transaction_hash.adee36dc81", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_liquidation_base_mainnet_transaction_hash"], "alias": "not_null_core_liquidation_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.043967, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_mainnet_liquidate_as_account_id.b2d7294162": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_mainnet_liquidate_as_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_mainnet_liquidate_as_account_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_liquidate_as_account_id.b2d7294162", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_liquidation_base_mainnet_liquidate_as_account_id"], "alias": "not_null_core_liquidation_base_mainnet_liquidate_as_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.045595, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_liquidate_as_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidate_as_account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere liquidate_as_account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_liquidate_as_account_id__True__0.7686495bd9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_base_mainnet_liquidate_as_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__47bddc57664c78a55614ac643ed3ffcf.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_liquidate_as_account_id__True__0.7686495bd9", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_liquidation_base_mainnet_liquidate_as_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__47bddc57664c78a55614ac643ed3ffcf", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__47bddc57664c78a55614ac643ed3ffcf", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__47bddc57664c78a55614ac643ed3ffcf"}, "created_at": 1723584319.0472565, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__47bddc57664c78a55614ac643ed3ffcf\") }}", "language": "sql", "refs": [{"name": "core_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__47bddc57664c78a55614ac643ed3ffcf.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not liquidate_as_account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_base_mainnet_id.bdb44c0b54": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_id.bdb44c0b54", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_id"], "alias": "not_null_core_market_updated_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0515263, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_updated_base_mainnet", "attached_node": "model.synthetix.core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_updated_base_mainnet_id.b2a5abdd48": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_updated_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_updated_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_updated_base_mainnet_id.b2a5abdd48", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_market_updated_base_mainnet_id"], "alias": "unique_core_market_updated_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0531135, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_updated_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_updated_base_mainnet", "attached_node": "model.synthetix.core_market_updated_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_mainnet_block_timestamp.648a5f6e8c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_block_timestamp.648a5f6e8c", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_block_timestamp"], "alias": "not_null_core_market_updated_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0547006, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_market_updated_base_mainnet", "attached_node": "model.synthetix.core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_mainnet_block_number.e9e83211a7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_block_number.e9e83211a7", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_block_number"], "alias": "not_null_core_market_updated_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0564396, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_market_updated_base_mainnet", "attached_node": "model.synthetix.core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_mainnet_transaction_hash.7b8eb5d77d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_transaction_hash.7b8eb5d77d", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_transaction_hash"], "alias": "not_null_core_market_updated_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0580318, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_market_updated_base_mainnet", "attached_node": "model.synthetix.core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_mainnet_contract.6d90834e3f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_contract.6d90834e3f", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_contract"], "alias": "not_null_core_market_updated_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0596585, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_market_updated_base_mainnet", "attached_node": "model.synthetix.core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_mainnet_event_name.6afe397967": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_event_name.6afe397967", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_event_name"], "alias": "not_null_core_market_updated_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0612745, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_updated_base_mainnet", "attached_node": "model.synthetix.core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.06e57bf5c5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_market_up_8ffc0f692fd38a4fb71d7fad1fdca0f3.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.06e57bf5c5", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited"], "alias": "accepted_values_core_market_up_8ffc0f692fd38a4fb71d7fad1fdca0f3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_market_up_8ffc0f692fd38a4fb71d7fad1fdca0f3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_market_up_8ffc0f692fd38a4fb71d7fad1fdca0f3"}, "created_at": 1723584319.0628793, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_market_up_8ffc0f692fd38a4fb71d7fad1fdca0f3\") }}", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_market_up_8ffc0f692fd38a4fb71d7fad1fdca0f3.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_updated_base_mainnet", "attached_node": "model.synthetix.core_market_updated_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCollateralWithdrawn", "MarketCollateralDeposited", "MarketUsdWithdrawn", "MarketUsdDeposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_mainnet_market_id.de78147356": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_mainnet_market_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_market_id.de78147356", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_market_id"], "alias": "not_null_core_market_updated_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0672717, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_updated_base_mainnet", "attached_node": "model.synthetix.core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_market_id__True__0.ab7b335af7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__072d0a3e91e04239f7438a3e2f51a69c.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_market_id__True__0.ab7b335af7", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_market_updated_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_core__072d0a3e91e04239f7438a3e2f51a69c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__072d0a3e91e04239f7438a3e2f51a69c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__072d0a3e91e04239f7438a3e2f51a69c"}, "created_at": 1723584319.0688887, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__072d0a3e91e04239f7438a3e2f51a69c\") }}", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__072d0a3e91e04239f7438a3e2f51a69c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_updated_base_mainnet", "attached_node": "model.synthetix.core_market_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_base_mainnet_net_issuance.334062f568": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_net_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_mainnet_net_issuance.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_net_issuance.334062f568", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_net_issuance"], "alias": "not_null_core_market_updated_base_mainnet_net_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.073008, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_net_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect net_issuance\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere net_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "net_issuance", "file_key_name": "models.core_market_updated_base_mainnet", "attached_node": "model.synthetix.core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "net_issuance", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_mainnet_deposited_collateral_value.905a08bfbb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_deposited_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_b_b44b760e99c9075cf641955fb1ad1996.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_deposited_collateral_value.905a08bfbb", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_deposited_collateral_value"], "alias": "not_null_core_market_updated_b_b44b760e99c9075cf641955fb1ad1996", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_market_updated_b_b44b760e99c9075cf641955fb1ad1996", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_market_updated_b_b44b760e99c9075cf641955fb1ad1996"}, "created_at": 1723584319.074605, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_market_updated_b_b44b760e99c9075cf641955fb1ad1996\") }}", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_b_b44b760e99c9075cf641955fb1ad1996.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect deposited_collateral_value\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere deposited_collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "deposited_collateral_value", "file_key_name": "models.core_market_updated_base_mainnet", "attached_node": "model.synthetix.core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "deposited_collateral_value", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_deposited_collateral_value__True__0.3945f7eca1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_base_mainnet_deposited_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__0ebf2739b124eb8dac7f84f98842bbcd.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_deposited_collateral_value__True__0.3945f7eca1", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_market_updated_base_mainnet_deposited_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_core__0ebf2739b124eb8dac7f84f98842bbcd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__0ebf2739b124eb8dac7f84f98842bbcd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__0ebf2739b124eb8dac7f84f98842bbcd"}, "created_at": 1723584319.076238, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__0ebf2739b124eb8dac7f84f98842bbcd\") }}", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__0ebf2739b124eb8dac7f84f98842bbcd.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not deposited_collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "deposited_collateral_value", "file_key_name": "models.core_market_updated_base_mainnet", "attached_node": "model.synthetix.core_market_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "deposited_collateral_value", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_base_mainnet_sender.5b6ff88208": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_sender.5b6ff88208", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_sender"], "alias": "not_null_core_market_updated_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0803828, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_market_updated_base_mainnet", "attached_node": "model.synthetix.core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_mainnet_collateral_type.6e2d5502d4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_mainnet_collateral_type.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_collateral_type.6e2d5502d4", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_collateral_type"], "alias": "not_null_core_market_updated_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.081987, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_market_updated_base_mainnet", "attached_node": "model.synthetix.core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_mainnet_credit_capacity.4cad1dd5dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_credit_capacity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_mainnet_credit_capacity.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_credit_capacity.4cad1dd5dd", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_credit_capacity"], "alias": "not_null_core_market_updated_base_mainnet_credit_capacity", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0836625, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_credit_capacity.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect credit_capacity\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere credit_capacity is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "credit_capacity", "file_key_name": "models.core_market_updated_base_mainnet", "attached_node": "model.synthetix.core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "credit_capacity", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_mainnet_token_amount.ce8694585d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_mainnet_token_amount.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_token_amount.ce8694585d", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_token_amount"], "alias": "not_null_core_market_updated_base_mainnet_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0854175, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_market_updated_base_mainnet", "attached_node": "model.synthetix.core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_token_amount__True__0.159f754b68": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_base_mainnet_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__ef8c2ac0471d5e31c631c60851e1a104.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_token_amount__True__0.159f754b68", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_market_updated_base_mainnet_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__ef8c2ac0471d5e31c631c60851e1a104", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__ef8c2ac0471d5e31c631c60851e1a104", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__ef8c2ac0471d5e31c631c60851e1a104"}, "created_at": 1723584319.0870247, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__ef8c2ac0471d5e31c631c60851e1a104\") }}", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ef8c2ac0471d5e31c631c60851e1a104.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_market_updated_base_mainnet", "attached_node": "model.synthetix.core_market_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_registered_base_mainnet_market.6a5311f9b7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_mainnet_market", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_mainnet_market.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_market.6a5311f9b7", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_registered_base_mainnet_market"], "alias": "not_null_core_market_registered_base_mainnet_market", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0910633, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_market.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\nwhere market is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market", "file_key_name": "models.core_market_registered_base_mainnet", "attached_node": "model.synthetix.core_market_registered_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market", "model": "{{ get_where_subquery(ref('core_market_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_mainnet_market_id.8fa95d0adc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_mainnet_market_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_market_id.8fa95d0adc", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_registered_base_mainnet_market_id"], "alias": "not_null_core_market_registered_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0928695, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_registered_base_mainnet", "attached_node": "model.synthetix.core_market_registered_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_registered_base_mainnet_market_id.e03ba7f671": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_registered_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_registered_base_mainnet_market_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_registered_base_mainnet_market_id.e03ba7f671", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_market_registered_base_mainnet_market_id"], "alias": "unique_core_market_registered_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0944786, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_registered_base_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n market_id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\nwhere market_id is not null\ngroup by market_id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_registered_base_mainnet", "attached_node": "model.synthetix.core_market_registered_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_mainnet_id.58185ba1ad": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_id.58185ba1ad", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_registered_base_mainnet_id"], "alias": "not_null_core_market_registered_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.09622, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_registered_base_mainnet", "attached_node": "model.synthetix.core_market_registered_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_registered_base_mainnet_id.b0e87b4cdb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_registered_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_registered_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_registered_base_mainnet_id.b0e87b4cdb", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_market_registered_base_mainnet_id"], "alias": "unique_core_market_registered_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0978494, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_registered_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_registered_base_mainnet", "attached_node": "model.synthetix.core_market_registered_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_mainnet_block_timestamp.41726ce377": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_block_timestamp.41726ce377", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_registered_base_mainnet_block_timestamp"], "alias": "not_null_core_market_registered_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0996037, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_market_registered_base_mainnet", "attached_node": "model.synthetix.core_market_registered_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_market_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_mainnet_contract.0187a84f0b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_contract.0187a84f0b", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_registered_base_mainnet_contract"], "alias": "not_null_core_market_registered_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1011984, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_market_registered_base_mainnet", "attached_node": "model.synthetix.core_market_registered_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_market_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_mainnet_transaction_hash.7e49be40a9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_transaction_hash.7e49be40a9", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_registered_base_mainnet_transaction_hash"], "alias": "not_null_core_market_registered_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1027808, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_market_registered_base_mainnet", "attached_node": "model.synthetix.core_market_registered_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_market_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_mainnet_block_number.14cb004b58": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_block_number.14cb004b58", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_registered_base_mainnet_block_number"], "alias": "not_null_core_market_registered_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1043856, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_market_registered_base_mainnet", "attached_node": "model.synthetix.core_market_registered_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_market_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_mainnet_event_name.c5054f10bf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_event_name.c5054f10bf", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_registered_base_mainnet_event_name"], "alias": "not_null_core_market_registered_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1059847, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_registered_base_mainnet", "attached_node": "model.synthetix.core_market_registered_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_market_registered_base_mainnet_event_name__MarketRegistered.b297851ae7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_market_registered_base_mainnet_event_name__MarketRegistered", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_market_re_7d22dc7014c15a24d3a378934a783186.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_market_registered_base_mainnet_event_name__MarketRegistered.b297851ae7", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_market_registered_base_mainnet_event_name__MarketRegistered"], "alias": "accepted_values_core_market_re_7d22dc7014c15a24d3a378934a783186", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_market_re_7d22dc7014c15a24d3a378934a783186", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_market_re_7d22dc7014c15a24d3a378934a783186"}, "created_at": 1723584319.1077204, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_market_re_7d22dc7014c15a24d3a378934a783186\") }}", "language": "sql", "refs": [{"name": "core_market_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_market_re_7d22dc7014c15a24d3a378934a783186.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketRegistered'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_registered_base_mainnet", "attached_node": "model.synthetix.core_market_registered_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketRegistered"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_mainnet_sender.9825c848f6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_sender.9825c848f6", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_registered_base_mainnet_sender"], "alias": "not_null_core_market_registered_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1117043, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_market_registered_base_mainnet", "attached_node": "model.synthetix.core_market_registered_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_market_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_mainnet_contract.6f3850c4d8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_contract.6f3850c4d8", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_pool_created_base_mainnet_contract"], "alias": "not_null_core_pool_created_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.113494, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_pool_created_base_mainnet", "attached_node": "model.synthetix.core_pool_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_pool_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_mainnet_sender.0c210116c7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_sender.0c210116c7", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_pool_created_base_mainnet_sender"], "alias": "not_null_core_pool_created_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1150799, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_pool_created_base_mainnet", "attached_node": "model.synthetix.core_pool_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_pool_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_mainnet_block_timestamp.94505d3912": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_block_timestamp.94505d3912", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_pool_created_base_mainnet_block_timestamp"], "alias": "not_null_core_pool_created_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1166973, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_pool_created_base_mainnet", "attached_node": "model.synthetix.core_pool_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_pool_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_mainnet_id.44cc56adee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_id.44cc56adee", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_pool_created_base_mainnet_id"], "alias": "not_null_core_pool_created_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1182785, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_pool_created_base_mainnet", "attached_node": "model.synthetix.core_pool_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_pool_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_pool_created_base_mainnet_id.f5ca162629": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_pool_created_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_pool_created_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_pool_created_base_mainnet_id.f5ca162629", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_pool_created_base_mainnet_id"], "alias": "unique_core_pool_created_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1198773, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_pool_created_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_pool_created_base_mainnet", "attached_node": "model.synthetix.core_pool_created_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_pool_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_mainnet_block_number.8ef3c64233": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_block_number.8ef3c64233", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_pool_created_base_mainnet_block_number"], "alias": "not_null_core_pool_created_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1215773, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_pool_created_base_mainnet", "attached_node": "model.synthetix.core_pool_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_pool_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_mainnet_transaction_hash.88325163ff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_transaction_hash.88325163ff", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_pool_created_base_mainnet_transaction_hash"], "alias": "not_null_core_pool_created_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1231837, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_pool_created_base_mainnet", "attached_node": "model.synthetix.core_pool_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_pool_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_mainnet_event_name.0770467455": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_event_name.0770467455", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_pool_created_base_mainnet_event_name"], "alias": "not_null_core_pool_created_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.124764, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_pool_created_base_mainnet", "attached_node": "model.synthetix.core_pool_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_pool_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_pool_created_base_mainnet_event_name__PoolCreated.a1f7123964": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_pool_created_base_mainnet_event_name__PoolCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_pool_crea_bdbd8829aa1ff5cab82d34c5df5684cd.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_pool_created_base_mainnet_event_name__PoolCreated.a1f7123964", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_pool_created_base_mainnet_event_name__PoolCreated"], "alias": "accepted_values_core_pool_crea_bdbd8829aa1ff5cab82d34c5df5684cd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_pool_crea_bdbd8829aa1ff5cab82d34c5df5684cd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_pool_crea_bdbd8829aa1ff5cab82d34c5df5684cd"}, "created_at": 1723584319.1263576, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_pool_crea_bdbd8829aa1ff5cab82d34c5df5684cd\") }}", "language": "sql", "refs": [{"name": "core_pool_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_pool_crea_bdbd8829aa1ff5cab82d34c5df5684cd.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'PoolCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_pool_created_base_mainnet", "attached_node": "model.synthetix.core_pool_created_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PoolCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_pool_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_mainnet_owner.875044313e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_mainnet_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_mainnet_owner.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_owner.875044313e", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_pool_created_base_mainnet_owner"], "alias": "not_null_core_pool_created_base_mainnet_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1304753, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.core_pool_created_base_mainnet", "attached_node": "model.synthetix.core_pool_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('core_pool_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_mainnet_pool_id.d63bf41661": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_mainnet_pool_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_pool_id.d63bf41661", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_pool_created_base_mainnet_pool_id"], "alias": "not_null_core_pool_created_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1321473, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_pool_created_base_mainnet", "attached_node": "model.synthetix.core_pool_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_pool_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_pool_created_base_mainnet_pool_id__True__0.39f67d8bfc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_pool_created_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__d8e8bea5c4b2354e7f869cd680bd68b7.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_pool_created_base_mainnet_pool_id__True__0.39f67d8bfc", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_pool_created_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__d8e8bea5c4b2354e7f869cd680bd68b7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__d8e8bea5c4b2354e7f869cd680bd68b7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__d8e8bea5c4b2354e7f869cd680bd68b7"}, "created_at": 1723584319.1337655, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__d8e8bea5c4b2354e7f869cd680bd68b7\") }}", "language": "sql", "refs": [{"name": "core_pool_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__d8e8bea5c4b2354e7f869cd680bd68b7.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_pool_created_base_mainnet", "attached_node": "model.synthetix.core_pool_created_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_pool_created_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_base_mainnet_transaction_hash.b63233ece5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_transaction_hash.b63233ece5", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_claimed_base_mainnet_transaction_hash"], "alias": "not_null_core_rewards_claimed_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1379626, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_rewards_claimed_base_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_mainnet_account_id.854e016ff9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_account_id.854e016ff9", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_claimed_base_mainnet_account_id"], "alias": "not_null_core_rewards_claimed_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1396282, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_rewards_claimed_base_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_account_id__True__0.f3a8537aec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__2ac3bbca2e87763cd3aa7b60a2711897.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_account_id__True__0.f3a8537aec", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__2ac3bbca2e87763cd3aa7b60a2711897", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__2ac3bbca2e87763cd3aa7b60a2711897", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__2ac3bbca2e87763cd3aa7b60a2711897"}, "created_at": 1723584319.1412554, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__2ac3bbca2e87763cd3aa7b60a2711897\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__2ac3bbca2e87763cd3aa7b60a2711897.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_rewards_claimed_base_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_base_mainnet_collateral_type.f4a0d97e20": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_mainnet_collateral_type.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_collateral_type.f4a0d97e20", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_claimed_base_mainnet_collateral_type"], "alias": "not_null_core_rewards_claimed_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.14541, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_rewards_claimed_base_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_mainnet_event_name.8699999c22": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_event_name.8699999c22", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_claimed_base_mainnet_event_name"], "alias": "not_null_core_rewards_claimed_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1470232, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_claimed_base_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_rewards_claimed_base_mainnet_event_name__RewardsClaimed.aa2ca50bfd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_rewards_claimed_base_mainnet_event_name__RewardsClaimed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_rewards_c_aad60da75a6038cc74207493be039974.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_rewards_claimed_base_mainnet_event_name__RewardsClaimed.aa2ca50bfd", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_rewards_claimed_base_mainnet_event_name__RewardsClaimed"], "alias": "accepted_values_core_rewards_c_aad60da75a6038cc74207493be039974", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_rewards_c_aad60da75a6038cc74207493be039974", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_rewards_c_aad60da75a6038cc74207493be039974"}, "created_at": 1723584319.1491172, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_rewards_c_aad60da75a6038cc74207493be039974\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_rewards_c_aad60da75a6038cc74207493be039974.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'RewardsClaimed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_claimed_base_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["RewardsClaimed"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_mainnet_contract.c7544b70ac": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_contract.c7544b70ac", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_claimed_base_mainnet_contract"], "alias": "not_null_core_rewards_claimed_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1531157, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_rewards_claimed_base_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_mainnet_amount.2d80149737": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_mainnet_amount.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_amount.2d80149737", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_claimed_base_mainnet_amount"], "alias": "not_null_core_rewards_claimed_base_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1547358, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_claimed_base_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_amount__True__0.d32a48611c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__b1c522fbe833ee75b2877e8459f86cca.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_amount__True__0.d32a48611c", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__b1c522fbe833ee75b2877e8459f86cca", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__b1c522fbe833ee75b2877e8459f86cca", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__b1c522fbe833ee75b2877e8459f86cca"}, "created_at": 1723584319.156539, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__b1c522fbe833ee75b2877e8459f86cca\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b1c522fbe833ee75b2877e8459f86cca.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_claimed_base_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_base_mainnet_distributor.edc7126cd6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_mainnet_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_mainnet_distributor.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_distributor.edc7126cd6", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_claimed_base_mainnet_distributor"], "alias": "not_null_core_rewards_claimed_base_mainnet_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1605737, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.core_rewards_claimed_base_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_mainnet_block_timestamp.365bd8971d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_block_timestamp.365bd8971d", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_claimed_base_mainnet_block_timestamp"], "alias": "not_null_core_rewards_claimed_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.162347, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_rewards_claimed_base_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_mainnet_id.e1c2a57eae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_id.e1c2a57eae", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_claimed_base_mainnet_id"], "alias": "not_null_core_rewards_claimed_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1640077, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_claimed_base_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_rewards_claimed_base_mainnet_id.3e937354d7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_rewards_claimed_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_rewards_claimed_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_rewards_claimed_base_mainnet_id.3e937354d7", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_rewards_claimed_base_mainnet_id"], "alias": "unique_core_rewards_claimed_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.165621, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_rewards_claimed_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_claimed_base_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_mainnet_pool_id.28e40cfefe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_mainnet_pool_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_pool_id.28e40cfefe", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_claimed_base_mainnet_pool_id"], "alias": "not_null_core_rewards_claimed_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1672225, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_claimed_base_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_pool_id__True__0.4091fd0cb1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__feee96e2415d527613f8844cc4624c65.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_pool_id__True__0.4091fd0cb1", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__feee96e2415d527613f8844cc4624c65", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__feee96e2415d527613f8844cc4624c65", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__feee96e2415d527613f8844cc4624c65"}, "created_at": 1723584319.1688375, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__feee96e2415d527613f8844cc4624c65\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__feee96e2415d527613f8844cc4624c65.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_claimed_base_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_base_mainnet_block_number.4b65195293": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_block_number.4b65195293", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_claimed_base_mainnet_block_number"], "alias": "not_null_core_rewards_claimed_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1729603, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_rewards_claimed_base_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_mainnet_id.0142695043": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_id.0142695043", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_distributed_base_mainnet_id"], "alias": "not_null_core_rewards_distributed_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1745641, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_distributed_base_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_rewards_distributed_base_mainnet_id.8cb2f0871f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_rewards_distributed_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_rewards_distributed_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_rewards_distributed_base_mainnet_id.8cb2f0871f", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_rewards_distributed_base_mainnet_id"], "alias": "unique_core_rewards_distributed_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1763668, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_rewards_distributed_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_distributed_base_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_mainnet_event_name.16811bbe2c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_event_name.16811bbe2c", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_distributed_base_mainnet_event_name"], "alias": "not_null_core_rewards_distributed_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.177973, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_distributed_base_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_rewards_distributed_base_mainnet_event_name__RewardsDistributed.c4ccd15bed": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_rewards_distributed_base_mainnet_event_name__RewardsDistributed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_rewards_d_84b0fa070897af09099b10595ee397ae.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_rewards_distributed_base_mainnet_event_name__RewardsDistributed.c4ccd15bed", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_rewards_distributed_base_mainnet_event_name__RewardsDistributed"], "alias": "accepted_values_core_rewards_d_84b0fa070897af09099b10595ee397ae", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_rewards_d_84b0fa070897af09099b10595ee397ae", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_rewards_d_84b0fa070897af09099b10595ee397ae"}, "created_at": 1723584319.179612, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_rewards_d_84b0fa070897af09099b10595ee397ae\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_rewards_d_84b0fa070897af09099b10595ee397ae.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'RewardsDistributed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_distributed_base_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["RewardsDistributed"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_mainnet_amount.2580da873a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_mainnet_amount.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_amount.2580da873a", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_distributed_base_mainnet_amount"], "alias": "not_null_core_rewards_distributed_base_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1837566, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_distributed_base_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_amount__True__0.839843f110": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__c3d16b83384c2504d670e69fb4931d89.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_amount__True__0.839843f110", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__c3d16b83384c2504d670e69fb4931d89", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__c3d16b83384c2504d670e69fb4931d89", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__c3d16b83384c2504d670e69fb4931d89"}, "created_at": 1723584319.1853745, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__c3d16b83384c2504d670e69fb4931d89\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c3d16b83384c2504d670e69fb4931d89.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_distributed_base_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_distributed_base_mainnet_contract.5545c1884a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_contract.5545c1884a", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_distributed_base_mainnet_contract"], "alias": "not_null_core_rewards_distributed_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1895168, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_rewards_distributed_base_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_mainnet_block_timestamp.3080d49013": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_block_timestamp.3080d49013", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_distributed_base_mainnet_block_timestamp"], "alias": "not_null_core_rewards_distributed_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.191156, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_rewards_distributed_base_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_mainnet_transaction_hash.bc1d7442f3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_transaction_hash.bc1d7442f3", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_distributed_base_mainnet_transaction_hash"], "alias": "not_null_core_rewards_distributed_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1927664, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_rewards_distributed_base_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_mainnet_collateral_type.7253a5e6ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_mainnet_collateral_type.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_collateral_type.7253a5e6ec", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_distributed_base_mainnet_collateral_type"], "alias": "not_null_core_rewards_distributed_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.194364, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_rewards_distributed_base_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_mainnet_block_number.8a561feed6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_block_number.8a561feed6", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_distributed_base_mainnet_block_number"], "alias": "not_null_core_rewards_distributed_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1959622, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_rewards_distributed_base_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_mainnet_duration.78ed8fd436": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_mainnet_duration", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_mainnet_duration.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_duration.78ed8fd436", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_distributed_base_mainnet_duration"], "alias": "not_null_core_rewards_distributed_base_mainnet_duration", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.197642, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_duration.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect duration\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere duration is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "duration", "file_key_name": "models.core_rewards_distributed_base_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "duration", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_duration__True__0.7efb65f7c3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_duration__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__5f1c37222733408e1c709a047f319d20.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_duration__True__0.7efb65f7c3", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_duration__True__0"], "alias": "dbt_utils_accepted_range_core__5f1c37222733408e1c709a047f319d20", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__5f1c37222733408e1c709a047f319d20", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__5f1c37222733408e1c709a047f319d20"}, "created_at": 1723584319.1992736, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__5f1c37222733408e1c709a047f319d20\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__5f1c37222733408e1c709a047f319d20.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not duration >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "duration", "file_key_name": "models.core_rewards_distributed_base_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "duration", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_distributed_base_mainnet_distributor.eb73b71c1b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_mainnet_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_mainnet_distributor.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_distributor.eb73b71c1b", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_distributed_base_mainnet_distributor"], "alias": "not_null_core_rewards_distributed_base_mainnet_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2034316, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.core_rewards_distributed_base_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_mainnet_pool_id.8ee087c0fc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_mainnet_pool_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_pool_id.8ee087c0fc", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_distributed_base_mainnet_pool_id"], "alias": "not_null_core_rewards_distributed_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.205036, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_distributed_base_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_pool_id__True__0.7d779ece26": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__36fc9dfe3b15217319d5fd29c4d3d7a4.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_pool_id__True__0.7d779ece26", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__36fc9dfe3b15217319d5fd29c4d3d7a4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__36fc9dfe3b15217319d5fd29c4d3d7a4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__36fc9dfe3b15217319d5fd29c4d3d7a4"}, "created_at": 1723584319.206624, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__36fc9dfe3b15217319d5fd29c4d3d7a4\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__36fc9dfe3b15217319d5fd29c4d3d7a4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_distributed_base_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_base_mainnet_amount.57fdbdea35": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_mainnet_amount.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_amount.57fdbdea35", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_burned_base_mainnet_amount"], "alias": "not_null_core_usd_burned_base_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2108085, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_burned_base_mainnet", "attached_node": "model.synthetix.core_usd_burned_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_amount__True__0.27adfdbff9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_base_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__fa0ed60eafe37b04ad128d3b911d6149.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_amount__True__0.27adfdbff9", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_usd_burned_base_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__fa0ed60eafe37b04ad128d3b911d6149", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__fa0ed60eafe37b04ad128d3b911d6149", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__fa0ed60eafe37b04ad128d3b911d6149"}, "created_at": 1723584319.2124748, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__fa0ed60eafe37b04ad128d3b911d6149\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fa0ed60eafe37b04ad128d3b911d6149.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_burned_base_mainnet", "attached_node": "model.synthetix.core_usd_burned_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_base_mainnet_pool_id.abf28cfdf6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_mainnet_pool_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_pool_id.abf28cfdf6", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_burned_base_mainnet_pool_id"], "alias": "not_null_core_usd_burned_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2167287, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_burned_base_mainnet", "attached_node": "model.synthetix.core_usd_burned_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_pool_id__True__0.52120b282a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__63101afe87b50f579e2db7cc4c5329b8.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_pool_id__True__0.52120b282a", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_usd_burned_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__63101afe87b50f579e2db7cc4c5329b8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__63101afe87b50f579e2db7cc4c5329b8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__63101afe87b50f579e2db7cc4c5329b8"}, "created_at": 1723584319.2183952, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__63101afe87b50f579e2db7cc4c5329b8\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__63101afe87b50f579e2db7cc4c5329b8.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_burned_base_mainnet", "attached_node": "model.synthetix.core_usd_burned_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_base_mainnet_event_name.0bb05d75cc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_event_name.0bb05d75cc", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_burned_base_mainnet_event_name"], "alias": "not_null_core_usd_burned_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2225416, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_burned_base_mainnet", "attached_node": "model.synthetix.core_usd_burned_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_usd_burned_base_mainnet_event_name__UsdBurned.9df46c6616": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_usd_burned_base_mainnet_event_name__UsdBurned", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_usd_burne_6c46cbac385294db7e70f471efaa5ca8.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_usd_burned_base_mainnet_event_name__UsdBurned.9df46c6616", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_usd_burned_base_mainnet_event_name__UsdBurned"], "alias": "accepted_values_core_usd_burne_6c46cbac385294db7e70f471efaa5ca8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_usd_burne_6c46cbac385294db7e70f471efaa5ca8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_usd_burne_6c46cbac385294db7e70f471efaa5ca8"}, "created_at": 1723584319.2242115, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_usd_burne_6c46cbac385294db7e70f471efaa5ca8\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_usd_burne_6c46cbac385294db7e70f471efaa5ca8.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'UsdBurned'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_burned_base_mainnet", "attached_node": "model.synthetix.core_usd_burned_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["UsdBurned"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_mainnet_id.7d6df2e91f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_id.7d6df2e91f", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_burned_base_mainnet_id"], "alias": "not_null_core_usd_burned_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2281914, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_burned_base_mainnet", "attached_node": "model.synthetix.core_usd_burned_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_usd_burned_base_mainnet_id.5953435682": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_usd_burned_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_usd_burned_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_usd_burned_base_mainnet_id.5953435682", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_usd_burned_base_mainnet_id"], "alias": "unique_core_usd_burned_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2303054, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_usd_burned_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_burned_base_mainnet", "attached_node": "model.synthetix.core_usd_burned_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_mainnet_block_number.6f683bcb34": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_block_number.6f683bcb34", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_burned_base_mainnet_block_number"], "alias": "not_null_core_usd_burned_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.231907, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_usd_burned_base_mainnet", "attached_node": "model.synthetix.core_usd_burned_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_mainnet_account_id.b4f53ab613": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_account_id.b4f53ab613", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_burned_base_mainnet_account_id"], "alias": "not_null_core_usd_burned_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.233469, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_burned_base_mainnet", "attached_node": "model.synthetix.core_usd_burned_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_account_id__True__0.40ca1a8133": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__a1c22aa1af42c6708c0439995bac0e8a.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_account_id__True__0.40ca1a8133", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_usd_burned_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__a1c22aa1af42c6708c0439995bac0e8a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__a1c22aa1af42c6708c0439995bac0e8a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__a1c22aa1af42c6708c0439995bac0e8a"}, "created_at": 1723584319.2350461, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__a1c22aa1af42c6708c0439995bac0e8a\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a1c22aa1af42c6708c0439995bac0e8a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_burned_base_mainnet", "attached_node": "model.synthetix.core_usd_burned_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_base_mainnet_sender.b813be6ecc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_sender.b813be6ecc", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_burned_base_mainnet_sender"], "alias": "not_null_core_usd_burned_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2391605, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_usd_burned_base_mainnet", "attached_node": "model.synthetix.core_usd_burned_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_mainnet_transaction_hash.d80af383d5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_transaction_hash.d80af383d5", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_burned_base_mainnet_transaction_hash"], "alias": "not_null_core_usd_burned_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2407644, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_usd_burned_base_mainnet", "attached_node": "model.synthetix.core_usd_burned_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_mainnet_contract.dba51aebb5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_contract.dba51aebb5", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_burned_base_mainnet_contract"], "alias": "not_null_core_usd_burned_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2423477, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_usd_burned_base_mainnet", "attached_node": "model.synthetix.core_usd_burned_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_mainnet_collateral_type.e208105e0e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_mainnet_collateral_type.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_collateral_type.e208105e0e", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_burned_base_mainnet_collateral_type"], "alias": "not_null_core_usd_burned_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.244062, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_usd_burned_base_mainnet", "attached_node": "model.synthetix.core_usd_burned_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_mainnet_block_timestamp.346c53ef95": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_block_timestamp.346c53ef95", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_burned_base_mainnet_block_timestamp"], "alias": "not_null_core_usd_burned_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2456272, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_usd_burned_base_mainnet", "attached_node": "model.synthetix.core_usd_burned_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_mainnet_pool_id.ee8fc13465": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_mainnet_pool_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_pool_id.ee8fc13465", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_minted_base_mainnet_pool_id"], "alias": "not_null_core_usd_minted_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2472239, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_minted_base_mainnet", "attached_node": "model.synthetix.core_usd_minted_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_pool_id__True__0.38a3f5fcf9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__7e7963d46f2c6d05d90cee3851af4c4f.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_pool_id__True__0.38a3f5fcf9", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_usd_minted_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__7e7963d46f2c6d05d90cee3851af4c4f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__7e7963d46f2c6d05d90cee3851af4c4f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__7e7963d46f2c6d05d90cee3851af4c4f"}, "created_at": 1723584319.248818, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__7e7963d46f2c6d05d90cee3851af4c4f\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__7e7963d46f2c6d05d90cee3851af4c4f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_minted_base_mainnet", "attached_node": "model.synthetix.core_usd_minted_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_base_mainnet_block_timestamp.a004821ccd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_block_timestamp.a004821ccd", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_minted_base_mainnet_block_timestamp"], "alias": "not_null_core_usd_minted_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2529225, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_usd_minted_base_mainnet", "attached_node": "model.synthetix.core_usd_minted_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_mainnet_account_id.ccf3e769fe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_account_id.ccf3e769fe", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_minted_base_mainnet_account_id"], "alias": "not_null_core_usd_minted_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.254545, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_minted_base_mainnet", "attached_node": "model.synthetix.core_usd_minted_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_account_id__True__0.fd790b59ca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__14bb4889df60650f86384669233cdfc3.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_account_id__True__0.fd790b59ca", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_usd_minted_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__14bb4889df60650f86384669233cdfc3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__14bb4889df60650f86384669233cdfc3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__14bb4889df60650f86384669233cdfc3"}, "created_at": 1723584319.2561982, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__14bb4889df60650f86384669233cdfc3\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__14bb4889df60650f86384669233cdfc3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_minted_base_mainnet", "attached_node": "model.synthetix.core_usd_minted_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_base_mainnet_collateral_type.f8bfd4628e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_mainnet_collateral_type.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_collateral_type.f8bfd4628e", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_minted_base_mainnet_collateral_type"], "alias": "not_null_core_usd_minted_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2603464, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_usd_minted_base_mainnet", "attached_node": "model.synthetix.core_usd_minted_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_mainnet_block_number.9528b63fbc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_block_number.9528b63fbc", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_minted_base_mainnet_block_number"], "alias": "not_null_core_usd_minted_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.261955, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_usd_minted_base_mainnet", "attached_node": "model.synthetix.core_usd_minted_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_mainnet_id.9cb007fc5c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_id.9cb007fc5c", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_minted_base_mainnet_id"], "alias": "not_null_core_usd_minted_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2635622, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_minted_base_mainnet", "attached_node": "model.synthetix.core_usd_minted_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_usd_minted_base_mainnet_id.476f2a0b45": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_usd_minted_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_usd_minted_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_usd_minted_base_mainnet_id.476f2a0b45", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_usd_minted_base_mainnet_id"], "alias": "unique_core_usd_minted_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2652755, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_usd_minted_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_minted_base_mainnet", "attached_node": "model.synthetix.core_usd_minted_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_mainnet_sender.363a1c6bc9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_sender.363a1c6bc9", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_minted_base_mainnet_sender"], "alias": "not_null_core_usd_minted_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.266862, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_usd_minted_base_mainnet", "attached_node": "model.synthetix.core_usd_minted_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_mainnet_amount.196acb6a64": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_mainnet_amount.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_amount.196acb6a64", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_minted_base_mainnet_amount"], "alias": "not_null_core_usd_minted_base_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2684739, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_minted_base_mainnet", "attached_node": "model.synthetix.core_usd_minted_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_amount__True__0.1d256007a1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_base_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__2d2cd96f455068e88f22556076aa5a56.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_amount__True__0.1d256007a1", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_usd_minted_base_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__2d2cd96f455068e88f22556076aa5a56", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__2d2cd96f455068e88f22556076aa5a56", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__2d2cd96f455068e88f22556076aa5a56"}, "created_at": 1723584319.2700722, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__2d2cd96f455068e88f22556076aa5a56\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__2d2cd96f455068e88f22556076aa5a56.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_minted_base_mainnet", "attached_node": "model.synthetix.core_usd_minted_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_base_mainnet_event_name.33ff07927a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_event_name.33ff07927a", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_minted_base_mainnet_event_name"], "alias": "not_null_core_usd_minted_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2742178, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_minted_base_mainnet", "attached_node": "model.synthetix.core_usd_minted_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_usd_minted_base_mainnet_event_name__UsdMinted.62f89abcc8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_usd_minted_base_mainnet_event_name__UsdMinted", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_usd_minte_a62ddc156bda3c5e30f190584fdb834e.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_usd_minted_base_mainnet_event_name__UsdMinted.62f89abcc8", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_usd_minted_base_mainnet_event_name__UsdMinted"], "alias": "accepted_values_core_usd_minte_a62ddc156bda3c5e30f190584fdb834e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_usd_minte_a62ddc156bda3c5e30f190584fdb834e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_usd_minte_a62ddc156bda3c5e30f190584fdb834e"}, "created_at": 1723584319.2758858, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_usd_minte_a62ddc156bda3c5e30f190584fdb834e\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_usd_minte_a62ddc156bda3c5e30f190584fdb834e.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'UsdMinted'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_minted_base_mainnet", "attached_node": "model.synthetix.core_usd_minted_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["UsdMinted"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_mainnet_transaction_hash.c04da14c24": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_transaction_hash.c04da14c24", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_minted_base_mainnet_transaction_hash"], "alias": "not_null_core_usd_minted_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2799869, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_usd_minted_base_mainnet", "attached_node": "model.synthetix.core_usd_minted_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_mainnet_contract.f56e539b17": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_contract.f56e539b17", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_minted_base_mainnet_contract"], "alias": "not_null_core_usd_minted_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2815988, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_usd_minted_base_mainnet", "attached_node": "model.synthetix.core_usd_minted_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_mainnet_transaction_hash.063cc50ef6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_transaction_hash.063cc50ef6", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_liquidation_base_mainnet_transaction_hash"], "alias": "not_null_core_vault_liquidation_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2832232, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_vault_liquidation_base_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_mainnet_collateral_type.e0c76340c5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_mainnet_collateral_type.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_collateral_type.e0c76340c5", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_liquidation_base_mainnet_collateral_type"], "alias": "not_null_core_vault_liquidation_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2849195, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_liquidation_base_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_mainnet_pool_id.4a337176ad": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_mainnet_pool_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_pool_id.4a337176ad", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_liquidation_base_mainnet_pool_id"], "alias": "not_null_core_vault_liquidation_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2865217, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_liquidation_base_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_pool_id__True__0.bfc340e4f6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__51f9fca6491d2ad8559f025743537402.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_pool_id__True__0.bfc340e4f6", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__51f9fca6491d2ad8559f025743537402", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__51f9fca6491d2ad8559f025743537402", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__51f9fca6491d2ad8559f025743537402"}, "created_at": 1723584319.2881656, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__51f9fca6491d2ad8559f025743537402\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__51f9fca6491d2ad8559f025743537402.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_liquidation_base_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_liquidation_base_mainnet_event_name.1e10a7bb02": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_event_name.1e10a7bb02", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_liquidation_base_mainnet_event_name"], "alias": "not_null_core_vault_liquidation_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2923055, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_vault_liquidation_base_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_vault_liquidation_base_mainnet_event_name__VaultLiquidation.b8ea6a7925": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_vault_liquidation_base_mainnet_event_name__VaultLiquidation", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_vault_liq_45a427ac84df0810a91900c306041b2b.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_vault_liquidation_base_mainnet_event_name__VaultLiquidation.b8ea6a7925", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_vault_liquidation_base_mainnet_event_name__VaultLiquidation"], "alias": "accepted_values_core_vault_liq_45a427ac84df0810a91900c306041b2b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_vault_liq_45a427ac84df0810a91900c306041b2b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_vault_liq_45a427ac84df0810a91900c306041b2b"}, "created_at": 1723584319.2939296, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_vault_liq_45a427ac84df0810a91900c306041b2b\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_vault_liq_45a427ac84df0810a91900c306041b2b.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'VaultLiquidation'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_vault_liquidation_base_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["VaultLiquidation"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_mainnet_id.3054417f0f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_id.3054417f0f", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_liquidation_base_mainnet_id"], "alias": "not_null_core_vault_liquidation_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2981534, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_vault_liquidation_base_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_vault_liquidation_base_mainnet_id.74bcb7a076": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_vault_liquidation_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_vault_liquidation_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_vault_liquidation_base_mainnet_id.74bcb7a076", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_vault_liquidation_base_mainnet_id"], "alias": "unique_core_vault_liquidation_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2998004, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_vault_liquidation_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_vault_liquidation_base_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_mainnet_block_timestamp.2dca047589": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_block_timestamp.2dca047589", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_liquidation_base_mainnet_block_timestamp"], "alias": "not_null_core_vault_liquidation_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.3014011, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_vault_liquidation_base_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_mainnet_liquidate_as_account_id.042bc52396": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_mainnet_liquidate_as_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_6fe91ed14b6a60a8f687ff86b3046408.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_liquidate_as_account_id.042bc52396", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_liquidation_base_mainnet_liquidate_as_account_id"], "alias": "not_null_core_vault_liquidatio_6fe91ed14b6a60a8f687ff86b3046408", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_6fe91ed14b6a60a8f687ff86b3046408", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_vault_liquidatio_6fe91ed14b6a60a8f687ff86b3046408"}, "created_at": 1723584319.3029807, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_6fe91ed14b6a60a8f687ff86b3046408\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidatio_6fe91ed14b6a60a8f687ff86b3046408.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidate_as_account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere liquidate_as_account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_vault_liquidation_base_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_liquidate_as_account_id__True__0.b04df95186": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_liquidate_as_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__aecdb6e1634e2b861870dc60d37cf98c.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_liquidate_as_account_id__True__0.b04df95186", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_liquidate_as_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__aecdb6e1634e2b861870dc60d37cf98c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__aecdb6e1634e2b861870dc60d37cf98c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__aecdb6e1634e2b861870dc60d37cf98c"}, "created_at": 1723584319.3047593, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__aecdb6e1634e2b861870dc60d37cf98c\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__aecdb6e1634e2b861870dc60d37cf98c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not liquidate_as_account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_vault_liquidation_base_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_liquidation_base_mainnet_liquidation_data.be698b5245": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_mainnet_liquidation_data", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_mainnet_liquidation_data.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_liquidation_data.be698b5245", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_liquidation_base_mainnet_liquidation_data"], "alias": "not_null_core_vault_liquidation_base_mainnet_liquidation_data", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.308842, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_liquidation_data.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidation_data\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere liquidation_data is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidation_data", "file_key_name": "models.core_vault_liquidation_base_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "liquidation_data", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_mainnet_contract.d5acf50762": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_contract.d5acf50762", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_liquidation_base_mainnet_contract"], "alias": "not_null_core_vault_liquidation_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.3104458, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_vault_liquidation_base_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_mainnet_block_number.667cea546c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_block_number.667cea546c", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_liquidation_base_mainnet_block_number"], "alias": "not_null_core_vault_liquidation_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.3125803, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_vault_liquidation_base_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_mainnet_sender.512fed362a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_sender.512fed362a", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_liquidation_base_mainnet_sender"], "alias": "not_null_core_vault_liquidation_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.3141694, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_vault_liquidation_base_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_base_mainnet_ts.a02f87cd0d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_mainnet_ts.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_mainnet_ts.a02f87cd0d", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_collateral_base_mainnet_ts"], "alias": "not_null_core_vault_collateral_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.3157713, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_base_mainnet_block_number.6eaab21095": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_mainnet_block_number.6eaab21095", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_collateral_base_mainnet_block_number"], "alias": "not_null_core_vault_collateral_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.3173676, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_base_mainnet_pool_id.e1a826b5b2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_mainnet_pool_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_mainnet_pool_id.e1a826b5b2", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_collateral_base_mainnet_pool_id"], "alias": "not_null_core_vault_collateral_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.3840418, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_pool_id__True__0.c52772c114": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__b6577276631f758181334c9490e0d1f2.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_pool_id__True__0.c52772c114", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_vault_collateral_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__b6577276631f758181334c9490e0d1f2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__b6577276631f758181334c9490e0d1f2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__b6577276631f758181334c9490e0d1f2"}, "created_at": 1723584319.38583, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__b6577276631f758181334c9490e0d1f2\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b6577276631f758181334c9490e0d1f2.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.core_vault_collateral_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_base_mainnet_collateral_type.bef58af2ef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_mainnet_collateral_type.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_mainnet_collateral_type.bef58af2ef", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_collateral_base_mainnet_collateral_type"], "alias": "not_null_core_vault_collateral_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.390223, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_base_mainnet_amount.45536133a9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_mainnet_amount.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_mainnet_amount.45536133a9", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_collateral_base_mainnet_amount"], "alias": "not_null_core_vault_collateral_base_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.391893, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_amount__True__0.9e07833bf5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_base_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__3ce6f9d55bc6a557e5bfd2630704f435.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_amount__True__0.9e07833bf5", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_vault_collateral_base_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__3ce6f9d55bc6a557e5bfd2630704f435", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__3ce6f9d55bc6a557e5bfd2630704f435", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__3ce6f9d55bc6a557e5bfd2630704f435"}, "created_at": 1723584319.3935103, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__3ce6f9d55bc6a557e5bfd2630704f435\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3ce6f9d55bc6a557e5bfd2630704f435.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.core_vault_collateral_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_base_mainnet_collateral_value.5805db9c59": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_mainnet_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_mainnet_collateral_value.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_mainnet_collateral_value.5805db9c59", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_collateral_base_mainnet_collateral_value"], "alias": "not_null_core_vault_collateral_base_mainnet_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.3977528, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_collateral_value__True__0.7350cb66f7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_base_mainnet_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__a777d371e2bd5b2327d43f495fd10adc.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_collateral_value__True__0.7350cb66f7", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_vault_collateral_base_mainnet_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_core__a777d371e2bd5b2327d43f495fd10adc", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__a777d371e2bd5b2327d43f495fd10adc", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__a777d371e2bd5b2327d43f495fd10adc"}, "created_at": 1723584319.3994212, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__a777d371e2bd5b2327d43f495fd10adc\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a777d371e2bd5b2327d43f495fd10adc.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.core_vault_collateral_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_base_mainnet_contract_address.bc7a096c7d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_mainnet_contract_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_mainnet_contract_address.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_mainnet_contract_address.bc7a096c7d", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_collateral_base_mainnet_contract_address"], "alias": "not_null_core_vault_collateral_base_mainnet_contract_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4036262, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_contract_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract_address\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\nwhere contract_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract_address", "file_key_name": "models.core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract_address", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_base_mainnet_ts.fc19d225e3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_base_mainnet_ts.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_base_mainnet_ts.fc19d225e3", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_debt_base_mainnet_ts"], "alias": "not_null_core_vault_debt_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4052598, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.core_vault_debt_base_mainnet", "attached_node": "model.synthetix.core_vault_debt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('core_vault_debt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_base_mainnet_block_number.bd4478b322": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_base_mainnet_block_number.bd4478b322", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_debt_base_mainnet_block_number"], "alias": "not_null_core_vault_debt_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4068365, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_vault_debt_base_mainnet", "attached_node": "model.synthetix.core_vault_debt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_debt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_base_mainnet_pool_id.e33ea26a56": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_base_mainnet_pool_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_base_mainnet_pool_id.e33ea26a56", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_debt_base_mainnet_pool_id"], "alias": "not_null_core_vault_debt_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4085836, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_debt_base_mainnet", "attached_node": "model.synthetix.core_vault_debt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_debt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_debt_base_mainnet_pool_id__True__0.583a0abe4f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_debt_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__79fc7758f49cfa3d2f7a491a9fca71a4.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_base_mainnet_pool_id__True__0.583a0abe4f", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_vault_debt_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__79fc7758f49cfa3d2f7a491a9fca71a4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__79fc7758f49cfa3d2f7a491a9fca71a4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__79fc7758f49cfa3d2f7a491a9fca71a4"}, "created_at": 1723584319.4102032, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__79fc7758f49cfa3d2f7a491a9fca71a4\") }}", "language": "sql", "refs": [{"name": "core_vault_debt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__79fc7758f49cfa3d2f7a491a9fca71a4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_debt_base_mainnet", "attached_node": "model.synthetix.core_vault_debt_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_debt_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_debt_base_mainnet_collateral_type.e3f9b96478": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_base_mainnet_collateral_type.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_base_mainnet_collateral_type.e3f9b96478", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_debt_base_mainnet_collateral_type"], "alias": "not_null_core_vault_debt_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.41444, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_debt_base_mainnet", "attached_node": "model.synthetix.core_vault_debt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_debt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_base_mainnet_debt.922a67baf4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_base_mainnet_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_base_mainnet_debt.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_base_mainnet_debt.922a67baf4", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_debt_base_mainnet_debt"], "alias": "not_null_core_vault_debt_base_mainnet_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4160936, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_base_mainnet\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.core_vault_debt_base_mainnet", "attached_node": "model.synthetix.core_vault_debt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('core_vault_debt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_base_mainnet_contract_address.f2b82344e4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_base_mainnet_contract_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_base_mainnet_contract_address.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_base_mainnet_contract_address.f2b82344e4", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_debt_base_mainnet_contract_address"], "alias": "not_null_core_vault_debt_base_mainnet_contract_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.417708, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_contract_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract_address\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_base_mainnet\"\nwhere contract_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract_address", "file_key_name": "models.core_vault_debt_base_mainnet", "attached_node": "model.synthetix.core_vault_debt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract_address", "model": "{{ get_where_subquery(ref('core_vault_debt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_mainnet_id.4e7c563b12": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_id.4e7c563b12", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_committed_base_mainnet_id"], "alias": "not_null_spot_order_committed_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4335887, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_committed_base_mainnet", "attached_node": "model.synthetix.spot_order_committed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_order_committed_base_mainnet_id.ebe225e3c1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_order_committed_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_order_committed_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_order_committed_base_mainnet_id.ebe225e3c1", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "unique_spot_order_committed_base_mainnet_id"], "alias": "unique_spot_order_committed_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4352548, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_committed_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_committed_base_mainnet", "attached_node": "model.synthetix.spot_order_committed_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_mainnet_event_name.dc08478d35": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_event_name.dc08478d35", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_committed_base_mainnet_event_name"], "alias": "not_null_spot_order_committed_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4368675, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_committed_base_mainnet", "attached_node": "model.synthetix.spot_order_committed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_order_committed_base_mainnet_event_name__OrderCommitted.7219cd261b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_order_committed_base_mainnet_event_name__OrderCommitted", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_order_com_4c433d07e02d38aa839b7507d28bfcd9.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_order_committed_base_mainnet_event_name__OrderCommitted.7219cd261b", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "accepted_values_spot_order_committed_base_mainnet_event_name__OrderCommitted"], "alias": "accepted_values_spot_order_com_4c433d07e02d38aa839b7507d28bfcd9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_order_com_4c433d07e02d38aa839b7507d28bfcd9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_order_com_4c433d07e02d38aa839b7507d28bfcd9"}, "created_at": 1723584319.4386172, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_order_com_4c433d07e02d38aa839b7507d28bfcd9\") }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_order_com_4c433d07e02d38aa839b7507d28bfcd9.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderCommitted'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_committed_base_mainnet", "attached_node": "model.synthetix.spot_order_committed_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderCommitted"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_mainnet_sender.fcb2f6b8e6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_sender.fcb2f6b8e6", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_committed_base_mainnet_sender"], "alias": "not_null_spot_order_committed_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4426367, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.spot_order_committed_base_mainnet", "attached_node": "model.synthetix.spot_order_committed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_mainnet_block_timestamp.b355df469e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_block_timestamp.b355df469e", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_committed_base_mainnet_block_timestamp"], "alias": "not_null_spot_order_committed_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4442847, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_order_committed_base_mainnet", "attached_node": "model.synthetix.spot_order_committed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_mainnet_referrer.773110510c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_mainnet_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_mainnet_referrer.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_referrer.773110510c", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_committed_base_mainnet_referrer"], "alias": "not_null_spot_order_committed_base_mainnet_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4460618, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "file_key_name": "models.spot_order_committed_base_mainnet", "attached_node": "model.synthetix.spot_order_committed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referrer", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_mainnet_amount_provided.99b6d3d7c6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_mainnet_amount_provided", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_mainnet_amount_provided.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_amount_provided.99b6d3d7c6", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_committed_base_mainnet_amount_provided"], "alias": "not_null_spot_order_committed_base_mainnet_amount_provided", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4476674, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_amount_provided.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_provided\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere amount_provided is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_provided", "file_key_name": "models.spot_order_committed_base_mainnet", "attached_node": "model.synthetix.spot_order_committed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_provided", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_mainnet_amount_provided__True__0.9f6ff0bd95": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_committed_base_mainnet_amount_provided__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__a02cf2343cb17dff85dc6395f9049952.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_mainnet_amount_provided__True__0.9f6ff0bd95", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_committed_base_mainnet_amount_provided__True__0"], "alias": "dbt_utils_accepted_range_spot__a02cf2343cb17dff85dc6395f9049952", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__a02cf2343cb17dff85dc6395f9049952", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__a02cf2343cb17dff85dc6395f9049952"}, "created_at": 1723584319.4492688, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__a02cf2343cb17dff85dc6395f9049952\") }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__a02cf2343cb17dff85dc6395f9049952.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_provided >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_provided", "file_key_name": "models.spot_order_committed_base_mainnet", "attached_node": "model.synthetix.spot_order_committed_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_provided", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_committed_base_mainnet_transaction_hash.bf2697d39d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_transaction_hash.bf2697d39d", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_committed_base_mainnet_transaction_hash"], "alias": "not_null_spot_order_committed_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4534273, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_order_committed_base_mainnet", "attached_node": "model.synthetix.spot_order_committed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_mainnet_contract.2711d7c5f2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_contract.2711d7c5f2", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_committed_base_mainnet_contract"], "alias": "not_null_spot_order_committed_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4550636, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_order_committed_base_mainnet", "attached_node": "model.synthetix.spot_order_committed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_mainnet_market_id.eb878589ce": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_mainnet_market_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_market_id.eb878589ce", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_committed_base_mainnet_market_id"], "alias": "not_null_spot_order_committed_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4567175, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_committed_base_mainnet", "attached_node": "model.synthetix.spot_order_committed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_mainnet_market_id__True__0.d412907ad8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_committed_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__65d3e3580b09d62b0665c39e0dd6b655.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_mainnet_market_id__True__0.d412907ad8", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_committed_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__65d3e3580b09d62b0665c39e0dd6b655", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__65d3e3580b09d62b0665c39e0dd6b655", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__65d3e3580b09d62b0665c39e0dd6b655"}, "created_at": 1723584319.4583912, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__65d3e3580b09d62b0665c39e0dd6b655\") }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__65d3e3580b09d62b0665c39e0dd6b655.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_committed_base_mainnet", "attached_node": "model.synthetix.spot_order_committed_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_committed_base_mainnet_block_number.b73840a782": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_block_number.b73840a782", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_committed_base_mainnet_block_number"], "alias": "not_null_spot_order_committed_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.462545, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_order_committed_base_mainnet", "attached_node": "model.synthetix.spot_order_committed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_mainnet_order_type.af8cf04472": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_mainnet_order_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_mainnet_order_type.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_order_type.af8cf04472", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_committed_base_mainnet_order_type"], "alias": "not_null_spot_order_committed_base_mainnet_order_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4642015, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_order_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect order_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere order_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "order_type", "file_key_name": "models.spot_order_committed_base_mainnet", "attached_node": "model.synthetix.spot_order_committed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "order_type", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_final_order_amount__True__0.285227b4ad": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_base_mainnet_final_order_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__aea7b1bee7446de9ad2a7c38052a0c1b.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_final_order_amount__True__0.285227b4ad", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_settled_base_mainnet_final_order_amount__True__0"], "alias": "dbt_utils_accepted_range_spot__aea7b1bee7446de9ad2a7c38052a0c1b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__aea7b1bee7446de9ad2a7c38052a0c1b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__aea7b1bee7446de9ad2a7c38052a0c1b"}, "created_at": 1723584319.4664834, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__aea7b1bee7446de9ad2a7c38052a0c1b\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__aea7b1bee7446de9ad2a7c38052a0c1b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not final_order_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "final_order_amount", "file_key_name": "models.spot_order_settled_base_mainnet", "attached_node": "model.synthetix.spot_order_settled_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "final_order_amount", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_base_mainnet_settler.32eafc3529": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_mainnet_settler", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_mainnet_settler.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_settler.32eafc3529", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_settled_base_mainnet_settler"], "alias": "not_null_spot_order_settled_base_mainnet_settler", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.470613, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_settler.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect settler\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere settler is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "settler", "file_key_name": "models.spot_order_settled_base_mainnet", "attached_node": "model.synthetix.spot_order_settled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "settler", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_mainnet_block_number.0da3f5f83c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_block_number.0da3f5f83c", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_settled_base_mainnet_block_number"], "alias": "not_null_spot_order_settled_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4724526, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_order_settled_base_mainnet", "attached_node": "model.synthetix.spot_order_settled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_mainnet_transaction_hash.cc03e5396c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_transaction_hash.cc03e5396c", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_settled_base_mainnet_transaction_hash"], "alias": "not_null_spot_order_settled_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4740877, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_order_settled_base_mainnet", "attached_node": "model.synthetix.spot_order_settled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_mainnet_block_timestamp.d6a06e33d2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_block_timestamp.d6a06e33d2", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_settled_base_mainnet_block_timestamp"], "alias": "not_null_spot_order_settled_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4757204, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_order_settled_base_mainnet", "attached_node": "model.synthetix.spot_order_settled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_mainnet_id.bee9f4adc9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_id.bee9f4adc9", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_settled_base_mainnet_id"], "alias": "not_null_spot_order_settled_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4773169, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_settled_base_mainnet", "attached_node": "model.synthetix.spot_order_settled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_order_settled_base_mainnet_id.3552e2a2e6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_order_settled_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_order_settled_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_order_settled_base_mainnet_id.3552e2a2e6", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "unique_spot_order_settled_base_mainnet_id"], "alias": "unique_spot_order_settled_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4789019, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_settled_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_settled_base_mainnet", "attached_node": "model.synthetix.spot_order_settled_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_mainnet_order_type.0e7f500a0a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_mainnet_order_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_mainnet_order_type.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_order_type.0e7f500a0a", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_settled_base_mainnet_order_type"], "alias": "not_null_spot_order_settled_base_mainnet_order_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4806342, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_order_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect order_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere order_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "order_type", "file_key_name": "models.spot_order_settled_base_mainnet", "attached_node": "model.synthetix.spot_order_settled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "order_type", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_mainnet_contract.901410d0f9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_contract.901410d0f9", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_settled_base_mainnet_contract"], "alias": "not_null_spot_order_settled_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.48222, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_order_settled_base_mainnet", "attached_node": "model.synthetix.spot_order_settled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_mainnet_price.a8065724a1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_mainnet_price.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_price.a8065724a1", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_settled_base_mainnet_price"], "alias": "not_null_spot_order_settled_base_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.483849, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_order_settled_base_mainnet", "attached_node": "model.synthetix.spot_order_settled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_price__True__0.a69aaf95b9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_base_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__8d96f308a14c2fcecde8c2bb1366d4b7.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_price__True__0.a69aaf95b9", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_settled_base_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_spot__8d96f308a14c2fcecde8c2bb1366d4b7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__8d96f308a14c2fcecde8c2bb1366d4b7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__8d96f308a14c2fcecde8c2bb1366d4b7"}, "created_at": 1723584319.4854414, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__8d96f308a14c2fcecde8c2bb1366d4b7\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__8d96f308a14c2fcecde8c2bb1366d4b7.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_order_settled_base_mainnet", "attached_node": "model.synthetix.spot_order_settled_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_base_mainnet_market_id.ea53981200": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_mainnet_market_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_market_id.ea53981200", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_settled_base_mainnet_market_id"], "alias": "not_null_spot_order_settled_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4895985, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_settled_base_mainnet", "attached_node": "model.synthetix.spot_order_settled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_market_id__True__0.57e7a4e22d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__584d45f3a8837e04a304f44a0b6d6352.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_market_id__True__0.57e7a4e22d", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_settled_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__584d45f3a8837e04a304f44a0b6d6352", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__584d45f3a8837e04a304f44a0b6d6352", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__584d45f3a8837e04a304f44a0b6d6352"}, "created_at": 1723584319.4913173, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__584d45f3a8837e04a304f44a0b6d6352\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__584d45f3a8837e04a304f44a0b6d6352.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_settled_base_mainnet", "attached_node": "model.synthetix.spot_order_settled_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_base_mainnet_collected_fees.f0d64ac401": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_mainnet_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_mainnet_collected_fees.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_collected_fees.f0d64ac401", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_settled_base_mainnet_collected_fees"], "alias": "not_null_spot_order_settled_base_mainnet_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4955292, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_order_settled_base_mainnet", "attached_node": "model.synthetix.spot_order_settled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_collected_fees__True__0.d7bd810890": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_base_mainnet_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__4bab578943a7ebfec47867006c5ba2c0.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_collected_fees__True__0.d7bd810890", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_settled_base_mainnet_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_spot__4bab578943a7ebfec47867006c5ba2c0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__4bab578943a7ebfec47867006c5ba2c0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__4bab578943a7ebfec47867006c5ba2c0"}, "created_at": 1723584319.4972289, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__4bab578943a7ebfec47867006c5ba2c0\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__4bab578943a7ebfec47867006c5ba2c0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_order_settled_base_mainnet", "attached_node": "model.synthetix.spot_order_settled_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_base_mainnet_event_name.b99840eec6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_event_name.b99840eec6", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_settled_base_mainnet_event_name"], "alias": "not_null_spot_order_settled_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5013945, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_settled_base_mainnet", "attached_node": "model.synthetix.spot_order_settled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_order_settled_base_mainnet_event_name__OrderSettled.30376f4577": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_order_settled_base_mainnet_event_name__OrderSettled", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_order_set_c626d10dbdef75cbd4bd6eb843c8cf29.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_order_settled_base_mainnet_event_name__OrderSettled.30376f4577", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "accepted_values_spot_order_settled_base_mainnet_event_name__OrderSettled"], "alias": "accepted_values_spot_order_set_c626d10dbdef75cbd4bd6eb843c8cf29", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_order_set_c626d10dbdef75cbd4bd6eb843c8cf29", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_order_set_c626d10dbdef75cbd4bd6eb843c8cf29"}, "created_at": 1723584319.5030468, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_order_set_c626d10dbdef75cbd4bd6eb843c8cf29\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_order_set_c626d10dbdef75cbd4bd6eb843c8cf29.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderSettled'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_settled_base_mainnet", "attached_node": "model.synthetix.spot_order_settled_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderSettled"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_mainnet_id.5486ce1cb2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_id.5486ce1cb2", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_cancelled_base_mainnet_id"], "alias": "not_null_spot_order_cancelled_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5072072, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_cancelled_base_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_order_cancelled_base_mainnet_id.5ac9e5a86c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_order_cancelled_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_order_cancelled_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_order_cancelled_base_mainnet_id.5ac9e5a86c", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "unique_spot_order_cancelled_base_mainnet_id"], "alias": "unique_spot_order_cancelled_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5088487, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_cancelled_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_cancelled_base_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_mainnet_block_timestamp.81016bb88f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_block_timestamp.81016bb88f", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_cancelled_base_mainnet_block_timestamp"], "alias": "not_null_spot_order_cancelled_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5104558, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_order_cancelled_base_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_mainnet_transaction_hash.524e2820c0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_transaction_hash.524e2820c0", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_cancelled_base_mainnet_transaction_hash"], "alias": "not_null_spot_order_cancelled_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5120597, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_order_cancelled_base_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_mainnet_sender.666cd271e1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_sender.666cd271e1", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_cancelled_base_mainnet_sender"], "alias": "not_null_spot_order_cancelled_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5137434, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.spot_order_cancelled_base_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_mainnet_contract.b45f673add": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_contract.b45f673add", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_cancelled_base_mainnet_contract"], "alias": "not_null_spot_order_cancelled_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5153644, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_order_cancelled_base_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_mainnet_event_name.75d1cf92ef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_event_name.75d1cf92ef", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_cancelled_base_mainnet_event_name"], "alias": "not_null_spot_order_cancelled_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5169494, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_cancelled_base_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_order_cancelled_base_mainnet_event_name__OrderCancelled.468b0aa5ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_order_cancelled_base_mainnet_event_name__OrderCancelled", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_order_can_0445d0d0a5554ede316ae609adf168f1.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_order_cancelled_base_mainnet_event_name__OrderCancelled.468b0aa5ec", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "accepted_values_spot_order_cancelled_base_mainnet_event_name__OrderCancelled"], "alias": "accepted_values_spot_order_can_0445d0d0a5554ede316ae609adf168f1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_order_can_0445d0d0a5554ede316ae609adf168f1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_order_can_0445d0d0a5554ede316ae609adf168f1"}, "created_at": 1723584319.5185473, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_order_can_0445d0d0a5554ede316ae609adf168f1\") }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_order_can_0445d0d0a5554ede316ae609adf168f1.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderCancelled'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_cancelled_base_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderCancelled"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_mainnet_market_id.3d2e9d2ba5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_mainnet_market_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_market_id.3d2e9d2ba5", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_cancelled_base_mainnet_market_id"], "alias": "not_null_spot_order_cancelled_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5226543, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_cancelled_base_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_base_mainnet_market_id__True__0.9edddeabb3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_cancelled_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__3a40fbba6ab3616b984b245c89d7dbfe.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_base_mainnet_market_id__True__0.9edddeabb3", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_cancelled_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__3a40fbba6ab3616b984b245c89d7dbfe", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__3a40fbba6ab3616b984b245c89d7dbfe", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__3a40fbba6ab3616b984b245c89d7dbfe"}, "created_at": 1723584319.524333, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__3a40fbba6ab3616b984b245c89d7dbfe\") }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__3a40fbba6ab3616b984b245c89d7dbfe.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_cancelled_base_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_cancelled_base_mainnet_block_number.59e7d43c87": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_block_number.59e7d43c87", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_cancelled_base_mainnet_block_number"], "alias": "not_null_spot_order_cancelled_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5285203, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_order_cancelled_base_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_mainnet_id.9f21a7f761": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_mainnet_id.9f21a7f761", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_registered_base_mainnet_id"], "alias": "not_null_spot_synth_registered_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5301511, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_registered_base_mainnet", "attached_node": "model.synthetix.spot_synth_registered_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_registered_base_mainnet_id.81eda4804d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_registered_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_registered_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_registered_base_mainnet_id.81eda4804d", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "unique_spot_synth_registered_base_mainnet_id"], "alias": "unique_spot_synth_registered_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.531766, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_registered_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_registered_base_mainnet", "attached_node": "model.synthetix.spot_synth_registered_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_mainnet_block_timestamp.9fcd6d9ec6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_mainnet_block_timestamp.9fcd6d9ec6", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_registered_base_mainnet_block_timestamp"], "alias": "not_null_spot_synth_registered_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5333655, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_synth_registered_base_mainnet", "attached_node": "model.synthetix.spot_synth_registered_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_mainnet_synth_market_id.97f70d1e33": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_mainnet_synth_market_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_mainnet_synth_market_id.97f70d1e33", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_registered_base_mainnet_synth_market_id"], "alias": "not_null_spot_synth_registered_base_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5351124, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_registered_base_mainnet", "attached_node": "model.synthetix.spot_synth_registered_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_base_mainnet_synth_market_id__True__0.289066bb62": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_registered_base_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__ccae977edf5724b7ce9a1f918e477245.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_base_mainnet_synth_market_id__True__0.289066bb62", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_registered_base_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__ccae977edf5724b7ce9a1f918e477245", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__ccae977edf5724b7ce9a1f918e477245", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__ccae977edf5724b7ce9a1f918e477245"}, "created_at": 1723584319.5367181, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__ccae977edf5724b7ce9a1f918e477245\") }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__ccae977edf5724b7ce9a1f918e477245.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_registered_base_mainnet", "attached_node": "model.synthetix.spot_synth_registered_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_registered_base_mainnet_block_number.fb558416fb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_mainnet_block_number.fb558416fb", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_registered_base_mainnet_block_number"], "alias": "not_null_spot_synth_registered_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5409243, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_synth_registered_base_mainnet", "attached_node": "model.synthetix.spot_synth_registered_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_mainnet_contract.a1096e5fd9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_mainnet_contract.a1096e5fd9", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_registered_base_mainnet_contract"], "alias": "not_null_spot_synth_registered_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5425937, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_synth_registered_base_mainnet", "attached_node": "model.synthetix.spot_synth_registered_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_mainnet_synth_token_address.f2f086a15a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_mainnet_synth_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_mainnet_synth_token_address.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_mainnet_synth_token_address.f2f086a15a", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_registered_base_mainnet_synth_token_address"], "alias": "not_null_spot_synth_registered_base_mainnet_synth_token_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.544243, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_synth_token_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_token_address\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\nwhere synth_token_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_token_address", "file_key_name": "models.spot_synth_registered_base_mainnet", "attached_node": "model.synthetix.spot_synth_registered_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_token_address", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_mainnet_event_name.6d850cc54d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_mainnet_event_name.6d850cc54d", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_registered_base_mainnet_event_name"], "alias": "not_null_spot_synth_registered_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.545839, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_registered_base_mainnet", "attached_node": "model.synthetix.spot_synth_registered_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_registered_base_mainnet_event_name__SynthRegistered.5528c05ba2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_registered_base_mainnet_event_name__SynthRegistered", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_reg_3920d4f5f9000c77b7e57edd1215082f.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_registered_base_mainnet_event_name__SynthRegistered.5528c05ba2", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "accepted_values_spot_synth_registered_base_mainnet_event_name__SynthRegistered"], "alias": "accepted_values_spot_synth_reg_3920d4f5f9000c77b7e57edd1215082f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_reg_3920d4f5f9000c77b7e57edd1215082f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_synth_reg_3920d4f5f9000c77b7e57edd1215082f"}, "created_at": 1723584319.5480497, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_reg_3920d4f5f9000c77b7e57edd1215082f\") }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_reg_3920d4f5f9000c77b7e57edd1215082f.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthRegistered'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_registered_base_mainnet", "attached_node": "model.synthetix.spot_synth_registered_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthRegistered"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_mainnet_transaction_hash.7e53d9e7f0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_mainnet_transaction_hash.7e53d9e7f0", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_registered_base_mainnet_transaction_hash"], "alias": "not_null_spot_synth_registered_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5520513, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_synth_registered_base_mainnet", "attached_node": "model.synthetix.spot_synth_registered_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_mainnet_collected_fees.d9c17c84f7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_mainnet_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_mainnet_collected_fees.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_collected_fees.d9c17c84f7", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_bought_base_mainnet_collected_fees"], "alias": "not_null_spot_synth_bought_base_mainnet_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.553651, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_synth_bought_base_mainnet", "attached_node": "model.synthetix.spot_synth_bought_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_collected_fees__True__0.3fcb3fda3a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_bought_base_mainnet_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__f3e751dfd2dc590260940c7b6ee31646.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_collected_fees__True__0.3fcb3fda3a", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_bought_base_mainnet_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_spot__f3e751dfd2dc590260940c7b6ee31646", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__f3e751dfd2dc590260940c7b6ee31646", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__f3e751dfd2dc590260940c7b6ee31646"}, "created_at": 1723584319.5554533, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__f3e751dfd2dc590260940c7b6ee31646\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__f3e751dfd2dc590260940c7b6ee31646.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_synth_bought_base_mainnet", "attached_node": "model.synthetix.spot_synth_bought_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_bought_base_mainnet_transaction_hash.1e8279de09": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_transaction_hash.1e8279de09", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_bought_base_mainnet_transaction_hash"], "alias": "not_null_spot_synth_bought_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5594547, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_synth_bought_base_mainnet", "attached_node": "model.synthetix.spot_synth_bought_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_mainnet_synth_market_id.32145e8cb4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_mainnet_synth_market_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_synth_market_id.32145e8cb4", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_bought_base_mainnet_synth_market_id"], "alias": "not_null_spot_synth_bought_base_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5612457, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_bought_base_mainnet", "attached_node": "model.synthetix.spot_synth_bought_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_synth_market_id__True__0.e3b9a2a2bf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_bought_base_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__2d95324b7c4d22cc127b07539bade00d.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_synth_market_id__True__0.e3b9a2a2bf", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_bought_base_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__2d95324b7c4d22cc127b07539bade00d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__2d95324b7c4d22cc127b07539bade00d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__2d95324b7c4d22cc127b07539bade00d"}, "created_at": 1723584319.562846, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__2d95324b7c4d22cc127b07539bade00d\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__2d95324b7c4d22cc127b07539bade00d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_bought_base_mainnet", "attached_node": "model.synthetix.spot_synth_bought_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_bought_base_mainnet_block_number.afabe746ef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_block_number.afabe746ef", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_bought_base_mainnet_block_number"], "alias": "not_null_spot_synth_bought_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5670502, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_synth_bought_base_mainnet", "attached_node": "model.synthetix.spot_synth_bought_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_mainnet_block_timestamp.5044e48413": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_block_timestamp.5044e48413", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_bought_base_mainnet_block_timestamp"], "alias": "not_null_spot_synth_bought_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.568724, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_synth_bought_base_mainnet", "attached_node": "model.synthetix.spot_synth_bought_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_mainnet_id.f9e555c962": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_id.f9e555c962", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_bought_base_mainnet_id"], "alias": "not_null_spot_synth_bought_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5703375, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_bought_base_mainnet", "attached_node": "model.synthetix.spot_synth_bought_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_bought_base_mainnet_id.e00678ebae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_bought_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_bought_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_bought_base_mainnet_id.e00678ebae", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "unique_spot_synth_bought_base_mainnet_id"], "alias": "unique_spot_synth_bought_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5719569, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_bought_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_bought_base_mainnet", "attached_node": "model.synthetix.spot_synth_bought_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_mainnet_price.f59f9c339a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_mainnet_price.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_price.f59f9c339a", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_bought_base_mainnet_price"], "alias": "not_null_spot_synth_bought_base_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.573539, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_synth_bought_base_mainnet", "attached_node": "model.synthetix.spot_synth_bought_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_price__True__0.e25fbf2240": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_bought_base_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__0427270c22e9a0d08a1ac96e1fd2383a.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_price__True__0.e25fbf2240", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_bought_base_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_spot__0427270c22e9a0d08a1ac96e1fd2383a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__0427270c22e9a0d08a1ac96e1fd2383a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__0427270c22e9a0d08a1ac96e1fd2383a"}, "created_at": 1723584319.5752587, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__0427270c22e9a0d08a1ac96e1fd2383a\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__0427270c22e9a0d08a1ac96e1fd2383a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_synth_bought_base_mainnet", "attached_node": "model.synthetix.spot_synth_bought_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_bought_base_mainnet_contract.d6d311c160": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_contract.d6d311c160", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_bought_base_mainnet_contract"], "alias": "not_null_spot_synth_bought_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.579278, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_synth_bought_base_mainnet", "attached_node": "model.synthetix.spot_synth_bought_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_mainnet_referrer.3b61ce852c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_mainnet_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_mainnet_referrer.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_referrer.3b61ce852c", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_bought_base_mainnet_referrer"], "alias": "not_null_spot_synth_bought_base_mainnet_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.581102, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "file_key_name": "models.spot_synth_bought_base_mainnet", "attached_node": "model.synthetix.spot_synth_bought_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referrer", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_mainnet_event_name.8a35f2634d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_event_name.8a35f2634d", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_bought_base_mainnet_event_name"], "alias": "not_null_spot_synth_bought_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5827453, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_bought_base_mainnet", "attached_node": "model.synthetix.spot_synth_bought_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_bought_base_mainnet_event_name__SynthBought.7302486ec0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_bought_base_mainnet_event_name__SynthBought", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_bou_a55733eb176c0d23184e39c1d58c98e5.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_bought_base_mainnet_event_name__SynthBought.7302486ec0", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "accepted_values_spot_synth_bought_base_mainnet_event_name__SynthBought"], "alias": "accepted_values_spot_synth_bou_a55733eb176c0d23184e39c1d58c98e5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_bou_a55733eb176c0d23184e39c1d58c98e5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_synth_bou_a55733eb176c0d23184e39c1d58c98e5"}, "created_at": 1723584319.5844307, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_bou_a55733eb176c0d23184e39c1d58c98e5\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_bou_a55733eb176c0d23184e39c1d58c98e5.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthBought'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_bought_base_mainnet", "attached_node": "model.synthetix.spot_synth_bought_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthBought"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_mainnet_event_name.f76ff966dc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_event_name.f76ff966dc", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_sold_base_mainnet_event_name"], "alias": "not_null_spot_synth_sold_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5885432, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_sold_base_mainnet", "attached_node": "model.synthetix.spot_synth_sold_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_sold_base_mainnet_event_name__SynthSold.b1a44748ed": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_sold_base_mainnet_event_name__SynthSold", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_sol_89dd9a47ec996eaf7ec5b9a35c28d020.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_sold_base_mainnet_event_name__SynthSold.b1a44748ed", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "accepted_values_spot_synth_sold_base_mainnet_event_name__SynthSold"], "alias": "accepted_values_spot_synth_sol_89dd9a47ec996eaf7ec5b9a35c28d020", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_sol_89dd9a47ec996eaf7ec5b9a35c28d020", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_synth_sol_89dd9a47ec996eaf7ec5b9a35c28d020"}, "created_at": 1723584319.5901906, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_sol_89dd9a47ec996eaf7ec5b9a35c28d020\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_sol_89dd9a47ec996eaf7ec5b9a35c28d020.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthSold'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_sold_base_mainnet", "attached_node": "model.synthetix.spot_synth_sold_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthSold"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_mainnet_transaction_hash.6957d51d9c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_transaction_hash.6957d51d9c", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_sold_base_mainnet_transaction_hash"], "alias": "not_null_spot_synth_sold_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5942955, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_synth_sold_base_mainnet", "attached_node": "model.synthetix.spot_synth_sold_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_mainnet_collected_fees.99a85c53ea": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_mainnet_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_mainnet_collected_fees.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_collected_fees.99a85c53ea", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_sold_base_mainnet_collected_fees"], "alias": "not_null_spot_synth_sold_base_mainnet_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.595964, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_synth_sold_base_mainnet", "attached_node": "model.synthetix.spot_synth_sold_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_collected_fees__True__0.6cc814f854": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_base_mainnet_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__869a9b7964b126ecc6b81ac7e9732147.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_collected_fees__True__0.6cc814f854", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_sold_base_mainnet_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_spot__869a9b7964b126ecc6b81ac7e9732147", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__869a9b7964b126ecc6b81ac7e9732147", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__869a9b7964b126ecc6b81ac7e9732147"}, "created_at": 1723584319.5975988, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__869a9b7964b126ecc6b81ac7e9732147\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__869a9b7964b126ecc6b81ac7e9732147.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_synth_sold_base_mainnet", "attached_node": "model.synthetix.spot_synth_sold_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_base_mainnet_block_timestamp.1713f1d130": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_block_timestamp.1713f1d130", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_sold_base_mainnet_block_timestamp"], "alias": "not_null_spot_synth_sold_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6018023, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_synth_sold_base_mainnet", "attached_node": "model.synthetix.spot_synth_sold_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_mainnet_referrer.ee678360be": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_mainnet_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_mainnet_referrer.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_referrer.ee678360be", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_sold_base_mainnet_referrer"], "alias": "not_null_spot_synth_sold_base_mainnet_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.603456, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "file_key_name": "models.spot_synth_sold_base_mainnet", "attached_node": "model.synthetix.spot_synth_sold_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referrer", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_mainnet_block_number.148bf58e52": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_block_number.148bf58e52", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_sold_base_mainnet_block_number"], "alias": "not_null_spot_synth_sold_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6050756, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_synth_sold_base_mainnet", "attached_node": "model.synthetix.spot_synth_sold_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_mainnet_price.3d1a702fbb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_mainnet_price.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_price.3d1a702fbb", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_sold_base_mainnet_price"], "alias": "not_null_spot_synth_sold_base_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6066892, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_synth_sold_base_mainnet", "attached_node": "model.synthetix.spot_synth_sold_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_price__True__0.994b9376fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_base_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__102836450220e70de6301980e5d5950a.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_price__True__0.994b9376fd", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_sold_base_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_spot__102836450220e70de6301980e5d5950a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__102836450220e70de6301980e5d5950a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__102836450220e70de6301980e5d5950a"}, "created_at": 1723584319.6084402, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__102836450220e70de6301980e5d5950a\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__102836450220e70de6301980e5d5950a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_synth_sold_base_mainnet", "attached_node": "model.synthetix.spot_synth_sold_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_base_mainnet_amount_returned.989a4131c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_mainnet_amount_returned", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_mainnet_amount_returned.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_amount_returned.989a4131c2", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_sold_base_mainnet_amount_returned"], "alias": "not_null_spot_synth_sold_base_mainnet_amount_returned", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6124465, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_amount_returned.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_returned\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere amount_returned is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_returned", "file_key_name": "models.spot_synth_sold_base_mainnet", "attached_node": "model.synthetix.spot_synth_sold_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_returned", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_amount_returned__True__0.250710e6f1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_base_mainnet_amount_returned__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__6b757397105f64d96d8f1df579ff67af.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_amount_returned__True__0.250710e6f1", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_sold_base_mainnet_amount_returned__True__0"], "alias": "dbt_utils_accepted_range_spot__6b757397105f64d96d8f1df579ff67af", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__6b757397105f64d96d8f1df579ff67af", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__6b757397105f64d96d8f1df579ff67af"}, "created_at": 1723584319.6142704, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__6b757397105f64d96d8f1df579ff67af\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__6b757397105f64d96d8f1df579ff67af.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_returned >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_returned", "file_key_name": "models.spot_synth_sold_base_mainnet", "attached_node": "model.synthetix.spot_synth_sold_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_returned", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_base_mainnet_synth_market_id.b7dab5388d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_mainnet_synth_market_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_synth_market_id.b7dab5388d", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_sold_base_mainnet_synth_market_id"], "alias": "not_null_spot_synth_sold_base_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.618318, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_sold_base_mainnet", "attached_node": "model.synthetix.spot_synth_sold_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_synth_market_id__True__0.3ec6dae33c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_base_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__709479046502cb2d832f1681b840dc68.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_synth_market_id__True__0.3ec6dae33c", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_sold_base_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__709479046502cb2d832f1681b840dc68", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__709479046502cb2d832f1681b840dc68", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__709479046502cb2d832f1681b840dc68"}, "created_at": 1723584319.6199822, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__709479046502cb2d832f1681b840dc68\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__709479046502cb2d832f1681b840dc68.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_sold_base_mainnet", "attached_node": "model.synthetix.spot_synth_sold_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_base_mainnet_id.763b711f62": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_id.763b711f62", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_sold_base_mainnet_id"], "alias": "not_null_spot_synth_sold_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6242113, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_sold_base_mainnet", "attached_node": "model.synthetix.spot_synth_sold_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_sold_base_mainnet_id.4cbe90534a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_sold_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_sold_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_sold_base_mainnet_id.4cbe90534a", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "unique_spot_synth_sold_base_mainnet_id"], "alias": "unique_spot_synth_sold_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6258295, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_sold_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_sold_base_mainnet", "attached_node": "model.synthetix.spot_synth_sold_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_mainnet_contract.46ddd59981": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_contract.46ddd59981", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_sold_base_mainnet_contract"], "alias": "not_null_spot_synth_sold_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.627922, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_synth_sold_base_mainnet", "attached_node": "model.synthetix.spot_synth_sold_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_id.7d79ad852d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_id.7d79ad852d", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_wrapped_base_mainnet_id"], "alias": "not_null_spot_synth_wrapped_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.629573, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_wrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_wrapped_base_mainnet_id.77a4ae72ae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_wrapped_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_wrapped_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_wrapped_base_mainnet_id.77a4ae72ae", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "unique_spot_synth_wrapped_base_mainnet_id"], "alias": "unique_spot_synth_wrapped_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6311922, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_wrapped_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_wrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_transaction_hash.9cbd57629d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_transaction_hash.9cbd57629d", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_wrapped_base_mainnet_transaction_hash"], "alias": "not_null_spot_synth_wrapped_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6327977, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_synth_wrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_synth_market_id.e2b2f4733f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_mainnet_synth_market_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_synth_market_id.e2b2f4733f", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_wrapped_base_mainnet_synth_market_id"], "alias": "not_null_spot_synth_wrapped_base_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6343727, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_wrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_synth_market_id__True__0.3d7fa017bf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__54093ccd823429dbfa551dd083c43381.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_synth_market_id__True__0.3d7fa017bf", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__54093ccd823429dbfa551dd083c43381", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__54093ccd823429dbfa551dd083c43381", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__54093ccd823429dbfa551dd083c43381"}, "created_at": 1723584319.6360953, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__54093ccd823429dbfa551dd083c43381\") }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__54093ccd823429dbfa551dd083c43381.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_wrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_contract.33e8d1917b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_contract.33e8d1917b", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_wrapped_base_mainnet_contract"], "alias": "not_null_spot_synth_wrapped_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6401658, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_synth_wrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_event_name.1f22f5789b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_event_name.1f22f5789b", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_wrapped_base_mainnet_event_name"], "alias": "not_null_spot_synth_wrapped_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6419706, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_wrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_wrapped_base_mainnet_event_name__SynthWrapped.e81f79edcb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_wrapped_base_mainnet_event_name__SynthWrapped", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_wra_37b6ba7e578861182698bcc3fa863c97.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_wrapped_base_mainnet_event_name__SynthWrapped.e81f79edcb", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "accepted_values_spot_synth_wrapped_base_mainnet_event_name__SynthWrapped"], "alias": "accepted_values_spot_synth_wra_37b6ba7e578861182698bcc3fa863c97", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_wra_37b6ba7e578861182698bcc3fa863c97", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_synth_wra_37b6ba7e578861182698bcc3fa863c97"}, "created_at": 1723584319.6436224, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_wra_37b6ba7e578861182698bcc3fa863c97\") }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_wra_37b6ba7e578861182698bcc3fa863c97.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthWrapped'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_wrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthWrapped"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_block_timestamp.66ddebcfe0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_block_timestamp.66ddebcfe0", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_wrapped_base_mainnet_block_timestamp"], "alias": "not_null_spot_synth_wrapped_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.647588, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_synth_wrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_block_number.4bf40252e1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_block_number.4bf40252e1", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_wrapped_base_mainnet_block_number"], "alias": "not_null_spot_synth_wrapped_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6493726, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_synth_wrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_fees_collected.9a641530e9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_mainnet_fees_collected", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_mainnet_fees_collected.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_fees_collected.9a641530e9", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_wrapped_base_mainnet_fees_collected"], "alias": "not_null_spot_synth_wrapped_base_mainnet_fees_collected", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6509922, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_fees_collected.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect fees_collected\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\nwhere fees_collected is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "file_key_name": "models.spot_synth_wrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_fees_collected__True__0.88e8d792fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_fees_collected__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__b37085988ce7eb72a15d977d1710fe8c.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_fees_collected__True__0.88e8d792fd", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_fees_collected__True__0"], "alias": "dbt_utils_accepted_range_spot__b37085988ce7eb72a15d977d1710fe8c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__b37085988ce7eb72a15d977d1710fe8c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__b37085988ce7eb72a15d977d1710fe8c"}, "created_at": 1723584319.6526592, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__b37085988ce7eb72a15d977d1710fe8c\") }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__b37085988ce7eb72a15d977d1710fe8c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not fees_collected >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "file_key_name": "models.spot_synth_wrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_block_timestamp.0e8329af5c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_block_timestamp.0e8329af5c", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_unwrapped_base_mainnet_block_timestamp"], "alias": "not_null_spot_synth_unwrapped_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6568024, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_synth_unwrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped.025e49370b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped.025e49370b", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped"], "alias": "not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6584315, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_unwrapped\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\nwhere amount_unwrapped is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_unwrapped", "file_key_name": "models.spot_synth_unwrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_unwrapped", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_amount_unwrapped__True__0.2e78bc25a2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_amount_unwrapped__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__00502a3092faf88f9c4cf1c70e3ecabb.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_amount_unwrapped__True__0.2e78bc25a2", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_amount_unwrapped__True__0"], "alias": "dbt_utils_accepted_range_spot__00502a3092faf88f9c4cf1c70e3ecabb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__00502a3092faf88f9c4cf1c70e3ecabb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__00502a3092faf88f9c4cf1c70e3ecabb"}, "created_at": 1723584319.660084, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__00502a3092faf88f9c4cf1c70e3ecabb\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__00502a3092faf88f9c4cf1c70e3ecabb.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_unwrapped >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_unwrapped", "file_key_name": "models.spot_synth_unwrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_unwrapped", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_fees_collected.cd35bec369": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_mainnet_fees_collected", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_mainnet_fees_collected.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_fees_collected.cd35bec369", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_unwrapped_base_mainnet_fees_collected"], "alias": "not_null_spot_synth_unwrapped_base_mainnet_fees_collected", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.664243, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_fees_collected.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect fees_collected\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\nwhere fees_collected is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "file_key_name": "models.spot_synth_unwrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_fees_collected__True__0.48d9a0e389": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_fees_collected__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__cad30ffa5fa2a073ff58756383e7e777.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_fees_collected__True__0.48d9a0e389", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_fees_collected__True__0"], "alias": "dbt_utils_accepted_range_spot__cad30ffa5fa2a073ff58756383e7e777", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__cad30ffa5fa2a073ff58756383e7e777", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__cad30ffa5fa2a073ff58756383e7e777"}, "created_at": 1723584319.6658819, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__cad30ffa5fa2a073ff58756383e7e777\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__cad30ffa5fa2a073ff58756383e7e777.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not fees_collected >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "file_key_name": "models.spot_synth_unwrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_event_name.dbfac4a471": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_event_name.dbfac4a471", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_unwrapped_base_mainnet_event_name"], "alias": "not_null_spot_synth_unwrapped_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.670033, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_unwrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_unwrapped_base_mainnet_event_name__SynthUnwrapped.a1713eb60e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_unwrapped_base_mainnet_event_name__SynthUnwrapped", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_unw_92fd6cebfb41d6dc648b4b6e6220b046.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_unwrapped_base_mainnet_event_name__SynthUnwrapped.a1713eb60e", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "accepted_values_spot_synth_unwrapped_base_mainnet_event_name__SynthUnwrapped"], "alias": "accepted_values_spot_synth_unw_92fd6cebfb41d6dc648b4b6e6220b046", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_unw_92fd6cebfb41d6dc648b4b6e6220b046", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_synth_unw_92fd6cebfb41d6dc648b4b6e6220b046"}, "created_at": 1723584319.6717193, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_unw_92fd6cebfb41d6dc648b4b6e6220b046\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_unw_92fd6cebfb41d6dc648b4b6e6220b046.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthUnwrapped'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_unwrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthUnwrapped"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_block_number.81e8f4c2ea": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_block_number.81e8f4c2ea", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_unwrapped_base_mainnet_block_number"], "alias": "not_null_spot_synth_unwrapped_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6758246, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_synth_unwrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_transaction_hash.e27a71ff2d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_transaction_hash.e27a71ff2d", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_unwrapped_base_mainnet_transaction_hash"], "alias": "not_null_spot_synth_unwrapped_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.677441, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_synth_unwrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_contract.cba8e61baa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_contract.cba8e61baa", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_unwrapped_base_mainnet_contract"], "alias": "not_null_spot_synth_unwrapped_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6790452, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_synth_unwrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_id.cd459ace96": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_id.cd459ace96", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_unwrapped_base_mainnet_id"], "alias": "not_null_spot_synth_unwrapped_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6806638, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_unwrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_unwrapped_base_mainnet_id.1256b6907b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_unwrapped_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_unwrapped_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_unwrapped_base_mainnet_id.1256b6907b", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "unique_spot_synth_unwrapped_base_mainnet_id"], "alias": "unique_spot_synth_unwrapped_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.682356, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_unwrapped_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_unwrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_synth_market_id.47983f606b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_mainnet_synth_market_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_synth_market_id.47983f606b", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_unwrapped_base_mainnet_synth_market_id"], "alias": "not_null_spot_synth_unwrapped_base_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.683977, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_unwrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_synth_market_id__True__0.de01d6cd38": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__8e5e66ec037d024a9853963d0b4aaac2.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_synth_market_id__True__0.de01d6cd38", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__8e5e66ec037d024a9853963d0b4aaac2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__8e5e66ec037d024a9853963d0b4aaac2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__8e5e66ec037d024a9853963d0b4aaac2"}, "created_at": 1723584319.6855755, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__8e5e66ec037d024a9853963d0b4aaac2\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__8e5e66ec037d024a9853963d0b4aaac2.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_unwrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_blocks_base_sepolia_block_number.1adc80fce5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_blocks_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_blocks_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/schema.yml", "unique_id": "test.synthetix.not_null_blocks_base_sepolia_block_number.1adc80fce5", "fqn": ["synthetix", "raw", "base", "sepolia", "not_null_blocks_base_sepolia_block_number"], "alias": "not_null_blocks_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6908412, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/schema.yml/not_null_blocks_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"blocks_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.blocks_base_sepolia", "attached_node": "model.synthetix.blocks_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('blocks_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_blocks_base_sepolia_block_number.b9de81024b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_blocks_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "unique_blocks_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/schema.yml", "unique_id": "test.synthetix.unique_blocks_base_sepolia_block_number.b9de81024b", "fqn": ["synthetix", "raw", "base", "sepolia", "unique_blocks_base_sepolia_block_number"], "alias": "unique_blocks_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6925235, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/schema.yml/unique_blocks_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n block_number as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"blocks_base_sepolia\"\nwhere block_number is not null\ngroup by block_number\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.blocks_base_sepolia", "attached_node": "model.synthetix.blocks_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('blocks_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_recency_blocks_base_sepolia_hour__ts__1.b4197f397a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_recency_blocks_base_sepolia_hour__ts__1", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_recency_blocks_base_sepolia_hour__ts__1.sql", "original_file_path": "models/raw/base/sepolia/schema.yml", "unique_id": "test.synthetix.dbt_utils_recency_blocks_base_sepolia_hour__ts__1.b4197f397a", "fqn": ["synthetix", "raw", "base", "sepolia", "dbt_utils_recency_blocks_base_sepolia_hour__ts__1"], "alias": "dbt_utils_recency_blocks_base_sepolia_hour__ts__1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6941473, "relation_name": null, "raw_code": "{{ dbt_utils.test_recency(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_recency", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/schema.yml/dbt_utils_recency_blocks_base_sepolia_hour__ts__1.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\n\nwith recency as (\n\n select \n\n \n \n max(ts) as most_recent\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"blocks_base_sepolia\"\n\n \n\n)\n\nselect\n\n \n most_recent,\n cast(\n\n now() + ((interval '1 hour') * (-1))\n\n as timestamp) as threshold\n\nfrom recency\nwhere most_recent < cast(\n\n now() + ((interval '1 hour') * (-1))\n\n as timestamp)\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": null, "file_key_name": "models.blocks_base_sepolia", "attached_node": "model.synthetix.blocks_base_sepolia", "test_metadata": {"name": "recency", "kwargs": {"datepart": "hour", "field": "ts", "interval": 1, "model": "{{ get_where_subquery(ref('blocks_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.unique_perp_account_created_base_sepolia_id.d2b0023315": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_account_created_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_account_created_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_account_created_base_sepolia_id.d2b0023315", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "unique_perp_account_created_base_sepolia_id"], "alias": "unique_perp_account_created_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7174897, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_account_created_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_account_created_base_sepolia", "attached_node": "model.synthetix.perp_account_created_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_sepolia_id.7da01b5642": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_sepolia_id.7da01b5642", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_created_base_sepolia_id"], "alias": "not_null_perp_account_created_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7191825, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_account_created_base_sepolia", "attached_node": "model.synthetix.perp_account_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_sepolia_event_name.d7deee96b5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_sepolia_event_name.d7deee96b5", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_created_base_sepolia_event_name"], "alias": "not_null_perp_account_created_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7208898, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_account_created_base_sepolia", "attached_node": "model.synthetix.perp_account_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_account_created_base_sepolia_event_name__AccountCreated.e5e94f342c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_account_created_base_sepolia_event_name__AccountCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_account_c_0df2eed834318151661d6fb3bb9d3b0f.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_account_created_base_sepolia_event_name__AccountCreated.e5e94f342c", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "accepted_values_perp_account_created_base_sepolia_event_name__AccountCreated"], "alias": "accepted_values_perp_account_c_0df2eed834318151661d6fb3bb9d3b0f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_account_c_0df2eed834318151661d6fb3bb9d3b0f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_perp_account_c_0df2eed834318151661d6fb3bb9d3b0f"}, "created_at": 1723584319.7226553, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_account_c_0df2eed834318151661d6fb3bb9d3b0f\") }}", "language": "sql", "refs": [{"name": "perp_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_account_c_0df2eed834318151661d6fb3bb9d3b0f.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'AccountCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_account_created_base_sepolia", "attached_node": "model.synthetix.perp_account_created_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["AccountCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_sepolia_block_number.b9729c0627": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_sepolia_block_number.b9729c0627", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_created_base_sepolia_block_number"], "alias": "not_null_perp_account_created_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7266908, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.perp_account_created_base_sepolia", "attached_node": "model.synthetix.perp_account_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_sepolia_block_timestamp.1f03770bcc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_sepolia_block_timestamp.1f03770bcc", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_created_base_sepolia_block_timestamp"], "alias": "not_null_perp_account_created_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.728496, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_account_created_base_sepolia", "attached_node": "model.synthetix.perp_account_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_sepolia_owner.31f8eb801c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_sepolia_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_sepolia_owner.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_sepolia_owner.31f8eb801c", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_created_base_sepolia_owner"], "alias": "not_null_perp_account_created_base_sepolia_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7301064, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.perp_account_created_base_sepolia", "attached_node": "model.synthetix.perp_account_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('perp_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_sepolia_account_id.e2509a45ab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_sepolia_account_id.e2509a45ab", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_created_base_sepolia_account_id"], "alias": "not_null_perp_account_created_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7317245, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_account_created_base_sepolia", "attached_node": "model.synthetix.perp_account_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_account_created_base_sepolia_account_id__True__0.72ab89cd5f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_account_created_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__f2ccc70c56fd6122b82f3cdb3006994e.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_account_created_base_sepolia_account_id__True__0.72ab89cd5f", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_account_created_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__f2ccc70c56fd6122b82f3cdb3006994e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__f2ccc70c56fd6122b82f3cdb3006994e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__f2ccc70c56fd6122b82f3cdb3006994e"}, "created_at": 1723584319.7333314, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__f2ccc70c56fd6122b82f3cdb3006994e\") }}", "language": "sql", "refs": [{"name": "perp_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__f2ccc70c56fd6122b82f3cdb3006994e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_account_created_base_sepolia", "attached_node": "model.synthetix.perp_account_created_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_account_created_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_account_created_base_sepolia_transaction_hash.6324af1adb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_sepolia_transaction_hash.6324af1adb", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_created_base_sepolia_transaction_hash"], "alias": "not_null_perp_account_created_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7374728, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_account_created_base_sepolia", "attached_node": "model.synthetix.perp_account_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_sepolia_contract.1b1ec25344": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_sepolia_contract.1b1ec25344", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_created_base_sepolia_contract"], "alias": "not_null_perp_account_created_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7391312, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_account_created_base_sepolia", "attached_node": "model.synthetix.perp_account_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_order_committed_base_sepolia_id.eb024384af": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_order_committed_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_order_committed_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_order_committed_base_sepolia_id.eb024384af", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "unique_perp_order_committed_base_sepolia_id"], "alias": "unique_perp_order_committed_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7407496, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_order_committed_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_order_committed_base_sepolia", "attached_node": "model.synthetix.perp_order_committed_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_sepolia_id.5b74c78258": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_sepolia_id.5b74c78258", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_committed_base_sepolia_id"], "alias": "not_null_perp_order_committed_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.742455, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_order_committed_base_sepolia", "attached_node": "model.synthetix.perp_order_committed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_sepolia_block_number.f3230cc50d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_sepolia_block_number.f3230cc50d", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_committed_base_sepolia_block_number"], "alias": "not_null_perp_order_committed_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7440803, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.perp_order_committed_base_sepolia", "attached_node": "model.synthetix.perp_order_committed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_sepolia_block_timestamp.192957d40c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_sepolia_block_timestamp.192957d40c", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_committed_base_sepolia_block_timestamp"], "alias": "not_null_perp_order_committed_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7456632, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_order_committed_base_sepolia", "attached_node": "model.synthetix.perp_order_committed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_sepolia_transaction_hash.761f6c5146": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_sepolia_transaction_hash.761f6c5146", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_committed_base_sepolia_transaction_hash"], "alias": "not_null_perp_order_committed_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7472694, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_order_committed_base_sepolia", "attached_node": "model.synthetix.perp_order_committed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_sepolia_contract.ad38cda3df": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_sepolia_contract.ad38cda3df", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_committed_base_sepolia_contract"], "alias": "not_null_perp_order_committed_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7488568, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_order_committed_base_sepolia", "attached_node": "model.synthetix.perp_order_committed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_sepolia_event_name.dc8411b8b1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_sepolia_event_name.dc8411b8b1", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_committed_base_sepolia_event_name"], "alias": "not_null_perp_order_committed_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7505279, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_order_committed_base_sepolia", "attached_node": "model.synthetix.perp_order_committed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_order_committed_base_sepolia_event_name__OrderCommitted.f236dead5d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_order_committed_base_sepolia_event_name__OrderCommitted", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_order_com_b53fd8aed05d75151e18f1149c77d2ba.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_order_committed_base_sepolia_event_name__OrderCommitted.f236dead5d", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "accepted_values_perp_order_committed_base_sepolia_event_name__OrderCommitted"], "alias": "accepted_values_perp_order_com_b53fd8aed05d75151e18f1149c77d2ba", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_order_com_b53fd8aed05d75151e18f1149c77d2ba", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_perp_order_com_b53fd8aed05d75151e18f1149c77d2ba"}, "created_at": 1723584319.75216, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_order_com_b53fd8aed05d75151e18f1149c77d2ba\") }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_order_com_b53fd8aed05d75151e18f1149c77d2ba.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderCommitted'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_order_committed_base_sepolia", "attached_node": "model.synthetix.perp_order_committed_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderCommitted"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_sepolia_market_id.9c41f762ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_sepolia_market_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_sepolia_market_id.9c41f762ec", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_committed_base_sepolia_market_id"], "alias": "not_null_perp_order_committed_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7562845, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_order_committed_base_sepolia", "attached_node": "model.synthetix.perp_order_committed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_sepolia_market_id__True__0.6174df8d83": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_committed_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__128e9e7163cc2e42c8b52ec3fcb1fd6b.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_sepolia_market_id__True__0.6174df8d83", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_order_committed_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__128e9e7163cc2e42c8b52ec3fcb1fd6b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__128e9e7163cc2e42c8b52ec3fcb1fd6b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__128e9e7163cc2e42c8b52ec3fcb1fd6b"}, "created_at": 1723584319.757941, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__128e9e7163cc2e42c8b52ec3fcb1fd6b\") }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__128e9e7163cc2e42c8b52ec3fcb1fd6b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_order_committed_base_sepolia", "attached_node": "model.synthetix.perp_order_committed_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_order_committed_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_committed_base_sepolia_account_id.e0cc9cd7a0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_sepolia_account_id.e0cc9cd7a0", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_committed_base_sepolia_account_id"], "alias": "not_null_perp_order_committed_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7619758, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_order_committed_base_sepolia", "attached_node": "model.synthetix.perp_order_committed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_sepolia_account_id__True__0.2a5b9bdddf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_committed_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__32bff774279ea000b047c8cebe75f284.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_sepolia_account_id__True__0.2a5b9bdddf", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_order_committed_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__32bff774279ea000b047c8cebe75f284", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__32bff774279ea000b047c8cebe75f284", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__32bff774279ea000b047c8cebe75f284"}, "created_at": 1723584319.7638018, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__32bff774279ea000b047c8cebe75f284\") }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__32bff774279ea000b047c8cebe75f284.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_order_committed_base_sepolia", "attached_node": "model.synthetix.perp_order_committed_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_order_committed_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_settled_base_sepolia_contract.03742630fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_contract.03742630fd", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_settled_base_sepolia_contract"], "alias": "not_null_perp_order_settled_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7678545, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_order_settled_base_sepolia", "attached_node": "model.synthetix.perp_order_settled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_base_sepolia_event_name.95d61e9b53": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_event_name.95d61e9b53", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_settled_base_sepolia_event_name"], "alias": "not_null_perp_order_settled_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7696483, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_order_settled_base_sepolia", "attached_node": "model.synthetix.perp_order_settled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_order_settled_base_sepolia_event_name__OrderSettled.b82d60a6cd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_order_settled_base_sepolia_event_name__OrderSettled", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_order_set_5099c7fdf58fd29a12dfcb88b71da723.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_order_settled_base_sepolia_event_name__OrderSettled.b82d60a6cd", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "accepted_values_perp_order_settled_base_sepolia_event_name__OrderSettled"], "alias": "accepted_values_perp_order_set_5099c7fdf58fd29a12dfcb88b71da723", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_order_set_5099c7fdf58fd29a12dfcb88b71da723", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_perp_order_set_5099c7fdf58fd29a12dfcb88b71da723"}, "created_at": 1723584319.771291, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_order_set_5099c7fdf58fd29a12dfcb88b71da723\") }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_order_set_5099c7fdf58fd29a12dfcb88b71da723.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderSettled'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_order_settled_base_sepolia", "attached_node": "model.synthetix.perp_order_settled_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderSettled"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_base_sepolia_account_id.0505121484": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_account_id.0505121484", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_settled_base_sepolia_account_id"], "alias": "not_null_perp_order_settled_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7754166, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_order_settled_base_sepolia", "attached_node": "model.synthetix.perp_order_settled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_account_id__True__0.dd4d18c933": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_settled_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__c19fd149c08ec64755e6ad4613b88dd7.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_account_id__True__0.dd4d18c933", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_order_settled_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__c19fd149c08ec64755e6ad4613b88dd7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__c19fd149c08ec64755e6ad4613b88dd7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__c19fd149c08ec64755e6ad4613b88dd7"}, "created_at": 1723584319.7770512, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__c19fd149c08ec64755e6ad4613b88dd7\") }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__c19fd149c08ec64755e6ad4613b88dd7.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_order_settled_base_sepolia", "attached_node": "model.synthetix.perp_order_settled_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_settled_base_sepolia_market_id.90e9816e9b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_sepolia_market_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_market_id.90e9816e9b", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_settled_base_sepolia_market_id"], "alias": "not_null_perp_order_settled_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.781051, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_order_settled_base_sepolia", "attached_node": "model.synthetix.perp_order_settled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_market_id__True__0.00baab3b06": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_settled_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__b454dfc80e6800727e2855b12c0a2d02.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_market_id__True__0.00baab3b06", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_order_settled_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__b454dfc80e6800727e2855b12c0a2d02", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__b454dfc80e6800727e2855b12c0a2d02", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__b454dfc80e6800727e2855b12c0a2d02"}, "created_at": 1723584319.7828224, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__b454dfc80e6800727e2855b12c0a2d02\") }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__b454dfc80e6800727e2855b12c0a2d02.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_order_settled_base_sepolia", "attached_node": "model.synthetix.perp_order_settled_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_settled_base_sepolia_collected_fees.19815f72b6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_sepolia_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_sepolia_collected_fees.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_collected_fees.19815f72b6", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_settled_base_sepolia_collected_fees"], "alias": "not_null_perp_order_settled_base_sepolia_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.786869, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.perp_order_settled_base_sepolia", "attached_node": "model.synthetix.perp_order_settled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collected_fees", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_collected_fees__True__0.cfcb7626da": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_settled_base_sepolia_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__a9692fd23ce53b0aca9b4f2d1cc10df5.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_collected_fees__True__0.cfcb7626da", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_order_settled_base_sepolia_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_perp__a9692fd23ce53b0aca9b4f2d1cc10df5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__a9692fd23ce53b0aca9b4f2d1cc10df5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__a9692fd23ce53b0aca9b4f2d1cc10df5"}, "created_at": 1723584319.7889335, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__a9692fd23ce53b0aca9b4f2d1cc10df5\") }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__a9692fd23ce53b0aca9b4f2d1cc10df5.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.perp_order_settled_base_sepolia", "attached_node": "model.synthetix.perp_order_settled_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_settled_base_sepolia_transaction_hash.e40380e103": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_transaction_hash.e40380e103", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_settled_base_sepolia_transaction_hash"], "alias": "not_null_perp_order_settled_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7929313, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_order_settled_base_sepolia", "attached_node": "model.synthetix.perp_order_settled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_base_sepolia_block_timestamp.8624d8c529": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_block_timestamp.8624d8c529", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_settled_base_sepolia_block_timestamp"], "alias": "not_null_perp_order_settled_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7945306, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_order_settled_base_sepolia", "attached_node": "model.synthetix.perp_order_settled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_base_sepolia_block_number.723c9f9ccf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_block_number.723c9f9ccf", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_settled_base_sepolia_block_number"], "alias": "not_null_perp_order_settled_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7963703, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.perp_order_settled_base_sepolia", "attached_node": "model.synthetix.perp_order_settled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_order_settled_base_sepolia_id.52c8b658a1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_order_settled_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_order_settled_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_order_settled_base_sepolia_id.52c8b658a1", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "unique_perp_order_settled_base_sepolia_id"], "alias": "unique_perp_order_settled_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7979884, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_order_settled_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_order_settled_base_sepolia", "attached_node": "model.synthetix.perp_order_settled_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_base_sepolia_id.6a51920964": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_id.6a51920964", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_settled_base_sepolia_id"], "alias": "not_null_perp_order_settled_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7996109, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_order_settled_base_sepolia", "attached_node": "model.synthetix.perp_order_settled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_market_updated_base_sepolia_id.5fa0b8a094": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_market_updated_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_market_updated_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_market_updated_base_sepolia_id.5fa0b8a094", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "unique_perp_market_updated_base_sepolia_id"], "alias": "unique_perp_market_updated_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8012054, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_market_updated_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_market_updated_base_sepolia", "attached_node": "model.synthetix.perp_market_updated_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_sepolia_id.c010e8e9d3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_id.c010e8e9d3", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_updated_base_sepolia_id"], "alias": "not_null_perp_market_updated_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8028793, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_market_updated_base_sepolia", "attached_node": "model.synthetix.perp_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_sepolia_block_number.6d91893cd9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_block_number.6d91893cd9", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_updated_base_sepolia_block_number"], "alias": "not_null_perp_market_updated_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8044887, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.perp_market_updated_base_sepolia", "attached_node": "model.synthetix.perp_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_sepolia_block_timestamp.eabfe875b1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_block_timestamp.eabfe875b1", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_updated_base_sepolia_block_timestamp"], "alias": "not_null_perp_market_updated_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8060682, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_market_updated_base_sepolia", "attached_node": "model.synthetix.perp_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_sepolia_transaction_hash.b36ca2219f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_transaction_hash.b36ca2219f", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_updated_base_sepolia_transaction_hash"], "alias": "not_null_perp_market_updated_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8076584, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_market_updated_base_sepolia", "attached_node": "model.synthetix.perp_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_sepolia_contract.7a798ec958": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_contract.7a798ec958", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_updated_base_sepolia_contract"], "alias": "not_null_perp_market_updated_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8092318, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_market_updated_base_sepolia", "attached_node": "model.synthetix.perp_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_sepolia_event_name.5808660a29": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_event_name.5808660a29", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_updated_base_sepolia_event_name"], "alias": "not_null_perp_market_updated_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8109286, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_market_updated_base_sepolia", "attached_node": "model.synthetix.perp_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_market_updated_base_sepolia_event_name__MarketUpdated.6507eaa7c6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_market_updated_base_sepolia_event_name__MarketUpdated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_market_up_ca05ad7cd3f28a4fb6cce4c337cdbbd6.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_market_updated_base_sepolia_event_name__MarketUpdated.6507eaa7c6", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "accepted_values_perp_market_updated_base_sepolia_event_name__MarketUpdated"], "alias": "accepted_values_perp_market_up_ca05ad7cd3f28a4fb6cce4c337cdbbd6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_market_up_ca05ad7cd3f28a4fb6cce4c337cdbbd6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_perp_market_up_ca05ad7cd3f28a4fb6cce4c337cdbbd6"}, "created_at": 1723584319.8125923, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_market_up_ca05ad7cd3f28a4fb6cce4c337cdbbd6\") }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_market_up_ca05ad7cd3f28a4fb6cce4c337cdbbd6.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketUpdated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_market_updated_base_sepolia", "attached_node": "model.synthetix.perp_market_updated_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketUpdated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_sepolia_market_id.1d15a36e0c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_sepolia_market_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_market_id.1d15a36e0c", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_updated_base_sepolia_market_id"], "alias": "not_null_perp_market_updated_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8167171, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_market_updated_base_sepolia", "attached_node": "model.synthetix.perp_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_market_id__True__0.2aed99d0b6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_market_updated_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__1f89c9bf58cb645a7ad32435c8ea54ba.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_market_id__True__0.2aed99d0b6", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_market_updated_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__1f89c9bf58cb645a7ad32435c8ea54ba", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__1f89c9bf58cb645a7ad32435c8ea54ba", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__1f89c9bf58cb645a7ad32435c8ea54ba"}, "created_at": 1723584319.8183637, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__1f89c9bf58cb645a7ad32435c8ea54ba\") }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__1f89c9bf58cb645a7ad32435c8ea54ba.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_market_updated_base_sepolia", "attached_node": "model.synthetix.perp_market_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_market_updated_base_sepolia_price.821df5b6b3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_sepolia_price.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_price.821df5b6b3", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_updated_base_sepolia_price"], "alias": "not_null_perp_market_updated_base_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8225412, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.perp_market_updated_base_sepolia", "attached_node": "model.synthetix.perp_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_price__True__0.4f4858e59f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_market_updated_base_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__962702eb1b8cc78c3e3273f03d6bdf84.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_price__True__0.4f4858e59f", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_market_updated_base_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_perp__962702eb1b8cc78c3e3273f03d6bdf84", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__962702eb1b8cc78c3e3273f03d6bdf84", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__962702eb1b8cc78c3e3273f03d6bdf84"}, "created_at": 1723584319.8242078, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__962702eb1b8cc78c3e3273f03d6bdf84\") }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__962702eb1b8cc78c3e3273f03d6bdf84.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.perp_market_updated_base_sepolia", "attached_node": "model.synthetix.perp_market_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_market_updated_base_sepolia_interest_rate.20f815f06a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_sepolia_interest_rate", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_sepolia_interest_rate.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_interest_rate.20f815f06a", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_updated_base_sepolia_interest_rate"], "alias": "not_null_perp_market_updated_base_sepolia_interest_rate", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8281965, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_interest_rate.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect interest_rate\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\nwhere interest_rate is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest_rate", "file_key_name": "models.perp_market_updated_base_sepolia", "attached_node": "model.synthetix.perp_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "interest_rate", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_interest_rate__True__0.82fe5b32f6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_market_updated_base_sepolia_interest_rate__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__082778f8edfaff850195781d5ee1fef0.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_interest_rate__True__0.82fe5b32f6", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_market_updated_base_sepolia_interest_rate__True__0"], "alias": "dbt_utils_accepted_range_perp__082778f8edfaff850195781d5ee1fef0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__082778f8edfaff850195781d5ee1fef0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__082778f8edfaff850195781d5ee1fef0"}, "created_at": 1723584319.8300009, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__082778f8edfaff850195781d5ee1fef0\") }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__082778f8edfaff850195781d5ee1fef0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not interest_rate >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest_rate", "file_key_name": "models.perp_market_updated_base_sepolia", "attached_node": "model.synthetix.perp_market_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "interest_rate", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_position_liquidated_base_sepolia_account_id.8e9f2c1b4b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_account_id.8e9f2c1b4b", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_position_liquidated_base_sepolia_account_id"], "alias": "not_null_perp_position_liquidated_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8339777, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_position_liquidated_base_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_account_id__True__0.a60e1cbb90": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__e9248f5179d5c8ee4dde26ada955e6de.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_account_id__True__0.a60e1cbb90", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__e9248f5179d5c8ee4dde26ada955e6de", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__e9248f5179d5c8ee4dde26ada955e6de", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__e9248f5179d5c8ee4dde26ada955e6de"}, "created_at": 1723584319.835778, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__e9248f5179d5c8ee4dde26ada955e6de\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__e9248f5179d5c8ee4dde26ada955e6de.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_position_liquidated_base_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_position_liquidated_base_sepolia_market_id.6c389de6f5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_sepolia_market_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_market_id.6c389de6f5", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_position_liquidated_base_sepolia_market_id"], "alias": "not_null_perp_position_liquidated_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.839835, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_position_liquidated_base_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_market_id__True__0.c5145fd027": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__238caaa4c9da525973e0ffdf11d7962f.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_market_id__True__0.c5145fd027", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__238caaa4c9da525973e0ffdf11d7962f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__238caaa4c9da525973e0ffdf11d7962f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__238caaa4c9da525973e0ffdf11d7962f"}, "created_at": 1723584319.8414989, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__238caaa4c9da525973e0ffdf11d7962f\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__238caaa4c9da525973e0ffdf11d7962f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_position_liquidated_base_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.unique_perp_position_liquidated_base_sepolia_id.e92f27d6e6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_position_liquidated_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_position_liquidated_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_position_liquidated_base_sepolia_id.e92f27d6e6", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "unique_perp_position_liquidated_base_sepolia_id"], "alias": "unique_perp_position_liquidated_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.845637, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_position_liquidated_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_position_liquidated_base_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_base_sepolia_id.985f2af114": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_id.985f2af114", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_position_liquidated_base_sepolia_id"], "alias": "not_null_perp_position_liquidated_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8472927, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_position_liquidated_base_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_base_sepolia_transaction_hash.b180fd2627": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_transaction_hash.b180fd2627", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_position_liquidated_base_sepolia_transaction_hash"], "alias": "not_null_perp_position_liquidated_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.849051, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_position_liquidated_base_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_base_sepolia_current_position_size.f98475edcb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_sepolia_current_position_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquida_f43c3b03bc780f5f29cf4d5d62fa0760.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_current_position_size.f98475edcb", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_position_liquidated_base_sepolia_current_position_size"], "alias": "not_null_perp_position_liquida_f43c3b03bc780f5f29cf4d5d62fa0760", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_position_liquida_f43c3b03bc780f5f29cf4d5d62fa0760", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_position_liquida_f43c3b03bc780f5f29cf4d5d62fa0760"}, "created_at": 1723584319.850647, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_position_liquida_f43c3b03bc780f5f29cf4d5d62fa0760\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquida_f43c3b03bc780f5f29cf4d5d62fa0760.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect current_position_size\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\nwhere current_position_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "current_position_size", "file_key_name": "models.perp_position_liquidated_base_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "current_position_size", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_current_position_size__True__0.cf9da7d717": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_current_position_size__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__71f814ad6975e1687f0021bd06fdd301.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_current_position_size__True__0.cf9da7d717", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_current_position_size__True__0"], "alias": "dbt_utils_accepted_range_perp__71f814ad6975e1687f0021bd06fdd301", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__71f814ad6975e1687f0021bd06fdd301", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__71f814ad6975e1687f0021bd06fdd301"}, "created_at": 1723584319.8522477, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__71f814ad6975e1687f0021bd06fdd301\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__71f814ad6975e1687f0021bd06fdd301.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not current_position_size >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "current_position_size", "file_key_name": "models.perp_position_liquidated_base_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "current_position_size", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_position_liquidated_base_sepolia_event_name.1d2d01fa50": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_event_name.1d2d01fa50", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_position_liquidated_base_sepolia_event_name"], "alias": "not_null_perp_position_liquidated_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8563886, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_position_liquidated_base_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_position_liquidated_base_sepolia_event_name__PositionLiquidated.e07d1e03f2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_position_liquidated_base_sepolia_event_name__PositionLiquidated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_position__02724455b21e167f5f8636cd46a2fb74.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_position_liquidated_base_sepolia_event_name__PositionLiquidated.e07d1e03f2", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "accepted_values_perp_position_liquidated_base_sepolia_event_name__PositionLiquidated"], "alias": "accepted_values_perp_position__02724455b21e167f5f8636cd46a2fb74", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_position__02724455b21e167f5f8636cd46a2fb74", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_perp_position__02724455b21e167f5f8636cd46a2fb74"}, "created_at": 1723584319.8579996, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_position__02724455b21e167f5f8636cd46a2fb74\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_position__02724455b21e167f5f8636cd46a2fb74.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'PositionLiquidated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_position_liquidated_base_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PositionLiquidated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_base_sepolia_block_number.d05dfab674": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_block_number.d05dfab674", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_position_liquidated_base_sepolia_block_number"], "alias": "not_null_perp_position_liquidated_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8621366, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.perp_position_liquidated_base_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_base_sepolia_amount_liquidated.c878a441e1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_sepolia_amount_liquidated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquida_f1dc08d150cabf234a05a9e18e0a3f4e.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_amount_liquidated.c878a441e1", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_position_liquidated_base_sepolia_amount_liquidated"], "alias": "not_null_perp_position_liquida_f1dc08d150cabf234a05a9e18e0a3f4e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_position_liquida_f1dc08d150cabf234a05a9e18e0a3f4e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_position_liquida_f1dc08d150cabf234a05a9e18e0a3f4e"}, "created_at": 1723584319.86381, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_position_liquida_f1dc08d150cabf234a05a9e18e0a3f4e\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquida_f1dc08d150cabf234a05a9e18e0a3f4e.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_liquidated\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\nwhere amount_liquidated is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_liquidated", "file_key_name": "models.perp_position_liquidated_base_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_liquidated", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_amount_liquidated__True__0.20b97e678b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_amount_liquidated__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__d44e36b4e9777c29a7cbc92e9f91ef6f.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_amount_liquidated__True__0.20b97e678b", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_amount_liquidated__True__0"], "alias": "dbt_utils_accepted_range_perp__d44e36b4e9777c29a7cbc92e9f91ef6f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__d44e36b4e9777c29a7cbc92e9f91ef6f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__d44e36b4e9777c29a7cbc92e9f91ef6f"}, "created_at": 1723584319.8654287, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__d44e36b4e9777c29a7cbc92e9f91ef6f\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__d44e36b4e9777c29a7cbc92e9f91ef6f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_liquidated >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_liquidated", "file_key_name": "models.perp_position_liquidated_base_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_liquidated", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_position_liquidated_base_sepolia_contract.0a66db5700": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_contract.0a66db5700", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_position_liquidated_base_sepolia_contract"], "alias": "not_null_perp_position_liquidated_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8698204, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_position_liquidated_base_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_base_sepolia_block_timestamp.1700de694b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_block_timestamp.1700de694b", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_position_liquidated_base_sepolia_block_timestamp"], "alias": "not_null_perp_position_liquidated_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8714464, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_position_liquidated_base_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_account_liquidation_attempt_base_sepolia_id.64895ed40b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_account_liquidation_attempt_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_account_liquidation_attempt_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_account_liquidation_attempt_base_sepolia_id.64895ed40b", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "unique_perp_account_liquidation_attempt_base_sepolia_id"], "alias": "unique_perp_account_liquidation_attempt_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8730493, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_account_liquidation_attempt_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_account_liquidation_attempt_base_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_id.fa21a229e8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidation_attempt_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_id.fa21a229e8", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_base_sepolia_id"], "alias": "not_null_perp_account_liquidation_attempt_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.874634, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_account_liquidation_attempt_base_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_account_id.72dba0b474": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_7425045e61c0e9f721ff1e0c8c42cc33.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_account_id.72dba0b474", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_base_sepolia_account_id"], "alias": "not_null_perp_account_liquidat_7425045e61c0e9f721ff1e0c8c42cc33", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_7425045e61c0e9f721ff1e0c8c42cc33", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_account_liquidat_7425045e61c0e9f721ff1e0c8c42cc33"}, "created_at": 1723584319.8764505, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_7425045e61c0e9f721ff1e0c8c42cc33\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_7425045e61c0e9f721ff1e0c8c42cc33.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_account_liquidation_attempt_base_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_account_id__True__0.d9d7f88802": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__de3912ca0eeebc30d0bd44a0e1324f6e.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_account_id__True__0.d9d7f88802", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__de3912ca0eeebc30d0bd44a0e1324f6e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__de3912ca0eeebc30d0bd44a0e1324f6e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__de3912ca0eeebc30d0bd44a0e1324f6e"}, "created_at": 1723584319.8780744, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__de3912ca0eeebc30d0bd44a0e1324f6e\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__de3912ca0eeebc30d0bd44a0e1324f6e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_account_liquidation_attempt_base_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_block_number.c00ff06028": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_f30b280f2a8fcd7526653cd4fcb20ab9.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_block_number.c00ff06028", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_base_sepolia_block_number"], "alias": "not_null_perp_account_liquidat_f30b280f2a8fcd7526653cd4fcb20ab9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_f30b280f2a8fcd7526653cd4fcb20ab9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_account_liquidat_f30b280f2a8fcd7526653cd4fcb20ab9"}, "created_at": 1723584319.8822567, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_f30b280f2a8fcd7526653cd4fcb20ab9\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_f30b280f2a8fcd7526653cd4fcb20ab9.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.perp_account_liquidation_attempt_base_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_reward.41da25d087": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_sepolia_reward", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidation_attempt_base_sepolia_reward.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_reward.41da25d087", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_base_sepolia_reward"], "alias": "not_null_perp_account_liquidation_attempt_base_sepolia_reward", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8839114, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_sepolia_reward.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect reward\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\nwhere reward is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "reward", "file_key_name": "models.perp_account_liquidation_attempt_base_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "reward", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_reward__True__0.d1fe263182": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_reward__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__163bbc57a8dc9538aa2432e5b8005522.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_reward__True__0.d1fe263182", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_reward__True__0"], "alias": "dbt_utils_accepted_range_perp__163bbc57a8dc9538aa2432e5b8005522", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__163bbc57a8dc9538aa2432e5b8005522", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__163bbc57a8dc9538aa2432e5b8005522"}, "created_at": 1723584319.885537, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__163bbc57a8dc9538aa2432e5b8005522\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__163bbc57a8dc9538aa2432e5b8005522.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not reward >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "reward", "file_key_name": "models.perp_account_liquidation_attempt_base_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "reward", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_block_timestamp.b212643602": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_ef6e9d962c8f62d80fbce53e767de544.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_block_timestamp.b212643602", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_base_sepolia_block_timestamp"], "alias": "not_null_perp_account_liquidat_ef6e9d962c8f62d80fbce53e767de544", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_ef6e9d962c8f62d80fbce53e767de544", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_account_liquidat_ef6e9d962c8f62d80fbce53e767de544"}, "created_at": 1723584319.8896635, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_ef6e9d962c8f62d80fbce53e767de544\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_ef6e9d962c8f62d80fbce53e767de544.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_account_liquidation_attempt_base_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_contract.5a7ac10d9d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidation_attempt_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_contract.5a7ac10d9d", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_base_sepolia_contract"], "alias": "not_null_perp_account_liquidation_attempt_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8913124, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_account_liquidation_attempt_base_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_event_name.5a524744d4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_6a9bdb905f130851e6f1770ae67db387.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_event_name.5a524744d4", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_base_sepolia_event_name"], "alias": "not_null_perp_account_liquidat_6a9bdb905f130851e6f1770ae67db387", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_6a9bdb905f130851e6f1770ae67db387", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_account_liquidat_6a9bdb905f130851e6f1770ae67db387"}, "created_at": 1723584319.8929296, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_6a9bdb905f130851e6f1770ae67db387\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_6a9bdb905f130851e6f1770ae67db387.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_account_liquidation_attempt_base_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_account_liquidation_attempt_base_sepolia_event_name__AccountLiquidationAttempt.7e035fbfbd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_account_liquidation_attempt_base_sepolia_event_name__AccountLiquidationAttempt", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_account_l_67eca61ac1b5aae2bd26cd263656e075.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_account_liquidation_attempt_base_sepolia_event_name__AccountLiquidationAttempt.7e035fbfbd", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "accepted_values_perp_account_liquidation_attempt_base_sepolia_event_name__AccountLiquidationAttempt"], "alias": "accepted_values_perp_account_l_67eca61ac1b5aae2bd26cd263656e075", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_account_l_67eca61ac1b5aae2bd26cd263656e075", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_perp_account_l_67eca61ac1b5aae2bd26cd263656e075"}, "created_at": 1723584319.8945642, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_account_l_67eca61ac1b5aae2bd26cd263656e075\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_account_l_67eca61ac1b5aae2bd26cd263656e075.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'AccountLiquidationAttempt'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_account_liquidation_attempt_base_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["AccountLiquidationAttempt"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_transaction_hash.18ed9c33a9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_11cab9b0e41c1ca8db32ddae42bfb3f6.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_transaction_hash.18ed9c33a9", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_base_sepolia_transaction_hash"], "alias": "not_null_perp_account_liquidat_11cab9b0e41c1ca8db32ddae42bfb3f6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_11cab9b0e41c1ca8db32ddae42bfb3f6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_account_liquidat_11cab9b0e41c1ca8db32ddae42bfb3f6"}, "created_at": 1723584319.8986785, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_11cab9b0e41c1ca8db32ddae42bfb3f6\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_11cab9b0e41c1ca8db32ddae42bfb3f6.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_account_liquidation_attempt_base_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_full_liquidation.4544a98926": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_sepolia_full_liquidation", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_1ee4bf4dc8f47c61291654f150f2e068.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_full_liquidation.4544a98926", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_base_sepolia_full_liquidation"], "alias": "not_null_perp_account_liquidat_1ee4bf4dc8f47c61291654f150f2e068", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_1ee4bf4dc8f47c61291654f150f2e068", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_account_liquidat_1ee4bf4dc8f47c61291654f150f2e068"}, "created_at": 1723584319.9003131, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_1ee4bf4dc8f47c61291654f150f2e068\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_1ee4bf4dc8f47c61291654f150f2e068.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect full_liquidation\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\nwhere full_liquidation is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "full_liquidation", "file_key_name": "models.perp_account_liquidation_attempt_base_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "full_liquidation", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_sepolia_block_timestamp.a0b63e8833": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_block_timestamp.a0b63e8833", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_collateral_modified_base_sepolia_block_timestamp"], "alias": "not_null_perp_collateral_modified_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9018958, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_sepolia_contract.c669409e90": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_contract.c669409e90", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_collateral_modified_base_sepolia_contract"], "alias": "not_null_perp_collateral_modified_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9036329, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_sepolia_event_name.05505fea35": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_event_name.05505fea35", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_collateral_modified_base_sepolia_event_name"], "alias": "not_null_perp_collateral_modified_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9052052, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_collateral_modified_base_sepolia_event_name__CollateralModified.35bbd5a11f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_collateral_modified_base_sepolia_event_name__CollateralModified", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_collatera_4aa5a3b1883058d72748a519b4a291f7.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_collateral_modified_base_sepolia_event_name__CollateralModified.35bbd5a11f", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "accepted_values_perp_collateral_modified_base_sepolia_event_name__CollateralModified"], "alias": "accepted_values_perp_collatera_4aa5a3b1883058d72748a519b4a291f7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_collatera_4aa5a3b1883058d72748a519b4a291f7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_perp_collatera_4aa5a3b1883058d72748a519b4a291f7"}, "created_at": 1723584319.9067984, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_collatera_4aa5a3b1883058d72748a519b4a291f7\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_collatera_4aa5a3b1883058d72748a519b4a291f7.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'CollateralModified'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["CollateralModified"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_sepolia_block_number.5818313783": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_block_number.5818313783", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_collateral_modified_base_sepolia_block_number"], "alias": "not_null_perp_collateral_modified_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9109013, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_sepolia_synth_market_id.6b585142fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_sepolia_synth_market_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_synth_market_id.6b585142fd", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_collateral_modified_base_sepolia_synth_market_id"], "alias": "not_null_perp_collateral_modified_base_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9125247, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_synth_market_id__True__0.e6426004ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__f5c3aec99c1be7b2af186f36b87ce820.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_synth_market_id__True__0.e6426004ec", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__f5c3aec99c1be7b2af186f36b87ce820", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__f5c3aec99c1be7b2af186f36b87ce820", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__f5c3aec99c1be7b2af186f36b87ce820"}, "created_at": 1723584319.9141543, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__f5c3aec99c1be7b2af186f36b87ce820\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__f5c3aec99c1be7b2af186f36b87ce820.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.unique_perp_collateral_modified_base_sepolia_id.df76a33926": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_collateral_modified_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_collateral_modified_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_collateral_modified_base_sepolia_id.df76a33926", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "unique_perp_collateral_modified_base_sepolia_id"], "alias": "unique_perp_collateral_modified_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.919631, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_collateral_modified_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_sepolia_id.0306c59b13": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_id.0306c59b13", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_collateral_modified_base_sepolia_id"], "alias": "not_null_perp_collateral_modified_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9217932, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_sepolia_sender.c5a5dbc794": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_sender.c5a5dbc794", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_collateral_modified_base_sepolia_sender"], "alias": "not_null_perp_collateral_modified_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9234593, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_sepolia_account_id.41a4ca06b6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_account_id.41a4ca06b6", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_collateral_modified_base_sepolia_account_id"], "alias": "not_null_perp_collateral_modified_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.925222, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_account_id__True__0.4061e8095e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__b545f062eb0610bae8a1add02d198b2f.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_account_id__True__0.4061e8095e", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__b545f062eb0610bae8a1add02d198b2f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__b545f062eb0610bae8a1add02d198b2f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__b545f062eb0610bae8a1add02d198b2f"}, "created_at": 1723584319.9268756, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__b545f062eb0610bae8a1add02d198b2f\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__b545f062eb0610bae8a1add02d198b2f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_collateral_modified_base_sepolia_transaction_hash.ccfe215417": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_transaction_hash.ccfe215417", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_collateral_modified_base_sepolia_transaction_hash"], "alias": "not_null_perp_collateral_modified_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.931141, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_block_timestamp.2056bbf796": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_e_a6874c0dda750d58015d0a2ec6c1340d.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_block_timestamp.2056bbf796", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_previous_order_expired_base_sepolia_block_timestamp"], "alias": "not_null_perp_previous_order_e_a6874c0dda750d58015d0a2ec6c1340d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_previous_order_e_a6874c0dda750d58015d0a2ec6c1340d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_previous_order_e_a6874c0dda750d58015d0a2ec6c1340d"}, "created_at": 1723584319.932817, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_previous_order_e_a6874c0dda750d58015d0a2ec6c1340d\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_e_a6874c0dda750d58015d0a2ec6c1340d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_previous_order_expired_base_sepolia_id.a9c841c5f7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_previous_order_expired_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_previous_order_expired_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_previous_order_expired_base_sepolia_id.a9c841c5f7", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "unique_perp_previous_order_expired_base_sepolia_id"], "alias": "unique_perp_previous_order_expired_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9344141, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_previous_order_expired_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_id.35380c8364": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_id.35380c8364", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_previous_order_expired_base_sepolia_id"], "alias": "not_null_perp_previous_order_expired_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9360523, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_block_number.b44f0bbf4b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_block_number.b44f0bbf4b", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_previous_order_expired_base_sepolia_block_number"], "alias": "not_null_perp_previous_order_expired_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.937647, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_market_id.c3963e0426": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_base_sepolia_market_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_market_id.c3963e0426", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_previous_order_expired_base_sepolia_market_id"], "alias": "not_null_perp_previous_order_expired_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9393947, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_market_id__True__0.92c22b0d98": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__9395ead0982c35ab3dce9e81e002ce88.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_market_id__True__0.92c22b0d98", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__9395ead0982c35ab3dce9e81e002ce88", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__9395ead0982c35ab3dce9e81e002ce88", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__9395ead0982c35ab3dce9e81e002ce88"}, "created_at": 1723584319.941008, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__9395ead0982c35ab3dce9e81e002ce88\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__9395ead0982c35ab3dce9e81e002ce88.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_event_name.94027cf5fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_event_name.94027cf5fd", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_previous_order_expired_base_sepolia_event_name"], "alias": "not_null_perp_previous_order_expired_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9452553, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired.1a5af6cb8b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_previous__924b97398579b32f41492d0a8a89a41e.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired.1a5af6cb8b", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "accepted_values_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired"], "alias": "accepted_values_perp_previous__924b97398579b32f41492d0a8a89a41e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_previous__924b97398579b32f41492d0a8a89a41e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_perp_previous__924b97398579b32f41492d0a8a89a41e"}, "created_at": 1723584319.9468899, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_previous__924b97398579b32f41492d0a8a89a41e\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_previous__924b97398579b32f41492d0a8a89a41e.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'PreviousOrderExpired'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PreviousOrderExpired"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_transaction_hash.47402badfc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_e_e38903d61a1ff0cf57766e5049ddde82.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_transaction_hash.47402badfc", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_previous_order_expired_base_sepolia_transaction_hash"], "alias": "not_null_perp_previous_order_e_e38903d61a1ff0cf57766e5049ddde82", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_previous_order_e_e38903d61a1ff0cf57766e5049ddde82", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_previous_order_e_e38903d61a1ff0cf57766e5049ddde82"}, "created_at": 1723584319.9508064, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_previous_order_e_e38903d61a1ff0cf57766e5049ddde82\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_e_e38903d61a1ff0cf57766e5049ddde82.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_account_id.358a8acfe7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_account_id.358a8acfe7", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_previous_order_expired_base_sepolia_account_id"], "alias": "not_null_perp_previous_order_expired_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9528558, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_account_id__True__0.7ed9f71601": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__f3628702694c24e67ee15061ee68a534.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_account_id__True__0.7ed9f71601", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__f3628702694c24e67ee15061ee68a534", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__f3628702694c24e67ee15061ee68a534", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__f3628702694c24e67ee15061ee68a534"}, "created_at": 1723584319.9544718, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__f3628702694c24e67ee15061ee68a534\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__f3628702694c24e67ee15061ee68a534.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_contract.d5ae4c2080": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_contract.d5ae4c2080", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_previous_order_expired_base_sepolia_contract"], "alias": "not_null_perp_previous_order_expired_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9585857, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_sepolia_market_name.2335002c7c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_sepolia_market_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_sepolia_market_name.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_market_name.2335002c7c", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_created_base_sepolia_market_name"], "alias": "not_null_perp_market_created_base_sepolia_market_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9602165, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_market_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"\nwhere market_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_name", "file_key_name": "models.perp_market_created_base_sepolia", "attached_node": "model.synthetix.perp_market_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_name", "model": "{{ get_where_subquery(ref('perp_market_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_market_created_base_sepolia_id.9af5f482a3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_market_created_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_market_created_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_market_created_base_sepolia_id.9af5f482a3", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "unique_perp_market_created_base_sepolia_id"], "alias": "unique_perp_market_created_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9617968, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_market_created_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_market_created_base_sepolia", "attached_node": "model.synthetix.perp_market_created_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_market_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_sepolia_id.3651be9d50": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_id.3651be9d50", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_created_base_sepolia_id"], "alias": "not_null_perp_market_created_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9633992, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_market_created_base_sepolia", "attached_node": "model.synthetix.perp_market_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_market_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_sepolia_market_symbol.b99df1cd19": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_sepolia_market_symbol.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_market_symbol.b99df1cd19", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_created_base_sepolia_market_symbol"], "alias": "not_null_perp_market_created_base_sepolia_market_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9649882, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.perp_market_created_base_sepolia", "attached_node": "model.synthetix.perp_market_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('perp_market_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_sepolia_event_name.594bfb776d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_event_name.594bfb776d", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_created_base_sepolia_event_name"], "alias": "not_null_perp_market_created_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9666522, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_market_created_base_sepolia", "attached_node": "model.synthetix.perp_market_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_market_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_market_created_base_sepolia_event_name__MarketCreated.da7f65c9d0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_market_created_base_sepolia_event_name__MarketCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_market_cr_b60bbfed45b45d6f23aef96b3bd0d35c.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_market_created_base_sepolia_event_name__MarketCreated.da7f65c9d0", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "accepted_values_perp_market_created_base_sepolia_event_name__MarketCreated"], "alias": "accepted_values_perp_market_cr_b60bbfed45b45d6f23aef96b3bd0d35c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_market_cr_b60bbfed45b45d6f23aef96b3bd0d35c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_perp_market_cr_b60bbfed45b45d6f23aef96b3bd0d35c"}, "created_at": 1723584319.9682765, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_market_cr_b60bbfed45b45d6f23aef96b3bd0d35c\") }}", "language": "sql", "refs": [{"name": "perp_market_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_market_cr_b60bbfed45b45d6f23aef96b3bd0d35c.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_market_created_base_sepolia", "attached_node": "model.synthetix.perp_market_created_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_market_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_sepolia_block_number.f39a76515f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_block_number.f39a76515f", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_created_base_sepolia_block_number"], "alias": "not_null_perp_market_created_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9724915, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.perp_market_created_base_sepolia", "attached_node": "model.synthetix.perp_market_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_market_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_sepolia_block_timestamp.087de488f9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_block_timestamp.087de488f9", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_created_base_sepolia_block_timestamp"], "alias": "not_null_perp_market_created_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9741397, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_market_created_base_sepolia", "attached_node": "model.synthetix.perp_market_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_market_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_sepolia_contract.9b5b7d63ca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_contract.9b5b7d63ca", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_created_base_sepolia_contract"], "alias": "not_null_perp_market_created_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9757774, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_market_created_base_sepolia", "attached_node": "model.synthetix.perp_market_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_market_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_sepolia_perps_market_id.30bf02bc46": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_sepolia_perps_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_sepolia_perps_market_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_perps_market_id.30bf02bc46", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_created_base_sepolia_perps_market_id"], "alias": "not_null_perp_market_created_base_sepolia_perps_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9773731, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_perps_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect perps_market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"\nwhere perps_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "perps_market_id", "file_key_name": "models.perp_market_created_base_sepolia", "attached_node": "model.synthetix.perp_market_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "perps_market_id", "model": "{{ get_where_subquery(ref('perp_market_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_market_created_base_sepolia_perps_market_id__True__0.89e2162ed5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_market_created_base_sepolia_perps_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__6ddccf3112e80ef886edae57ff38daa3.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_created_base_sepolia_perps_market_id__True__0.89e2162ed5", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_market_created_base_sepolia_perps_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__6ddccf3112e80ef886edae57ff38daa3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__6ddccf3112e80ef886edae57ff38daa3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__6ddccf3112e80ef886edae57ff38daa3"}, "created_at": 1723584319.9789846, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__6ddccf3112e80ef886edae57ff38daa3\") }}", "language": "sql", "refs": [{"name": "perp_market_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__6ddccf3112e80ef886edae57ff38daa3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not perps_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "perps_market_id", "file_key_name": "models.perp_market_created_base_sepolia", "attached_node": "model.synthetix.perp_market_created_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "perps_market_id", "model": "{{ get_where_subquery(ref('perp_market_created_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_market_created_base_sepolia_transaction_hash.83d1940949": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_transaction_hash.83d1940949", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_created_base_sepolia_transaction_hash"], "alias": "not_null_perp_market_created_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9830859, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_market_created_base_sepolia", "attached_node": "model.synthetix.perp_market_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_market_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_sepolia_event_name.7088270e38": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_sepolia_event_name.7088270e38", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_charged_base_sepolia_event_name"], "alias": "not_null_perp_interest_charged_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9847264, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_interest_charged_base_sepolia_event_name__InterestCharged.b607f55a72": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_interest_charged_base_sepolia_event_name__InterestCharged", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_interest__229673e7ed7cad4e966a1e3e27b5f808.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_interest_charged_base_sepolia_event_name__InterestCharged.b607f55a72", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "accepted_values_perp_interest_charged_base_sepolia_event_name__InterestCharged"], "alias": "accepted_values_perp_interest__229673e7ed7cad4e966a1e3e27b5f808", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_interest__229673e7ed7cad4e966a1e3e27b5f808", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_perp_interest__229673e7ed7cad4e966a1e3e27b5f808"}, "created_at": 1723584319.9864895, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_interest__229673e7ed7cad4e966a1e3e27b5f808\") }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_interest__229673e7ed7cad4e966a1e3e27b5f808.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'InterestCharged'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.perp_interest_charged_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["InterestCharged"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_sepolia_contract.ad4bd5bb4b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_sepolia_contract.ad4bd5bb4b", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_charged_base_sepolia_contract"], "alias": "not_null_perp_interest_charged_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9904637, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_sepolia_transaction_hash.7d20550a93": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_sepolia_transaction_hash.7d20550a93", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_charged_base_sepolia_transaction_hash"], "alias": "not_null_perp_interest_charged_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9920874, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_sepolia_block_timestamp.6723ccf2f9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_sepolia_block_timestamp.6723ccf2f9", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_charged_base_sepolia_block_timestamp"], "alias": "not_null_perp_interest_charged_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9938214, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_interest_charged_base_sepolia_id.7023b7407d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_interest_charged_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_interest_charged_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_interest_charged_base_sepolia_id.7023b7407d", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "unique_perp_interest_charged_base_sepolia_id"], "alias": "unique_perp_interest_charged_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9954383, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_interest_charged_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.perp_interest_charged_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_sepolia_id.a8d5a81503": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_sepolia_id.a8d5a81503", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_charged_base_sepolia_id"], "alias": "not_null_perp_interest_charged_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9970226, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_sepolia_block_number.e9b7b9cd80": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_sepolia_block_number.e9b7b9cd80", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_charged_base_sepolia_block_number"], "alias": "not_null_perp_interest_charged_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9986157, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_sepolia_account_id.ec1ea115af": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_sepolia_account_id.ec1ea115af", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_charged_base_sepolia_account_id"], "alias": "not_null_perp_interest_charged_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.0003216, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_base_sepolia_account_id__True__0.7595935b71": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_interest_charged_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__a231ce38ffc5928ab779f075323dcb4d.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_base_sepolia_account_id__True__0.7595935b71", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_interest_charged_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__a231ce38ffc5928ab779f075323dcb4d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__a231ce38ffc5928ab779f075323dcb4d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__a231ce38ffc5928ab779f075323dcb4d"}, "created_at": 1723584320.0019133, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__a231ce38ffc5928ab779f075323dcb4d\") }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__a231ce38ffc5928ab779f075323dcb4d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.perp_interest_charged_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_block_timestamp.609017baeb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_up_fee36b14df770498ea315ef2b3a75182.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_block_timestamp.609017baeb", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_rate_updated_base_sepolia_block_timestamp"], "alias": "not_null_perp_interest_rate_up_fee36b14df770498ea315ef2b3a75182", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_interest_rate_up_fee36b14df770498ea315ef2b3a75182", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_interest_rate_up_fee36b14df770498ea315ef2b3a75182"}, "created_at": 1723584320.0060377, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_interest_rate_up_fee36b14df770498ea315ef2b3a75182\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_fee36b14df770498ea315ef2b3a75182.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_interest_rate_updated_base_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_event_name.30275ad446": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_event_name.30275ad446", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_rate_updated_base_sepolia_event_name"], "alias": "not_null_perp_interest_rate_updated_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.0079024, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_interest_rate_updated_base_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_interest_rate_updated_base_sepolia_event_name__InterestRateUpdated.5d317c53f3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_interest_rate_updated_base_sepolia_event_name__InterestRateUpdated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_interest__03eef0b63f71cd3c0c9a527343a0518f.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_interest_rate_updated_base_sepolia_event_name__InterestRateUpdated.5d317c53f3", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "accepted_values_perp_interest_rate_updated_base_sepolia_event_name__InterestRateUpdated"], "alias": "accepted_values_perp_interest__03eef0b63f71cd3c0c9a527343a0518f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_interest__03eef0b63f71cd3c0c9a527343a0518f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_perp_interest__03eef0b63f71cd3c0c9a527343a0518f"}, "created_at": 1723584320.0095394, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_interest__03eef0b63f71cd3c0c9a527343a0518f\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_interest__03eef0b63f71cd3c0c9a527343a0518f.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'InterestRateUpdated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_interest_rate_updated_base_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["InterestRateUpdated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_transaction_hash.3601647535": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_up_fa062a57a8dbd18074c526d583abb4ae.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_transaction_hash.3601647535", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_rate_updated_base_sepolia_transaction_hash"], "alias": "not_null_perp_interest_rate_up_fa062a57a8dbd18074c526d583abb4ae", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_interest_rate_up_fa062a57a8dbd18074c526d583abb4ae", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_interest_rate_up_fa062a57a8dbd18074c526d583abb4ae"}, "created_at": 1723584320.0136876, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_interest_rate_up_fa062a57a8dbd18074c526d583abb4ae\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_fa062a57a8dbd18074c526d583abb4ae.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_interest_rate_updated_base_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_interest_rate.7f5f7342cd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_sepolia_interest_rate", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_base_sepolia_interest_rate.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_interest_rate.7f5f7342cd", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_rate_updated_base_sepolia_interest_rate"], "alias": "not_null_perp_interest_rate_updated_base_sepolia_interest_rate", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.0153282, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_interest_rate.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect interest_rate\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_base_sepolia\"\nwhere interest_rate is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest_rate", "file_key_name": "models.perp_interest_rate_updated_base_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "interest_rate", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_interest_rate__True__0.c114557661": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_interest_rate__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__0e3a28ddf01309c6736ad211d083eb1a.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_interest_rate__True__0.c114557661", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_interest_rate__True__0"], "alias": "dbt_utils_accepted_range_perp__0e3a28ddf01309c6736ad211d083eb1a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__0e3a28ddf01309c6736ad211d083eb1a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__0e3a28ddf01309c6736ad211d083eb1a"}, "created_at": 1723584320.0169442, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__0e3a28ddf01309c6736ad211d083eb1a\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__0e3a28ddf01309c6736ad211d083eb1a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not interest_rate >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest_rate", "file_key_name": "models.perp_interest_rate_updated_base_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "interest_rate", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_block_number.eeff2c078a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_block_number.eeff2c078a", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_rate_updated_base_sepolia_block_number"], "alias": "not_null_perp_interest_rate_updated_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.021176, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.perp_interest_rate_updated_base_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_interest_rate_updated_base_sepolia_id.2295efc83a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_interest_rate_updated_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_interest_rate_updated_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_interest_rate_updated_base_sepolia_id.2295efc83a", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "unique_perp_interest_rate_updated_base_sepolia_id"], "alias": "unique_perp_interest_rate_updated_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.02278, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_interest_rate_updated_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_interest_rate_updated_base_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_id.24c18054e7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_id.24c18054e7", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_rate_updated_base_sepolia_id"], "alias": "not_null_perp_interest_rate_updated_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.0243897, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_interest_rate_updated_base_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_contract.ccc079c59c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_contract.ccc079c59c", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_rate_updated_base_sepolia_contract"], "alias": "not_null_perp_interest_rate_updated_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.0259635, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_interest_rate_updated_base_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_super_market_id.68b732b580": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_sepolia_super_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_up_4db0f289bb45575dc6d471b64ca8bdeb.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_super_market_id.68b732b580", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_rate_updated_base_sepolia_super_market_id"], "alias": "not_null_perp_interest_rate_up_4db0f289bb45575dc6d471b64ca8bdeb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_interest_rate_up_4db0f289bb45575dc6d471b64ca8bdeb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_perp_interest_rate_up_4db0f289bb45575dc6d471b64ca8bdeb"}, "created_at": 1723584320.0277095, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_interest_rate_up_4db0f289bb45575dc6d471b64ca8bdeb\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_4db0f289bb45575dc6d471b64ca8bdeb.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect super_market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_base_sepolia\"\nwhere super_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "super_market_id", "file_key_name": "models.perp_interest_rate_updated_base_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "super_market_id", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_super_market_id__True__0.cc3fb6ff17": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_super_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__1f410c4654f898aaeb357aba5018fb9c.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_super_market_id__True__0.cc3fb6ff17", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_super_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__1f410c4654f898aaeb357aba5018fb9c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__1f410c4654f898aaeb357aba5018fb9c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_perp__1f410c4654f898aaeb357aba5018fb9c"}, "created_at": 1723584320.0293138, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__1f410c4654f898aaeb357aba5018fb9c\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__1f410c4654f898aaeb357aba5018fb9c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not super_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "super_market_id", "file_key_name": "models.perp_interest_rate_updated_base_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "super_market_id", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_buyback_processed_base_sepolia_id.e10820e4d2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_id.e10820e4d2", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "not_null_buyback_processed_base_sepolia_id"], "alias": "not_null_buyback_processed_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.035375, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_buyback_processed_base_sepolia_id.c3e20dc22e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_buyback_processed_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_buyback_processed_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.unique_buyback_processed_base_sepolia_id.c3e20dc22e", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "unique_buyback_processed_base_sepolia_id"], "alias": "unique_buyback_processed_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.0370212, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/unique_buyback_processed_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_sepolia_block_number.73166259d7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_block_number.73166259d7", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "not_null_buyback_processed_base_sepolia_block_number"], "alias": "not_null_buyback_processed_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.0386443, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_sepolia_block_timestamp.c83a09ad33": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_block_timestamp.c83a09ad33", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "not_null_buyback_processed_base_sepolia_block_timestamp"], "alias": "not_null_buyback_processed_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.04088, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_sepolia_transaction_hash.a38d34613b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_transaction_hash.a38d34613b", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "not_null_buyback_processed_base_sepolia_transaction_hash"], "alias": "not_null_buyback_processed_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.0425305, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_sepolia_event_name.755deb59b2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_event_name.755deb59b2", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "not_null_buyback_processed_base_sepolia_event_name"], "alias": "not_null_buyback_processed_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.0441604, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_buyback_processed_base_sepolia_event_name__BuybackProcessed.16f3176222": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_buyback_processed_base_sepolia_event_name__BuybackProcessed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_buyback_proces_278b574eac2c05984e56351d66a915ac.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.accepted_values_buyback_processed_base_sepolia_event_name__BuybackProcessed.16f3176222", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "accepted_values_buyback_processed_base_sepolia_event_name__BuybackProcessed"], "alias": "accepted_values_buyback_proces_278b574eac2c05984e56351d66a915ac", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_buyback_proces_278b574eac2c05984e56351d66a915ac", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_buyback_proces_278b574eac2c05984e56351d66a915ac"}, "created_at": 1723584320.0457683, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_buyback_proces_278b574eac2c05984e56351d66a915ac\") }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/accepted_values_buyback_proces_278b574eac2c05984e56351d66a915ac.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'BuybackProcessed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["BuybackProcessed"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_sepolia_contract.b27543f734": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_contract.b27543f734", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "not_null_buyback_processed_base_sepolia_contract"], "alias": "not_null_buyback_processed_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.049852, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_sepolia_buyer.4fd04cc021": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_sepolia_buyer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_sepolia_buyer.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_buyer.4fd04cc021", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "not_null_buyback_processed_base_sepolia_buyer"], "alias": "not_null_buyback_processed_base_sepolia_buyer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.0515177, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_buyer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect buyer\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"\nwhere buyer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "buyer", "file_key_name": "models.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "buyer", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_sepolia_snx.52b876a9f7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_sepolia_snx", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_sepolia_snx.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_snx.52b876a9f7", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "not_null_buyback_processed_base_sepolia_snx"], "alias": "not_null_buyback_processed_base_sepolia_snx", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.053112, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_snx.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect snx\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"\nwhere snx is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx", "file_key_name": "models.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "snx", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_sepolia_snx__True__0.628aa3b85b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_buyback_processed_base_sepolia_snx__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_buyba_8430c2349004ae4699c6275eda5a9b16.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_sepolia_snx__True__0.628aa3b85b", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "dbt_utils_accepted_range_buyback_processed_base_sepolia_snx__True__0"], "alias": "dbt_utils_accepted_range_buyba_8430c2349004ae4699c6275eda5a9b16", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_buyba_8430c2349004ae4699c6275eda5a9b16", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_buyba_8430c2349004ae4699c6275eda5a9b16"}, "created_at": 1723584320.0548763, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_buyba_8430c2349004ae4699c6275eda5a9b16\") }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_buyba_8430c2349004ae4699c6275eda5a9b16.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not snx >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx", "file_key_name": "models.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "snx", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_buyback_processed_base_sepolia_usd.397135feed": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_sepolia_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_sepolia_usd.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_usd.397135feed", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "not_null_buyback_processed_base_sepolia_usd"], "alias": "not_null_buyback_processed_base_sepolia_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.0590014, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect usd\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"\nwhere usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd", "file_key_name": "models.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "usd", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_sepolia_usd__True__0.f23761f17f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_buyback_processed_base_sepolia_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_buyba_4c16679cd6617813c00fd0278fc36e29.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_sepolia_usd__True__0.f23761f17f", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "dbt_utils_accepted_range_buyback_processed_base_sepolia_usd__True__0"], "alias": "dbt_utils_accepted_range_buyba_4c16679cd6617813c00fd0278fc36e29", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_buyba_4c16679cd6617813c00fd0278fc36e29", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_buyba_4c16679cd6617813c00fd0278fc36e29"}, "created_at": 1723584320.060643, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_buyba_4c16679cd6617813c00fd0278fc36e29\") }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_buyba_4c16679cd6617813c00fd0278fc36e29.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd", "file_key_name": "models.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "usd", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_account_created_base_sepolia_owner.adee48eb04": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_sepolia_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_sepolia_owner.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_sepolia_owner.adee48eb04", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_account_created_base_sepolia_owner"], "alias": "not_null_core_account_created_base_sepolia_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.090449, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.core_account_created_base_sepolia", "attached_node": "model.synthetix.core_account_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('core_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_base_sepolia_account_id.fb36b0b793": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_sepolia_account_id.fb36b0b793", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_account_created_base_sepolia_account_id"], "alias": "not_null_core_account_created_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.092171, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_account_created_base_sepolia", "attached_node": "model.synthetix.core_account_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_account_created_base_sepolia_account_id__True__0.dd17e6e171": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_account_created_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__eab389880894a47bfee753ee70198494.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_account_created_base_sepolia_account_id__True__0.dd17e6e171", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_account_created_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__eab389880894a47bfee753ee70198494", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__eab389880894a47bfee753ee70198494", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__eab389880894a47bfee753ee70198494"}, "created_at": 1723584320.0938292, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__eab389880894a47bfee753ee70198494\") }}", "language": "sql", "refs": [{"name": "core_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__eab389880894a47bfee753ee70198494.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_account_created_base_sepolia", "attached_node": "model.synthetix.core_account_created_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_account_created_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_account_created_base_sepolia_id.804b852bd8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_sepolia_id.804b852bd8", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_account_created_base_sepolia_id"], "alias": "not_null_core_account_created_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.098119, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_account_created_base_sepolia", "attached_node": "model.synthetix.core_account_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_account_created_base_sepolia_id.3342caea87": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_account_created_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_account_created_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_account_created_base_sepolia_id.3342caea87", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_account_created_base_sepolia_id"], "alias": "unique_core_account_created_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.0997808, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_account_created_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_account_created_base_sepolia", "attached_node": "model.synthetix.core_account_created_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_base_sepolia_transaction_hash.53f2200f19": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_sepolia_transaction_hash.53f2200f19", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_account_created_base_sepolia_transaction_hash"], "alias": "not_null_core_account_created_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1015193, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_account_created_base_sepolia", "attached_node": "model.synthetix.core_account_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_base_sepolia_block_number.01a77f24bc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_sepolia_block_number.01a77f24bc", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_account_created_base_sepolia_block_number"], "alias": "not_null_core_account_created_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1031394, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_account_created_base_sepolia", "attached_node": "model.synthetix.core_account_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_base_sepolia_block_timestamp.56ac347427": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_sepolia_block_timestamp.56ac347427", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_account_created_base_sepolia_block_timestamp"], "alias": "not_null_core_account_created_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1047206, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_account_created_base_sepolia", "attached_node": "model.synthetix.core_account_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_base_sepolia_event_name.4849c8704e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_sepolia_event_name.4849c8704e", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_account_created_base_sepolia_event_name"], "alias": "not_null_core_account_created_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1062958, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_account_created_base_sepolia", "attached_node": "model.synthetix.core_account_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_account_created_base_sepolia_event_name__AccountCreated.419b9196c4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_account_created_base_sepolia_event_name__AccountCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_account_c_3e560a33ed75ab9f3872a29c8a231ca8.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_account_created_base_sepolia_event_name__AccountCreated.419b9196c4", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_account_created_base_sepolia_event_name__AccountCreated"], "alias": "accepted_values_core_account_c_3e560a33ed75ab9f3872a29c8a231ca8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_account_c_3e560a33ed75ab9f3872a29c8a231ca8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_account_c_3e560a33ed75ab9f3872a29c8a231ca8"}, "created_at": 1723584320.1079416, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_account_c_3e560a33ed75ab9f3872a29c8a231ca8\") }}", "language": "sql", "refs": [{"name": "core_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_account_c_3e560a33ed75ab9f3872a29c8a231ca8.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'AccountCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_account_created_base_sepolia", "attached_node": "model.synthetix.core_account_created_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["AccountCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_base_sepolia_contract.53ca26628e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_sepolia_contract.53ca26628e", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_account_created_base_sepolia_contract"], "alias": "not_null_core_account_created_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1120503, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_account_created_base_sepolia", "attached_node": "model.synthetix.core_account_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_sepolia_contract.f5b6f539eb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_contract.f5b6f539eb", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_delegation_updated_base_sepolia_contract"], "alias": "not_null_core_delegation_updated_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1136873, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_sepolia_id.dcd3b41380": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_id.dcd3b41380", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_delegation_updated_base_sepolia_id"], "alias": "not_null_core_delegation_updated_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1154525, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_delegation_updated_base_sepolia_id.09af5f863a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_delegation_updated_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_delegation_updated_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_delegation_updated_base_sepolia_id.09af5f863a", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_delegation_updated_base_sepolia_id"], "alias": "unique_core_delegation_updated_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1170511, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_delegation_updated_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_sepolia_account_id.eeaa67ead3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_account_id.eeaa67ead3", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_delegation_updated_base_sepolia_account_id"], "alias": "not_null_core_delegation_updated_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1186435, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_account_id__True__0.744442e3e1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__b285d1683b541821a1af29f6f7139b36.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_account_id__True__0.744442e3e1", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_delegation_updated_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__b285d1683b541821a1af29f6f7139b36", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__b285d1683b541821a1af29f6f7139b36", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__b285d1683b541821a1af29f6f7139b36"}, "created_at": 1723584320.1202626, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__b285d1683b541821a1af29f6f7139b36\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b285d1683b541821a1af29f6f7139b36.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_base_sepolia_collateral_type.0ccc2f8e54": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_sepolia_collateral_type.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_collateral_type.0ccc2f8e54", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_delegation_updated_base_sepolia_collateral_type"], "alias": "not_null_core_delegation_updated_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1249216, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_sepolia_pool_id.8e7b343725": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_sepolia_pool_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_pool_id.8e7b343725", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_delegation_updated_base_sepolia_pool_id"], "alias": "not_null_core_delegation_updated_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1265352, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_pool_id__True__0.76dffc3ab3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__ec287bdbeb3be735d4aeade13621291c.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_pool_id__True__0.76dffc3ab3", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_delegation_updated_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__ec287bdbeb3be735d4aeade13621291c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__ec287bdbeb3be735d4aeade13621291c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__ec287bdbeb3be735d4aeade13621291c"}, "created_at": 1723584320.128164, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__ec287bdbeb3be735d4aeade13621291c\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ec287bdbeb3be735d4aeade13621291c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_base_sepolia_sender.ff059463dc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_sender.ff059463dc", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_delegation_updated_base_sepolia_sender"], "alias": "not_null_core_delegation_updated_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.132316, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_sepolia_block_timestamp.d9e4249b7d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_block_timestamp.d9e4249b7d", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_delegation_updated_base_sepolia_block_timestamp"], "alias": "not_null_core_delegation_updated_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.133916, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_sepolia_block_number.d1ae1c451b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_block_number.d1ae1c451b", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_delegation_updated_base_sepolia_block_number"], "alias": "not_null_core_delegation_updated_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1355298, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_sepolia_leverage.b016b358da": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_sepolia_leverage", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_sepolia_leverage.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_leverage.b016b358da", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_delegation_updated_base_sepolia_leverage"], "alias": "not_null_core_delegation_updated_base_sepolia_leverage", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.137275, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_leverage.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect leverage\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere leverage is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "leverage", "file_key_name": "models.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "leverage", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_leverage__True__1000000000000000000__1000000000000000000.bc25b2b948": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_base_sepolia_leverage__True__1000000000000000000__1000000000000000000", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__132ab4d1c8172ce2cb80905b0a0c3cdc.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_leverage__True__1000000000000000000__1000000000000000000.bc25b2b948", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_delegation_updated_base_sepolia_leverage__True__1000000000000000000__1000000000000000000"], "alias": "dbt_utils_accepted_range_core__132ab4d1c8172ce2cb80905b0a0c3cdc", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__132ab4d1c8172ce2cb80905b0a0c3cdc", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__132ab4d1c8172ce2cb80905b0a0c3cdc"}, "created_at": 1723584320.1389022, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__132ab4d1c8172ce2cb80905b0a0c3cdc\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__132ab4d1c8172ce2cb80905b0a0c3cdc.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not leverage >= 1000000000000000000\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not leverage <= 1000000000000000000\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "leverage", "file_key_name": "models.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 1000000000000000000, "max_value": 1000000000000000000, "inclusive": true, "column_name": "leverage", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_base_sepolia_transaction_hash.403e1a44d0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_transaction_hash.403e1a44d0", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_delegation_updated_base_sepolia_transaction_hash"], "alias": "not_null_core_delegation_updated_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1431222, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_sepolia_amount.b946bd0b57": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_sepolia_amount.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_amount.b946bd0b57", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_delegation_updated_base_sepolia_amount"], "alias": "not_null_core_delegation_updated_base_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1447413, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_amount__True__0.c17a0b7ccb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_base_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__abb1b0bc7f310977dda9900b3a5b48d9.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_amount__True__0.c17a0b7ccb", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_delegation_updated_base_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_core__abb1b0bc7f310977dda9900b3a5b48d9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__abb1b0bc7f310977dda9900b3a5b48d9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__abb1b0bc7f310977dda9900b3a5b48d9"}, "created_at": 1723584320.146348, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__abb1b0bc7f310977dda9900b3a5b48d9\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__abb1b0bc7f310977dda9900b3a5b48d9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_base_sepolia_event_name.1eb3a277fa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_event_name.1eb3a277fa", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_delegation_updated_base_sepolia_event_name"], "alias": "not_null_core_delegation_updated_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.150511, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_delegation_updated_base_sepolia_event_name__DelegationUpdated.05fda2d1e2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_delegation_updated_base_sepolia_event_name__DelegationUpdated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_delegatio_3cc50a9d03b2fc3894884bfb42b624bd.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_delegation_updated_base_sepolia_event_name__DelegationUpdated.05fda2d1e2", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_delegation_updated_base_sepolia_event_name__DelegationUpdated"], "alias": "accepted_values_core_delegatio_3cc50a9d03b2fc3894884bfb42b624bd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_delegatio_3cc50a9d03b2fc3894884bfb42b624bd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_delegatio_3cc50a9d03b2fc3894884bfb42b624bd"}, "created_at": 1723584320.152174, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_delegatio_3cc50a9d03b2fc3894884bfb42b624bd\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_delegatio_3cc50a9d03b2fc3894884bfb42b624bd.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'DelegationUpdated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["DelegationUpdated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_sepolia_collateral_type.a340ec02eb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_sepolia_collateral_type.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_collateral_type.a340ec02eb", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_deposited_base_sepolia_collateral_type"], "alias": "not_null_core_deposited_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.156277, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_sepolia_id.0591da203f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_id.0591da203f", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_deposited_base_sepolia_id"], "alias": "not_null_core_deposited_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1578867, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_deposited_base_sepolia_id.3b38f638da": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_deposited_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_deposited_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_deposited_base_sepolia_id.3b38f638da", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_deposited_base_sepolia_id"], "alias": "unique_core_deposited_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1595116, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_deposited_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_sepolia_contract.8dbc5afa3f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_contract.8dbc5afa3f", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_deposited_base_sepolia_contract"], "alias": "not_null_core_deposited_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.161119, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_sepolia_event_name.b7ccc83970": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_event_name.b7ccc83970", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_deposited_base_sepolia_event_name"], "alias": "not_null_core_deposited_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1626933, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_deposited_base_sepolia_event_name__Deposited.2befe04139": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_deposited_base_sepolia_event_name__Deposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_deposited_3f28be051707e07ce49c471e6d63c3f3.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_deposited_base_sepolia_event_name__Deposited.2befe04139", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_deposited_base_sepolia_event_name__Deposited"], "alias": "accepted_values_core_deposited_3f28be051707e07ce49c471e6d63c3f3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_deposited_3f28be051707e07ce49c471e6d63c3f3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_deposited_3f28be051707e07ce49c471e6d63c3f3"}, "created_at": 1723584320.1644406, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_deposited_3f28be051707e07ce49c471e6d63c3f3\") }}", "language": "sql", "refs": [{"name": "core_deposited_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_deposited_3f28be051707e07ce49c471e6d63c3f3.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Deposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Deposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_sepolia_transaction_hash.305ad04c84": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_transaction_hash.305ad04c84", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_deposited_base_sepolia_transaction_hash"], "alias": "not_null_core_deposited_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.168423, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_sepolia_account_id.d414fa2a62": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_account_id.d414fa2a62", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_deposited_base_sepolia_account_id"], "alias": "not_null_core_deposited_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1702037, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_deposited_base_sepolia_account_id__True__0.7619844d60": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_deposited_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__736987a49cbb6d26a37612d9e59d0559.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_sepolia_account_id__True__0.7619844d60", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_deposited_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__736987a49cbb6d26a37612d9e59d0559", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__736987a49cbb6d26a37612d9e59d0559", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__736987a49cbb6d26a37612d9e59d0559"}, "created_at": 1723584320.1718438, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__736987a49cbb6d26a37612d9e59d0559\") }}", "language": "sql", "refs": [{"name": "core_deposited_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__736987a49cbb6d26a37612d9e59d0559.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_deposited_base_sepolia_sender.0468b8397d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_sender.0468b8397d", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_deposited_base_sepolia_sender"], "alias": "not_null_core_deposited_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.176033, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_sepolia_block_timestamp.cbbc8b2a2e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_block_timestamp.cbbc8b2a2e", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_deposited_base_sepolia_block_timestamp"], "alias": "not_null_core_deposited_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1776671, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_sepolia_block_number.e9986d7fcf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_block_number.e9986d7fcf", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_deposited_base_sepolia_block_number"], "alias": "not_null_core_deposited_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1792867, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_sepolia_token_amount.af75bc1896": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_sepolia_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_sepolia_token_amount.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_token_amount.af75bc1896", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_deposited_base_sepolia_token_amount"], "alias": "not_null_core_deposited_base_sepolia_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.180871, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_deposited_base_sepolia_token_amount__True__0.266baf687b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_deposited_base_sepolia_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__90930c81d4f99b4175faf8c7a85c04c6.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_sepolia_token_amount__True__0.266baf687b", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_deposited_base_sepolia_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__90930c81d4f99b4175faf8c7a85c04c6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__90930c81d4f99b4175faf8c7a85c04c6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__90930c81d4f99b4175faf8c7a85c04c6"}, "created_at": 1723584320.1824586, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__90930c81d4f99b4175faf8c7a85c04c6\") }}", "language": "sql", "refs": [{"name": "core_deposited_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__90930c81d4f99b4175faf8c7a85c04c6.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_base_sepolia_block_timestamp.276176a645": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_block_timestamp.276176a645", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_withdrawn_base_sepolia_block_timestamp"], "alias": "not_null_core_withdrawn_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1865358, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_sepolia_contract.9a643890c5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_contract.9a643890c5", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_withdrawn_base_sepolia_contract"], "alias": "not_null_core_withdrawn_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1881826, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_sepolia_block_number.b38561efe3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_block_number.b38561efe3", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_withdrawn_base_sepolia_block_number"], "alias": "not_null_core_withdrawn_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1897671, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_sepolia_transaction_hash.ea6432763a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_transaction_hash.ea6432763a", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_withdrawn_base_sepolia_transaction_hash"], "alias": "not_null_core_withdrawn_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1915004, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_sepolia_token_amount.3582c76f95": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_sepolia_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_sepolia_token_amount.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_token_amount.3582c76f95", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_withdrawn_base_sepolia_token_amount"], "alias": "not_null_core_withdrawn_base_sepolia_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1930645, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_sepolia_token_amount__True__0.600b962701": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_withdrawn_base_sepolia_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__3f4f8909ee14cc3497685cd59d23ce69.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_sepolia_token_amount__True__0.600b962701", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_withdrawn_base_sepolia_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__3f4f8909ee14cc3497685cd59d23ce69", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__3f4f8909ee14cc3497685cd59d23ce69", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__3f4f8909ee14cc3497685cd59d23ce69"}, "created_at": 1723584320.1946344, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__3f4f8909ee14cc3497685cd59d23ce69\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__3f4f8909ee14cc3497685cd59d23ce69.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_base_sepolia_collateral_type.e4b3817245": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_sepolia_collateral_type.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_collateral_type.e4b3817245", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_withdrawn_base_sepolia_collateral_type"], "alias": "not_null_core_withdrawn_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.198786, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_sepolia_account_id.6536ec7b3c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_account_id.6536ec7b3c", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_withdrawn_base_sepolia_account_id"], "alias": "not_null_core_withdrawn_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2004256, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_sepolia_account_id__True__0.283560870b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_withdrawn_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__888419f8ec40f915d627bef6dd080939.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_sepolia_account_id__True__0.283560870b", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_withdrawn_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__888419f8ec40f915d627bef6dd080939", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__888419f8ec40f915d627bef6dd080939", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__888419f8ec40f915d627bef6dd080939"}, "created_at": 1723584320.202034, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__888419f8ec40f915d627bef6dd080939\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__888419f8ec40f915d627bef6dd080939.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_base_sepolia_id.a4ef85d6dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_id.a4ef85d6dd", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_withdrawn_base_sepolia_id"], "alias": "not_null_core_withdrawn_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2064073, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_withdrawn_base_sepolia_id.30c3b98bff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_withdrawn_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_withdrawn_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_withdrawn_base_sepolia_id.30c3b98bff", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_withdrawn_base_sepolia_id"], "alias": "unique_core_withdrawn_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2080665, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_withdrawn_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_sepolia_sender.935071b6a7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_sender.935071b6a7", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_withdrawn_base_sepolia_sender"], "alias": "not_null_core_withdrawn_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2096522, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_sepolia_event_name.919fe4b5de": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_event_name.919fe4b5de", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_withdrawn_base_sepolia_event_name"], "alias": "not_null_core_withdrawn_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2113934, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_withdrawn_base_sepolia_event_name__Withdrawn.12079a5ee6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_withdrawn_base_sepolia_event_name__Withdrawn", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_withdrawn_c342407a773b81d94509df74947a9c6c.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_withdrawn_base_sepolia_event_name__Withdrawn.12079a5ee6", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_withdrawn_base_sepolia_event_name__Withdrawn"], "alias": "accepted_values_core_withdrawn_c342407a773b81d94509df74947a9c6c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_withdrawn_c342407a773b81d94509df74947a9c6c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_withdrawn_c342407a773b81d94509df74947a9c6c"}, "created_at": 1723584320.2130065, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_withdrawn_c342407a773b81d94509df74947a9c6c\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_withdrawn_c342407a773b81d94509df74947a9c6c.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Withdrawn'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Withdrawn"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_sepolia_pool_id.0059acd0f9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_sepolia_pool_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_pool_id.0059acd0f9", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_liquidation_base_sepolia_pool_id"], "alias": "not_null_core_liquidation_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2171664, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_pool_id__True__0.7493427efd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__a9f1cefb42f63cfea9358db70fa1ce94.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_pool_id__True__0.7493427efd", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_liquidation_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__a9f1cefb42f63cfea9358db70fa1ce94", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__a9f1cefb42f63cfea9358db70fa1ce94", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__a9f1cefb42f63cfea9358db70fa1ce94"}, "created_at": 1723584320.2188118, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__a9f1cefb42f63cfea9358db70fa1ce94\") }}", "language": "sql", "refs": [{"name": "core_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__a9f1cefb42f63cfea9358db70fa1ce94.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_liquidation_base_sepolia_block_timestamp.212c6a9018": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_block_timestamp.212c6a9018", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_liquidation_base_sepolia_block_timestamp"], "alias": "not_null_core_liquidation_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2228336, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_sepolia_block_number.f510e99a58": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_block_number.f510e99a58", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_liquidation_base_sepolia_block_number"], "alias": "not_null_core_liquidation_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2247071, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_sepolia_id.efbd949b78": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_id.efbd949b78", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_liquidation_base_sepolia_id"], "alias": "not_null_core_liquidation_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2263327, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_liquidation_base_sepolia_id.321d95d29c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_liquidation_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_liquidation_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_liquidation_base_sepolia_id.321d95d29c", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_liquidation_base_sepolia_id"], "alias": "unique_core_liquidation_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2279415, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_liquidation_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_sepolia_contract.2d1b4b38d4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_contract.2d1b4b38d4", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_liquidation_base_sepolia_contract"], "alias": "not_null_core_liquidation_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.22954, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_sepolia_event_name.ab3ef77d1c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_event_name.ab3ef77d1c", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_liquidation_base_sepolia_event_name"], "alias": "not_null_core_liquidation_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2312498, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_liquidation_base_sepolia_event_name__Liquidation.24bb1726f1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_liquidation_base_sepolia_event_name__Liquidation", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_liquidati_403bf0adbdcc35a44535d0751240d87f.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_liquidation_base_sepolia_event_name__Liquidation.24bb1726f1", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_liquidation_base_sepolia_event_name__Liquidation"], "alias": "accepted_values_core_liquidati_403bf0adbdcc35a44535d0751240d87f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_liquidati_403bf0adbdcc35a44535d0751240d87f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_liquidati_403bf0adbdcc35a44535d0751240d87f"}, "created_at": 1723584320.2328656, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_liquidati_403bf0adbdcc35a44535d0751240d87f\") }}", "language": "sql", "refs": [{"name": "core_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_liquidati_403bf0adbdcc35a44535d0751240d87f.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Liquidation'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Liquidation"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_sepolia_collateral_type.c93d2f649b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_sepolia_collateral_type.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_collateral_type.c93d2f649b", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_liquidation_base_sepolia_collateral_type"], "alias": "not_null_core_liquidation_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2368248, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_sepolia_sender.3afbae055d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_sender.3afbae055d", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_liquidation_base_sepolia_sender"], "alias": "not_null_core_liquidation_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2386348, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_sepolia_account_id.0aa7b969f5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_account_id.0aa7b969f5", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_liquidation_base_sepolia_account_id"], "alias": "not_null_core_liquidation_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.240275, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_account_id__True__0.02852291f8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__21d67e7351992bfcaf34c4320a800a0b.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_account_id__True__0.02852291f8", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_liquidation_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__21d67e7351992bfcaf34c4320a800a0b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__21d67e7351992bfcaf34c4320a800a0b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__21d67e7351992bfcaf34c4320a800a0b"}, "created_at": 1723584320.2418942, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__21d67e7351992bfcaf34c4320a800a0b\") }}", "language": "sql", "refs": [{"name": "core_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__21d67e7351992bfcaf34c4320a800a0b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_liquidation_base_sepolia_transaction_hash.78921d6775": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_transaction_hash.78921d6775", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_liquidation_base_sepolia_transaction_hash"], "alias": "not_null_core_liquidation_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2460432, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_sepolia_liquidate_as_account_id.3e3ca344a6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_sepolia_liquidate_as_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_sepolia_liquidate_as_account_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_liquidate_as_account_id.3e3ca344a6", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_liquidation_base_sepolia_liquidate_as_account_id"], "alias": "not_null_core_liquidation_base_sepolia_liquidate_as_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2476988, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_liquidate_as_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidate_as_account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere liquidate_as_account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_liquidate_as_account_id__True__0.6947f1cc05": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_base_sepolia_liquidate_as_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__b4b4efd00a516ca3c87897d592dce4cd.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_liquidate_as_account_id__True__0.6947f1cc05", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_liquidation_base_sepolia_liquidate_as_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__b4b4efd00a516ca3c87897d592dce4cd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__b4b4efd00a516ca3c87897d592dce4cd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__b4b4efd00a516ca3c87897d592dce4cd"}, "created_at": 1723584320.2493358, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__b4b4efd00a516ca3c87897d592dce4cd\") }}", "language": "sql", "refs": [{"name": "core_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b4b4efd00a516ca3c87897d592dce4cd.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not liquidate_as_account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_base_sepolia_id.179b4fa862": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_id.179b4fa862", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_id"], "alias": "not_null_core_market_updated_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.253472, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_updated_base_sepolia", "attached_node": "model.synthetix.core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_updated_base_sepolia_id.945f14ee77": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_updated_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_updated_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_updated_base_sepolia_id.945f14ee77", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_market_updated_base_sepolia_id"], "alias": "unique_core_market_updated_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2551217, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_updated_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_updated_base_sepolia", "attached_node": "model.synthetix.core_market_updated_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_sepolia_block_timestamp.66be40faea": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_block_timestamp.66be40faea", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_block_timestamp"], "alias": "not_null_core_market_updated_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.25673, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_market_updated_base_sepolia", "attached_node": "model.synthetix.core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_sepolia_block_number.450e88640c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_block_number.450e88640c", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_block_number"], "alias": "not_null_core_market_updated_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2584555, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_market_updated_base_sepolia", "attached_node": "model.synthetix.core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_sepolia_transaction_hash.6351c7ce23": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_transaction_hash.6351c7ce23", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_transaction_hash"], "alias": "not_null_core_market_updated_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.26006, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_market_updated_base_sepolia", "attached_node": "model.synthetix.core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_sepolia_contract.cf139c06ed": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_contract.cf139c06ed", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_contract"], "alias": "not_null_core_market_updated_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2616503, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_market_updated_base_sepolia", "attached_node": "model.synthetix.core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_sepolia_event_name.c0e71ec841": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_event_name.c0e71ec841", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_event_name"], "alias": "not_null_core_market_updated_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2632365, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_updated_base_sepolia", "attached_node": "model.synthetix.core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.97084835ea": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_market_up_6a9d36b124a389235dd15ee41453426c.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.97084835ea", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited"], "alias": "accepted_values_core_market_up_6a9d36b124a389235dd15ee41453426c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_market_up_6a9d36b124a389235dd15ee41453426c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_market_up_6a9d36b124a389235dd15ee41453426c"}, "created_at": 1723584320.2648485, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_market_up_6a9d36b124a389235dd15ee41453426c\") }}", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_market_up_6a9d36b124a389235dd15ee41453426c.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_updated_base_sepolia", "attached_node": "model.synthetix.core_market_updated_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCollateralWithdrawn", "MarketCollateralDeposited", "MarketUsdWithdrawn", "MarketUsdDeposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_sepolia_market_id.81913bae24": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_sepolia_market_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_market_id.81913bae24", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_market_id"], "alias": "not_null_core_market_updated_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2689433, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_updated_base_sepolia", "attached_node": "model.synthetix.core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_market_id__True__0.c2038f3200": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__f5541c6f76ecd75f65e2b608fa9333ae.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_market_id__True__0.c2038f3200", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_market_updated_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_core__f5541c6f76ecd75f65e2b608fa9333ae", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__f5541c6f76ecd75f65e2b608fa9333ae", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__f5541c6f76ecd75f65e2b608fa9333ae"}, "created_at": 1723584320.2705774, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__f5541c6f76ecd75f65e2b608fa9333ae\") }}", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__f5541c6f76ecd75f65e2b608fa9333ae.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_updated_base_sepolia", "attached_node": "model.synthetix.core_market_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_base_sepolia_net_issuance.85d70c9059": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_net_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_sepolia_net_issuance.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_net_issuance.85d70c9059", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_net_issuance"], "alias": "not_null_core_market_updated_base_sepolia_net_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2746994, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_net_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect net_issuance\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere net_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "net_issuance", "file_key_name": "models.core_market_updated_base_sepolia", "attached_node": "model.synthetix.core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "net_issuance", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_sepolia_deposited_collateral_value.47b96d9782": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_deposited_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_b_3efbf3bbb6987dd33d2575ce535e8be9.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_deposited_collateral_value.47b96d9782", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_deposited_collateral_value"], "alias": "not_null_core_market_updated_b_3efbf3bbb6987dd33d2575ce535e8be9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_market_updated_b_3efbf3bbb6987dd33d2575ce535e8be9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_market_updated_b_3efbf3bbb6987dd33d2575ce535e8be9"}, "created_at": 1723584320.2763638, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_market_updated_b_3efbf3bbb6987dd33d2575ce535e8be9\") }}", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_b_3efbf3bbb6987dd33d2575ce535e8be9.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect deposited_collateral_value\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere deposited_collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "deposited_collateral_value", "file_key_name": "models.core_market_updated_base_sepolia", "attached_node": "model.synthetix.core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "deposited_collateral_value", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_deposited_collateral_value__True__0.ff17627b64": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_base_sepolia_deposited_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__7de5af8c2738f779d5328e285ca02cbb.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_deposited_collateral_value__True__0.ff17627b64", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_market_updated_base_sepolia_deposited_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_core__7de5af8c2738f779d5328e285ca02cbb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__7de5af8c2738f779d5328e285ca02cbb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__7de5af8c2738f779d5328e285ca02cbb"}, "created_at": 1723584320.278052, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__7de5af8c2738f779d5328e285ca02cbb\") }}", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__7de5af8c2738f779d5328e285ca02cbb.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not deposited_collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "deposited_collateral_value", "file_key_name": "models.core_market_updated_base_sepolia", "attached_node": "model.synthetix.core_market_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "deposited_collateral_value", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_base_sepolia_sender.b57e7709cd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_sender.b57e7709cd", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_sender"], "alias": "not_null_core_market_updated_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2822201, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_market_updated_base_sepolia", "attached_node": "model.synthetix.core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_sepolia_collateral_type.a64be17284": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_sepolia_collateral_type.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_collateral_type.a64be17284", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_collateral_type"], "alias": "not_null_core_market_updated_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2838666, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_market_updated_base_sepolia", "attached_node": "model.synthetix.core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_sepolia_credit_capacity.2033e021e1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_credit_capacity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_sepolia_credit_capacity.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_credit_capacity.2033e021e1", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_credit_capacity"], "alias": "not_null_core_market_updated_base_sepolia_credit_capacity", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2854776, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_credit_capacity.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect credit_capacity\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere credit_capacity is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "credit_capacity", "file_key_name": "models.core_market_updated_base_sepolia", "attached_node": "model.synthetix.core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "credit_capacity", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_sepolia_token_amount.a8f7145772": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_sepolia_token_amount.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_token_amount.a8f7145772", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_token_amount"], "alias": "not_null_core_market_updated_base_sepolia_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2875543, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_market_updated_base_sepolia", "attached_node": "model.synthetix.core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_token_amount__True__0.00d32c5847": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_base_sepolia_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__34edbab1962097faf1f212e944103c00.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_token_amount__True__0.00d32c5847", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_market_updated_base_sepolia_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__34edbab1962097faf1f212e944103c00", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__34edbab1962097faf1f212e944103c00", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__34edbab1962097faf1f212e944103c00"}, "created_at": 1723584320.2891755, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__34edbab1962097faf1f212e944103c00\") }}", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__34edbab1962097faf1f212e944103c00.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_market_updated_base_sepolia", "attached_node": "model.synthetix.core_market_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_registered_base_sepolia_market.c1fe5f76b8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_sepolia_market", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_sepolia_market.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_market.c1fe5f76b8", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_registered_base_sepolia_market"], "alias": "not_null_core_market_registered_base_sepolia_market", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2933238, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_market.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\nwhere market is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market", "file_key_name": "models.core_market_registered_base_sepolia", "attached_node": "model.synthetix.core_market_registered_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market", "model": "{{ get_where_subquery(ref('core_market_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_sepolia_market_id.dc3f59aaaf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_sepolia_market_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_market_id.dc3f59aaaf", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_registered_base_sepolia_market_id"], "alias": "not_null_core_market_registered_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2949238, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_registered_base_sepolia", "attached_node": "model.synthetix.core_market_registered_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_registered_base_sepolia_market_id.37a04d292a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_registered_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_registered_base_sepolia_market_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_registered_base_sepolia_market_id.37a04d292a", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_market_registered_base_sepolia_market_id"], "alias": "unique_core_market_registered_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2965393, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_registered_base_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n market_id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\nwhere market_id is not null\ngroup by market_id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_registered_base_sepolia", "attached_node": "model.synthetix.core_market_registered_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_sepolia_id.6150b3d520": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_id.6150b3d520", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_registered_base_sepolia_id"], "alias": "not_null_core_market_registered_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2981093, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_registered_base_sepolia", "attached_node": "model.synthetix.core_market_registered_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_registered_base_sepolia_id.1efe4c6aec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_registered_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_registered_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_registered_base_sepolia_id.1efe4c6aec", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_market_registered_base_sepolia_id"], "alias": "unique_core_market_registered_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2997782, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_registered_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_registered_base_sepolia", "attached_node": "model.synthetix.core_market_registered_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_sepolia_block_timestamp.209ede7f48": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_block_timestamp.209ede7f48", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_registered_base_sepolia_block_timestamp"], "alias": "not_null_core_market_registered_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3014882, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_market_registered_base_sepolia", "attached_node": "model.synthetix.core_market_registered_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_market_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_sepolia_contract.8cc1db09cc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_contract.8cc1db09cc", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_registered_base_sepolia_contract"], "alias": "not_null_core_market_registered_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3030531, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_market_registered_base_sepolia", "attached_node": "model.synthetix.core_market_registered_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_market_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_sepolia_transaction_hash.de234a0b4d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_transaction_hash.de234a0b4d", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_registered_base_sepolia_transaction_hash"], "alias": "not_null_core_market_registered_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3046997, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_market_registered_base_sepolia", "attached_node": "model.synthetix.core_market_registered_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_market_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_sepolia_block_number.fd8cdd563c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_block_number.fd8cdd563c", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_registered_base_sepolia_block_number"], "alias": "not_null_core_market_registered_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.30637, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_market_registered_base_sepolia", "attached_node": "model.synthetix.core_market_registered_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_market_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_sepolia_event_name.c0f99c65cf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_event_name.c0f99c65cf", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_registered_base_sepolia_event_name"], "alias": "not_null_core_market_registered_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3080971, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_registered_base_sepolia", "attached_node": "model.synthetix.core_market_registered_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_market_registered_base_sepolia_event_name__MarketRegistered.52bda7875b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_market_registered_base_sepolia_event_name__MarketRegistered", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_market_re_36cb85f36ba2c74163a4c4448bb62b02.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_market_registered_base_sepolia_event_name__MarketRegistered.52bda7875b", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_market_registered_base_sepolia_event_name__MarketRegistered"], "alias": "accepted_values_core_market_re_36cb85f36ba2c74163a4c4448bb62b02", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_market_re_36cb85f36ba2c74163a4c4448bb62b02", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_market_re_36cb85f36ba2c74163a4c4448bb62b02"}, "created_at": 1723584320.3097203, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_market_re_36cb85f36ba2c74163a4c4448bb62b02\") }}", "language": "sql", "refs": [{"name": "core_market_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_market_re_36cb85f36ba2c74163a4c4448bb62b02.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketRegistered'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_registered_base_sepolia", "attached_node": "model.synthetix.core_market_registered_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketRegistered"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_sepolia_sender.0ec521b301": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_sender.0ec521b301", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_registered_base_sepolia_sender"], "alias": "not_null_core_market_registered_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3138845, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_market_registered_base_sepolia", "attached_node": "model.synthetix.core_market_registered_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_market_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_sepolia_contract.3347ab7e86": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_contract.3347ab7e86", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_pool_created_base_sepolia_contract"], "alias": "not_null_core_pool_created_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3155313, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_pool_created_base_sepolia", "attached_node": "model.synthetix.core_pool_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_pool_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_sepolia_sender.40177457bd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_sender.40177457bd", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_pool_created_base_sepolia_sender"], "alias": "not_null_core_pool_created_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3171399, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_pool_created_base_sepolia", "attached_node": "model.synthetix.core_pool_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_pool_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_sepolia_block_timestamp.770a6f30f6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_block_timestamp.770a6f30f6", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_pool_created_base_sepolia_block_timestamp"], "alias": "not_null_core_pool_created_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3187184, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_pool_created_base_sepolia", "attached_node": "model.synthetix.core_pool_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_pool_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_sepolia_id.b1a35dd808": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_id.b1a35dd808", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_pool_created_base_sepolia_id"], "alias": "not_null_core_pool_created_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3203232, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_pool_created_base_sepolia", "attached_node": "model.synthetix.core_pool_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_pool_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_pool_created_base_sepolia_id.bc373a2eb3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_pool_created_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_pool_created_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_pool_created_base_sepolia_id.bc373a2eb3", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_pool_created_base_sepolia_id"], "alias": "unique_core_pool_created_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3220153, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_pool_created_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_pool_created_base_sepolia", "attached_node": "model.synthetix.core_pool_created_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_pool_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_sepolia_block_number.094a784336": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_block_number.094a784336", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_pool_created_base_sepolia_block_number"], "alias": "not_null_core_pool_created_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3236272, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_pool_created_base_sepolia", "attached_node": "model.synthetix.core_pool_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_pool_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_sepolia_transaction_hash.c6810d0b49": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_transaction_hash.c6810d0b49", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_pool_created_base_sepolia_transaction_hash"], "alias": "not_null_core_pool_created_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3252053, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_pool_created_base_sepolia", "attached_node": "model.synthetix.core_pool_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_pool_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_sepolia_event_name.1dac944daf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_event_name.1dac944daf", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_pool_created_base_sepolia_event_name"], "alias": "not_null_core_pool_created_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3268013, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_pool_created_base_sepolia", "attached_node": "model.synthetix.core_pool_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_pool_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_pool_created_base_sepolia_event_name__PoolCreated.f08bef53a3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_pool_created_base_sepolia_event_name__PoolCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_pool_crea_f149b376f2612493bb2657de678259ef.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_pool_created_base_sepolia_event_name__PoolCreated.f08bef53a3", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_pool_created_base_sepolia_event_name__PoolCreated"], "alias": "accepted_values_core_pool_crea_f149b376f2612493bb2657de678259ef", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_pool_crea_f149b376f2612493bb2657de678259ef", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_pool_crea_f149b376f2612493bb2657de678259ef"}, "created_at": 1723584320.3284345, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_pool_crea_f149b376f2612493bb2657de678259ef\") }}", "language": "sql", "refs": [{"name": "core_pool_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_pool_crea_f149b376f2612493bb2657de678259ef.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'PoolCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_pool_created_base_sepolia", "attached_node": "model.synthetix.core_pool_created_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PoolCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_pool_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_sepolia_owner.de5ae68a1a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_sepolia_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_sepolia_owner.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_owner.de5ae68a1a", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_pool_created_base_sepolia_owner"], "alias": "not_null_core_pool_created_base_sepolia_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3325107, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.core_pool_created_base_sepolia", "attached_node": "model.synthetix.core_pool_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('core_pool_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_sepolia_pool_id.e6e51130fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_sepolia_pool_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_pool_id.e6e51130fd", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_pool_created_base_sepolia_pool_id"], "alias": "not_null_core_pool_created_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3341317, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_pool_created_base_sepolia", "attached_node": "model.synthetix.core_pool_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_pool_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_pool_created_base_sepolia_pool_id__True__0.b3e7c8b05d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_pool_created_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__c3c8a8df64e53bf44d1b404363693677.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_pool_created_base_sepolia_pool_id__True__0.b3e7c8b05d", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_pool_created_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__c3c8a8df64e53bf44d1b404363693677", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__c3c8a8df64e53bf44d1b404363693677", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__c3c8a8df64e53bf44d1b404363693677"}, "created_at": 1723584320.3358967, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__c3c8a8df64e53bf44d1b404363693677\") }}", "language": "sql", "refs": [{"name": "core_pool_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c3c8a8df64e53bf44d1b404363693677.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_pool_created_base_sepolia", "attached_node": "model.synthetix.core_pool_created_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_pool_created_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_base_sepolia_transaction_hash.399851f94f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_transaction_hash.399851f94f", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_claimed_base_sepolia_transaction_hash"], "alias": "not_null_core_rewards_claimed_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3399434, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_rewards_claimed_base_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_sepolia_account_id.35c6ac2750": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_account_id.35c6ac2750", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_claimed_base_sepolia_account_id"], "alias": "not_null_core_rewards_claimed_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.341624, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_rewards_claimed_base_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_account_id__True__0.56bdf07961": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__440ce9f5e13972a7244fa20cf3774431.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_account_id__True__0.56bdf07961", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__440ce9f5e13972a7244fa20cf3774431", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__440ce9f5e13972a7244fa20cf3774431", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__440ce9f5e13972a7244fa20cf3774431"}, "created_at": 1723584320.3434174, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__440ce9f5e13972a7244fa20cf3774431\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__440ce9f5e13972a7244fa20cf3774431.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_rewards_claimed_base_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_base_sepolia_collateral_type.44fc9e2622": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_sepolia_collateral_type.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_collateral_type.44fc9e2622", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_claimed_base_sepolia_collateral_type"], "alias": "not_null_core_rewards_claimed_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3474338, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_rewards_claimed_base_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_sepolia_event_name.5d0bea85a4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_event_name.5d0bea85a4", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_claimed_base_sepolia_event_name"], "alias": "not_null_core_rewards_claimed_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3492239, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_claimed_base_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_rewards_claimed_base_sepolia_event_name__RewardsClaimed.813e8d6cab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_rewards_claimed_base_sepolia_event_name__RewardsClaimed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_rewards_c_4448c26ebe83d53dc3e5ff23eac82e61.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_rewards_claimed_base_sepolia_event_name__RewardsClaimed.813e8d6cab", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_rewards_claimed_base_sepolia_event_name__RewardsClaimed"], "alias": "accepted_values_core_rewards_c_4448c26ebe83d53dc3e5ff23eac82e61", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_rewards_c_4448c26ebe83d53dc3e5ff23eac82e61", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_rewards_c_4448c26ebe83d53dc3e5ff23eac82e61"}, "created_at": 1723584320.3508348, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_rewards_c_4448c26ebe83d53dc3e5ff23eac82e61\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_rewards_c_4448c26ebe83d53dc3e5ff23eac82e61.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'RewardsClaimed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_claimed_base_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["RewardsClaimed"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_sepolia_contract.8063e60014": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_contract.8063e60014", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_claimed_base_sepolia_contract"], "alias": "not_null_core_rewards_claimed_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3549435, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_rewards_claimed_base_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_sepolia_amount.8d0b56d69c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_sepolia_amount.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_amount.8d0b56d69c", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_claimed_base_sepolia_amount"], "alias": "not_null_core_rewards_claimed_base_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3565824, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_claimed_base_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_amount__True__0.83b60baad2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__f9ddb6660b6e63be6156d0d4beb89947.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_amount__True__0.83b60baad2", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_core__f9ddb6660b6e63be6156d0d4beb89947", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__f9ddb6660b6e63be6156d0d4beb89947", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__f9ddb6660b6e63be6156d0d4beb89947"}, "created_at": 1723584320.358175, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__f9ddb6660b6e63be6156d0d4beb89947\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__f9ddb6660b6e63be6156d0d4beb89947.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_claimed_base_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_base_sepolia_distributor.cfc3ec6cdd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_sepolia_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_sepolia_distributor.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_distributor.cfc3ec6cdd", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_claimed_base_sepolia_distributor"], "alias": "not_null_core_rewards_claimed_base_sepolia_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.362316, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.core_rewards_claimed_base_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_sepolia_block_timestamp.78d8816d82": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_block_timestamp.78d8816d82", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_claimed_base_sepolia_block_timestamp"], "alias": "not_null_core_rewards_claimed_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.363954, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_rewards_claimed_base_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_sepolia_id.a324c0d7d4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_id.a324c0d7d4", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_claimed_base_sepolia_id"], "alias": "not_null_core_rewards_claimed_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3655455, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_claimed_base_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_rewards_claimed_base_sepolia_id.b13c8534bb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_rewards_claimed_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_rewards_claimed_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_rewards_claimed_base_sepolia_id.b13c8534bb", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_rewards_claimed_base_sepolia_id"], "alias": "unique_core_rewards_claimed_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3671494, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_rewards_claimed_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_claimed_base_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_sepolia_pool_id.e61695fb4f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_sepolia_pool_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_pool_id.e61695fb4f", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_claimed_base_sepolia_pool_id"], "alias": "not_null_core_rewards_claimed_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.369062, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_claimed_base_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_pool_id__True__0.80a0443cd0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__d061ce3ecbf42aec12efd22a8b725531.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_pool_id__True__0.80a0443cd0", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__d061ce3ecbf42aec12efd22a8b725531", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__d061ce3ecbf42aec12efd22a8b725531", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__d061ce3ecbf42aec12efd22a8b725531"}, "created_at": 1723584320.3706417, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__d061ce3ecbf42aec12efd22a8b725531\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__d061ce3ecbf42aec12efd22a8b725531.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_claimed_base_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_base_sepolia_block_number.2341e8ee42": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_block_number.2341e8ee42", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_claimed_base_sepolia_block_number"], "alias": "not_null_core_rewards_claimed_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3748229, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_rewards_claimed_base_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_sepolia_id.0d42a7a31a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_id.0d42a7a31a", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_distributed_base_sepolia_id"], "alias": "not_null_core_rewards_distributed_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.376482, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_distributed_base_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_rewards_distributed_base_sepolia_id.fafe19f7d9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_rewards_distributed_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_rewards_distributed_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_rewards_distributed_base_sepolia_id.fafe19f7d9", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_rewards_distributed_base_sepolia_id"], "alias": "unique_core_rewards_distributed_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.378071, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_rewards_distributed_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_distributed_base_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_sepolia_event_name.e3a18ecd0c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_event_name.e3a18ecd0c", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_distributed_base_sepolia_event_name"], "alias": "not_null_core_rewards_distributed_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3797038, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_distributed_base_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_rewards_distributed_base_sepolia_event_name__RewardsDistributed.23760c7762": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_rewards_distributed_base_sepolia_event_name__RewardsDistributed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_rewards_d_f07bd9c528d3bae951d8e15a0780508d.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_rewards_distributed_base_sepolia_event_name__RewardsDistributed.23760c7762", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_rewards_distributed_base_sepolia_event_name__RewardsDistributed"], "alias": "accepted_values_core_rewards_d_f07bd9c528d3bae951d8e15a0780508d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_rewards_d_f07bd9c528d3bae951d8e15a0780508d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_rewards_d_f07bd9c528d3bae951d8e15a0780508d"}, "created_at": 1723584320.3812912, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_rewards_d_f07bd9c528d3bae951d8e15a0780508d\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_rewards_d_f07bd9c528d3bae951d8e15a0780508d.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'RewardsDistributed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_distributed_base_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["RewardsDistributed"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_sepolia_amount.ec60c3040c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_sepolia_amount.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_amount.ec60c3040c", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_distributed_base_sepolia_amount"], "alias": "not_null_core_rewards_distributed_base_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.38538, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_distributed_base_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_amount__True__0.6d7f4124f8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__6ee41a6e3287d72360197537a51f9db1.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_amount__True__0.6d7f4124f8", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_core__6ee41a6e3287d72360197537a51f9db1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__6ee41a6e3287d72360197537a51f9db1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__6ee41a6e3287d72360197537a51f9db1"}, "created_at": 1723584320.3870127, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__6ee41a6e3287d72360197537a51f9db1\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__6ee41a6e3287d72360197537a51f9db1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_distributed_base_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_distributed_base_sepolia_contract.b51980138b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_contract.b51980138b", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_distributed_base_sepolia_contract"], "alias": "not_null_core_rewards_distributed_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3912075, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_rewards_distributed_base_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_sepolia_block_timestamp.305338d6ac": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_block_timestamp.305338d6ac", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_distributed_base_sepolia_block_timestamp"], "alias": "not_null_core_rewards_distributed_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.392838, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_rewards_distributed_base_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_sepolia_transaction_hash.9d7346a555": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_transaction_hash.9d7346a555", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_distributed_base_sepolia_transaction_hash"], "alias": "not_null_core_rewards_distributed_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3944497, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_rewards_distributed_base_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_sepolia_collateral_type.d02c77e463": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_sepolia_collateral_type.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_collateral_type.d02c77e463", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_distributed_base_sepolia_collateral_type"], "alias": "not_null_core_rewards_distributed_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3961992, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_rewards_distributed_base_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_sepolia_block_number.1404eb5f75": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_block_number.1404eb5f75", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_distributed_base_sepolia_block_number"], "alias": "not_null_core_rewards_distributed_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.397791, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_rewards_distributed_base_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_sepolia_duration.151d5a6383": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_sepolia_duration", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_sepolia_duration.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_duration.151d5a6383", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_distributed_base_sepolia_duration"], "alias": "not_null_core_rewards_distributed_base_sepolia_duration", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.399412, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_duration.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect duration\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere duration is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "duration", "file_key_name": "models.core_rewards_distributed_base_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "duration", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_duration__True__0.aca43f41bf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_duration__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__ad2f9918d005f63ca46e07c60cad1fbf.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_duration__True__0.aca43f41bf", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_duration__True__0"], "alias": "dbt_utils_accepted_range_core__ad2f9918d005f63ca46e07c60cad1fbf", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__ad2f9918d005f63ca46e07c60cad1fbf", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__ad2f9918d005f63ca46e07c60cad1fbf"}, "created_at": 1723584320.4010124, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__ad2f9918d005f63ca46e07c60cad1fbf\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ad2f9918d005f63ca46e07c60cad1fbf.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not duration >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "duration", "file_key_name": "models.core_rewards_distributed_base_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "duration", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_distributed_base_sepolia_distributor.8e49885144": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_sepolia_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_sepolia_distributor.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_distributor.8e49885144", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_distributed_base_sepolia_distributor"], "alias": "not_null_core_rewards_distributed_base_sepolia_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4051852, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.core_rewards_distributed_base_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_sepolia_pool_id.618ac3407b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_sepolia_pool_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_pool_id.618ac3407b", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_distributed_base_sepolia_pool_id"], "alias": "not_null_core_rewards_distributed_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4067914, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_distributed_base_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_pool_id__True__0.4ad1e16907": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__ca499a4e3f4cd07ae655ddd7a8f4bc00.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_pool_id__True__0.4ad1e16907", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__ca499a4e3f4cd07ae655ddd7a8f4bc00", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__ca499a4e3f4cd07ae655ddd7a8f4bc00", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__ca499a4e3f4cd07ae655ddd7a8f4bc00"}, "created_at": 1723584320.4084253, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__ca499a4e3f4cd07ae655ddd7a8f4bc00\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ca499a4e3f4cd07ae655ddd7a8f4bc00.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_distributed_base_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_base_sepolia_amount.d577462790": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_sepolia_amount.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_amount.d577462790", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_burned_base_sepolia_amount"], "alias": "not_null_core_usd_burned_base_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4126358, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_burned_base_sepolia", "attached_node": "model.synthetix.core_usd_burned_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_amount__True__0.2ff0339bf6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_base_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__5cc557d00b8bbfff4bcafb03a349a3e5.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_amount__True__0.2ff0339bf6", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_usd_burned_base_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_core__5cc557d00b8bbfff4bcafb03a349a3e5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__5cc557d00b8bbfff4bcafb03a349a3e5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__5cc557d00b8bbfff4bcafb03a349a3e5"}, "created_at": 1723584320.4142718, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__5cc557d00b8bbfff4bcafb03a349a3e5\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__5cc557d00b8bbfff4bcafb03a349a3e5.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_burned_base_sepolia", "attached_node": "model.synthetix.core_usd_burned_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_base_sepolia_pool_id.8bd0f688e5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_sepolia_pool_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_pool_id.8bd0f688e5", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_burned_base_sepolia_pool_id"], "alias": "not_null_core_usd_burned_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.418518, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_burned_base_sepolia", "attached_node": "model.synthetix.core_usd_burned_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_pool_id__True__0.bdbba08629": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__30addf18b8430be0f27259ef4cf0ca29.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_pool_id__True__0.bdbba08629", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_usd_burned_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__30addf18b8430be0f27259ef4cf0ca29", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__30addf18b8430be0f27259ef4cf0ca29", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__30addf18b8430be0f27259ef4cf0ca29"}, "created_at": 1723584320.4202156, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__30addf18b8430be0f27259ef4cf0ca29\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__30addf18b8430be0f27259ef4cf0ca29.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_burned_base_sepolia", "attached_node": "model.synthetix.core_usd_burned_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_base_sepolia_event_name.2c789d8ccb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_event_name.2c789d8ccb", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_burned_base_sepolia_event_name"], "alias": "not_null_core_usd_burned_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4244153, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_burned_base_sepolia", "attached_node": "model.synthetix.core_usd_burned_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_usd_burned_base_sepolia_event_name__UsdBurned.c736a2b5fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_usd_burned_base_sepolia_event_name__UsdBurned", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_usd_burne_d3586b835d1259940e91cd6748c1e3b6.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_usd_burned_base_sepolia_event_name__UsdBurned.c736a2b5fd", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_usd_burned_base_sepolia_event_name__UsdBurned"], "alias": "accepted_values_core_usd_burne_d3586b835d1259940e91cd6748c1e3b6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_usd_burne_d3586b835d1259940e91cd6748c1e3b6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_usd_burne_d3586b835d1259940e91cd6748c1e3b6"}, "created_at": 1723584320.4260957, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_usd_burne_d3586b835d1259940e91cd6748c1e3b6\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_usd_burne_d3586b835d1259940e91cd6748c1e3b6.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'UsdBurned'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_burned_base_sepolia", "attached_node": "model.synthetix.core_usd_burned_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["UsdBurned"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_sepolia_id.9208a4e4a2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_id.9208a4e4a2", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_burned_base_sepolia_id"], "alias": "not_null_core_usd_burned_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4303775, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_burned_base_sepolia", "attached_node": "model.synthetix.core_usd_burned_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_usd_burned_base_sepolia_id.3b90c11835": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_usd_burned_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_usd_burned_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_usd_burned_base_sepolia_id.3b90c11835", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_usd_burned_base_sepolia_id"], "alias": "unique_core_usd_burned_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4320421, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_usd_burned_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_burned_base_sepolia", "attached_node": "model.synthetix.core_usd_burned_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_sepolia_block_number.9acf3a65f4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_block_number.9acf3a65f4", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_burned_base_sepolia_block_number"], "alias": "not_null_core_usd_burned_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4336996, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_usd_burned_base_sepolia", "attached_node": "model.synthetix.core_usd_burned_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_sepolia_account_id.8014155212": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_account_id.8014155212", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_burned_base_sepolia_account_id"], "alias": "not_null_core_usd_burned_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4353435, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_burned_base_sepolia", "attached_node": "model.synthetix.core_usd_burned_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_account_id__True__0.1c3ad25fc6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__7d95e57f607809456a28cc4204cd2f2a.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_account_id__True__0.1c3ad25fc6", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_usd_burned_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__7d95e57f607809456a28cc4204cd2f2a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__7d95e57f607809456a28cc4204cd2f2a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__7d95e57f607809456a28cc4204cd2f2a"}, "created_at": 1723584320.4370701, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__7d95e57f607809456a28cc4204cd2f2a\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__7d95e57f607809456a28cc4204cd2f2a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_burned_base_sepolia", "attached_node": "model.synthetix.core_usd_burned_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_base_sepolia_sender.d28854bdf2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_sender.d28854bdf2", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_burned_base_sepolia_sender"], "alias": "not_null_core_usd_burned_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4411821, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_usd_burned_base_sepolia", "attached_node": "model.synthetix.core_usd_burned_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_sepolia_transaction_hash.07cbe78bce": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_transaction_hash.07cbe78bce", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_burned_base_sepolia_transaction_hash"], "alias": "not_null_core_usd_burned_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4429467, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_usd_burned_base_sepolia", "attached_node": "model.synthetix.core_usd_burned_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_sepolia_contract.559c9a6e92": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_contract.559c9a6e92", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_burned_base_sepolia_contract"], "alias": "not_null_core_usd_burned_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.444578, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_usd_burned_base_sepolia", "attached_node": "model.synthetix.core_usd_burned_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_sepolia_collateral_type.1d7071aef1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_sepolia_collateral_type.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_collateral_type.1d7071aef1", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_burned_base_sepolia_collateral_type"], "alias": "not_null_core_usd_burned_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4461412, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_usd_burned_base_sepolia", "attached_node": "model.synthetix.core_usd_burned_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_sepolia_block_timestamp.d6c5fafe43": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_block_timestamp.d6c5fafe43", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_burned_base_sepolia_block_timestamp"], "alias": "not_null_core_usd_burned_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.447733, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_usd_burned_base_sepolia", "attached_node": "model.synthetix.core_usd_burned_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_sepolia_pool_id.7dfafbe9ee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_sepolia_pool_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_pool_id.7dfafbe9ee", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_minted_base_sepolia_pool_id"], "alias": "not_null_core_usd_minted_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.449323, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_minted_base_sepolia", "attached_node": "model.synthetix.core_usd_minted_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_pool_id__True__0.49903b0695": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__9f186c48b6a0a65e3e2215713d7a5386.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_pool_id__True__0.49903b0695", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_usd_minted_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__9f186c48b6a0a65e3e2215713d7a5386", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__9f186c48b6a0a65e3e2215713d7a5386", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__9f186c48b6a0a65e3e2215713d7a5386"}, "created_at": 1723584320.4514744, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__9f186c48b6a0a65e3e2215713d7a5386\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__9f186c48b6a0a65e3e2215713d7a5386.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_minted_base_sepolia", "attached_node": "model.synthetix.core_usd_minted_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_base_sepolia_block_timestamp.a33ebf4ef7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_block_timestamp.a33ebf4ef7", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_minted_base_sepolia_block_timestamp"], "alias": "not_null_core_usd_minted_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4554763, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_usd_minted_base_sepolia", "attached_node": "model.synthetix.core_usd_minted_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_sepolia_account_id.56f2a7acd7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_account_id.56f2a7acd7", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_minted_base_sepolia_account_id"], "alias": "not_null_core_usd_minted_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4572272, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_minted_base_sepolia", "attached_node": "model.synthetix.core_usd_minted_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_account_id__True__0.8d375d28dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__b68f23db9faa77f31eed02ece247d791.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_account_id__True__0.8d375d28dd", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_usd_minted_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__b68f23db9faa77f31eed02ece247d791", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__b68f23db9faa77f31eed02ece247d791", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__b68f23db9faa77f31eed02ece247d791"}, "created_at": 1723584320.4588697, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__b68f23db9faa77f31eed02ece247d791\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b68f23db9faa77f31eed02ece247d791.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_minted_base_sepolia", "attached_node": "model.synthetix.core_usd_minted_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_base_sepolia_collateral_type.028faf1711": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_sepolia_collateral_type.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_collateral_type.028faf1711", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_minted_base_sepolia_collateral_type"], "alias": "not_null_core_usd_minted_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4628725, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_usd_minted_base_sepolia", "attached_node": "model.synthetix.core_usd_minted_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_sepolia_block_number.37baa764ce": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_block_number.37baa764ce", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_minted_base_sepolia_block_number"], "alias": "not_null_core_usd_minted_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4647133, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_usd_minted_base_sepolia", "attached_node": "model.synthetix.core_usd_minted_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_sepolia_id.3fd3162bcc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_id.3fd3162bcc", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_minted_base_sepolia_id"], "alias": "not_null_core_usd_minted_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.46632, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_minted_base_sepolia", "attached_node": "model.synthetix.core_usd_minted_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_usd_minted_base_sepolia_id.9cce972c7e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_usd_minted_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_usd_minted_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_usd_minted_base_sepolia_id.9cce972c7e", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_usd_minted_base_sepolia_id"], "alias": "unique_core_usd_minted_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.467936, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_usd_minted_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_minted_base_sepolia", "attached_node": "model.synthetix.core_usd_minted_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_sepolia_sender.5053739593": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_sender.5053739593", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_minted_base_sepolia_sender"], "alias": "not_null_core_usd_minted_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4695323, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_usd_minted_base_sepolia", "attached_node": "model.synthetix.core_usd_minted_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_sepolia_amount.c1ab51fea3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_sepolia_amount.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_amount.c1ab51fea3", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_minted_base_sepolia_amount"], "alias": "not_null_core_usd_minted_base_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.471217, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_minted_base_sepolia", "attached_node": "model.synthetix.core_usd_minted_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_amount__True__0.8db2f09ae2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_base_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__c292312a15973d99cb86f687346188af.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_amount__True__0.8db2f09ae2", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_usd_minted_base_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_core__c292312a15973d99cb86f687346188af", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__c292312a15973d99cb86f687346188af", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__c292312a15973d99cb86f687346188af"}, "created_at": 1723584320.4728239, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__c292312a15973d99cb86f687346188af\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c292312a15973d99cb86f687346188af.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_minted_base_sepolia", "attached_node": "model.synthetix.core_usd_minted_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_base_sepolia_event_name.c1bfdffc84": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_event_name.c1bfdffc84", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_minted_base_sepolia_event_name"], "alias": "not_null_core_usd_minted_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4770954, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_minted_base_sepolia", "attached_node": "model.synthetix.core_usd_minted_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_usd_minted_base_sepolia_event_name__UsdMinted.d686f1f1af": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_usd_minted_base_sepolia_event_name__UsdMinted", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_usd_minte_af3da772d555dc79c452effc7b6f9002.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_usd_minted_base_sepolia_event_name__UsdMinted.d686f1f1af", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_usd_minted_base_sepolia_event_name__UsdMinted"], "alias": "accepted_values_core_usd_minte_af3da772d555dc79c452effc7b6f9002", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_usd_minte_af3da772d555dc79c452effc7b6f9002", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_usd_minte_af3da772d555dc79c452effc7b6f9002"}, "created_at": 1723584320.4787366, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_usd_minte_af3da772d555dc79c452effc7b6f9002\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_usd_minte_af3da772d555dc79c452effc7b6f9002.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'UsdMinted'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_minted_base_sepolia", "attached_node": "model.synthetix.core_usd_minted_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["UsdMinted"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_sepolia_transaction_hash.04ae981572": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_transaction_hash.04ae981572", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_minted_base_sepolia_transaction_hash"], "alias": "not_null_core_usd_minted_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4826467, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_usd_minted_base_sepolia", "attached_node": "model.synthetix.core_usd_minted_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_sepolia_contract.ebf65a8472": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_contract.ebf65a8472", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_minted_base_sepolia_contract"], "alias": "not_null_core_usd_minted_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4844208, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_usd_minted_base_sepolia", "attached_node": "model.synthetix.core_usd_minted_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_sepolia_transaction_hash.fcdcfcdcdd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_transaction_hash.fcdcfcdcdd", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_liquidation_base_sepolia_transaction_hash"], "alias": "not_null_core_vault_liquidation_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4860067, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_vault_liquidation_base_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_sepolia_collateral_type.18870127b8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_sepolia_collateral_type.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_collateral_type.18870127b8", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_liquidation_base_sepolia_collateral_type"], "alias": "not_null_core_vault_liquidation_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.487611, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_liquidation_base_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_sepolia_pool_id.47e473f735": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_sepolia_pool_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_pool_id.47e473f735", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_liquidation_base_sepolia_pool_id"], "alias": "not_null_core_vault_liquidation_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4892216, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_liquidation_base_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_pool_id__True__0.5ea2ba7eab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__78a5a46b1c28cb5b628273e180683827.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_pool_id__True__0.5ea2ba7eab", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__78a5a46b1c28cb5b628273e180683827", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__78a5a46b1c28cb5b628273e180683827", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__78a5a46b1c28cb5b628273e180683827"}, "created_at": 1723584320.4909112, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__78a5a46b1c28cb5b628273e180683827\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__78a5a46b1c28cb5b628273e180683827.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_liquidation_base_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_liquidation_base_sepolia_event_name.04b05d8fa6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_event_name.04b05d8fa6", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_liquidation_base_sepolia_event_name"], "alias": "not_null_core_vault_liquidation_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.494925, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_vault_liquidation_base_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_vault_liquidation_base_sepolia_event_name__VaultLiquidation.958e4fe8de": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_vault_liquidation_base_sepolia_event_name__VaultLiquidation", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_vault_liq_e9d47b42f69123eccbff3f66c69b6af2.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_vault_liquidation_base_sepolia_event_name__VaultLiquidation.958e4fe8de", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_vault_liquidation_base_sepolia_event_name__VaultLiquidation"], "alias": "accepted_values_core_vault_liq_e9d47b42f69123eccbff3f66c69b6af2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_vault_liq_e9d47b42f69123eccbff3f66c69b6af2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_core_vault_liq_e9d47b42f69123eccbff3f66c69b6af2"}, "created_at": 1723584320.496577, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_vault_liq_e9d47b42f69123eccbff3f66c69b6af2\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_vault_liq_e9d47b42f69123eccbff3f66c69b6af2.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'VaultLiquidation'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_vault_liquidation_base_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["VaultLiquidation"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_sepolia_id.08162ec8b5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_id.08162ec8b5", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_liquidation_base_sepolia_id"], "alias": "not_null_core_vault_liquidation_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5007417, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_vault_liquidation_base_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_vault_liquidation_base_sepolia_id.5759c475e5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_vault_liquidation_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_vault_liquidation_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_vault_liquidation_base_sepolia_id.5759c475e5", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_vault_liquidation_base_sepolia_id"], "alias": "unique_core_vault_liquidation_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5023527, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_vault_liquidation_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_vault_liquidation_base_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_sepolia_block_timestamp.5c4fdcd348": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_block_timestamp.5c4fdcd348", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_liquidation_base_sepolia_block_timestamp"], "alias": "not_null_core_vault_liquidation_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5041242, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_vault_liquidation_base_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_sepolia_liquidate_as_account_id.b170dba1d3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_sepolia_liquidate_as_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_53dd6224c744d10360ffff7b324992d2.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_liquidate_as_account_id.b170dba1d3", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_liquidation_base_sepolia_liquidate_as_account_id"], "alias": "not_null_core_vault_liquidatio_53dd6224c744d10360ffff7b324992d2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_53dd6224c744d10360ffff7b324992d2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_core_vault_liquidatio_53dd6224c744d10360ffff7b324992d2"}, "created_at": 1723584320.5057187, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_53dd6224c744d10360ffff7b324992d2\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidatio_53dd6224c744d10360ffff7b324992d2.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidate_as_account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere liquidate_as_account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_vault_liquidation_base_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_liquidate_as_account_id__True__0.ee3dd8dc1e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_liquidate_as_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__8485599cff2a5b7ec94419989fe730df.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_liquidate_as_account_id__True__0.ee3dd8dc1e", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_liquidate_as_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__8485599cff2a5b7ec94419989fe730df", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__8485599cff2a5b7ec94419989fe730df", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__8485599cff2a5b7ec94419989fe730df"}, "created_at": 1723584320.5073192, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__8485599cff2a5b7ec94419989fe730df\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__8485599cff2a5b7ec94419989fe730df.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not liquidate_as_account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_vault_liquidation_base_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_liquidation_base_sepolia_liquidation_data.a5dc2b7337": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_sepolia_liquidation_data", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_sepolia_liquidation_data.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_liquidation_data.a5dc2b7337", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_liquidation_base_sepolia_liquidation_data"], "alias": "not_null_core_vault_liquidation_base_sepolia_liquidation_data", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5114872, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_liquidation_data.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidation_data\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere liquidation_data is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidation_data", "file_key_name": "models.core_vault_liquidation_base_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "liquidation_data", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_sepolia_contract.58dafa50b4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_contract.58dafa50b4", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_liquidation_base_sepolia_contract"], "alias": "not_null_core_vault_liquidation_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5130987, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_vault_liquidation_base_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_sepolia_block_number.72d5fcf75c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_block_number.72d5fcf75c", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_liquidation_base_sepolia_block_number"], "alias": "not_null_core_vault_liquidation_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5147016, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_vault_liquidation_base_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_sepolia_sender.2f502247e7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_sender.2f502247e7", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_liquidation_base_sepolia_sender"], "alias": "not_null_core_vault_liquidation_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5163543, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_vault_liquidation_base_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_base_sepolia_ts.78a98d96c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_sepolia_ts.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_sepolia_ts.78a98d96c2", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_collateral_base_sepolia_ts"], "alias": "not_null_core_vault_collateral_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5180738, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.core_vault_collateral_base_sepolia", "attached_node": "model.synthetix.core_vault_collateral_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_base_sepolia_block_number.3a3cfc3edf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_sepolia_block_number.3a3cfc3edf", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_collateral_base_sepolia_block_number"], "alias": "not_null_core_vault_collateral_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5196972, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_vault_collateral_base_sepolia", "attached_node": "model.synthetix.core_vault_collateral_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_base_sepolia_pool_id.3607d11df2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_sepolia_pool_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_sepolia_pool_id.3607d11df2", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_collateral_base_sepolia_pool_id"], "alias": "not_null_core_vault_collateral_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5212736, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_collateral_base_sepolia", "attached_node": "model.synthetix.core_vault_collateral_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_pool_id__True__0.0047a9a52a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__2284faf96de80368edab3a7fd3bfd950.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_pool_id__True__0.0047a9a52a", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_vault_collateral_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__2284faf96de80368edab3a7fd3bfd950", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__2284faf96de80368edab3a7fd3bfd950", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__2284faf96de80368edab3a7fd3bfd950"}, "created_at": 1723584320.5229485, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__2284faf96de80368edab3a7fd3bfd950\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__2284faf96de80368edab3a7fd3bfd950.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_collateral_base_sepolia", "attached_node": "model.synthetix.core_vault_collateral_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_base_sepolia_collateral_type.8cfa2c8f99": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_sepolia_collateral_type.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_sepolia_collateral_type.8cfa2c8f99", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_collateral_base_sepolia_collateral_type"], "alias": "not_null_core_vault_collateral_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.527081, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_collateral_base_sepolia", "attached_node": "model.synthetix.core_vault_collateral_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_base_sepolia_amount.ff25c0c9a0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_sepolia_amount.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_sepolia_amount.ff25c0c9a0", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_collateral_base_sepolia_amount"], "alias": "not_null_core_vault_collateral_base_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5287302, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_vault_collateral_base_sepolia", "attached_node": "model.synthetix.core_vault_collateral_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_amount__True__0.6d9b6133f3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_base_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__4a5c58685176282790b5abfce94b3fda.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_amount__True__0.6d9b6133f3", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_vault_collateral_base_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_core__4a5c58685176282790b5abfce94b3fda", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__4a5c58685176282790b5abfce94b3fda", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__4a5c58685176282790b5abfce94b3fda"}, "created_at": 1723584320.5303361, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__4a5c58685176282790b5abfce94b3fda\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__4a5c58685176282790b5abfce94b3fda.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_vault_collateral_base_sepolia", "attached_node": "model.synthetix.core_vault_collateral_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_base_sepolia_collateral_value.30cde60b22": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_sepolia_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_sepolia_collateral_value.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_sepolia_collateral_value.30cde60b22", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_collateral_base_sepolia_collateral_value"], "alias": "not_null_core_vault_collateral_base_sepolia_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5347304, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.core_vault_collateral_base_sepolia", "attached_node": "model.synthetix.core_vault_collateral_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_collateral_value__True__0.026e20a97f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_base_sepolia_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__004b356febea592d3109c0bef0abafe4.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_collateral_value__True__0.026e20a97f", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_vault_collateral_base_sepolia_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_core__004b356febea592d3109c0bef0abafe4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__004b356febea592d3109c0bef0abafe4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__004b356febea592d3109c0bef0abafe4"}, "created_at": 1723584320.5363967, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__004b356febea592d3109c0bef0abafe4\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__004b356febea592d3109c0bef0abafe4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.core_vault_collateral_base_sepolia", "attached_node": "model.synthetix.core_vault_collateral_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_base_sepolia_contract_address.aa0f2cd57b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_sepolia_contract_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_sepolia_contract_address.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_sepolia_contract_address.aa0f2cd57b", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_collateral_base_sepolia_contract_address"], "alias": "not_null_core_vault_collateral_base_sepolia_contract_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.540551, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_contract_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract_address\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\nwhere contract_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract_address", "file_key_name": "models.core_vault_collateral_base_sepolia", "attached_node": "model.synthetix.core_vault_collateral_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract_address", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_base_sepolia_ts.d366714ec5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_base_sepolia_ts.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_base_sepolia_ts.d366714ec5", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_debt_base_sepolia_ts"], "alias": "not_null_core_vault_debt_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5421684, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.core_vault_debt_base_sepolia", "attached_node": "model.synthetix.core_vault_debt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('core_vault_debt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_base_sepolia_block_number.f25dcd2c96": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_base_sepolia_block_number.f25dcd2c96", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_debt_base_sepolia_block_number"], "alias": "not_null_core_vault_debt_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5438056, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.core_vault_debt_base_sepolia", "attached_node": "model.synthetix.core_vault_debt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_debt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_base_sepolia_pool_id.05a1d5275c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_base_sepolia_pool_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_base_sepolia_pool_id.05a1d5275c", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_debt_base_sepolia_pool_id"], "alias": "not_null_core_vault_debt_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.545527, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_debt_base_sepolia", "attached_node": "model.synthetix.core_vault_debt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_debt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_debt_base_sepolia_pool_id__True__0.908dbaecbc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_debt_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__fe372a67c8b1ea27c6fdd5c876afec7c.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_base_sepolia_pool_id__True__0.908dbaecbc", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_vault_debt_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__fe372a67c8b1ea27c6fdd5c876afec7c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__fe372a67c8b1ea27c6fdd5c876afec7c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_core__fe372a67c8b1ea27c6fdd5c876afec7c"}, "created_at": 1723584320.5471642, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__fe372a67c8b1ea27c6fdd5c876afec7c\") }}", "language": "sql", "refs": [{"name": "core_vault_debt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__fe372a67c8b1ea27c6fdd5c876afec7c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_debt_base_sepolia", "attached_node": "model.synthetix.core_vault_debt_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_debt_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_debt_base_sepolia_collateral_type.70a5498cf3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_base_sepolia_collateral_type.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_base_sepolia_collateral_type.70a5498cf3", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_debt_base_sepolia_collateral_type"], "alias": "not_null_core_vault_debt_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5512137, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_debt_base_sepolia", "attached_node": "model.synthetix.core_vault_debt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_debt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_base_sepolia_debt.9b99714e7f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_base_sepolia_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_base_sepolia_debt.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_base_sepolia_debt.9b99714e7f", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_debt_base_sepolia_debt"], "alias": "not_null_core_vault_debt_base_sepolia_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5530105, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_base_sepolia\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.core_vault_debt_base_sepolia", "attached_node": "model.synthetix.core_vault_debt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('core_vault_debt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_base_sepolia_contract_address.a9d7ef2e2d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_base_sepolia_contract_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_base_sepolia_contract_address.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_base_sepolia_contract_address.a9d7ef2e2d", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_debt_base_sepolia_contract_address"], "alias": "not_null_core_vault_debt_base_sepolia_contract_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5546105, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_contract_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract_address\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_base_sepolia\"\nwhere contract_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract_address", "file_key_name": "models.core_vault_debt_base_sepolia", "attached_node": "model.synthetix.core_vault_debt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract_address", "model": "{{ get_where_subquery(ref('core_vault_debt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_sepolia_id.11a4430aff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_id.11a4430aff", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_committed_base_sepolia_id"], "alias": "not_null_spot_order_committed_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5706906, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_committed_base_sepolia", "attached_node": "model.synthetix.spot_order_committed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_order_committed_base_sepolia_id.3819dc1084": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_order_committed_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_order_committed_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_order_committed_base_sepolia_id.3819dc1084", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "unique_spot_order_committed_base_sepolia_id"], "alias": "unique_spot_order_committed_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5723412, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_committed_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_committed_base_sepolia", "attached_node": "model.synthetix.spot_order_committed_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_sepolia_event_name.438812a0d2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_event_name.438812a0d2", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_committed_base_sepolia_event_name"], "alias": "not_null_spot_order_committed_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5739298, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_committed_base_sepolia", "attached_node": "model.synthetix.spot_order_committed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_order_committed_base_sepolia_event_name__OrderCommitted.5b70cba35c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_order_committed_base_sepolia_event_name__OrderCommitted", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_order_com_ef6d06586407466691e8d01de71aba4f.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_order_committed_base_sepolia_event_name__OrderCommitted.5b70cba35c", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "accepted_values_spot_order_committed_base_sepolia_event_name__OrderCommitted"], "alias": "accepted_values_spot_order_com_ef6d06586407466691e8d01de71aba4f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_order_com_ef6d06586407466691e8d01de71aba4f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_order_com_ef6d06586407466691e8d01de71aba4f"}, "created_at": 1723584320.5757082, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_order_com_ef6d06586407466691e8d01de71aba4f\") }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_order_com_ef6d06586407466691e8d01de71aba4f.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderCommitted'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_committed_base_sepolia", "attached_node": "model.synthetix.spot_order_committed_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderCommitted"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_sepolia_sender.4e585d7f19": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_sender.4e585d7f19", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_committed_base_sepolia_sender"], "alias": "not_null_spot_order_committed_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5796993, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.spot_order_committed_base_sepolia", "attached_node": "model.synthetix.spot_order_committed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_sepolia_block_timestamp.8c88551cb4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_block_timestamp.8c88551cb4", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_committed_base_sepolia_block_timestamp"], "alias": "not_null_spot_order_committed_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5813046, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_order_committed_base_sepolia", "attached_node": "model.synthetix.spot_order_committed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_sepolia_referrer.7ec29fa647": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_sepolia_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_sepolia_referrer.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_referrer.7ec29fa647", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_committed_base_sepolia_referrer"], "alias": "not_null_spot_order_committed_base_sepolia_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5831082, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "file_key_name": "models.spot_order_committed_base_sepolia", "attached_node": "model.synthetix.spot_order_committed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referrer", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_sepolia_amount_provided.38ad18f779": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_sepolia_amount_provided", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_sepolia_amount_provided.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_amount_provided.38ad18f779", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_committed_base_sepolia_amount_provided"], "alias": "not_null_spot_order_committed_base_sepolia_amount_provided", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5847125, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_amount_provided.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_provided\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere amount_provided is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_provided", "file_key_name": "models.spot_order_committed_base_sepolia", "attached_node": "model.synthetix.spot_order_committed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_provided", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_sepolia_amount_provided__True__0.054ef0ffa5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_committed_base_sepolia_amount_provided__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__45f3aefc6a56a878e2902b146dc2bcb4.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_sepolia_amount_provided__True__0.054ef0ffa5", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_committed_base_sepolia_amount_provided__True__0"], "alias": "dbt_utils_accepted_range_spot__45f3aefc6a56a878e2902b146dc2bcb4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__45f3aefc6a56a878e2902b146dc2bcb4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__45f3aefc6a56a878e2902b146dc2bcb4"}, "created_at": 1723584320.5863101, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__45f3aefc6a56a878e2902b146dc2bcb4\") }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__45f3aefc6a56a878e2902b146dc2bcb4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_provided >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_provided", "file_key_name": "models.spot_order_committed_base_sepolia", "attached_node": "model.synthetix.spot_order_committed_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_provided", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_committed_base_sepolia_transaction_hash.9c446b3700": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_transaction_hash.9c446b3700", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_committed_base_sepolia_transaction_hash"], "alias": "not_null_spot_order_committed_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5904768, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_order_committed_base_sepolia", "attached_node": "model.synthetix.spot_order_committed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_sepolia_contract.665bb25f85": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_contract.665bb25f85", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_committed_base_sepolia_contract"], "alias": "not_null_spot_order_committed_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5921197, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_order_committed_base_sepolia", "attached_node": "model.synthetix.spot_order_committed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_sepolia_market_id.15c2459855": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_sepolia_market_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_market_id.15c2459855", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_committed_base_sepolia_market_id"], "alias": "not_null_spot_order_committed_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5937164, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_committed_base_sepolia", "attached_node": "model.synthetix.spot_order_committed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_sepolia_market_id__True__0.6632755b0a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_committed_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__7a17e96e4a0ec8e420005d9b7f38ad05.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_sepolia_market_id__True__0.6632755b0a", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_committed_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__7a17e96e4a0ec8e420005d9b7f38ad05", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__7a17e96e4a0ec8e420005d9b7f38ad05", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__7a17e96e4a0ec8e420005d9b7f38ad05"}, "created_at": 1723584320.5953546, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__7a17e96e4a0ec8e420005d9b7f38ad05\") }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__7a17e96e4a0ec8e420005d9b7f38ad05.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_committed_base_sepolia", "attached_node": "model.synthetix.spot_order_committed_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_committed_base_sepolia_block_number.9e8c3cbe19": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_block_number.9e8c3cbe19", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_committed_base_sepolia_block_number"], "alias": "not_null_spot_order_committed_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5995028, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_order_committed_base_sepolia", "attached_node": "model.synthetix.spot_order_committed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_sepolia_order_type.3954986bef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_sepolia_order_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_sepolia_order_type.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_order_type.3954986bef", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_committed_base_sepolia_order_type"], "alias": "not_null_spot_order_committed_base_sepolia_order_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6011214, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_order_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect order_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere order_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "order_type", "file_key_name": "models.spot_order_committed_base_sepolia", "attached_node": "model.synthetix.spot_order_committed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "order_type", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_final_order_amount__True__0.db1eb9bae2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_base_sepolia_final_order_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__4f13a7868119bca201bdeaa525a3d0fd.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_final_order_amount__True__0.db1eb9bae2", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_settled_base_sepolia_final_order_amount__True__0"], "alias": "dbt_utils_accepted_range_spot__4f13a7868119bca201bdeaa525a3d0fd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__4f13a7868119bca201bdeaa525a3d0fd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__4f13a7868119bca201bdeaa525a3d0fd"}, "created_at": 1723584320.602878, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__4f13a7868119bca201bdeaa525a3d0fd\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4f13a7868119bca201bdeaa525a3d0fd.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not final_order_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "final_order_amount", "file_key_name": "models.spot_order_settled_base_sepolia", "attached_node": "model.synthetix.spot_order_settled_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "final_order_amount", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_base_sepolia_settler.3cce2227a9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_sepolia_settler", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_sepolia_settler.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_settler.3cce2227a9", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_settled_base_sepolia_settler"], "alias": "not_null_spot_order_settled_base_sepolia_settler", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6069007, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_settler.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect settler\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere settler is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "settler", "file_key_name": "models.spot_order_settled_base_sepolia", "attached_node": "model.synthetix.spot_order_settled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "settler", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_sepolia_block_number.65da819fda": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_block_number.65da819fda", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_settled_base_sepolia_block_number"], "alias": "not_null_spot_order_settled_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6085408, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_order_settled_base_sepolia", "attached_node": "model.synthetix.spot_order_settled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_sepolia_transaction_hash.db4a8fd73d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_transaction_hash.db4a8fd73d", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_settled_base_sepolia_transaction_hash"], "alias": "not_null_spot_order_settled_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6103113, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_order_settled_base_sepolia", "attached_node": "model.synthetix.spot_order_settled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_sepolia_block_timestamp.2af878ee49": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_block_timestamp.2af878ee49", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_settled_base_sepolia_block_timestamp"], "alias": "not_null_spot_order_settled_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.611927, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_order_settled_base_sepolia", "attached_node": "model.synthetix.spot_order_settled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_sepolia_id.41dd4b147f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_id.41dd4b147f", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_settled_base_sepolia_id"], "alias": "not_null_spot_order_settled_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.613534, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_settled_base_sepolia", "attached_node": "model.synthetix.spot_order_settled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_order_settled_base_sepolia_id.d146f45657": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_order_settled_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_order_settled_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_order_settled_base_sepolia_id.d146f45657", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "unique_spot_order_settled_base_sepolia_id"], "alias": "unique_spot_order_settled_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6151817, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_settled_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_settled_base_sepolia", "attached_node": "model.synthetix.spot_order_settled_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_sepolia_order_type.aba0efecf9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_sepolia_order_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_sepolia_order_type.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_order_type.aba0efecf9", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_settled_base_sepolia_order_type"], "alias": "not_null_spot_order_settled_base_sepolia_order_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.617348, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_order_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect order_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere order_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "order_type", "file_key_name": "models.spot_order_settled_base_sepolia", "attached_node": "model.synthetix.spot_order_settled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "order_type", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_sepolia_contract.70a66ec745": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_contract.70a66ec745", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_settled_base_sepolia_contract"], "alias": "not_null_spot_order_settled_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6189563, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_order_settled_base_sepolia", "attached_node": "model.synthetix.spot_order_settled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_sepolia_price.5e737efecc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_sepolia_price.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_price.5e737efecc", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_settled_base_sepolia_price"], "alias": "not_null_spot_order_settled_base_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6205618, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_order_settled_base_sepolia", "attached_node": "model.synthetix.spot_order_settled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_price__True__0.be79188042": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_base_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__cd269306f3b2f0353d6196cda647b5bb.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_price__True__0.be79188042", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_settled_base_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_spot__cd269306f3b2f0353d6196cda647b5bb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__cd269306f3b2f0353d6196cda647b5bb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__cd269306f3b2f0353d6196cda647b5bb"}, "created_at": 1723584320.622165, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__cd269306f3b2f0353d6196cda647b5bb\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__cd269306f3b2f0353d6196cda647b5bb.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_order_settled_base_sepolia", "attached_node": "model.synthetix.spot_order_settled_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_base_sepolia_market_id.08f8f7cfee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_sepolia_market_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_market_id.08f8f7cfee", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_settled_base_sepolia_market_id"], "alias": "not_null_spot_order_settled_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6263196, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_settled_base_sepolia", "attached_node": "model.synthetix.spot_order_settled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_market_id__True__0.57c7ca8b8a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__13a01d419f0c01220bde33d48208a6d3.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_market_id__True__0.57c7ca8b8a", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_settled_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__13a01d419f0c01220bde33d48208a6d3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__13a01d419f0c01220bde33d48208a6d3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__13a01d419f0c01220bde33d48208a6d3"}, "created_at": 1723584320.6280146, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__13a01d419f0c01220bde33d48208a6d3\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__13a01d419f0c01220bde33d48208a6d3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_settled_base_sepolia", "attached_node": "model.synthetix.spot_order_settled_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_base_sepolia_collected_fees.ce03171f19": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_sepolia_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_sepolia_collected_fees.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_collected_fees.ce03171f19", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_settled_base_sepolia_collected_fees"], "alias": "not_null_spot_order_settled_base_sepolia_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.632267, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_order_settled_base_sepolia", "attached_node": "model.synthetix.spot_order_settled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_collected_fees__True__0.7f14aa7a7b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_base_sepolia_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__300cfb1565a2e5a0373aab21735eb780.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_collected_fees__True__0.7f14aa7a7b", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_settled_base_sepolia_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_spot__300cfb1565a2e5a0373aab21735eb780", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__300cfb1565a2e5a0373aab21735eb780", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__300cfb1565a2e5a0373aab21735eb780"}, "created_at": 1723584320.633894, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__300cfb1565a2e5a0373aab21735eb780\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__300cfb1565a2e5a0373aab21735eb780.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_order_settled_base_sepolia", "attached_node": "model.synthetix.spot_order_settled_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_base_sepolia_event_name.78cc82e3ab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_event_name.78cc82e3ab", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_settled_base_sepolia_event_name"], "alias": "not_null_spot_order_settled_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6380262, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_settled_base_sepolia", "attached_node": "model.synthetix.spot_order_settled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_order_settled_base_sepolia_event_name__OrderSettled.177309ebc4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_order_settled_base_sepolia_event_name__OrderSettled", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_order_set_d1c46e9e2adad296d75fa712f4250930.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_order_settled_base_sepolia_event_name__OrderSettled.177309ebc4", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "accepted_values_spot_order_settled_base_sepolia_event_name__OrderSettled"], "alias": "accepted_values_spot_order_set_d1c46e9e2adad296d75fa712f4250930", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_order_set_d1c46e9e2adad296d75fa712f4250930", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_order_set_d1c46e9e2adad296d75fa712f4250930"}, "created_at": 1723584320.6397, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_order_set_d1c46e9e2adad296d75fa712f4250930\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_order_set_d1c46e9e2adad296d75fa712f4250930.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderSettled'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_settled_base_sepolia", "attached_node": "model.synthetix.spot_order_settled_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderSettled"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_sepolia_id.5e9a576929": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_id.5e9a576929", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_cancelled_base_sepolia_id"], "alias": "not_null_spot_order_cancelled_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.643863, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_cancelled_base_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_order_cancelled_base_sepolia_id.0e40062e64": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_order_cancelled_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_order_cancelled_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_order_cancelled_base_sepolia_id.0e40062e64", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "unique_spot_order_cancelled_base_sepolia_id"], "alias": "unique_spot_order_cancelled_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.645504, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_cancelled_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_cancelled_base_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_sepolia_block_timestamp.fa9df55b40": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_block_timestamp.fa9df55b40", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_cancelled_base_sepolia_block_timestamp"], "alias": "not_null_spot_order_cancelled_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6471107, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_order_cancelled_base_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_sepolia_transaction_hash.0752dd402b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_transaction_hash.0752dd402b", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_cancelled_base_sepolia_transaction_hash"], "alias": "not_null_spot_order_cancelled_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6487114, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_order_cancelled_base_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_sepolia_sender.aac13d426e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_sender.aac13d426e", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_cancelled_base_sepolia_sender"], "alias": "not_null_spot_order_cancelled_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6503863, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.spot_order_cancelled_base_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_sepolia_contract.0c41210b4f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_contract.0c41210b4f", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_cancelled_base_sepolia_contract"], "alias": "not_null_spot_order_cancelled_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6519904, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_order_cancelled_base_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_sepolia_event_name.860a2e2098": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_event_name.860a2e2098", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_cancelled_base_sepolia_event_name"], "alias": "not_null_spot_order_cancelled_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6535654, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_cancelled_base_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_order_cancelled_base_sepolia_event_name__OrderCancelled.19ae93abc4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_order_cancelled_base_sepolia_event_name__OrderCancelled", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_order_can_3690236c38a3115c311350297982d981.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_order_cancelled_base_sepolia_event_name__OrderCancelled.19ae93abc4", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "accepted_values_spot_order_cancelled_base_sepolia_event_name__OrderCancelled"], "alias": "accepted_values_spot_order_can_3690236c38a3115c311350297982d981", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_order_can_3690236c38a3115c311350297982d981", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_order_can_3690236c38a3115c311350297982d981"}, "created_at": 1723584320.655173, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_order_can_3690236c38a3115c311350297982d981\") }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_order_can_3690236c38a3115c311350297982d981.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderCancelled'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_cancelled_base_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderCancelled"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_sepolia_market_id.29f20fb008": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_sepolia_market_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_market_id.29f20fb008", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_cancelled_base_sepolia_market_id"], "alias": "not_null_spot_order_cancelled_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6592827, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_cancelled_base_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_base_sepolia_market_id__True__0.256744e74d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_cancelled_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__b91d9ecd06c3f68bcfa4965064d38638.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_base_sepolia_market_id__True__0.256744e74d", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_cancelled_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__b91d9ecd06c3f68bcfa4965064d38638", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__b91d9ecd06c3f68bcfa4965064d38638", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__b91d9ecd06c3f68bcfa4965064d38638"}, "created_at": 1723584320.6609592, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__b91d9ecd06c3f68bcfa4965064d38638\") }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__b91d9ecd06c3f68bcfa4965064d38638.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_cancelled_base_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_cancelled_base_sepolia_block_number.86a31f2f2c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_block_number.86a31f2f2c", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_cancelled_base_sepolia_block_number"], "alias": "not_null_spot_order_cancelled_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.665142, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_order_cancelled_base_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_sepolia_id.82e3f87ac4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_sepolia_id.82e3f87ac4", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_registered_base_sepolia_id"], "alias": "not_null_spot_synth_registered_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6667883, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_registered_base_sepolia", "attached_node": "model.synthetix.spot_synth_registered_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_registered_base_sepolia_id.59dadce592": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_registered_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_registered_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_registered_base_sepolia_id.59dadce592", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "unique_spot_synth_registered_base_sepolia_id"], "alias": "unique_spot_synth_registered_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6684263, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_registered_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_registered_base_sepolia", "attached_node": "model.synthetix.spot_synth_registered_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_sepolia_block_timestamp.79c2f95be5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_sepolia_block_timestamp.79c2f95be5", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_registered_base_sepolia_block_timestamp"], "alias": "not_null_spot_synth_registered_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6700225, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_synth_registered_base_sepolia", "attached_node": "model.synthetix.spot_synth_registered_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_sepolia_synth_market_id.5a96ef8d3b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_sepolia_synth_market_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_sepolia_synth_market_id.5a96ef8d3b", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_registered_base_sepolia_synth_market_id"], "alias": "not_null_spot_synth_registered_base_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6717753, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_registered_base_sepolia", "attached_node": "model.synthetix.spot_synth_registered_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_base_sepolia_synth_market_id__True__0.e252f6d23b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_registered_base_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__db70217fe7008de187cf1916f01ad9ac.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_base_sepolia_synth_market_id__True__0.e252f6d23b", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_registered_base_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__db70217fe7008de187cf1916f01ad9ac", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__db70217fe7008de187cf1916f01ad9ac", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__db70217fe7008de187cf1916f01ad9ac"}, "created_at": 1723584320.6733975, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__db70217fe7008de187cf1916f01ad9ac\") }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__db70217fe7008de187cf1916f01ad9ac.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_registered_base_sepolia", "attached_node": "model.synthetix.spot_synth_registered_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_registered_base_sepolia_block_number.bb37a01e8d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_sepolia_block_number.bb37a01e8d", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_registered_base_sepolia_block_number"], "alias": "not_null_spot_synth_registered_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.677607, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_synth_registered_base_sepolia", "attached_node": "model.synthetix.spot_synth_registered_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_sepolia_contract.4039370624": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_sepolia_contract.4039370624", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_registered_base_sepolia_contract"], "alias": "not_null_spot_synth_registered_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6792505, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_synth_registered_base_sepolia", "attached_node": "model.synthetix.spot_synth_registered_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_sepolia_synth_token_address.9a1399c63c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_sepolia_synth_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_sepolia_synth_token_address.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_sepolia_synth_token_address.9a1399c63c", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_registered_base_sepolia_synth_token_address"], "alias": "not_null_spot_synth_registered_base_sepolia_synth_token_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.680848, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_synth_token_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_token_address\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\nwhere synth_token_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_token_address", "file_key_name": "models.spot_synth_registered_base_sepolia", "attached_node": "model.synthetix.spot_synth_registered_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_token_address", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_sepolia_event_name.40165b8566": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_sepolia_event_name.40165b8566", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_registered_base_sepolia_event_name"], "alias": "not_null_spot_synth_registered_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6824424, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_registered_base_sepolia", "attached_node": "model.synthetix.spot_synth_registered_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_registered_base_sepolia_event_name__SynthRegistered.560c96fe92": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_registered_base_sepolia_event_name__SynthRegistered", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_reg_471967b994e90555bd28aca32fc1028a.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_registered_base_sepolia_event_name__SynthRegistered.560c96fe92", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "accepted_values_spot_synth_registered_base_sepolia_event_name__SynthRegistered"], "alias": "accepted_values_spot_synth_reg_471967b994e90555bd28aca32fc1028a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_reg_471967b994e90555bd28aca32fc1028a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_synth_reg_471967b994e90555bd28aca32fc1028a"}, "created_at": 1723584320.6840763, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_reg_471967b994e90555bd28aca32fc1028a\") }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_reg_471967b994e90555bd28aca32fc1028a.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthRegistered'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_registered_base_sepolia", "attached_node": "model.synthetix.spot_synth_registered_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthRegistered"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_sepolia_transaction_hash.0cea3ca1bf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_sepolia_transaction_hash.0cea3ca1bf", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_registered_base_sepolia_transaction_hash"], "alias": "not_null_spot_synth_registered_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.688122, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_synth_registered_base_sepolia", "attached_node": "model.synthetix.spot_synth_registered_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_sepolia_collected_fees.9d30351609": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_sepolia_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_sepolia_collected_fees.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_collected_fees.9d30351609", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_bought_base_sepolia_collected_fees"], "alias": "not_null_spot_synth_bought_base_sepolia_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.689728, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_synth_bought_base_sepolia", "attached_node": "model.synthetix.spot_synth_bought_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_collected_fees__True__0.1b65c16e7a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_bought_base_sepolia_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__cb754edcca977002ee1bf5c8e8d2cda3.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_collected_fees__True__0.1b65c16e7a", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_bought_base_sepolia_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_spot__cb754edcca977002ee1bf5c8e8d2cda3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__cb754edcca977002ee1bf5c8e8d2cda3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__cb754edcca977002ee1bf5c8e8d2cda3"}, "created_at": 1723584320.691482, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__cb754edcca977002ee1bf5c8e8d2cda3\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__cb754edcca977002ee1bf5c8e8d2cda3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_synth_bought_base_sepolia", "attached_node": "model.synthetix.spot_synth_bought_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_bought_base_sepolia_transaction_hash.368cb3f67e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_transaction_hash.368cb3f67e", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_bought_base_sepolia_transaction_hash"], "alias": "not_null_spot_synth_bought_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6955223, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_synth_bought_base_sepolia", "attached_node": "model.synthetix.spot_synth_bought_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_sepolia_synth_market_id.b1c1943367": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_sepolia_synth_market_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_synth_market_id.b1c1943367", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_bought_base_sepolia_synth_market_id"], "alias": "not_null_spot_synth_bought_base_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6977556, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_bought_base_sepolia", "attached_node": "model.synthetix.spot_synth_bought_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_synth_market_id__True__0.2be12779d3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_bought_base_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__5c81b12a2b7d8abf5e9e3b24937fc80b.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_synth_market_id__True__0.2be12779d3", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_bought_base_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__5c81b12a2b7d8abf5e9e3b24937fc80b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__5c81b12a2b7d8abf5e9e3b24937fc80b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__5c81b12a2b7d8abf5e9e3b24937fc80b"}, "created_at": 1723584320.6994412, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__5c81b12a2b7d8abf5e9e3b24937fc80b\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__5c81b12a2b7d8abf5e9e3b24937fc80b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_bought_base_sepolia", "attached_node": "model.synthetix.spot_synth_bought_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_bought_base_sepolia_block_number.b137c20668": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_block_number.b137c20668", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_bought_base_sepolia_block_number"], "alias": "not_null_spot_synth_bought_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.703428, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_synth_bought_base_sepolia", "attached_node": "model.synthetix.spot_synth_bought_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_sepolia_block_timestamp.b2a61f5718": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_block_timestamp.b2a61f5718", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_bought_base_sepolia_block_timestamp"], "alias": "not_null_spot_synth_bought_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.705202, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_synth_bought_base_sepolia", "attached_node": "model.synthetix.spot_synth_bought_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_sepolia_id.942697f903": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_id.942697f903", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_bought_base_sepolia_id"], "alias": "not_null_spot_synth_bought_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7067916, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_bought_base_sepolia", "attached_node": "model.synthetix.spot_synth_bought_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_bought_base_sepolia_id.17a8acaf0c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_bought_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_bought_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_bought_base_sepolia_id.17a8acaf0c", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "unique_spot_synth_bought_base_sepolia_id"], "alias": "unique_spot_synth_bought_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7084613, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_bought_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_bought_base_sepolia", "attached_node": "model.synthetix.spot_synth_bought_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_sepolia_price.d27790b16d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_sepolia_price.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_price.d27790b16d", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_bought_base_sepolia_price"], "alias": "not_null_spot_synth_bought_base_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7100682, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_synth_bought_base_sepolia", "attached_node": "model.synthetix.spot_synth_bought_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_price__True__0.1dfcf66dee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_bought_base_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__c04a0814c5b3928f067817c3c1073c16.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_price__True__0.1dfcf66dee", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_bought_base_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_spot__c04a0814c5b3928f067817c3c1073c16", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__c04a0814c5b3928f067817c3c1073c16", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__c04a0814c5b3928f067817c3c1073c16"}, "created_at": 1723584320.711781, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__c04a0814c5b3928f067817c3c1073c16\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__c04a0814c5b3928f067817c3c1073c16.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_synth_bought_base_sepolia", "attached_node": "model.synthetix.spot_synth_bought_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_bought_base_sepolia_contract.4678866b0c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_contract.4678866b0c", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_bought_base_sepolia_contract"], "alias": "not_null_spot_synth_bought_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.715776, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_synth_bought_base_sepolia", "attached_node": "model.synthetix.spot_synth_bought_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_sepolia_referrer.4756917b09": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_sepolia_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_sepolia_referrer.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_referrer.4756917b09", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_bought_base_sepolia_referrer"], "alias": "not_null_spot_synth_bought_base_sepolia_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7173848, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "file_key_name": "models.spot_synth_bought_base_sepolia", "attached_node": "model.synthetix.spot_synth_bought_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referrer", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_sepolia_event_name.cacb370344": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_event_name.cacb370344", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_bought_base_sepolia_event_name"], "alias": "not_null_spot_synth_bought_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7191868, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_bought_base_sepolia", "attached_node": "model.synthetix.spot_synth_bought_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_bought_base_sepolia_event_name__SynthBought.3932e43413": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_bought_base_sepolia_event_name__SynthBought", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_bou_aa2a6971760377ea577d960171ae6483.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_bought_base_sepolia_event_name__SynthBought.3932e43413", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "accepted_values_spot_synth_bought_base_sepolia_event_name__SynthBought"], "alias": "accepted_values_spot_synth_bou_aa2a6971760377ea577d960171ae6483", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_bou_aa2a6971760377ea577d960171ae6483", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_synth_bou_aa2a6971760377ea577d960171ae6483"}, "created_at": 1723584320.720802, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_bou_aa2a6971760377ea577d960171ae6483\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_bou_aa2a6971760377ea577d960171ae6483.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthBought'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_bought_base_sepolia", "attached_node": "model.synthetix.spot_synth_bought_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthBought"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_sepolia_event_name.24601a4262": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_event_name.24601a4262", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_sold_base_sepolia_event_name"], "alias": "not_null_spot_synth_sold_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7248926, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_sold_base_sepolia", "attached_node": "model.synthetix.spot_synth_sold_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_sold_base_sepolia_event_name__SynthSold.bc9ca74c87": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_sold_base_sepolia_event_name__SynthSold", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_sol_4a303f29675a493155ab1c8c405d5788.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_sold_base_sepolia_event_name__SynthSold.bc9ca74c87", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "accepted_values_spot_synth_sold_base_sepolia_event_name__SynthSold"], "alias": "accepted_values_spot_synth_sol_4a303f29675a493155ab1c8c405d5788", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_sol_4a303f29675a493155ab1c8c405d5788", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_synth_sol_4a303f29675a493155ab1c8c405d5788"}, "created_at": 1723584320.726568, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_sol_4a303f29675a493155ab1c8c405d5788\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_sol_4a303f29675a493155ab1c8c405d5788.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthSold'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_sold_base_sepolia", "attached_node": "model.synthetix.spot_synth_sold_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthSold"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_sepolia_transaction_hash.a13ba6bde1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_transaction_hash.a13ba6bde1", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_sold_base_sepolia_transaction_hash"], "alias": "not_null_spot_synth_sold_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7307737, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_synth_sold_base_sepolia", "attached_node": "model.synthetix.spot_synth_sold_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_sepolia_collected_fees.8ad9625fb0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_sepolia_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_sepolia_collected_fees.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_collected_fees.8ad9625fb0", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_sold_base_sepolia_collected_fees"], "alias": "not_null_spot_synth_sold_base_sepolia_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.732426, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_synth_sold_base_sepolia", "attached_node": "model.synthetix.spot_synth_sold_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_collected_fees__True__0.0a04ec9ef2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_base_sepolia_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__966d446920709dfdf243c21a8e245c96.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_collected_fees__True__0.0a04ec9ef2", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_sold_base_sepolia_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_spot__966d446920709dfdf243c21a8e245c96", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__966d446920709dfdf243c21a8e245c96", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__966d446920709dfdf243c21a8e245c96"}, "created_at": 1723584320.734032, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__966d446920709dfdf243c21a8e245c96\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__966d446920709dfdf243c21a8e245c96.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_synth_sold_base_sepolia", "attached_node": "model.synthetix.spot_synth_sold_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_base_sepolia_block_timestamp.f3d45165ff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_block_timestamp.f3d45165ff", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_sold_base_sepolia_block_timestamp"], "alias": "not_null_spot_synth_sold_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.738172, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_synth_sold_base_sepolia", "attached_node": "model.synthetix.spot_synth_sold_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_sepolia_referrer.51ef2f8d16": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_sepolia_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_sepolia_referrer.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_referrer.51ef2f8d16", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_sold_base_sepolia_referrer"], "alias": "not_null_spot_synth_sold_base_sepolia_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7398477, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "file_key_name": "models.spot_synth_sold_base_sepolia", "attached_node": "model.synthetix.spot_synth_sold_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referrer", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_sepolia_block_number.17e7ff9528": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_block_number.17e7ff9528", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_sold_base_sepolia_block_number"], "alias": "not_null_spot_synth_sold_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7414641, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_synth_sold_base_sepolia", "attached_node": "model.synthetix.spot_synth_sold_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_sepolia_price.88b1a85b40": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_sepolia_price.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_price.88b1a85b40", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_sold_base_sepolia_price"], "alias": "not_null_spot_synth_sold_base_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7430508, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_synth_sold_base_sepolia", "attached_node": "model.synthetix.spot_synth_sold_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_price__True__0.cedd17dbea": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_base_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__92b3915b24936d3e739e69bedf15be06.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_price__True__0.cedd17dbea", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_sold_base_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_spot__92b3915b24936d3e739e69bedf15be06", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__92b3915b24936d3e739e69bedf15be06", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__92b3915b24936d3e739e69bedf15be06"}, "created_at": 1723584320.7447965, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__92b3915b24936d3e739e69bedf15be06\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__92b3915b24936d3e739e69bedf15be06.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_synth_sold_base_sepolia", "attached_node": "model.synthetix.spot_synth_sold_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_base_sepolia_amount_returned.c33656b778": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_sepolia_amount_returned", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_sepolia_amount_returned.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_amount_returned.c33656b778", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_sold_base_sepolia_amount_returned"], "alias": "not_null_spot_synth_sold_base_sepolia_amount_returned", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7488031, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_amount_returned.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_returned\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere amount_returned is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_returned", "file_key_name": "models.spot_synth_sold_base_sepolia", "attached_node": "model.synthetix.spot_synth_sold_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_returned", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_amount_returned__True__0.400f957fc7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_base_sepolia_amount_returned__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__50066068b3f5b64e057fb6537a1b1685.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_amount_returned__True__0.400f957fc7", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_sold_base_sepolia_amount_returned__True__0"], "alias": "dbt_utils_accepted_range_spot__50066068b3f5b64e057fb6537a1b1685", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__50066068b3f5b64e057fb6537a1b1685", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__50066068b3f5b64e057fb6537a1b1685"}, "created_at": 1723584320.7506177, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__50066068b3f5b64e057fb6537a1b1685\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__50066068b3f5b64e057fb6537a1b1685.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_returned >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_returned", "file_key_name": "models.spot_synth_sold_base_sepolia", "attached_node": "model.synthetix.spot_synth_sold_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_returned", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_base_sepolia_synth_market_id.25c988c205": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_sepolia_synth_market_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_synth_market_id.25c988c205", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_sold_base_sepolia_synth_market_id"], "alias": "not_null_spot_synth_sold_base_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7546382, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_sold_base_sepolia", "attached_node": "model.synthetix.spot_synth_sold_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_synth_market_id__True__0.5175d72781": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_base_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__15365b5e9ca07c7e777db2b143822aff.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_synth_market_id__True__0.5175d72781", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_sold_base_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__15365b5e9ca07c7e777db2b143822aff", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__15365b5e9ca07c7e777db2b143822aff", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__15365b5e9ca07c7e777db2b143822aff"}, "created_at": 1723584320.7562962, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__15365b5e9ca07c7e777db2b143822aff\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__15365b5e9ca07c7e777db2b143822aff.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_sold_base_sepolia", "attached_node": "model.synthetix.spot_synth_sold_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_base_sepolia_id.c2f7e77070": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_id.c2f7e77070", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_sold_base_sepolia_id"], "alias": "not_null_spot_synth_sold_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7604616, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_sold_base_sepolia", "attached_node": "model.synthetix.spot_synth_sold_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_sold_base_sepolia_id.d31e78319f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_sold_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_sold_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_sold_base_sepolia_id.d31e78319f", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "unique_spot_synth_sold_base_sepolia_id"], "alias": "unique_spot_synth_sold_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.762071, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_sold_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_sold_base_sepolia", "attached_node": "model.synthetix.spot_synth_sold_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_sepolia_contract.8d370e2248": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_contract.8d370e2248", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_sold_base_sepolia_contract"], "alias": "not_null_spot_synth_sold_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7638443, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_synth_sold_base_sepolia", "attached_node": "model.synthetix.spot_synth_sold_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_id.8905f554af": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_id.8905f554af", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_wrapped_base_sepolia_id"], "alias": "not_null_spot_synth_wrapped_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7654598, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_wrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_wrapped_base_sepolia_id.159b2de78a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_wrapped_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_wrapped_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_wrapped_base_sepolia_id.159b2de78a", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "unique_spot_synth_wrapped_base_sepolia_id"], "alias": "unique_spot_synth_wrapped_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7670665, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_wrapped_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_wrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_transaction_hash.7672de0496": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_transaction_hash.7672de0496", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_wrapped_base_sepolia_transaction_hash"], "alias": "not_null_spot_synth_wrapped_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.768774, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_synth_wrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_synth_market_id.601db0f648": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_sepolia_synth_market_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_synth_market_id.601db0f648", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_wrapped_base_sepolia_synth_market_id"], "alias": "not_null_spot_synth_wrapped_base_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.770398, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_wrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_synth_market_id__True__0.2dfd67bc58": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__b7cc818868b90483e6c7f3bbc2f3b338.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_synth_market_id__True__0.2dfd67bc58", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__b7cc818868b90483e6c7f3bbc2f3b338", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__b7cc818868b90483e6c7f3bbc2f3b338", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__b7cc818868b90483e6c7f3bbc2f3b338"}, "created_at": 1723584320.7721126, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__b7cc818868b90483e6c7f3bbc2f3b338\") }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__b7cc818868b90483e6c7f3bbc2f3b338.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_wrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_contract.d4446f0372": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_contract.d4446f0372", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_wrapped_base_sepolia_contract"], "alias": "not_null_spot_synth_wrapped_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7761874, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_synth_wrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_event_name.fe439b73da": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_event_name.fe439b73da", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_wrapped_base_sepolia_event_name"], "alias": "not_null_spot_synth_wrapped_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7782247, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_wrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_wrapped_base_sepolia_event_name__SynthWrapped.031ffbb73f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_wrapped_base_sepolia_event_name__SynthWrapped", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_wra_9ee9951c121b860154825f1775b31b57.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_wrapped_base_sepolia_event_name__SynthWrapped.031ffbb73f", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "accepted_values_spot_synth_wrapped_base_sepolia_event_name__SynthWrapped"], "alias": "accepted_values_spot_synth_wra_9ee9951c121b860154825f1775b31b57", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_wra_9ee9951c121b860154825f1775b31b57", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_synth_wra_9ee9951c121b860154825f1775b31b57"}, "created_at": 1723584320.7799072, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_wra_9ee9951c121b860154825f1775b31b57\") }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_wra_9ee9951c121b860154825f1775b31b57.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthWrapped'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_wrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthWrapped"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_block_timestamp.5b4c2eecf8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_block_timestamp.5b4c2eecf8", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_wrapped_base_sepolia_block_timestamp"], "alias": "not_null_spot_synth_wrapped_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.783848, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_synth_wrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_block_number.6d42ca2157": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_block_number.6d42ca2157", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_wrapped_base_sepolia_block_number"], "alias": "not_null_spot_synth_wrapped_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.78564, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_synth_wrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_fees_collected.b6fac60b85": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_sepolia_fees_collected", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_sepolia_fees_collected.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_fees_collected.b6fac60b85", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_wrapped_base_sepolia_fees_collected"], "alias": "not_null_spot_synth_wrapped_base_sepolia_fees_collected", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7872658, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_fees_collected.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect fees_collected\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\nwhere fees_collected is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "file_key_name": "models.spot_synth_wrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_fees_collected__True__0.c2a49865fe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_fees_collected__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__8d225b547c2425ebaa8b38fe55a2c4cc.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_fees_collected__True__0.c2a49865fe", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_fees_collected__True__0"], "alias": "dbt_utils_accepted_range_spot__8d225b547c2425ebaa8b38fe55a2c4cc", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__8d225b547c2425ebaa8b38fe55a2c4cc", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__8d225b547c2425ebaa8b38fe55a2c4cc"}, "created_at": 1723584320.7888975, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__8d225b547c2425ebaa8b38fe55a2c4cc\") }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__8d225b547c2425ebaa8b38fe55a2c4cc.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not fees_collected >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "file_key_name": "models.spot_synth_wrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_block_timestamp.41ba03a5b2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_block_timestamp.41ba03a5b2", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_unwrapped_base_sepolia_block_timestamp"], "alias": "not_null_spot_synth_unwrapped_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.793076, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.spot_synth_unwrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped.1a220b9007": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped.1a220b9007", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped"], "alias": "not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7947276, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_unwrapped\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\nwhere amount_unwrapped is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_unwrapped", "file_key_name": "models.spot_synth_unwrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_unwrapped", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_amount_unwrapped__True__0.8e197e25e9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_amount_unwrapped__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__1eeca95b22fbea01362853fe19dd5d34.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_amount_unwrapped__True__0.8e197e25e9", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_amount_unwrapped__True__0"], "alias": "dbt_utils_accepted_range_spot__1eeca95b22fbea01362853fe19dd5d34", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__1eeca95b22fbea01362853fe19dd5d34", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__1eeca95b22fbea01362853fe19dd5d34"}, "created_at": 1723584320.7963994, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__1eeca95b22fbea01362853fe19dd5d34\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__1eeca95b22fbea01362853fe19dd5d34.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_unwrapped >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_unwrapped", "file_key_name": "models.spot_synth_unwrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_unwrapped", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_fees_collected.c3d167c521": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_sepolia_fees_collected", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_sepolia_fees_collected.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_fees_collected.c3d167c521", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_unwrapped_base_sepolia_fees_collected"], "alias": "not_null_spot_synth_unwrapped_base_sepolia_fees_collected", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.800578, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_fees_collected.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect fees_collected\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\nwhere fees_collected is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "file_key_name": "models.spot_synth_unwrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_fees_collected__True__0.e56453f4c6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_fees_collected__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__9e68c7f5395a0920fa09a175c31f3639.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_fees_collected__True__0.e56453f4c6", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_fees_collected__True__0"], "alias": "dbt_utils_accepted_range_spot__9e68c7f5395a0920fa09a175c31f3639", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__9e68c7f5395a0920fa09a175c31f3639", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__9e68c7f5395a0920fa09a175c31f3639"}, "created_at": 1723584320.802233, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__9e68c7f5395a0920fa09a175c31f3639\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__9e68c7f5395a0920fa09a175c31f3639.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not fees_collected >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "file_key_name": "models.spot_synth_unwrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_event_name.b17d6e42c7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_event_name.b17d6e42c7", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_unwrapped_base_sepolia_event_name"], "alias": "not_null_spot_synth_unwrapped_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.8064137, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_unwrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_unwrapped_base_sepolia_event_name__SynthUnwrapped.8dae19258e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_unwrapped_base_sepolia_event_name__SynthUnwrapped", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_unw_a652e41c73419299bd7282cc028e6446.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_unwrapped_base_sepolia_event_name__SynthUnwrapped.8dae19258e", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "accepted_values_spot_synth_unwrapped_base_sepolia_event_name__SynthUnwrapped"], "alias": "accepted_values_spot_synth_unw_a652e41c73419299bd7282cc028e6446", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_unw_a652e41c73419299bd7282cc028e6446", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_spot_synth_unw_a652e41c73419299bd7282cc028e6446"}, "created_at": 1723584320.8081033, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_unw_a652e41c73419299bd7282cc028e6446\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_unw_a652e41c73419299bd7282cc028e6446.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthUnwrapped'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_unwrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthUnwrapped"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_block_number.5cfd06abfe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_block_number.5cfd06abfe", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_unwrapped_base_sepolia_block_number"], "alias": "not_null_spot_synth_unwrapped_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.8122208, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.spot_synth_unwrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_transaction_hash.2ea11780cc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_transaction_hash.2ea11780cc", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_unwrapped_base_sepolia_transaction_hash"], "alias": "not_null_spot_synth_unwrapped_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.813835, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.spot_synth_unwrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_contract.87983c1fa3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_contract.87983c1fa3", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_unwrapped_base_sepolia_contract"], "alias": "not_null_spot_synth_unwrapped_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.8154671, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.spot_synth_unwrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_id.6b02b454d5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_id.6b02b454d5", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_unwrapped_base_sepolia_id"], "alias": "not_null_spot_synth_unwrapped_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.8170936, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_unwrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_unwrapped_base_sepolia_id.74a8e666e5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_unwrapped_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_unwrapped_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_unwrapped_base_sepolia_id.74a8e666e5", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "unique_spot_synth_unwrapped_base_sepolia_id"], "alias": "unique_spot_synth_unwrapped_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.8188117, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_unwrapped_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_unwrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_synth_market_id.214a3db22f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_sepolia_synth_market_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_synth_market_id.214a3db22f", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_unwrapped_base_sepolia_synth_market_id"], "alias": "not_null_spot_synth_unwrapped_base_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.8204477, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_unwrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_synth_market_id__True__0.a469219bab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__ef48f492828e0921df76e6dd121631dd.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_synth_market_id__True__0.a469219bab", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__ef48f492828e0921df76e6dd121631dd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__ef48f492828e0921df76e6dd121631dd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_spot__ef48f492828e0921df76e6dd121631dd"}, "created_at": 1723584320.822051, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__ef48f492828e0921df76e6dd121631dd\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__ef48f492828e0921df76e6dd121631dd.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_unwrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_ts.e44412832a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_ts.e44412832a", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_eth_mainnet_ts"], "alias": "not_null_fct_pool_rewards_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.8581758, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_pool_id.7fd59c6d8c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_eth_mainnet_pool_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_pool_id.7fd59c6d8c", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_eth_mainnet_pool_id"], "alias": "not_null_fct_pool_rewards_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.8599114, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_pool_id__True__0.e03ffa9a09": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_2934f4352fc26e023c55f84429ab3bde.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_pool_id__True__0.e03ffa9a09", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_2934f4352fc26e023c55f84429ab3bde", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_2934f4352fc26e023c55f84429ab3bde", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_2934f4352fc26e023c55f84429ab3bde"}, "created_at": 1723584320.8615623, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_2934f4352fc26e023c55f84429ab3bde\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2934f4352fc26e023c55f84429ab3bde.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_collateral_type.6ac8e6e2aa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_eth_mainnet_collateral_type.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_collateral_type.6ac8e6e2aa", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_eth_mainnet_collateral_type"], "alias": "not_null_fct_pool_rewards_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.8658009, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_distributor.7111e37b09": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_eth_mainnet_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_eth_mainnet_distributor.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_distributor.7111e37b09", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_eth_mainnet_distributor"], "alias": "not_null_fct_pool_rewards_eth_mainnet_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.8674552, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_eth_mainnet\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.fct_pool_rewards_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('fct_pool_rewards_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_token_symbol.4bbde77781": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_eth_mainnet_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_eth_mainnet_token_symbol.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_token_symbol.4bbde77781", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_eth_mainnet_token_symbol"], "alias": "not_null_fct_pool_rewards_eth_mainnet_token_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.869072, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_eth_mainnet\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "models.fct_pool_rewards_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('fct_pool_rewards_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_amount.313b524117": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_eth_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_eth_mainnet_amount.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_amount.313b524117", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_eth_mainnet_amount"], "alias": "not_null_fct_pool_rewards_eth_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.8706715, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_eth_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_rewards_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_amount__True__0.db5fff0dcd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_054c72037f95e4e9cbfef34c09039720.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_amount__True__0.db5fff0dcd", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_p_054c72037f95e4e9cbfef34c09039720", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_054c72037f95e4e9cbfef34c09039720", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_054c72037f95e4e9cbfef34c09039720"}, "created_at": 1723584320.8724494, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_054c72037f95e4e9cbfef34c09039720\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_054c72037f95e4e9cbfef34c09039720.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_rewards_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_ts.a916375fbd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_ts.a916375fbd", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_account_delegation_eth_mainnet_ts"], "alias": "not_null_fct_core_account_delegation_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.87653, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_delegation_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_account_delegation_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_account_delegation_eth_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_account_id.9b9eed26fe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_eth_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_eth_mainnet_account_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_account_id.9b9eed26fe", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_account_delegation_eth_mainnet_account_id"], "alias": "not_null_fct_core_account_delegation_eth_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.878375, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_delegation_eth_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_account_delegation_eth_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_core_account_delegation_eth_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_pool_id.f6076a6b8b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_eth_mainnet_pool_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_pool_id.f6076a6b8b", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_account_delegation_eth_mainnet_pool_id"], "alias": "not_null_fct_core_account_delegation_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.8800616, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_delegation_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_account_delegation_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_account_delegation_eth_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_pool_id__True__0.35dc5bbd4b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_dbfdda8748eed6f862c9beac15d321ff.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_pool_id__True__0.35dc5bbd4b", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_dbfdda8748eed6f862c9beac15d321ff", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_dbfdda8748eed6f862c9beac15d321ff", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_dbfdda8748eed6f862c9beac15d321ff"}, "created_at": 1723584320.8816788, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_dbfdda8748eed6f862c9beac15d321ff\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_dbfdda8748eed6f862c9beac15d321ff.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_account_delegation_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_account_delegation_eth_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_collateral_type.f9b6e0e993": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_dele_68b57970c09830d418df224418591310.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_collateral_type.f9b6e0e993", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_account_delegation_eth_mainnet_collateral_type"], "alias": "not_null_fct_core_account_dele_68b57970c09830d418df224418591310", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_dele_68b57970c09830d418df224418591310", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_account_dele_68b57970c09830d418df224418591310"}, "created_at": 1723584320.8858814, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_dele_68b57970c09830d418df224418591310\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_dele_68b57970c09830d418df224418591310.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_account_delegation_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_account_delegation_eth_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_amount_delegated.7c91dafbd8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_eth_mainnet_amount_delegated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_dele_faf037cd4ab1300b61ff50c827948558.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_amount_delegated.7c91dafbd8", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_account_delegation_eth_mainnet_amount_delegated"], "alias": "not_null_fct_core_account_dele_faf037cd4ab1300b61ff50c827948558", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_dele_faf037cd4ab1300b61ff50c827948558", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_account_dele_faf037cd4ab1300b61ff50c827948558"}, "created_at": 1723584320.8875566, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_dele_faf037cd4ab1300b61ff50c827948558\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_dele_faf037cd4ab1300b61ff50c827948558.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_delegated\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_account_delegation_eth_mainnet\"\nwhere amount_delegated is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delegated", "file_key_name": "models.fct_core_account_delegation_eth_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_delegated", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_amount_delegated__True__0.854bbca778": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_amount_delegated__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_4c6859702d760b33c376577408388b07.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_amount_delegated__True__0.854bbca778", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_amount_delegated__True__0"], "alias": "dbt_utils_accepted_range_fct_c_4c6859702d760b33c376577408388b07", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_4c6859702d760b33c376577408388b07", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_4c6859702d760b33c376577408388b07"}, "created_at": 1723584320.8891952, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_4c6859702d760b33c376577408388b07\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_4c6859702d760b33c376577408388b07.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_account_delegation_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_delegated >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delegated", "file_key_name": "models.fct_core_account_delegation_eth_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_delegated", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_ts.99cae9616f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_ts.99cae9616f", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_ts"], "alias": "not_null_fct_core_apr_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.8933537, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_pool_id.c5e20f437d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_pool_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_pool_id.c5e20f437d", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_pool_id"], "alias": "not_null_fct_core_apr_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.8949933, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_pool_id__True__0.2e06d77a8b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_3db6bf9387d3a49899c54e305f9c78d9.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_pool_id__True__0.2e06d77a8b", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_3db6bf9387d3a49899c54e305f9c78d9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_3db6bf9387d3a49899c54e305f9c78d9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_3db6bf9387d3a49899c54e305f9c78d9"}, "created_at": 1723584320.8966699, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_3db6bf9387d3a49899c54e305f9c78d9\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_3db6bf9387d3a49899c54e305f9c78d9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_collateral_type.0bc0302d7e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_collateral_type.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_collateral_type.0bc0302d7e", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_collateral_type"], "alias": "not_null_fct_core_apr_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.900885, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_collateral_value.14594eca47": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_collateral_value.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_collateral_value.14594eca47", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_collateral_value"], "alias": "not_null_fct_core_apr_eth_mainnet_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9025116, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_collateral_value__True__0.b44f8cd90f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_eth_mainnet_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_7920031b7da7d8d224f8136d1dea8db1.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_collateral_value__True__0.b44f8cd90f", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_eth_mainnet_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_fct_c_7920031b7da7d8d224f8136d1dea8db1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_7920031b7da7d8d224f8136d1dea8db1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_7920031b7da7d8d224f8136d1dea8db1"}, "created_at": 1723584320.9041948, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_7920031b7da7d8d224f8136d1dea8db1\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_7920031b7da7d8d224f8136d1dea8db1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_debt.14b9039622": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_debt.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_debt.14b9039622", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_debt"], "alias": "not_null_fct_core_apr_eth_mainnet_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9083617, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_issuance.d21fe7e33b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_hourly_issuance.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_issuance.d21fe7e33b", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_hourly_issuance"], "alias": "not_null_fct_core_apr_eth_mainnet_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9100006, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated.1606ded24b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated.1606ded24b", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated"], "alias": "not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9116216, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_debt_migrated\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere hourly_debt_migrated is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_debt_migrated", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_debt_migrated", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_pnl.6570b2bdb2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_hourly_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_hourly_pnl.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_pnl.6570b2bdb2", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_hourly_pnl"], "alias": "not_null_fct_core_apr_eth_mainnet_hourly_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9133499, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere hourly_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_cumulative_pnl.4a739c13a4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_cumulative_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_cumulative_pnl.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_cumulative_pnl.4a739c13a4", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_cumulative_pnl"], "alias": "not_null_fct_core_apr_eth_mainnet_cumulative_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9149456, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_cumulative_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_pnl\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere cumulative_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_pnl", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_pnl", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_cumulative_issuance.ab1f8da889": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_cumulative_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_cumulative_issuance.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_cumulative_issuance.ab1f8da889", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_cumulative_issuance"], "alias": "not_null_fct_core_apr_eth_mainnet_cumulative_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9165702, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_cumulative_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_issuance\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere cumulative_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_issuance", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_issuance", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_rewards_usd.e91f21e2d5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_rewards_usd.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_rewards_usd.e91f21e2d5", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_rewards_usd"], "alias": "not_null_fct_core_apr_eth_mainnet_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9181657, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_rewards_usd__True__0.0ccd0edcb4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_eth_mainnet_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_969f0368b99bfbbc3842bae64e338171.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_rewards_usd__True__0.0ccd0edcb4", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_eth_mainnet_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_c_969f0368b99bfbbc3842bae64e338171", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_969f0368b99bfbbc3842bae64e338171", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_969f0368b99bfbbc3842bae64e338171"}, "created_at": 1723584320.9198925, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_969f0368b99bfbbc3842bae64e338171\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_969f0368b99bfbbc3842bae64e338171.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct.b582b1f1e2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct.b582b1f1e2", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct"], "alias": "not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9240556, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl_pct\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere hourly_pnl_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_pnl_pct__True__1___1.573c85fbab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_pnl_pct__True__1___1", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_74be897c581ee7316521db360ea3b995.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_pnl_pct__True__1___1.573c85fbab", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_pnl_pct__True__1___1"], "alias": "dbt_utils_accepted_range_fct_c_74be897c581ee7316521db360ea3b995", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_74be897c581ee7316521db360ea3b995", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_74be897c581ee7316521db360ea3b995"}, "created_at": 1723584320.9257782, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_74be897c581ee7316521db360ea3b995\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_74be897c581ee7316521db360ea3b995.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_pnl_pct >= -1\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_pnl_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": -1, "max_value": 1, "inclusive": true, "column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct.284fa06b64": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct.284fa06b64", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct"], "alias": "not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9299843, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_rewards_pct\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere hourly_rewards_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_rewards_pct__True__1__0.a383e39737": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_rewards_pct__True__1__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_397671cb74778b45abbae274b37b7464.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_rewards_pct__True__1__0.a383e39737", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_rewards_pct__True__1__0"], "alias": "dbt_utils_accepted_range_fct_c_397671cb74778b45abbae274b37b7464", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_397671cb74778b45abbae274b37b7464", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_397671cb74778b45abbae274b37b7464"}, "created_at": 1723584320.931669, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_397671cb74778b45abbae274b37b7464\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_397671cb74778b45abbae274b37b7464.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct >= 0\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "max_value": 1, "inclusive": true, "column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_24h.1e94a76b1e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_apr_24h", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_apr_24h.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_24h.1e94a76b1e", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_apr_24h"], "alias": "not_null_fct_core_apr_eth_mainnet_apr_24h", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9358778, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apr_24h.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_24h\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere apr_24h is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_24h", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_24h", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_24h.b52a8fd842": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_apy_24h", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_apy_24h.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_24h.b52a8fd842", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_apy_24h"], "alias": "not_null_fct_core_apr_eth_mainnet_apy_24h", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9375076, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apy_24h.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_24h\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere apy_24h is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_24h", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_24h", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_7d.35bc5cfb13": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_apr_7d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_apr_7d.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_7d.35bc5cfb13", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_apr_7d"], "alias": "not_null_fct_core_apr_eth_mainnet_apr_7d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9391499, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apr_7d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_7d\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere apr_7d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_7d", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_7d", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_7d.08d703cbb6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_apy_7d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_apy_7d.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_7d.08d703cbb6", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_apy_7d"], "alias": "not_null_fct_core_apr_eth_mainnet_apy_7d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9413264, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apy_7d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_7d\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere apy_7d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_7d", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_7d", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_28d.8dfb1e005a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_apr_28d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_apr_28d.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_28d.8dfb1e005a", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_apr_28d"], "alias": "not_null_fct_core_apr_eth_mainnet_apr_28d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9429154, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apr_28d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_28d\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere apr_28d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_28d", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_28d", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_28d.053e0eda01": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_apy_28d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_apy_28d.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_28d.053e0eda01", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_apy_28d"], "alias": "not_null_fct_core_apr_eth_mainnet_apy_28d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.944535, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apy_28d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_28d\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere apy_28d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_28d", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_28d", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_id.7444e98615": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_eth_mainnet_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_id.7444e98615", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_market_updated_eth_mainnet_id"], "alias": "not_null_fct_core_market_updated_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.946128, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_core_market_updated_eth_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_core_market_updated_eth_mainnet_id.d5c16089e9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_core_market_updated_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_core_market_updated_eth_mainnet_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_fct_core_market_updated_eth_mainnet_id.d5c16089e9", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "unique_fct_core_market_updated_eth_mainnet_id"], "alias": "unique_fct_core_market_updated_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9477293, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/unique_fct_core_market_updated_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_core_market_updated_eth_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_ts.950a116067": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_ts.950a116067", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_market_updated_eth_mainnet_ts"], "alias": "not_null_fct_core_market_updated_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.949415, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_market_updated_eth_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_transaction_hash.f31c00e39e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_eth_mainnet_transaction_hash.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_transaction_hash.f31c00e39e", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_market_updated_eth_mainnet_transaction_hash"], "alias": "not_null_fct_core_market_updated_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.950991, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_core_market_updated_eth_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_event_name.e682d1b7d5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_eth_mainnet_event_name.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_event_name.e682d1b7d5", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_market_updated_eth_mainnet_event_name"], "alias": "not_null_fct_core_market_updated_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.952605, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_core_market_updated_eth_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.f0e721a249": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_core_marke_d21d06b76f991501aa1300a0c4a8a2f0.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.f0e721a249", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "accepted_values_fct_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited"], "alias": "accepted_values_fct_core_marke_d21d06b76f991501aa1300a0c4a8a2f0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_core_marke_d21d06b76f991501aa1300a0c4a8a2f0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_fct_core_marke_d21d06b76f991501aa1300a0c4a8a2f0"}, "created_at": 1723584320.954219, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_core_marke_d21d06b76f991501aa1300a0c4a8a2f0\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/accepted_values_fct_core_marke_d21d06b76f991501aa1300a0c4a8a2f0.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_core_market_updated_eth_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCollateralWithdrawn", "MarketCollateralDeposited", "MarketUsdWithdrawn", "MarketUsdDeposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_market_id.9fbceacdbc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_eth_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_eth_mainnet_market_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_market_id.9fbceacdbc", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_market_updated_eth_mainnet_market_id"], "alias": "not_null_fct_core_market_updated_eth_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9583051, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_core_market_updated_eth_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_eth_mainnet_market_id__True__0.32701334f3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_market_updated_eth_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_bd3c45a752772e6ee9024ed6a31e6f2e.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_eth_mainnet_market_id__True__0.32701334f3", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_market_updated_eth_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_bd3c45a752772e6ee9024ed6a31e6f2e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_bd3c45a752772e6ee9024ed6a31e6f2e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_bd3c45a752772e6ee9024ed6a31e6f2e"}, "created_at": 1723584320.959949, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_bd3c45a752772e6ee9024ed6a31e6f2e\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_bd3c45a752772e6ee9024ed6a31e6f2e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_core_market_updated_eth_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_collateral_type.fbe59aeb13": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_eth_mainnet_collateral_type.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_collateral_type.fbe59aeb13", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_market_updated_eth_mainnet_collateral_type"], "alias": "not_null_fct_core_market_updated_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9640691, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_market_updated_eth_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_credit_capacity.bc652bf021": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_eth_mainnet_credit_capacity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_eth_mainnet_credit_capacity.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_credit_capacity.bc652bf021", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_market_updated_eth_mainnet_credit_capacity"], "alias": "not_null_fct_core_market_updated_eth_mainnet_credit_capacity", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9656816, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_credit_capacity.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect credit_capacity\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_mainnet\"\nwhere credit_capacity is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "credit_capacity", "file_key_name": "models.fct_core_market_updated_eth_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "credit_capacity", "model": "{{ get_where_subquery(ref('fct_core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_net_issuance.95ea8efb4e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_eth_mainnet_net_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_eth_mainnet_net_issuance.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_net_issuance.95ea8efb4e", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_market_updated_eth_mainnet_net_issuance"], "alias": "not_null_fct_core_market_updated_eth_mainnet_net_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9672933, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_net_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect net_issuance\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_mainnet\"\nwhere net_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "net_issuance", "file_key_name": "models.fct_core_market_updated_eth_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "net_issuance", "model": "{{ get_where_subquery(ref('fct_core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_token_amount.fe11f0ce69": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_eth_mainnet_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_eth_mainnet_token_amount.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_token_amount.fe11f0ce69", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_market_updated_eth_mainnet_token_amount"], "alias": "not_null_fct_core_market_updated_eth_mainnet_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9690127, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_mainnet\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.fct_core_market_updated_eth_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('fct_core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_ts.61a1043b04": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collateral_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_ts.61a1043b04", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_pool_collateral_eth_mainnet_ts"], "alias": "not_null_fct_core_pool_collateral_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9706073, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_pool_collateral_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_pool_collateral_eth_mainnet", "attached_node": "model.synthetix.fct_core_pool_collateral_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_collateral_type.217e5cb420": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collateral_eth_mainnet_collateral_type.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_collateral_type.217e5cb420", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_pool_collateral_eth_mainnet_collateral_type"], "alias": "not_null_fct_core_pool_collateral_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.972226, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_pool_collateral_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_pool_collateral_eth_mainnet", "attached_node": "model.synthetix.fct_core_pool_collateral_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited.b943283ec6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited.b943283ec6", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited"], "alias": "not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9738243, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_deposited\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_pool_collateral_eth_mainnet\"\nwhere amount_deposited is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_deposited", "file_key_name": "models.fct_core_pool_collateral_eth_mainnet", "attached_node": "model.synthetix.fct_core_pool_collateral_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_deposited", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_ts.4c81cbc76a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_ts.4c81cbc76a", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_pool_delegation_eth_mainnet_ts"], "alias": "not_null_fct_core_pool_delegation_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9754226, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_pool_delegation_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_pool_delegation_eth_mainnet", "attached_node": "model.synthetix.fct_core_pool_delegation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_pool_id.38ebfdf86f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_eth_mainnet_pool_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_pool_id.38ebfdf86f", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_pool_delegation_eth_mainnet_pool_id"], "alias": "not_null_fct_core_pool_delegation_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9771066, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_pool_delegation_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_pool_delegation_eth_mainnet", "attached_node": "model.synthetix.fct_core_pool_delegation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_eth_mainnet_pool_id__True__0.8087f39696": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_pool_delegation_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_a1abcaadc79b00f18a75355656bda467.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_eth_mainnet_pool_id__True__0.8087f39696", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_pool_delegation_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_a1abcaadc79b00f18a75355656bda467", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_a1abcaadc79b00f18a75355656bda467", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_a1abcaadc79b00f18a75355656bda467"}, "created_at": 1723584320.978691, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_a1abcaadc79b00f18a75355656bda467\") }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_a1abcaadc79b00f18a75355656bda467.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_pool_delegation_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_pool_delegation_eth_mainnet", "attached_node": "model.synthetix.fct_core_pool_delegation_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_collateral_type.687e523e9a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_eth_mainnet_collateral_type.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_collateral_type.687e523e9a", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_pool_delegation_eth_mainnet_collateral_type"], "alias": "not_null_fct_core_pool_delegation_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9829173, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_pool_delegation_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_pool_delegation_eth_mainnet", "attached_node": "model.synthetix.fct_core_pool_delegation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_eth_mainnet_id.ac06cb59ca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_eth_mainnet_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_eth_mainnet_id.ac06cb59ca", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_pools_eth_mainnet_id"], "alias": "not_null_fct_core_pools_eth_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9845614, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_pools_eth_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_core_pools_eth_mainnet", "attached_node": "model.synthetix.fct_core_pools_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_pools_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0.e529c0ad91": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0.e529c0ad91", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0"], "alias": "dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9861577, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_pools_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_core_pools_eth_mainnet", "attached_node": "model.synthetix.fct_core_pools_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_pools_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_pools_eth_mainnet_created_ts.85e7c6f7d7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_eth_mainnet_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_eth_mainnet_created_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_eth_mainnet_created_ts.85e7c6f7d7", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_pools_eth_mainnet_created_ts"], "alias": "not_null_fct_core_pools_eth_mainnet_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.990127, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_pools_eth_mainnet\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_core_pools_eth_mainnet", "attached_node": "model.synthetix.fct_core_pools_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_core_pools_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_eth_mainnet_block_number.d5795e3469": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_eth_mainnet_block_number.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_eth_mainnet_block_number.d5795e3469", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_pools_eth_mainnet_block_number"], "alias": "not_null_fct_core_pools_eth_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9917734, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_pools_eth_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_core_pools_eth_mainnet", "attached_node": "model.synthetix.fct_core_pools_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_core_pools_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_eth_mainnet_owner.13db5fad75": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_eth_mainnet_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_eth_mainnet_owner.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_eth_mainnet_owner.13db5fad75", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_pools_eth_mainnet_owner"], "alias": "not_null_fct_core_pools_eth_mainnet_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9933789, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_pools_eth_mainnet\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.fct_core_pools_eth_mainnet", "attached_node": "model.synthetix.fct_core_pools_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('fct_core_pools_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_eth_mainnet_ts.0a20d36f28": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_ts.0a20d36f28", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_debt_eth_mainnet_ts"], "alias": "not_null_fct_pool_debt_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9950118, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_debt_eth_mainnet", "attached_node": "model.synthetix.fct_pool_debt_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_debt_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_eth_mainnet_block_number.d707149fdd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_eth_mainnet_block_number.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_block_number.d707149fdd", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_debt_eth_mainnet_block_number"], "alias": "not_null_fct_pool_debt_eth_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.996747, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_pool_debt_eth_mainnet", "attached_node": "model.synthetix.fct_pool_debt_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_pool_debt_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_eth_mainnet_pool_id.088122bb77": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_eth_mainnet_pool_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_pool_id.088122bb77", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_debt_eth_mainnet_pool_id"], "alias": "not_null_fct_pool_debt_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9983532, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_debt_eth_mainnet", "attached_node": "model.synthetix.fct_pool_debt_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_debt_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_eth_mainnet_pool_id__True__0.9ab83c23dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_debt_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_37d9476ddcaaefbc45d08f7a6f84707f.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_eth_mainnet_pool_id__True__0.9ab83c23dd", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_debt_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_37d9476ddcaaefbc45d08f7a6f84707f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_37d9476ddcaaefbc45d08f7a6f84707f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_37d9476ddcaaefbc45d08f7a6f84707f"}, "created_at": 1723584320.9999793, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_37d9476ddcaaefbc45d08f7a6f84707f\") }}", "language": "sql", "refs": [{"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_37d9476ddcaaefbc45d08f7a6f84707f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_debt_eth_mainnet", "attached_node": "model.synthetix.fct_pool_debt_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_debt_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_debt_eth_mainnet_collateral_type.2f39d51963": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_eth_mainnet_collateral_type.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_collateral_type.2f39d51963", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_debt_eth_mainnet_collateral_type"], "alias": "not_null_fct_pool_debt_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0041306, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_debt_eth_mainnet", "attached_node": "model.synthetix.fct_pool_debt_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_debt_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_eth_mainnet_debt.100ad3cae1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_eth_mainnet_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_eth_mainnet_debt.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_debt.100ad3cae1", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_debt_eth_mainnet_debt"], "alias": "not_null_fct_pool_debt_eth_mainnet_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0057285, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_pool_debt_eth_mainnet", "attached_node": "model.synthetix.fct_pool_debt_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_pool_debt_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_ts.d84f234266": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_ts.d84f234266", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_issuance_hourly_eth_mainnet_ts"], "alias": "not_null_fct_pool_issuance_hourly_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0073535, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_hourly_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_issuance_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id.0bd0e6635e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id.0bd0e6635e", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id"], "alias": "not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0089421, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_hourly_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_eth_mainnet_pool_id__True__0.2f6d1cabb6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_issuance_hourly_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_c91a4c24938e464a76aaa74fe2c0fc77.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_eth_mainnet_pool_id__True__0.2f6d1cabb6", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_issuance_hourly_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_c91a4c24938e464a76aaa74fe2c0fc77", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_c91a4c24938e464a76aaa74fe2c0fc77", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_c91a4c24938e464a76aaa74fe2c0fc77"}, "created_at": 1723584321.0106277, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_c91a4c24938e464a76aaa74fe2c0fc77\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c91a4c24938e464a76aaa74fe2c0fc77.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_hourly_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type.04853a2f55": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type.04853a2f55", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type"], "alias": "not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0147011, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_hourly_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_issuance_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance.3ee79944a3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance.3ee79944a3", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance"], "alias": "not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0165184, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_hourly_eth_mainnet\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_pool_issuance_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_ts.5f32fba981": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_ts.5f32fba981", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_issuance_eth_mainnet_ts"], "alias": "not_null_fct_pool_issuance_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0181239, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_issuance_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_issuance_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_block_number.76ac645e79": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_eth_mainnet_block_number.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_block_number.76ac645e79", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_issuance_eth_mainnet_block_number"], "alias": "not_null_fct_pool_issuance_eth_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0197566, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_pool_issuance_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_pool_issuance_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_transaction_hash.801e733838": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_eth_mainnet_transaction_hash.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_transaction_hash.801e733838", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_issuance_eth_mainnet_transaction_hash"], "alias": "not_null_fct_pool_issuance_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0213747, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_pool_issuance_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_pool_issuance_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_pool_id.fd6c3981fe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_eth_mainnet_pool_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_pool_id.fd6c3981fe", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_issuance_eth_mainnet_pool_id"], "alias": "not_null_fct_pool_issuance_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0229843, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_eth_mainnet_pool_id__True__0.c3af88d954": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_issuance_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_fa41ca552146289703e7abe44ca6f646.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_eth_mainnet_pool_id__True__0.c3af88d954", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_issuance_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_fa41ca552146289703e7abe44ca6f646", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_fa41ca552146289703e7abe44ca6f646", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_fa41ca552146289703e7abe44ca6f646"}, "created_at": 1723584321.0252519, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_fa41ca552146289703e7abe44ca6f646\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_fa41ca552146289703e7abe44ca6f646.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_collateral_type.9e0a6d3551": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_eth_mainnet_collateral_type.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_collateral_type.9e0a6d3551", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_issuance_eth_mainnet_collateral_type"], "alias": "not_null_fct_pool_issuance_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0293558, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_issuance_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_issuance_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_account_id.d686918ab7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_eth_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_eth_mainnet_account_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_account_id.d686918ab7", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_issuance_eth_mainnet_account_id"], "alias": "not_null_fct_pool_issuance_eth_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.031155, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_pool_issuance_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_amount.4a0d8649af": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_eth_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_eth_mainnet_amount.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_amount.4a0d8649af", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_issuance_eth_mainnet_amount"], "alias": "not_null_fct_pool_issuance_eth_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0327868, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_issuance_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_issuance_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_ts.2a846b2bb8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_ts.2a846b2bb8", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_pnl_hourly_eth_mainnet_ts"], "alias": "not_null_fct_pool_pnl_hourly_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.034399, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id.d4b3c4be36": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id.d4b3c4be36", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id"], "alias": "not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.036108, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_pool_id__True__0.ad130b0c2f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_4e450d674b791e1df8b4f4f3d7636c5f.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_pool_id__True__0.ad130b0c2f", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_4e450d674b791e1df8b4f4f3d7636c5f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_4e450d674b791e1df8b4f4f3d7636c5f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_4e450d674b791e1df8b4f4f3d7636c5f"}, "created_at": 1723584321.0377104, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_4e450d674b791e1df8b4f4f3d7636c5f\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_4e450d674b791e1df8b4f4f3d7636c5f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type.8346dc5b9e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type.8346dc5b9e", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type"], "alias": "not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0418622, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value.bf72ec5191": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value.bf72ec5191", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value"], "alias": "not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0435061, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_collateral_value__True__0.aa5cf487aa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_3cf53cd92b2b1ff30275b19a4a617a35.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_collateral_value__True__0.aa5cf487aa", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_fct_p_3cf53cd92b2b1ff30275b19a4a617a35", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_3cf53cd92b2b1ff30275b19a4a617a35", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_3cf53cd92b2b1ff30275b19a4a617a35"}, "created_at": 1723584321.0451243, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_3cf53cd92b2b1ff30275b19a4a617a35\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_3cf53cd92b2b1ff30275b19a4a617a35.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_debt.34ed8f7e19": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_eth_mainnet_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_eth_mainnet_debt.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_debt.34ed8f7e19", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_pnl_hourly_eth_mainnet_debt"], "alias": "not_null_fct_pool_pnl_hourly_eth_mainnet_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.049273, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance.d981b1941f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance.d981b1941f", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance"], "alias": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0508888, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl.aef91ccc24": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl.aef91ccc24", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl"], "alias": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.05268, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\nwhere hourly_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated.b2364c3711": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated.b2364c3711", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated"], "alias": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0542753, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_debt_migrated\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\nwhere hourly_debt_migrated is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_debt_migrated", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_debt_migrated", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd.8fd34c30e5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd.8fd34c30e5", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd"], "alias": "not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0558915, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_rewards_usd__True__0.80c1c42490": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_c642ac1eb2e73de04b3c7331a4a52185.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_rewards_usd__True__0.80c1c42490", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_c642ac1eb2e73de04b3c7331a4a52185", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_c642ac1eb2e73de04b3c7331a4a52185", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_c642ac1eb2e73de04b3c7331a4a52185"}, "created_at": 1723584321.05751, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_c642ac1eb2e73de04b3c7331a4a52185\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c642ac1eb2e73de04b3c7331a4a52185.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct.d9b73c59f7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct.d9b73c59f7", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct"], "alias": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.061696, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl_pct\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\nwhere hourly_pnl_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct__True__1___1.ad0a057625": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct__True__1___1", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_b619d6e075a6befe7091b2fac0bf9d19.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct__True__1___1.ad0a057625", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct__True__1___1"], "alias": "dbt_utils_accepted_range_fct_p_b619d6e075a6befe7091b2fac0bf9d19", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_b619d6e075a6befe7091b2fac0bf9d19", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_b619d6e075a6befe7091b2fac0bf9d19"}, "created_at": 1723584321.0634277, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_b619d6e075a6befe7091b2fac0bf9d19\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b619d6e075a6befe7091b2fac0bf9d19.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_pnl_pct >= -1\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_pnl_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": -1, "max_value": 1, "inclusive": true, "column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct.d8b6a6177f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct.d8b6a6177f", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct"], "alias": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0677185, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_rewards_pct\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\nwhere hourly_rewards_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct__True__1__0.b431022b52": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct__True__1__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_c6b20868bf12e187c3c86d5f98a17a2d.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct__True__1__0.b431022b52", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct__True__1__0"], "alias": "dbt_utils_accepted_range_fct_p_c6b20868bf12e187c3c86d5f98a17a2d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_c6b20868bf12e187c3c86d5f98a17a2d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_c6b20868bf12e187c3c86d5f98a17a2d"}, "created_at": 1723584321.0693703, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_c6b20868bf12e187c3c86d5f98a17a2d\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c6b20868bf12e187c3c86d5f98a17a2d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct >= 0\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "max_value": 1, "inclusive": true, "column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct.b8f62bde16": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct.b8f62bde16", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct"], "alias": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0735478, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_total_pct\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\nwhere hourly_total_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_total_pct", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_total_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_ts.89ba67bb4f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_ts.89ba67bb4f", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_hourly_eth_mainnet_ts"], "alias": "not_null_fct_pool_rewards_hourly_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0752091, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_hourly_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id.7f91755bfb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id.7f91755bfb", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id"], "alias": "not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0767932, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_hourly_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_pool_id__True__0.208ead2f02": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_5f5ea2512e72e9d33d7be84a5f82e91a.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_pool_id__True__0.208ead2f02", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_5f5ea2512e72e9d33d7be84a5f82e91a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_5f5ea2512e72e9d33d7be84a5f82e91a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_5f5ea2512e72e9d33d7be84a5f82e91a"}, "created_at": 1723584321.0783832, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_5f5ea2512e72e9d33d7be84a5f82e91a\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_5f5ea2512e72e9d33d7be84a5f82e91a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_hourly_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type.1949d93db9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type.1949d93db9", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type"], "alias": "not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0826063, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_hourly_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd.3095906515": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd.3095906515", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd"], "alias": "not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.084271, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_hourly_eth_mainnet\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_rewards_usd__True__0.2e789c32db": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_97bd635a3321c7cb622fc608c9dac2b2.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_rewards_usd__True__0.2e789c32db", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_97bd635a3321c7cb622fc608c9dac2b2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_97bd635a3321c7cb622fc608c9dac2b2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_97bd635a3321c7cb622fc608c9dac2b2"}, "created_at": 1723584321.0858834, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_97bd635a3321c7cb622fc608c9dac2b2\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_97bd635a3321c7cb622fc608c9dac2b2.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_hourly_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts.667157dbf6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts.667157dbf6", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts"], "alias": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0901043, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id.69049a093a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id.69049a093a", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id"], "alias": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0917656, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_pool_id__True__0.0f059b9a12": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_a2f8130bd385146eb3ac2417b74d3623.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_pool_id__True__0.0f059b9a12", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_a2f8130bd385146eb3ac2417b74d3623", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_a2f8130bd385146eb3ac2417b74d3623", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_a2f8130bd385146eb3ac2417b74d3623"}, "created_at": 1723584321.0935266, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_a2f8130bd385146eb3ac2417b74d3623\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_a2f8130bd385146eb3ac2417b74d3623.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_collateral_type.22ec7c38ba": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_1b37fa723d141179d74f2a8f22262b1c.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_collateral_type.22ec7c38ba", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_eth_mainnet_collateral_type"], "alias": "not_null_fct_pool_rewards_toke_1b37fa723d141179d74f2a8f22262b1c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_1b37fa723d141179d74f2a8f22262b1c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_rewards_toke_1b37fa723d141179d74f2a8f22262b1c"}, "created_at": 1723584321.0975854, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_1b37fa723d141179d74f2a8f22262b1c\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_1b37fa723d141179d74f2a8f22262b1c.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor.a65a6d19bf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor.a65a6d19bf", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor"], "alias": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0992718, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol.609ae29f03": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol.609ae29f03", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol"], "alias": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1011114, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_price.89f536fe6c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_price.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_price.89f536fe6c", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_eth_mainnet_price"], "alias": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1027362, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_price__True__0.3b4b47afcc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_6c8e00b5fea6ea747b34f06f0320b43d.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_price__True__0.3b4b47afcc", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_6c8e00b5fea6ea747b34f06f0320b43d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_6c8e00b5fea6ea747b34f06f0320b43d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_6c8e00b5fea6ea747b34f06f0320b43d"}, "created_at": 1723584321.1043782, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_6c8e00b5fea6ea747b34f06f0320b43d\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_6c8e00b5fea6ea747b34f06f0320b43d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount.701c4a765f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_e14b12dbad2ae17fd6b51fd232e2f506.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount.701c4a765f", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount"], "alias": "not_null_fct_pool_rewards_toke_e14b12dbad2ae17fd6b51fd232e2f506", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_e14b12dbad2ae17fd6b51fd232e2f506", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_rewards_toke_e14b12dbad2ae17fd6b51fd232e2f506"}, "created_at": 1723584321.1089044, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_e14b12dbad2ae17fd6b51fd232e2f506\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_e14b12dbad2ae17fd6b51fd232e2f506.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_amount\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\nwhere hourly_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_amount", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount__True__0.76ed6e76ab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_26f860be0c2f83871be063705ed0d088.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount__True__0.76ed6e76ab", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_p_26f860be0c2f83871be063705ed0d088", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_26f860be0c2f83871be063705ed0d088", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_26f860be0c2f83871be063705ed0d088"}, "created_at": 1723584321.1105294, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_26f860be0c2f83871be063705ed0d088\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_26f860be0c2f83871be063705ed0d088.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_amount", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "hourly_amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed.3faeed6846": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_6bc3563e83626e6160dfb0050ae58c8b.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed.3faeed6846", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed"], "alias": "not_null_fct_pool_rewards_toke_6bc3563e83626e6160dfb0050ae58c8b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_6bc3563e83626e6160dfb0050ae58c8b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_rewards_toke_6bc3563e83626e6160dfb0050ae58c8b"}, "created_at": 1723584321.1146328, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_6bc3563e83626e6160dfb0050ae58c8b\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_6bc3563e83626e6160dfb0050ae58c8b.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_distributed\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\nwhere amount_distributed is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_distributed", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_distributed", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed__True__0.26815f50d4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_cb508134c0b1447803ea96994a4b3fec.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed__True__0.26815f50d4", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed__True__0"], "alias": "dbt_utils_accepted_range_fct_p_cb508134c0b1447803ea96994a4b3fec", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_cb508134c0b1447803ea96994a4b3fec", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_cb508134c0b1447803ea96994a4b3fec"}, "created_at": 1723584321.1162808, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_cb508134c0b1447803ea96994a4b3fec\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_cb508134c0b1447803ea96994a4b3fec.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_distributed >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_distributed", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_distributed", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd.84778cf230": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd.84778cf230", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd"], "alias": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.120419, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd__True__0.0d8876b70b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_11488003baec9a724afe97be296df511.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd__True__0.0d8876b70b", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_11488003baec9a724afe97be296df511", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_11488003baec9a724afe97be296df511", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_11488003baec9a724afe97be296df511"}, "created_at": 1723584321.1220427, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_11488003baec9a724afe97be296df511\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_11488003baec9a724afe97be296df511.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_migration_eth_mainnet_ts.4a5f6995ac": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_ts.4a5f6995ac", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_eth_mainnet_ts"], "alias": "not_null_fct_core_migration_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1262014, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_migration_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_migration_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_migration_eth_mainnet_block_number.9a454098b0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_eth_mainnet_block_number.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_block_number.9a454098b0", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_eth_mainnet_block_number"], "alias": "not_null_fct_core_migration_eth_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1278372, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_core_migration_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_core_migration_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_migration_eth_mainnet_transaction_hash.15435ec6a4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_eth_mainnet_transaction_hash.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_transaction_hash.15435ec6a4", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_eth_mainnet_transaction_hash"], "alias": "not_null_fct_core_migration_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1294587, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_core_migration_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_core_migration_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_migration_eth_mainnet_pool_id.f0e6b5266e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_eth_mainnet_pool_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_pool_id.f0e6b5266e", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_eth_mainnet_pool_id"], "alias": "not_null_fct_core_migration_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.13104, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_migration_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_migration_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_migration_eth_mainnet_pool_id__True__1__1.451aedc606": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_migration_eth_mainnet_pool_id__True__1__1", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_48f0d9921539034df20c548ad9e39887.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_eth_mainnet_pool_id__True__1__1.451aedc606", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_migration_eth_mainnet_pool_id__True__1__1"], "alias": "dbt_utils_accepted_range_fct_c_48f0d9921539034df20c548ad9e39887", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_48f0d9921539034df20c548ad9e39887", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_48f0d9921539034df20c548ad9e39887"}, "created_at": 1723584321.1327739, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_48f0d9921539034df20c548ad9e39887\") }}", "language": "sql", "refs": [{"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_48f0d9921539034df20c548ad9e39887.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 1\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_migration_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 1, "max_value": 1, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_migration_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_migration_eth_mainnet_collateral_type.d3ff39474d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_eth_mainnet_collateral_type.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_collateral_type.d3ff39474d", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_eth_mainnet_collateral_type"], "alias": "not_null_fct_core_migration_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1367788, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_migration_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_migration_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_core_migration_eth_mainnet_collateral_type__0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F.a38946ae0c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_core_migration_eth_mainnet_collateral_type__0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_core_migra_a67858299bafa53cea6a7746c340025c.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_core_migration_eth_mainnet_collateral_type__0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F.a38946ae0c", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "accepted_values_fct_core_migration_eth_mainnet_collateral_type__0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F"], "alias": "accepted_values_fct_core_migra_a67858299bafa53cea6a7746c340025c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_core_migra_a67858299bafa53cea6a7746c340025c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_fct_core_migra_a67858299bafa53cea6a7746c340025c"}, "created_at": 1723584321.1385732, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_core_migra_a67858299bafa53cea6a7746c340025c\") }}", "language": "sql", "refs": [{"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/accepted_values_fct_core_migra_a67858299bafa53cea6a7746c340025c.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n collateral_type as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\n group by collateral_type\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_migration_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F"], "column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_migration_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_migration_eth_mainnet_staker.745012ec35": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_eth_mainnet_staker", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_eth_mainnet_staker.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_staker.745012ec35", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_eth_mainnet_staker"], "alias": "not_null_fct_core_migration_eth_mainnet_staker", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1429143, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_staker.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect staker\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\nwhere staker is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "staker", "file_key_name": "models.fct_core_migration_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "staker", "model": "{{ get_where_subquery(ref('fct_core_migration_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_migration_eth_mainnet_account_id.afcffa2df1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_eth_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_eth_mainnet_account_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_account_id.afcffa2df1", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_eth_mainnet_account_id"], "alias": "not_null_fct_core_migration_eth_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1447494, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_core_migration_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_core_migration_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_migration_eth_mainnet_collateral_amount.0b05c3add8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_eth_mainnet_collateral_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_eth_mainnet_collateral_amount.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_collateral_amount.0b05c3add8", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_eth_mainnet_collateral_amount"], "alias": "not_null_fct_core_migration_eth_mainnet_collateral_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1463532, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_collateral_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_amount\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\nwhere collateral_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_amount", "file_key_name": "models.fct_core_migration_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_amount", "model": "{{ get_where_subquery(ref('fct_core_migration_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_migration_eth_mainnet_collateral_amount__True__0.049cad30eb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_migration_eth_mainnet_collateral_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_8874a5f4f6fdea2aa80f500cdb51138b.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_eth_mainnet_collateral_amount__True__0.049cad30eb", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_migration_eth_mainnet_collateral_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_c_8874a5f4f6fdea2aa80f500cdb51138b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_8874a5f4f6fdea2aa80f500cdb51138b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_8874a5f4f6fdea2aa80f500cdb51138b"}, "created_at": 1723584321.1479874, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_8874a5f4f6fdea2aa80f500cdb51138b\") }}", "language": "sql", "refs": [{"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_8874a5f4f6fdea2aa80f500cdb51138b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_amount", "file_key_name": "models.fct_core_migration_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_amount", "model": "{{ get_where_subquery(ref('fct_core_migration_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_migration_eth_mainnet_debt_amount.8b36e762c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_eth_mainnet_debt_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_eth_mainnet_debt_amount.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_debt_amount.8b36e762c2", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_eth_mainnet_debt_amount"], "alias": "not_null_fct_core_migration_eth_mainnet_debt_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1521685, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_debt_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt_amount\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\nwhere debt_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt_amount", "file_key_name": "models.fct_core_migration_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt_amount", "model": "{{ get_where_subquery(ref('fct_core_migration_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_ts.a201c86ec0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_hourly_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_hourly_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_ts.a201c86ec0", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_hourly_eth_mainnet_ts"], "alias": "not_null_fct_core_migration_hourly_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1537845, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_migration_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_hourly_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_hourly_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_migration_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_migration_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_pool_id.55def21e95": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_hourly_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_hourly_eth_mainnet_pool_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_pool_id.55def21e95", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_hourly_eth_mainnet_pool_id"], "alias": "not_null_fct_core_migration_hourly_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1553993, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_migration_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_hourly_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_hourly_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_migration_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_migration_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_pool_id__True__0.a0670cc5c1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_d85f31b9b2ce6f6655bed616ef640917.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_pool_id__True__0.a0670cc5c1", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_d85f31b9b2ce6f6655bed616ef640917", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_d85f31b9b2ce6f6655bed616ef640917", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_d85f31b9b2ce6f6655bed616ef640917"}, "created_at": 1723584321.1570137, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_d85f31b9b2ce6f6655bed616ef640917\") }}", "language": "sql", "refs": [{"name": "fct_core_migration_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_d85f31b9b2ce6f6655bed616ef640917.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_hourly_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_migration_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_migration_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_collateral_type.e0ef271f9a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_hourly_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_hourly_eth_mainnet_collateral_type.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_collateral_type.e0ef271f9a", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_hourly_eth_mainnet_collateral_type"], "alias": "not_null_fct_core_migration_hourly_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.161155, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_migration_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_hourly_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_hourly_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_migration_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_migration_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated.99b91b00b5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_ho_8d7c5dd06705413d11ea6deca8cf644b.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated.99b91b00b5", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated"], "alias": "not_null_fct_core_migration_ho_8d7c5dd06705413d11ea6deca8cf644b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_migration_ho_8d7c5dd06705413d11ea6deca8cf644b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_migration_ho_8d7c5dd06705413d11ea6deca8cf644b"}, "created_at": 1723584321.162776, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_migration_ho_8d7c5dd06705413d11ea6deca8cf644b\") }}", "language": "sql", "refs": [{"name": "fct_core_migration_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_ho_8d7c5dd06705413d11ea6deca8cf644b.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_debt_migrated\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_hourly_eth_mainnet\"\nwhere hourly_debt_migrated is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_debt_migrated", "file_key_name": "models.fct_core_migration_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_debt_migrated", "model": "{{ get_where_subquery(ref('fct_core_migration_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated__True__0.2c5355cf5c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_a087b5b0934fce77ccb5a84d8ceadd2a.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated__True__0.2c5355cf5c", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated__True__0"], "alias": "dbt_utils_accepted_range_fct_c_a087b5b0934fce77ccb5a84d8ceadd2a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_a087b5b0934fce77ccb5a84d8ceadd2a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_a087b5b0934fce77ccb5a84d8ceadd2a"}, "created_at": 1723584321.164423, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_a087b5b0934fce77ccb5a84d8ceadd2a\") }}", "language": "sql", "refs": [{"name": "fct_core_migration_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_a087b5b0934fce77ccb5a84d8ceadd2a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_hourly_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_debt_migrated >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_debt_migrated", "file_key_name": "models.fct_core_migration_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "hourly_debt_migrated", "model": "{{ get_where_subquery(ref('fct_core_migration_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_prices_eth_mainnet_ts.4a1a2f8c2d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_eth_mainnet_ts.4a1a2f8c2d", "fqn": ["synthetix", "marts", "eth", "mainnet", "prices", "not_null_fct_prices_eth_mainnet_ts"], "alias": "not_null_fct_prices_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1710799, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_prices_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_prices_eth_mainnet", "attached_node": "model.synthetix.fct_prices_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_prices_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_eth_mainnet_market_symbol.f1f5318f4a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_eth_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_eth_mainnet_market_symbol.sql", "original_file_path": "models/marts/eth/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_eth_mainnet_market_symbol.f1f5318f4a", "fqn": ["synthetix", "marts", "eth", "mainnet", "prices", "not_null_fct_prices_eth_mainnet_market_symbol"], "alias": "not_null_fct_prices_eth_mainnet_market_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1727653, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_eth_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_prices_eth_mainnet\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_prices_eth_mainnet", "attached_node": "model.synthetix.fct_prices_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_prices_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_eth_mainnet_price.fff835950c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_eth_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_eth_mainnet_price.sql", "original_file_path": "models/marts/eth/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_eth_mainnet_price.fff835950c", "fqn": ["synthetix", "marts", "eth", "mainnet", "prices", "not_null_fct_prices_eth_mainnet_price"], "alias": "not_null_fct_prices_eth_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1743925, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_eth_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_prices_eth_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_eth_mainnet", "attached_node": "model.synthetix.fct_prices_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0.4a537a60cd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0.sql", "original_file_path": "models/marts/eth/mainnet/prices/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0.4a537a60cd", "fqn": ["synthetix", "marts", "eth", "mainnet", "prices", "dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1762662, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_prices_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_eth_mainnet", "attached_node": "model.synthetix.fct_prices_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_ts.6f3aced404": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_ts.6f3aced404", "fqn": ["synthetix", "marts", "eth", "mainnet", "prices", "not_null_fct_prices_hourly_eth_mainnet_ts"], "alias": "not_null_fct_prices_hourly_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1800637, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_hourly_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_prices_hourly_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_prices_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_prices_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_prices_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_market_symbol.dad998df0c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_eth_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_eth_mainnet_market_symbol.sql", "original_file_path": "models/marts/eth/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_market_symbol.dad998df0c", "fqn": ["synthetix", "marts", "eth", "mainnet", "prices", "not_null_fct_prices_hourly_eth_mainnet_market_symbol"], "alias": "not_null_fct_prices_hourly_eth_mainnet_market_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.181693, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_hourly_eth_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_prices_hourly_eth_mainnet\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_prices_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_prices_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_prices_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_price.f438a75278": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_eth_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_eth_mainnet_price.sql", "original_file_path": "models/marts/eth/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_price.f438a75278", "fqn": ["synthetix", "marts", "eth", "mainnet", "prices", "not_null_fct_prices_hourly_eth_mainnet_price"], "alias": "not_null_fct_prices_hourly_eth_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1835108, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_hourly_eth_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_prices_hourly_eth_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_prices_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_eth_mainnet_price__True__0.7cc073306d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_prices_hourly_eth_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_f868bfeea2d8480d4dec20c65d9ae75a.sql", "original_file_path": "models/marts/eth/mainnet/prices/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_eth_mainnet_price__True__0.7cc073306d", "fqn": ["synthetix", "marts", "eth", "mainnet", "prices", "dbt_utils_accepted_range_fct_prices_hourly_eth_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_f868bfeea2d8480d4dec20c65d9ae75a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_f868bfeea2d8480d4dec20c65d9ae75a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_f868bfeea2d8480d4dec20c65d9ae75a"}, "created_at": 1723584321.1851041, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_f868bfeea2d8480d4dec20c65d9ae75a\") }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_f868bfeea2d8480d4dec20c65d9ae75a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_prices_hourly_eth_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_prices_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_ts.19a49fa7ad": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_ts.19a49fa7ad", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_arbitrum_mainnet_ts"], "alias": "not_null_fct_pool_rewards_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2070477, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_pool_id.ed851987e8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_pool_id.ed851987e8", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_arbitrum_mainnet_pool_id"], "alias": "not_null_fct_pool_rewards_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2088344, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_pool_id__True__0.071c26474c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_60522e151e8e0e30d7da9ec6cf7c9bd3.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_pool_id__True__0.071c26474c", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_60522e151e8e0e30d7da9ec6cf7c9bd3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_60522e151e8e0e30d7da9ec6cf7c9bd3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_60522e151e8e0e30d7da9ec6cf7c9bd3"}, "created_at": 1723584321.2104561, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_60522e151e8e0e30d7da9ec6cf7c9bd3\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_60522e151e8e0e30d7da9ec6cf7c9bd3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type.d5a70bb05b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type.d5a70bb05b", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type"], "alias": "not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2146087, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_distributor.78e1e8f668": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_arbitrum_mainnet_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_arbitrum_mainnet_distributor.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_distributor.78e1e8f668", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_arbitrum_mainnet_distributor"], "alias": "not_null_fct_pool_rewards_arbitrum_mainnet_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.216243, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_arbitrum_mainnet\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.fct_pool_rewards_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol.0fd511c8cb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol.0fd511c8cb", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol"], "alias": "not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2178333, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_arbitrum_mainnet\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "models.fct_pool_rewards_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_amount.5d537baae4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_arbitrum_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_arbitrum_mainnet_amount.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_amount.5d537baae4", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_arbitrum_mainnet_amount"], "alias": "not_null_fct_pool_rewards_arbitrum_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.219446, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_arbitrum_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_rewards_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_amount__True__0.debd774d66": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_763a1d68cea27da2cd6c7c90b0572cee.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_amount__True__0.debd774d66", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_p_763a1d68cea27da2cd6c7c90b0572cee", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_763a1d68cea27da2cd6c7c90b0572cee", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_763a1d68cea27da2cd6c7c90b0572cee"}, "created_at": 1723584321.2210305, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_763a1d68cea27da2cd6c7c90b0572cee\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_763a1d68cea27da2cd6c7c90b0572cee.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_rewards_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_ts.47ea299d3f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_ts.47ea299d3f", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_account_delegation_arbitrum_mainnet_ts"], "alias": "not_null_fct_core_account_delegation_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2251723, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_account_delegation_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_account_delegation_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_account_id.bd5bdf25e3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_dele_97b2ee4148e5bac1b0699fe3c6e63583.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_account_id.bd5bdf25e3", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_account_delegation_arbitrum_mainnet_account_id"], "alias": "not_null_fct_core_account_dele_97b2ee4148e5bac1b0699fe3c6e63583", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_dele_97b2ee4148e5bac1b0699fe3c6e63583", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_account_dele_97b2ee4148e5bac1b0699fe3c6e63583"}, "created_at": 1723584321.226806, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_dele_97b2ee4148e5bac1b0699fe3c6e63583\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_dele_97b2ee4148e5bac1b0699fe3c6e63583.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_account_delegation_arbitrum_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_core_account_delegation_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id.54d8a339d7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id.54d8a339d7", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id"], "alias": "not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2285995, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_account_delegation_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_account_delegation_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_pool_id__True__0.aa7ddfc925": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_335aca0e4bfdf700395d4d6e2861f70c.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_pool_id__True__0.aa7ddfc925", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_335aca0e4bfdf700395d4d6e2861f70c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_335aca0e4bfdf700395d4d6e2861f70c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_335aca0e4bfdf700395d4d6e2861f70c"}, "created_at": 1723584321.2302122, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_335aca0e4bfdf700395d4d6e2861f70c\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_335aca0e4bfdf700395d4d6e2861f70c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_account_delegation_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_account_delegation_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_collateral_type.2ce3f7a9bb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_dele_31ff6ba6e6f978d07dd28e8ba6100164.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_collateral_type.2ce3f7a9bb", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_account_delegation_arbitrum_mainnet_collateral_type"], "alias": "not_null_fct_core_account_dele_31ff6ba6e6f978d07dd28e8ba6100164", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_dele_31ff6ba6e6f978d07dd28e8ba6100164", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_account_dele_31ff6ba6e6f978d07dd28e8ba6100164"}, "created_at": 1723584321.2343311, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_dele_31ff6ba6e6f978d07dd28e8ba6100164\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_dele_31ff6ba6e6f978d07dd28e8ba6100164.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_account_delegation_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_account_delegation_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_amount_delegated.56c41128cd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_arbitrum_mainnet_amount_delegated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_dele_ee7cc0e1e999bee8d31dc50dc12bd488.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_amount_delegated.56c41128cd", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_account_delegation_arbitrum_mainnet_amount_delegated"], "alias": "not_null_fct_core_account_dele_ee7cc0e1e999bee8d31dc50dc12bd488", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_dele_ee7cc0e1e999bee8d31dc50dc12bd488", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_account_dele_ee7cc0e1e999bee8d31dc50dc12bd488"}, "created_at": 1723584321.2361228, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_dele_ee7cc0e1e999bee8d31dc50dc12bd488\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_dele_ee7cc0e1e999bee8d31dc50dc12bd488.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_delegated\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_account_delegation_arbitrum_mainnet\"\nwhere amount_delegated is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delegated", "file_key_name": "models.fct_core_account_delegation_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_delegated", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_amount_delegated__True__0.f003c4fdae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_amount_delegated__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_ebc9de3d45a12d255533021f88b74fed.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_amount_delegated__True__0.f003c4fdae", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_amount_delegated__True__0"], "alias": "dbt_utils_accepted_range_fct_c_ebc9de3d45a12d255533021f88b74fed", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_ebc9de3d45a12d255533021f88b74fed", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_ebc9de3d45a12d255533021f88b74fed"}, "created_at": 1723584321.2377255, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_ebc9de3d45a12d255533021f88b74fed\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_ebc9de3d45a12d255533021f88b74fed.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_account_delegation_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_delegated >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delegated", "file_key_name": "models.fct_core_account_delegation_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_delegated", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_ts.97e8b55304": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_ts.97e8b55304", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_ts"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2418704, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_pool_id.6f62001f11": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_pool_id.6f62001f11", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_pool_id"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2434947, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_pool_id__True__0.8a8c4f782b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_1755c42adad4400728f2d291f52662f0.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_pool_id__True__0.8a8c4f782b", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_1755c42adad4400728f2d291f52662f0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_1755c42adad4400728f2d291f52662f0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_1755c42adad4400728f2d291f52662f0"}, "created_at": 1723584321.2450936, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_1755c42adad4400728f2d291f52662f0\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_1755c42adad4400728f2d291f52662f0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_collateral_type.063adda35b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_collateral_type.063adda35b", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_collateral_type"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2492266, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_collateral_value.21b8ffe226": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_collateral_value.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_collateral_value.21b8ffe226", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_collateral_value"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.25084, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_collateral_value__True__0.ffb99e9e0a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_f5658474e91a7efeefc846ada0723656.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_collateral_value__True__0.ffb99e9e0a", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_fct_c_f5658474e91a7efeefc846ada0723656", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_f5658474e91a7efeefc846ada0723656", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_f5658474e91a7efeefc846ada0723656"}, "created_at": 1723584321.2525284, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_f5658474e91a7efeefc846ada0723656\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_f5658474e91a7efeefc846ada0723656.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_debt.3dc045078a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_debt.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_debt.3dc045078a", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_debt"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2568262, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance.80329841e3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance.80329841e3", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2584422, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl.cca97779a8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl.cca97779a8", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2602673, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere hourly_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl.3aeb9de820": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl.3aeb9de820", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2621057, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_pnl\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere cumulative_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_pnl", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_pnl", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance.e1798a309e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance.e1798a309e", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2637496, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_issuance\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere cumulative_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_issuance", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_issuance", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_rewards_usd.382bc038bb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_rewards_usd.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_rewards_usd.382bc038bb", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_rewards_usd"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2653453, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_rewards_usd__True__0.1ddf38024d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_85aa93ec24a82fd6c67a87038bee45c1.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_rewards_usd__True__0.1ddf38024d", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_c_85aa93ec24a82fd6c67a87038bee45c1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_85aa93ec24a82fd6c67a87038bee45c1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_85aa93ec24a82fd6c67a87038bee45c1"}, "created_at": 1723584321.2669647, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_85aa93ec24a82fd6c67a87038bee45c1\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_85aa93ec24a82fd6c67a87038bee45c1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct.fb9fdebdde": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct.fb9fdebdde", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.271594, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl_pct\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere hourly_pnl_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct__True__1___1.1b8022dfc1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct__True__1___1", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_73ef4a8208eaef7723f7a2b1da192431.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct__True__1___1.1b8022dfc1", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct__True__1___1"], "alias": "dbt_utils_accepted_range_fct_c_73ef4a8208eaef7723f7a2b1da192431", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_73ef4a8208eaef7723f7a2b1da192431", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_73ef4a8208eaef7723f7a2b1da192431"}, "created_at": 1723584321.2732277, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_73ef4a8208eaef7723f7a2b1da192431\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_73ef4a8208eaef7723f7a2b1da192431.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_pnl_pct >= -1\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_pnl_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": -1, "max_value": 1, "inclusive": true, "column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct.c370595c99": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct.c370595c99", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2773778, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_rewards_pct\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere hourly_rewards_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct__True__1__0.f1335e174b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct__True__1__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_483fd77f9e18a06eeee91a8e4f95404a.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct__True__1__0.f1335e174b", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct__True__1__0"], "alias": "dbt_utils_accepted_range_fct_c_483fd77f9e18a06eeee91a8e4f95404a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_483fd77f9e18a06eeee91a8e4f95404a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_483fd77f9e18a06eeee91a8e4f95404a"}, "created_at": 1723584321.2790236, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_483fd77f9e18a06eeee91a8e4f95404a\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_483fd77f9e18a06eeee91a8e4f95404a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct >= 0\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "max_value": 1, "inclusive": true, "column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_24h.8106520838": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_apr_24h", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_apr_24h.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_24h.8106520838", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_apr_24h"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_apr_24h", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2832017, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apr_24h.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_24h\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere apr_24h is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_24h", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_24h", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_24h.83d96a1a08": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_apy_24h", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_apy_24h.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_24h.83d96a1a08", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_apy_24h"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_apy_24h", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2848241, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apy_24h.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_24h\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere apy_24h is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_24h", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_24h", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_7d.06f4c6a6e1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_apr_7d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_apr_7d.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_7d.06f4c6a6e1", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_apr_7d"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_apr_7d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2864435, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apr_7d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_7d\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere apr_7d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_7d", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_7d", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_7d.cf96fd9428": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_apy_7d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_apy_7d.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_7d.cf96fd9428", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_apy_7d"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_apy_7d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2880592, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apy_7d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_7d\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere apy_7d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_7d", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_7d", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_28d.964b18810e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_apr_28d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_apr_28d.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_28d.964b18810e", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_apr_28d"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_apr_28d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2897701, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apr_28d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_28d\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere apr_28d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_28d", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_28d", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_28d.fa829d9ef7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_apy_28d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_apy_28d.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_28d.fa829d9ef7", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_apy_28d"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_apy_28d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2913854, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apy_28d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_28d\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere apy_28d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_28d", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_28d", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_id.322013511a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_id.322013511a", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_market_updated_arbitrum_mainnet_id"], "alias": "not_null_fct_core_market_updated_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2929778, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_core_market_updated_arbitrum_mainnet_id.1caa9c591c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_core_market_updated_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_core_market_updated_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_fct_core_market_updated_arbitrum_mainnet_id.1caa9c591c", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "unique_fct_core_market_updated_arbitrum_mainnet_id"], "alias": "unique_fct_core_market_updated_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.294579, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/unique_fct_core_market_updated_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_ts.b5fc2ec12e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_ts.b5fc2ec12e", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_market_updated_arbitrum_mainnet_ts"], "alias": "not_null_fct_core_market_updated_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2961986, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_transaction_hash.aa748b5290": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updat_4b643cda1c91c522d066b35480cce379.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_transaction_hash.aa748b5290", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_market_updated_arbitrum_mainnet_transaction_hash"], "alias": "not_null_fct_core_market_updat_4b643cda1c91c522d066b35480cce379", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_market_updat_4b643cda1c91c522d066b35480cce379", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_market_updat_4b643cda1c91c522d066b35480cce379"}, "created_at": 1723584321.297898, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_market_updat_4b643cda1c91c522d066b35480cce379\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updat_4b643cda1c91c522d066b35480cce379.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_event_name.5590c6c9b0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_arbitrum_mainnet_event_name.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_event_name.5590c6c9b0", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_market_updated_arbitrum_mainnet_event_name"], "alias": "not_null_fct_core_market_updated_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2995508, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.0bf85002ba": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_core_marke_f12327e7950a4c802d6132d27f7841dd.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.0bf85002ba", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "accepted_values_fct_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited"], "alias": "accepted_values_fct_core_marke_f12327e7950a4c802d6132d27f7841dd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_core_marke_f12327e7950a4c802d6132d27f7841dd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_fct_core_marke_f12327e7950a4c802d6132d27f7841dd"}, "created_at": 1723584321.30127, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_core_marke_f12327e7950a4c802d6132d27f7841dd\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/accepted_values_fct_core_marke_f12327e7950a4c802d6132d27f7841dd.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCollateralWithdrawn", "MarketCollateralDeposited", "MarketUsdWithdrawn", "MarketUsdDeposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_market_id.286e3a43cf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_arbitrum_mainnet_market_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_market_id.286e3a43cf", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_market_updated_arbitrum_mainnet_market_id"], "alias": "not_null_fct_core_market_updated_arbitrum_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3054614, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_arbitrum_mainnet_market_id__True__0.23d58ffdfe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_market_updated_arbitrum_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_ab6508955d3f808c1b270f9aa7a37b6d.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_arbitrum_mainnet_market_id__True__0.23d58ffdfe", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_core_market_updated_arbitrum_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_ab6508955d3f808c1b270f9aa7a37b6d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_ab6508955d3f808c1b270f9aa7a37b6d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_ab6508955d3f808c1b270f9aa7a37b6d"}, "created_at": 1723584321.3071544, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_ab6508955d3f808c1b270f9aa7a37b6d\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_ab6508955d3f808c1b270f9aa7a37b6d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_collateral_type.85f2ad0cb4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updat_c100fcf44108d7ff35d65b9c6a7b25b1.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_collateral_type.85f2ad0cb4", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_market_updated_arbitrum_mainnet_collateral_type"], "alias": "not_null_fct_core_market_updat_c100fcf44108d7ff35d65b9c6a7b25b1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_market_updat_c100fcf44108d7ff35d65b9c6a7b25b1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_market_updat_c100fcf44108d7ff35d65b9c6a7b25b1"}, "created_at": 1723584321.3113556, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_market_updat_c100fcf44108d7ff35d65b9c6a7b25b1\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updat_c100fcf44108d7ff35d65b9c6a7b25b1.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_credit_capacity.03f2d72a75": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_mainnet_credit_capacity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updat_ec83a69c2d67a6b85fde509d3cc884a8.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_credit_capacity.03f2d72a75", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_market_updated_arbitrum_mainnet_credit_capacity"], "alias": "not_null_fct_core_market_updat_ec83a69c2d67a6b85fde509d3cc884a8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_market_updat_ec83a69c2d67a6b85fde509d3cc884a8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_market_updat_ec83a69c2d67a6b85fde509d3cc884a8"}, "created_at": 1723584321.3129618, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_market_updat_ec83a69c2d67a6b85fde509d3cc884a8\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updat_ec83a69c2d67a6b85fde509d3cc884a8.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect credit_capacity\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\"\nwhere credit_capacity is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "credit_capacity", "file_key_name": "models.fct_core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "credit_capacity", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance.c0d40f9ece": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance.c0d40f9ece", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance"], "alias": "not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3145523, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect net_issuance\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\"\nwhere net_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "net_issuance", "file_key_name": "models.fct_core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "net_issuance", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_token_amount.74526c215d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_mainnet_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_arbitrum_mainnet_token_amount.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_token_amount.74526c215d", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_market_updated_arbitrum_mainnet_token_amount"], "alias": "not_null_fct_core_market_updated_arbitrum_mainnet_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3161461, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.fct_core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_ts.e1e47715a3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collateral_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_ts.e1e47715a3", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_pool_collateral_arbitrum_mainnet_ts"], "alias": "not_null_fct_core_pool_collateral_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.317863, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pool_collateral_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_pool_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_collateral_type.6824e3181d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collate_093527c47d269f939c2c7d47d4c2a78f.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_collateral_type.6824e3181d", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_pool_collateral_arbitrum_mainnet_collateral_type"], "alias": "not_null_fct_core_pool_collate_093527c47d269f939c2c7d47d4c2a78f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_pool_collate_093527c47d269f939c2c7d47d4c2a78f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_pool_collate_093527c47d269f939c2c7d47d4c2a78f"}, "created_at": 1723584321.3194568, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_pool_collate_093527c47d269f939c2c7d47d4c2a78f\") }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_collate_093527c47d269f939c2c7d47d4c2a78f.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pool_collateral_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_pool_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_amount_deposited.e481f3fc24": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_arbitrum_mainnet_amount_deposited", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collate_2430c0471eac1e889c6c004ff9132c39.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_amount_deposited.e481f3fc24", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_pool_collateral_arbitrum_mainnet_amount_deposited"], "alias": "not_null_fct_core_pool_collate_2430c0471eac1e889c6c004ff9132c39", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_pool_collate_2430c0471eac1e889c6c004ff9132c39", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_pool_collate_2430c0471eac1e889c6c004ff9132c39"}, "created_at": 1723584321.3210244, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_pool_collate_2430c0471eac1e889c6c004ff9132c39\") }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_collate_2430c0471eac1e889c6c004ff9132c39.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_deposited\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pool_collateral_arbitrum_mainnet\"\nwhere amount_deposited is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_deposited", "file_key_name": "models.fct_core_pool_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_deposited", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_ts.5d96538438": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_ts.5d96538438", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_pool_delegation_arbitrum_mainnet_ts"], "alias": "not_null_fct_core_pool_delegation_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3225818, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pool_delegation_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_pool_delegation_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id.fe0fca7194": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id.fe0fca7194", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id"], "alias": "not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3242683, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pool_delegation_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_pool_delegation_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_mainnet_pool_id__True__0.cc3901412b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_7c412ba7c7ea7aef5e4e7db7c8fc5c75.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_mainnet_pool_id__True__0.cc3901412b", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_7c412ba7c7ea7aef5e4e7db7c8fc5c75", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_7c412ba7c7ea7aef5e4e7db7c8fc5c75", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_7c412ba7c7ea7aef5e4e7db7c8fc5c75"}, "created_at": 1723584321.325844, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_7c412ba7c7ea7aef5e4e7db7c8fc5c75\") }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_7c412ba7c7ea7aef5e4e7db7c8fc5c75.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pool_delegation_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_pool_delegation_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_collateral_type.d924f2d2aa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegat_b4282e52ccccdfed1d4b4c2355b7d655.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_collateral_type.d924f2d2aa", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_pool_delegation_arbitrum_mainnet_collateral_type"], "alias": "not_null_fct_core_pool_delegat_b4282e52ccccdfed1d4b4c2355b7d655", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_pool_delegat_b4282e52ccccdfed1d4b4c2355b7d655", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_pool_delegat_b4282e52ccccdfed1d4b4c2355b7d655"}, "created_at": 1723584321.330055, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_pool_delegat_b4282e52ccccdfed1d4b4c2355b7d655\") }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_delegat_b4282e52ccccdfed1d4b4c2355b7d655.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pool_delegation_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_pool_delegation_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_id.61336667c3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_id.61336667c3", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_pools_arbitrum_mainnet_id"], "alias": "not_null_fct_core_pools_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.331689, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pools_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_core_pools_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_pools_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_pools_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_pools_arbitrum_mainnet_id__True__0.913c01840d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_pools_arbitrum_mainnet_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_b1d60fed4955a4fc968b2378103deac3.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_arbitrum_mainnet_id__True__0.913c01840d", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_core_pools_arbitrum_mainnet_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_b1d60fed4955a4fc968b2378103deac3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_b1d60fed4955a4fc968b2378103deac3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_b1d60fed4955a4fc968b2378103deac3"}, "created_at": 1723584321.3333, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_b1d60fed4955a4fc968b2378103deac3\") }}", "language": "sql", "refs": [{"name": "fct_core_pools_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_b1d60fed4955a4fc968b2378103deac3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pools_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_core_pools_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_pools_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_pools_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_created_ts.b08fc3c233": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_arbitrum_mainnet_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_arbitrum_mainnet_created_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_created_ts.b08fc3c233", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_pools_arbitrum_mainnet_created_ts"], "alias": "not_null_fct_core_pools_arbitrum_mainnet_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3374474, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pools_arbitrum_mainnet\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_core_pools_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_pools_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_core_pools_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_block_number.7aac324156": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_arbitrum_mainnet_block_number.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_block_number.7aac324156", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_pools_arbitrum_mainnet_block_number"], "alias": "not_null_fct_core_pools_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3390574, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pools_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_core_pools_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_pools_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_core_pools_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_owner.4cc2187f96": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_arbitrum_mainnet_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_arbitrum_mainnet_owner.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_owner.4cc2187f96", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_pools_arbitrum_mainnet_owner"], "alias": "not_null_fct_core_pools_arbitrum_mainnet_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3406663, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pools_arbitrum_mainnet\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.fct_core_pools_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_pools_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('fct_core_pools_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_ts.aac8a7264c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_ts.aac8a7264c", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_debt_arbitrum_mainnet_ts"], "alias": "not_null_fct_pool_debt_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3423395, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_debt_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_debt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_debt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_block_number.f6d01f24fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_arbitrum_mainnet_block_number.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_block_number.f6d01f24fd", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_debt_arbitrum_mainnet_block_number"], "alias": "not_null_fct_pool_debt_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3440664, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_pool_debt_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_debt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_pool_debt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_pool_id.dc562b5c31": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_pool_id.dc562b5c31", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_debt_arbitrum_mainnet_pool_id"], "alias": "not_null_fct_pool_debt_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3456652, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_debt_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_debt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_debt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_arbitrum_mainnet_pool_id__True__0.15db752b00": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_debt_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_92e486da67fd4aa212c6fc7ead2ca990.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_arbitrum_mainnet_pool_id__True__0.15db752b00", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_debt_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_92e486da67fd4aa212c6fc7ead2ca990", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_92e486da67fd4aa212c6fc7ead2ca990", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_92e486da67fd4aa212c6fc7ead2ca990"}, "created_at": 1723584321.3473074, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_92e486da67fd4aa212c6fc7ead2ca990\") }}", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_92e486da67fd4aa212c6fc7ead2ca990.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_debt_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_debt_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_debt_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_collateral_type.a3b9300e6c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_collateral_type.a3b9300e6c", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_debt_arbitrum_mainnet_collateral_type"], "alias": "not_null_fct_pool_debt_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3518023, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_debt_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_debt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_debt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_debt.5ff363252c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_arbitrum_mainnet_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_arbitrum_mainnet_debt.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_debt.5ff363252c", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_debt_arbitrum_mainnet_debt"], "alias": "not_null_fct_pool_debt_arbitrum_mainnet_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3534002, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_pool_debt_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_debt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_pool_debt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts.9170e8931e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts.9170e8931e", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts"], "alias": "not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.354993, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_hourly_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_issuance_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id.ad0bc3744f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id.ad0bc3744f", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id"], "alias": "not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.356599, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_hourly_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id__True__0.24b97cc6ba": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_ae8a634b24663cbeedd8622d73436da5.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id__True__0.24b97cc6ba", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_ae8a634b24663cbeedd8622d73436da5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_ae8a634b24663cbeedd8622d73436da5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_ae8a634b24663cbeedd8622d73436da5"}, "created_at": 1723584321.358277, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_ae8a634b24663cbeedd8622d73436da5\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_ae8a634b24663cbeedd8622d73436da5.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_hourly_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_collateral_type.5b444b3e9d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hou_65ed67157b891a8810704ee505558860.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_collateral_type.5b444b3e9d", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_issuance_hourly_arbitrum_mainnet_collateral_type"], "alias": "not_null_fct_pool_issuance_hou_65ed67157b891a8810704ee505558860", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_issuance_hou_65ed67157b891a8810704ee505558860", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_issuance_hou_65ed67157b891a8810704ee505558860"}, "created_at": 1723584321.3622642, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_issuance_hou_65ed67157b891a8810704ee505558860\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hou_65ed67157b891a8810704ee505558860.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_hourly_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_issuance_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_hourly_issuance.dcbdd9b577": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_arbitrum_mainnet_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hou_6846fca20e0573c8b636234f11940a78.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_hourly_issuance.dcbdd9b577", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_issuance_hourly_arbitrum_mainnet_hourly_issuance"], "alias": "not_null_fct_pool_issuance_hou_6846fca20e0573c8b636234f11940a78", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_issuance_hou_6846fca20e0573c8b636234f11940a78", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_issuance_hou_6846fca20e0573c8b636234f11940a78"}, "created_at": 1723584321.3640606, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_issuance_hou_6846fca20e0573c8b636234f11940a78\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hou_6846fca20e0573c8b636234f11940a78.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_hourly_arbitrum_mainnet\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_pool_issuance_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_ts.6d52d9f09c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_ts.6d52d9f09c", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_issuance_arbitrum_mainnet_ts"], "alias": "not_null_fct_pool_issuance_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.365651, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_issuance_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_block_number.954a0fdf17": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_mainnet_block_number.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_block_number.954a0fdf17", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_issuance_arbitrum_mainnet_block_number"], "alias": "not_null_fct_pool_issuance_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.367242, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_pool_issuance_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash.6a8e54c252": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash.6a8e54c252", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash"], "alias": "not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3688228, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_pool_issuance_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_pool_id.0706d99bc3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_pool_id.0706d99bc3", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_issuance_arbitrum_mainnet_pool_id"], "alias": "not_null_fct_pool_issuance_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3703954, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_arbitrum_mainnet_pool_id__True__0.411a2ea602": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_issuance_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_2a92d0cd280c3cfef0baf61899429708.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_arbitrum_mainnet_pool_id__True__0.411a2ea602", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_issuance_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_2a92d0cd280c3cfef0baf61899429708", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_2a92d0cd280c3cfef0baf61899429708", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_2a92d0cd280c3cfef0baf61899429708"}, "created_at": 1723584321.372105, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_2a92d0cd280c3cfef0baf61899429708\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2a92d0cd280c3cfef0baf61899429708.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type.ba8bb06771": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type.ba8bb06771", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type"], "alias": "not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3760915, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_issuance_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_account_id.2adc95113c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_mainnet_account_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_account_id.2adc95113c", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_issuance_arbitrum_mainnet_account_id"], "alias": "not_null_fct_pool_issuance_arbitrum_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3778586, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_pool_issuance_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_amount.375d9b98af": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_mainnet_amount.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_amount.375d9b98af", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_issuance_arbitrum_mainnet_amount"], "alias": "not_null_fct_pool_issuance_arbitrum_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.379489, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_issuance_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts.b23b3c4ccc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts.b23b3c4ccc", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3810673, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id.e6c4e35168": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id.e6c4e35168", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3826284, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id__True__0.82a420e70a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_0b54f6ee81adfb64e5d45509be471536.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id__True__0.82a420e70a", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_0b54f6ee81adfb64e5d45509be471536", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_0b54f6ee81adfb64e5d45509be471536", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_0b54f6ee81adfb64e5d45509be471536"}, "created_at": 1723584321.3842514, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_0b54f6ee81adfb64e5d45509be471536\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_0b54f6ee81adfb64e5d45509be471536.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type.5b16d63899": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type.5b16d63899", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3883507, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value.d293fcea90": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value.d293fcea90", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3899872, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value__True__0.2e110c1268": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_75eb21ed4adc24b56bbcdcebefd76286.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value__True__0.2e110c1268", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_fct_p_75eb21ed4adc24b56bbcdcebefd76286", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_75eb21ed4adc24b56bbcdcebefd76286", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_75eb21ed4adc24b56bbcdcebefd76286"}, "created_at": 1723584321.3915973, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_75eb21ed4adc24b56bbcdcebefd76286\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_75eb21ed4adc24b56bbcdcebefd76286.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt.9ac5b9bf5c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt.9ac5b9bf5c", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3957076, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance.5511774a0b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance.5511774a0b", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3973067, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl.678864f7b5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl.678864f7b5", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3990424, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\nwhere hourly_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd.196b421cb3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd.196b421cb3", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.4007647, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd__True__0.636294733f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_fc2ea70c19f61eac92d253c82f8b6c86.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd__True__0.636294733f", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_fc2ea70c19f61eac92d253c82f8b6c86", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_fc2ea70c19f61eac92d253c82f8b6c86", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_fc2ea70c19f61eac92d253c82f8b6c86"}, "created_at": 1723584321.4023535, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_fc2ea70c19f61eac92d253c82f8b6c86\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_fc2ea70c19f61eac92d253c82f8b6c86.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct.860b962ff4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct.860b962ff4", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.4064937, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl_pct\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\nwhere hourly_pnl_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct__True__1___1.5893ffde97": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct__True__1___1", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_d399039b72aeb6695a12d8e3bbc21cc7.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct__True__1___1.5893ffde97", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct__True__1___1"], "alias": "dbt_utils_accepted_range_fct_p_d399039b72aeb6695a12d8e3bbc21cc7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_d399039b72aeb6695a12d8e3bbc21cc7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_d399039b72aeb6695a12d8e3bbc21cc7"}, "created_at": 1723584321.4081454, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_d399039b72aeb6695a12d8e3bbc21cc7\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_d399039b72aeb6695a12d8e3bbc21cc7.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_pnl_pct >= -1\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_pnl_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": -1, "max_value": 1, "inclusive": true, "column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct.8068a50a34": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_a_7c866040c874169c1cad2287083652b9.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct.8068a50a34", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct"], "alias": "not_null_fct_pool_pnl_hourly_a_7c866040c874169c1cad2287083652b9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_pnl_hourly_a_7c866040c874169c1cad2287083652b9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_pnl_hourly_a_7c866040c874169c1cad2287083652b9"}, "created_at": 1723584321.4123347, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_pnl_hourly_a_7c866040c874169c1cad2287083652b9\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_a_7c866040c874169c1cad2287083652b9.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_rewards_pct\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\nwhere hourly_rewards_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct__True__1__0.c0f135f71a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct__True__1__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_2b0953c6036f08e2a591283eb5a67dcb.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct__True__1__0.c0f135f71a", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct__True__1__0"], "alias": "dbt_utils_accepted_range_fct_p_2b0953c6036f08e2a591283eb5a67dcb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_2b0953c6036f08e2a591283eb5a67dcb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_2b0953c6036f08e2a591283eb5a67dcb"}, "created_at": 1723584321.4139645, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_2b0953c6036f08e2a591283eb5a67dcb\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2b0953c6036f08e2a591283eb5a67dcb.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct >= 0\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "max_value": 1, "inclusive": true, "column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct.2ba37617f1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct.2ba37617f1", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.418089, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_total_pct\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\nwhere hourly_total_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_total_pct", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_total_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts.55c84a8938": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts.55c84a8938", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts"], "alias": "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.4197395, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_hourly_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id.3237fb1ab1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id.3237fb1ab1", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id"], "alias": "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.421307, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_hourly_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id__True__0.4d32e65287": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_808e4ad8c54952685268224b3ab2dc3f.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id__True__0.4d32e65287", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_808e4ad8c54952685268224b3ab2dc3f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_808e4ad8c54952685268224b3ab2dc3f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_808e4ad8c54952685268224b3ab2dc3f"}, "created_at": 1723584321.4228976, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_808e4ad8c54952685268224b3ab2dc3f\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_808e4ad8c54952685268224b3ab2dc3f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_hourly_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_collateral_type.490293ba7d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hour_6b64ee93647e66468d764cc3fc458ee1.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_collateral_type.490293ba7d", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_collateral_type"], "alias": "not_null_fct_pool_rewards_hour_6b64ee93647e66468d764cc3fc458ee1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_hour_6b64ee93647e66468d764cc3fc458ee1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_rewards_hour_6b64ee93647e66468d764cc3fc458ee1"}, "created_at": 1723584321.427041, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_hour_6b64ee93647e66468d764cc3fc458ee1\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hour_6b64ee93647e66468d764cc3fc458ee1.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_hourly_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd.f0877fa7b3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd.f0877fa7b3", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd"], "alias": "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.4287212, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_hourly_arbitrum_mainnet\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd__True__0.d689f56d7e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_b767823a1421432f769ec197446aa019.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd__True__0.d689f56d7e", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_b767823a1421432f769ec197446aa019", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_b767823a1421432f769ec197446aa019", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_b767823a1421432f769ec197446aa019"}, "created_at": 1723584321.430338, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_b767823a1421432f769ec197446aa019\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b767823a1421432f769ec197446aa019.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_hourly_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts.22756175d0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts.22756175d0", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts"], "alias": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.4348845, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id.35527b8712": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id.35527b8712", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id"], "alias": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.4365249, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id__True__0.4ed8a94f92": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_1f912620bb744a27954a74cab0fd1f0c.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id__True__0.4ed8a94f92", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_1f912620bb744a27954a74cab0fd1f0c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_1f912620bb744a27954a74cab0fd1f0c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_1f912620bb744a27954a74cab0fd1f0c"}, "created_at": 1723584321.4381337, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_1f912620bb744a27954a74cab0fd1f0c\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_1f912620bb744a27954a74cab0fd1f0c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_collateral_type.dee4fdda32": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_155765ddde142e379951332067798d41.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_collateral_type.dee4fdda32", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_collateral_type"], "alias": "not_null_fct_pool_rewards_toke_155765ddde142e379951332067798d41", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_155765ddde142e379951332067798d41", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_rewards_toke_155765ddde142e379951332067798d41"}, "created_at": 1723584321.4423974, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_155765ddde142e379951332067798d41\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_155765ddde142e379951332067798d41.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_distributor.a9383020e8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_32d66eb63ddb1fa4ad4488d0be44060a.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_distributor.a9383020e8", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_distributor"], "alias": "not_null_fct_pool_rewards_toke_32d66eb63ddb1fa4ad4488d0be44060a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_32d66eb63ddb1fa4ad4488d0be44060a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_rewards_toke_32d66eb63ddb1fa4ad4488d0be44060a"}, "created_at": 1723584321.4440649, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_32d66eb63ddb1fa4ad4488d0be44060a\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_32d66eb63ddb1fa4ad4488d0be44060a.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_token_symbol.0f93337098": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_090c93d2b78f3f33bc0bf584324abc24.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_token_symbol.0f93337098", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_token_symbol"], "alias": "not_null_fct_pool_rewards_toke_090c93d2b78f3f33bc0bf584324abc24", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_090c93d2b78f3f33bc0bf584324abc24", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_rewards_toke_090c93d2b78f3f33bc0bf584324abc24"}, "created_at": 1723584321.4458086, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_090c93d2b78f3f33bc0bf584324abc24\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_090c93d2b78f3f33bc0bf584324abc24.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price.e94408c4a3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price.e94408c4a3", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price"], "alias": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.447434, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_price__True__0.bd113fbed7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_2a59ca2beb6fa3013c573eb43e95ab48.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_price__True__0.bd113fbed7", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_2a59ca2beb6fa3013c573eb43e95ab48", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_2a59ca2beb6fa3013c573eb43e95ab48", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_2a59ca2beb6fa3013c573eb43e95ab48"}, "created_at": 1723584321.4490538, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_2a59ca2beb6fa3013c573eb43e95ab48\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2a59ca2beb6fa3013c573eb43e95ab48.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount.1f06d81670": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_3abff49d616142611160f813d5d63b81.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount.1f06d81670", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount"], "alias": "not_null_fct_pool_rewards_toke_3abff49d616142611160f813d5d63b81", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_3abff49d616142611160f813d5d63b81", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_rewards_toke_3abff49d616142611160f813d5d63b81"}, "created_at": 1723584321.4532394, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_3abff49d616142611160f813d5d63b81\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_3abff49d616142611160f813d5d63b81.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_amount\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\nwhere hourly_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_amount", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount__True__0.e75762e0c1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_a117cda80e79c005af15ab4b519b300f.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount__True__0.e75762e0c1", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_p_a117cda80e79c005af15ab4b519b300f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_a117cda80e79c005af15ab4b519b300f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_a117cda80e79c005af15ab4b519b300f"}, "created_at": 1723584321.4548612, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_a117cda80e79c005af15ab4b519b300f\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_a117cda80e79c005af15ab4b519b300f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_amount", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "hourly_amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed.0abef6eb56": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_7680e416aa038a0209b5501bfe3565c3.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed.0abef6eb56", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed"], "alias": "not_null_fct_pool_rewards_toke_7680e416aa038a0209b5501bfe3565c3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_7680e416aa038a0209b5501bfe3565c3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_rewards_toke_7680e416aa038a0209b5501bfe3565c3"}, "created_at": 1723584321.4590592, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_7680e416aa038a0209b5501bfe3565c3\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_7680e416aa038a0209b5501bfe3565c3.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_distributed\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\nwhere amount_distributed is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_distributed", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_distributed", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed__True__0.7447bf410c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_4531650c2e995988bfd3c93907803f02.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed__True__0.7447bf410c", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed__True__0"], "alias": "dbt_utils_accepted_range_fct_p_4531650c2e995988bfd3c93907803f02", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_4531650c2e995988bfd3c93907803f02", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_4531650c2e995988bfd3c93907803f02"}, "created_at": 1723584321.4606855, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_4531650c2e995988bfd3c93907803f02\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_4531650c2e995988bfd3c93907803f02.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_distributed >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_distributed", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_distributed", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd.38626f59b3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_e5018762223ef54a23a1f8e8015d80e9.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd.38626f59b3", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd"], "alias": "not_null_fct_pool_rewards_toke_e5018762223ef54a23a1f8e8015d80e9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_e5018762223ef54a23a1f8e8015d80e9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_rewards_toke_e5018762223ef54a23a1f8e8015d80e9"}, "created_at": 1723584321.464905, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_e5018762223ef54a23a1f8e8015d80e9\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_e5018762223ef54a23a1f8e8015d80e9.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd__True__0.034dbdbb73": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_df233af1f002dedfa1f71072df17c949.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd__True__0.034dbdbb73", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_df233af1f002dedfa1f71072df17c949", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_df233af1f002dedfa1f71072df17c949", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_df233af1f002dedfa1f71072df17c949"}, "created_at": 1723584321.4665425, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_df233af1f002dedfa1f71072df17c949\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_df233af1f002dedfa1f71072df17c949.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_ts.3133817d65": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_ts.3133817d65", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_synth_supply_arbitrum_mainnet_ts"], "alias": "not_null_fct_synth_supply_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.4761913, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_synth_supply_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_synth_supply_arbitrum_mainnet", "attached_node": "model.synthetix.fct_synth_supply_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_synth_supply_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_block_number.bf6d504d6f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_arbitrum_mainnet_block_number.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_block_number.bf6d504d6f", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_synth_supply_arbitrum_mainnet_block_number"], "alias": "not_null_fct_synth_supply_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.478099, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_synth_supply_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_synth_supply_arbitrum_mainnet", "attached_node": "model.synthetix.fct_synth_supply_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_synth_supply_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id.9ef357e324": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id.9ef357e324", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id"], "alias": "not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.4797509, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_synth_supply_arbitrum_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_synth_supply_arbitrum_mainnet", "attached_node": "model.synthetix.fct_synth_supply_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_synth_supply_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_arbitrum_mainnet_synth_market_id__True__0.214f52024f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_synth_supply_arbitrum_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_ad07ecda7adc2e1174efae746b1e061f.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_arbitrum_mainnet_synth_market_id__True__0.214f52024f", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_fct_synth_supply_arbitrum_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_ad07ecda7adc2e1174efae746b1e061f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_ad07ecda7adc2e1174efae746b1e061f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_s_ad07ecda7adc2e1174efae746b1e061f"}, "created_at": 1723584321.4813576, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_ad07ecda7adc2e1174efae746b1e061f\") }}", "language": "sql", "refs": [{"name": "fct_synth_supply_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_ad07ecda7adc2e1174efae746b1e061f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_synth_supply_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_synth_supply_arbitrum_mainnet", "attached_node": "model.synthetix.fct_synth_supply_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_synth_supply_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_supply.4f38308508": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_arbitrum_mainnet_supply", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_arbitrum_mainnet_supply.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_supply.4f38308508", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_synth_supply_arbitrum_mainnet_supply"], "alias": "not_null_fct_synth_supply_arbitrum_mainnet_supply", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.4856145, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_supply.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect supply\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_synth_supply_arbitrum_mainnet\"\nwhere supply is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "supply", "file_key_name": "models.fct_synth_supply_arbitrum_mainnet", "attached_node": "model.synthetix.fct_synth_supply_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "supply", "model": "{{ get_where_subquery(ref('fct_synth_supply_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_id.58d62fa75b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_id.58d62fa75b", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_atomics_arbitrum_mainnet_id"], "alias": "not_null_fct_spot_atomics_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.4872735, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_atomics_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_spot_atomics_arbitrum_mainnet_id.103cfc1fee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_spot_atomics_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_spot_atomics_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_fct_spot_atomics_arbitrum_mainnet_id.103cfc1fee", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "unique_fct_spot_atomics_arbitrum_mainnet_id"], "alias": "unique_fct_spot_atomics_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.488935, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/unique_fct_spot_atomics_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_atomics_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_ts.8faded4450": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_ts.8faded4450", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_atomics_arbitrum_mainnet_ts"], "alias": "not_null_fct_spot_atomics_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.4905307, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_spot_atomics_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_block_number.4090627930": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_mainnet_block_number.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_block_number.4090627930", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_atomics_arbitrum_mainnet_block_number"], "alias": "not_null_fct_spot_atomics_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.492302, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_spot_atomics_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash.fc4480c793": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash.fc4480c793", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash"], "alias": "not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.4939072, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tx_hash\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"\nwhere tx_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "tx_hash", "file_key_name": "models.fct_spot_atomics_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "tx_hash", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id.3ce730fbe0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id.3ce730fbe0", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id"], "alias": "not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.4955118, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_atomics_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_arbitrum_mainnet_synth_market_id__True__0.a856a28abf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_spot_atomics_arbitrum_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_75265e3f1113500b998d90fbb5de93fd.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_arbitrum_mainnet_synth_market_id__True__0.a856a28abf", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_fct_spot_atomics_arbitrum_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_75265e3f1113500b998d90fbb5de93fd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_75265e3f1113500b998d90fbb5de93fd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_s_75265e3f1113500b998d90fbb5de93fd"}, "created_at": 1723584321.4971182, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_75265e3f1113500b998d90fbb5de93fd\") }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_75265e3f1113500b998d90fbb5de93fd.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_atomics_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_price.8c5fac0d4b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_mainnet_price.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_price.8c5fac0d4b", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_atomics_arbitrum_mainnet_price"], "alias": "not_null_fct_spot_atomics_arbitrum_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5013673, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_spot_atomics_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_amount.2a29d582dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_mainnet_amount.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_amount.2a29d582dd", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_atomics_arbitrum_mainnet_amount"], "alias": "not_null_fct_spot_atomics_arbitrum_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5029993, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_spot_atomics_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_referrer.8f3d6e7ca8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_mainnet_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_mainnet_referrer.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_referrer.8f3d6e7ca8", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_atomics_arbitrum_mainnet_referrer"], "alias": "not_null_fct_spot_atomics_arbitrum_mainnet_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5047202, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "file_key_name": "models.fct_spot_atomics_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referrer", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_id.0f47b50907": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_id.0f47b50907", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_markets_arbitrum_mainnet_id"], "alias": "not_null_fct_spot_markets_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5064635, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_markets_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_markets_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_markets_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_markets_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_arbitrum_mainnet_id__True__0.fc6e00e4d7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_spot_markets_arbitrum_mainnet_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_0fab89b4df840dcd6d06f9fa6285b914.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_arbitrum_mainnet_id__True__0.fc6e00e4d7", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_fct_spot_markets_arbitrum_mainnet_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_0fab89b4df840dcd6d06f9fa6285b914", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_0fab89b4df840dcd6d06f9fa6285b914", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_s_0fab89b4df840dcd6d06f9fa6285b914"}, "created_at": 1723584321.5081139, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_0fab89b4df840dcd6d06f9fa6285b914\") }}", "language": "sql", "refs": [{"name": "fct_spot_markets_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_0fab89b4df840dcd6d06f9fa6285b914.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_markets_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_markets_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_markets_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_markets_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_created_ts.d20eea3054": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_arbitrum_mainnet_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_arbitrum_mainnet_created_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_created_ts.d20eea3054", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_markets_arbitrum_mainnet_created_ts"], "alias": "not_null_fct_spot_markets_arbitrum_mainnet_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5121794, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_markets_arbitrum_mainnet\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_spot_markets_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_markets_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_spot_markets_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_block_number.8e6492baa4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_arbitrum_mainnet_block_number.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_block_number.8e6492baa4", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_markets_arbitrum_mainnet_block_number"], "alias": "not_null_fct_spot_markets_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5139675, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_markets_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_spot_markets_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_markets_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_spot_markets_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_token_address.19fe19c198": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_arbitrum_mainnet_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_arbitrum_mainnet_token_address.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_token_address.19fe19c198", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_markets_arbitrum_mainnet_token_address"], "alias": "not_null_fct_spot_markets_arbitrum_mainnet_token_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5156212, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_token_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_address\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_markets_arbitrum_mainnet\"\nwhere token_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_address", "file_key_name": "models.fct_spot_markets_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_markets_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_address", "model": "{{ get_where_subquery(ref('fct_spot_markets_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_id.4d99f875a3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_id.4d99f875a3", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_wrapper_arbitrum_mainnet_id"], "alias": "not_null_fct_spot_wrapper_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.517199, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_wrapper_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_wrapper_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_spot_wrapper_arbitrum_mainnet_id.2107017636": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_spot_wrapper_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_spot_wrapper_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_fct_spot_wrapper_arbitrum_mainnet_id.2107017636", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "unique_fct_spot_wrapper_arbitrum_mainnet_id"], "alias": "unique_fct_spot_wrapper_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5187728, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/unique_fct_spot_wrapper_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_wrapper_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_wrapper_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_ts.91d9f782bb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_ts.91d9f782bb", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_wrapper_arbitrum_mainnet_ts"], "alias": "not_null_fct_spot_wrapper_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.520879, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_wrapper_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_spot_wrapper_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_block_number.d1c04e4c89": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_arbitrum_mainnet_block_number.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_block_number.d1c04e4c89", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_wrapper_arbitrum_mainnet_block_number"], "alias": "not_null_fct_spot_wrapper_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5224795, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_wrapper_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_spot_wrapper_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash.4401566d1f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash.4401566d1f", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash"], "alias": "not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5240963, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tx_hash\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_wrapper_arbitrum_mainnet\"\nwhere tx_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "tx_hash", "file_key_name": "models.fct_spot_wrapper_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "tx_hash", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id.f0195bb21f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id.f0195bb21f", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id"], "alias": "not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5256658, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_wrapper_arbitrum_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_wrapper_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_mainnet_synth_market_id__True__0.f6decdacf4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_40719b2c5c7462a9421a6076d2378e77.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_mainnet_synth_market_id__True__0.f6decdacf4", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_40719b2c5c7462a9421a6076d2378e77", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_40719b2c5c7462a9421a6076d2378e77", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_s_40719b2c5c7462a9421a6076d2378e77"}, "created_at": 1723584321.527285, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_40719b2c5c7462a9421a6076d2378e77\") }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_40719b2c5c7462a9421a6076d2378e77.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_wrapper_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_wrapper_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped.f91b4eedc8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped.f91b4eedc8", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped"], "alias": "not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5314045, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_wrapped\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_wrapper_arbitrum_mainnet\"\nwhere amount_wrapped is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_wrapped", "file_key_name": "models.fct_spot_wrapper_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_wrapped", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_arbitrum_mainnet_ts.2fbdc0fed9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_arbitrum_mainnet_ts.2fbdc0fed9", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "prices", "not_null_fct_prices_arbitrum_mainnet_ts"], "alias": "not_null_fct_prices_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.535024, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_prices_arbitrum_mainnet", "attached_node": "model.synthetix.fct_prices_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_prices_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_arbitrum_mainnet_market_symbol.2c3e729969": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_arbitrum_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_arbitrum_mainnet_market_symbol.sql", "original_file_path": "models/marts/arbitrum/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_arbitrum_mainnet_market_symbol.2c3e729969", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "prices", "not_null_fct_prices_arbitrum_mainnet_market_symbol"], "alias": "not_null_fct_prices_arbitrum_mainnet_market_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5369072, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_arbitrum_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_arbitrum_mainnet\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_prices_arbitrum_mainnet", "attached_node": "model.synthetix.fct_prices_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_prices_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_arbitrum_mainnet_price.0a15cd9a88": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_arbitrum_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_arbitrum_mainnet_price.sql", "original_file_path": "models/marts/arbitrum/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_arbitrum_mainnet_price.0a15cd9a88", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "prices", "not_null_fct_prices_arbitrum_mainnet_price"], "alias": "not_null_fct_prices_arbitrum_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5385404, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_arbitrum_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_arbitrum_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_arbitrum_mainnet", "attached_node": "model.synthetix.fct_prices_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_prices_arbitrum_mainnet_price__True__0.2dcde08f36": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_prices_arbitrum_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_dcb09535be5469b9faf234ed6f43f02e.sql", "original_file_path": "models/marts/arbitrum/mainnet/prices/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_arbitrum_mainnet_price__True__0.2dcde08f36", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "prices", "dbt_utils_accepted_range_fct_prices_arbitrum_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_dcb09535be5469b9faf234ed6f43f02e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_dcb09535be5469b9faf234ed6f43f02e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_dcb09535be5469b9faf234ed6f43f02e"}, "created_at": 1723584321.540237, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_dcb09535be5469b9faf234ed6f43f02e\") }}", "language": "sql", "refs": [{"name": "fct_prices_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_dcb09535be5469b9faf234ed6f43f02e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_arbitrum_mainnet", "attached_node": "model.synthetix.fct_prices_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_ts.125ef9fa4d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_ts.125ef9fa4d", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "prices", "not_null_fct_prices_hourly_arbitrum_mainnet_ts"], "alias": "not_null_fct_prices_hourly_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5443883, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_hourly_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_prices_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_prices_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_prices_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol.b0ef15f205": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol.sql", "original_file_path": "models/marts/arbitrum/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol.b0ef15f205", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "prices", "not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol"], "alias": "not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5459974, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_hourly_arbitrum_mainnet\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_prices_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_prices_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_prices_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_price.cc751acae1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_arbitrum_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_arbitrum_mainnet_price.sql", "original_file_path": "models/marts/arbitrum/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_price.cc751acae1", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "prices", "not_null_fct_prices_hourly_arbitrum_mainnet_price"], "alias": "not_null_fct_prices_hourly_arbitrum_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5476046, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_hourly_arbitrum_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_prices_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_arbitrum_mainnet_price__True__0.a6e6a0e3ce": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_prices_hourly_arbitrum_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_4644ad7c63d005ac54db98edb6c9c900.sql", "original_file_path": "models/marts/arbitrum/mainnet/prices/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_arbitrum_mainnet_price__True__0.a6e6a0e3ce", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "prices", "dbt_utils_accepted_range_fct_prices_hourly_arbitrum_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_4644ad7c63d005ac54db98edb6c9c900", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_4644ad7c63d005ac54db98edb6c9c900", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_4644ad7c63d005ac54db98edb6c9c900"}, "created_at": 1723584321.549208, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_4644ad7c63d005ac54db98edb6c9c900\") }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_4644ad7c63d005ac54db98edb6c9c900.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_hourly_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_prices_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_ts.58ba7f8051": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_ts.58ba7f8051", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_arbitrum_sepolia_ts"], "alias": "not_null_fct_pool_rewards_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5712204, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_pool_id.7e25d73251": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_pool_id.7e25d73251", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_arbitrum_sepolia_pool_id"], "alias": "not_null_fct_pool_rewards_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5728438, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_pool_id__True__0.82e7a1605d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_599de352b839feed51ad4f4eb17b420f.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_pool_id__True__0.82e7a1605d", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_599de352b839feed51ad4f4eb17b420f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_599de352b839feed51ad4f4eb17b420f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_599de352b839feed51ad4f4eb17b420f"}, "created_at": 1723584321.5744681, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_599de352b839feed51ad4f4eb17b420f\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_599de352b839feed51ad4f4eb17b420f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type.9b8cfcd53f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type.9b8cfcd53f", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type"], "alias": "not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5785966, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_distributor.575416cf09": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_arbitrum_sepolia_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_arbitrum_sepolia_distributor.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_distributor.575416cf09", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_arbitrum_sepolia_distributor"], "alias": "not_null_fct_pool_rewards_arbitrum_sepolia_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.580246, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_arbitrum_sepolia\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.fct_pool_rewards_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol.6e44e80815": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol.6e44e80815", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol"], "alias": "not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5818477, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_arbitrum_sepolia\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "models.fct_pool_rewards_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_amount.2019cf2384": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_arbitrum_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_arbitrum_sepolia_amount.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_amount.2019cf2384", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_arbitrum_sepolia_amount"], "alias": "not_null_fct_pool_rewards_arbitrum_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.583585, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_arbitrum_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_rewards_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_amount__True__0.7328694eba": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_7117aa2f114d3eb896f9eea1201abd2a.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_amount__True__0.7328694eba", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_p_7117aa2f114d3eb896f9eea1201abd2a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_7117aa2f114d3eb896f9eea1201abd2a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_7117aa2f114d3eb896f9eea1201abd2a"}, "created_at": 1723584321.58517, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_7117aa2f114d3eb896f9eea1201abd2a\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_7117aa2f114d3eb896f9eea1201abd2a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_rewards_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_ts.143d36cd88": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_ts.143d36cd88", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_account_delegation_arbitrum_sepolia_ts"], "alias": "not_null_fct_core_account_delegation_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5892065, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_account_delegation_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_account_delegation_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_account_id.a6811a48a4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_dele_bacd513a0071b80c39a55744b53f1df2.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_account_id.a6811a48a4", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_account_delegation_arbitrum_sepolia_account_id"], "alias": "not_null_fct_core_account_dele_bacd513a0071b80c39a55744b53f1df2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_dele_bacd513a0071b80c39a55744b53f1df2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_account_dele_bacd513a0071b80c39a55744b53f1df2"}, "created_at": 1723584321.5909824, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_dele_bacd513a0071b80c39a55744b53f1df2\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_dele_bacd513a0071b80c39a55744b53f1df2.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_account_delegation_arbitrum_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_core_account_delegation_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id.0a7b37ae8c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id.0a7b37ae8c", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id"], "alias": "not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5925872, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_account_delegation_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_account_delegation_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_pool_id__True__0.8b1dae49a3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_f960bca5e9cfb9ebd3dd42290ee043a9.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_pool_id__True__0.8b1dae49a3", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_f960bca5e9cfb9ebd3dd42290ee043a9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_f960bca5e9cfb9ebd3dd42290ee043a9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_f960bca5e9cfb9ebd3dd42290ee043a9"}, "created_at": 1723584321.5941691, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_f960bca5e9cfb9ebd3dd42290ee043a9\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_f960bca5e9cfb9ebd3dd42290ee043a9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_account_delegation_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_account_delegation_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_collateral_type.c996bc8d62": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_dele_1d9726e98d7c252b953966d1ac40c406.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_collateral_type.c996bc8d62", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_account_delegation_arbitrum_sepolia_collateral_type"], "alias": "not_null_fct_core_account_dele_1d9726e98d7c252b953966d1ac40c406", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_dele_1d9726e98d7c252b953966d1ac40c406", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_account_dele_1d9726e98d7c252b953966d1ac40c406"}, "created_at": 1723584321.5983, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_dele_1d9726e98d7c252b953966d1ac40c406\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_dele_1d9726e98d7c252b953966d1ac40c406.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_account_delegation_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_account_delegation_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_amount_delegated.f883895d2a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_arbitrum_sepolia_amount_delegated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_dele_beb2c452623901a2f1cc75badf66ccbe.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_amount_delegated.f883895d2a", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_account_delegation_arbitrum_sepolia_amount_delegated"], "alias": "not_null_fct_core_account_dele_beb2c452623901a2f1cc75badf66ccbe", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_dele_beb2c452623901a2f1cc75badf66ccbe", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_account_dele_beb2c452623901a2f1cc75badf66ccbe"}, "created_at": 1723584321.5999403, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_dele_beb2c452623901a2f1cc75badf66ccbe\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_dele_beb2c452623901a2f1cc75badf66ccbe.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_delegated\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_account_delegation_arbitrum_sepolia\"\nwhere amount_delegated is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delegated", "file_key_name": "models.fct_core_account_delegation_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_delegated", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_amount_delegated__True__0.b9f7312790": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_amount_delegated__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_4f0191e29c5e221dd6a950c7ef37d747.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_amount_delegated__True__0.b9f7312790", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_amount_delegated__True__0"], "alias": "dbt_utils_accepted_range_fct_c_4f0191e29c5e221dd6a950c7ef37d747", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_4f0191e29c5e221dd6a950c7ef37d747", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_4f0191e29c5e221dd6a950c7ef37d747"}, "created_at": 1723584321.6015437, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_4f0191e29c5e221dd6a950c7ef37d747\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_4f0191e29c5e221dd6a950c7ef37d747.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_account_delegation_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_delegated >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delegated", "file_key_name": "models.fct_core_account_delegation_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_delegated", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_ts.e6b3476db0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_ts.e6b3476db0", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_ts"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.60603, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_pool_id.58add87a89": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_pool_id.58add87a89", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_pool_id"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.607649, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_pool_id__True__0.a2269ae87b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_7d6c69f2928c543037dd15ccc656a4e0.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_pool_id__True__0.a2269ae87b", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_7d6c69f2928c543037dd15ccc656a4e0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_7d6c69f2928c543037dd15ccc656a4e0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_7d6c69f2928c543037dd15ccc656a4e0"}, "created_at": 1723584321.6092534, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_7d6c69f2928c543037dd15ccc656a4e0\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_7d6c69f2928c543037dd15ccc656a4e0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_collateral_type.a646b7cb26": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_collateral_type.a646b7cb26", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_collateral_type"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6133583, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_collateral_value.2ada9cf10f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_collateral_value.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_collateral_value.2ada9cf10f", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_collateral_value"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6149695, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_collateral_value__True__0.fdfbc111a3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_ff2b6461c3de5a4c9eb8d709664fdf81.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_collateral_value__True__0.fdfbc111a3", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_fct_c_ff2b6461c3de5a4c9eb8d709664fdf81", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_ff2b6461c3de5a4c9eb8d709664fdf81", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_ff2b6461c3de5a4c9eb8d709664fdf81"}, "created_at": 1723584321.616615, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_ff2b6461c3de5a4c9eb8d709664fdf81\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_ff2b6461c3de5a4c9eb8d709664fdf81.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_debt.9b76325181": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_debt.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_debt.9b76325181", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_debt"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6207757, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance.18ef26f177": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance.18ef26f177", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6223836, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl.d189c809ff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl.d189c809ff", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6241536, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere hourly_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl.4b337f056f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl.4b337f056f", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.625765, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_pnl\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere cumulative_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_pnl", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_pnl", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance.574d2a783c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance.574d2a783c", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.627383, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_issuance\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere cumulative_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_issuance", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_issuance", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_rewards_usd.ae2ea707de": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_rewards_usd.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_rewards_usd.ae2ea707de", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_rewards_usd"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6290572, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_rewards_usd__True__0.16097a4425": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_077f2defb2efb708f8c1e03f6d47b95a.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_rewards_usd__True__0.16097a4425", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_c_077f2defb2efb708f8c1e03f6d47b95a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_077f2defb2efb708f8c1e03f6d47b95a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_077f2defb2efb708f8c1e03f6d47b95a"}, "created_at": 1723584321.6306562, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_077f2defb2efb708f8c1e03f6d47b95a\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_077f2defb2efb708f8c1e03f6d47b95a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct.e663f8a83d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct.e663f8a83d", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6347914, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl_pct\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere hourly_pnl_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct__True__1___1.71d905126b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct__True__1___1", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_884a51c573b5df3cbadc4cd5eb548c09.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct__True__1___1.71d905126b", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct__True__1___1"], "alias": "dbt_utils_accepted_range_fct_c_884a51c573b5df3cbadc4cd5eb548c09", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_884a51c573b5df3cbadc4cd5eb548c09", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_884a51c573b5df3cbadc4cd5eb548c09"}, "created_at": 1723584321.6364808, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_884a51c573b5df3cbadc4cd5eb548c09\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_884a51c573b5df3cbadc4cd5eb548c09.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_pnl_pct >= -1\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_pnl_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": -1, "max_value": 1, "inclusive": true, "column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct.12f359d425": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct.12f359d425", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6406302, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_rewards_pct\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere hourly_rewards_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct__True__1__0.573ad6f791": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct__True__1__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_f89936149b2f72282552911517871bed.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct__True__1__0.573ad6f791", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct__True__1__0"], "alias": "dbt_utils_accepted_range_fct_c_f89936149b2f72282552911517871bed", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_f89936149b2f72282552911517871bed", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_f89936149b2f72282552911517871bed"}, "created_at": 1723584321.6422799, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_f89936149b2f72282552911517871bed\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_f89936149b2f72282552911517871bed.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct >= 0\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "max_value": 1, "inclusive": true, "column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_24h.70ceb15524": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_apr_24h", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_apr_24h.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_24h.70ceb15524", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_apr_24h"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_apr_24h", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6464567, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apr_24h.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_24h\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere apr_24h is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_24h", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_24h", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_24h.cc6a60bf0d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_apy_24h", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_apy_24h.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_24h.cc6a60bf0d", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_apy_24h"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_apy_24h", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.648113, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apy_24h.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_24h\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere apy_24h is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_24h", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_24h", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_7d.9df14e1133": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_apr_7d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_apr_7d.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_7d.9df14e1133", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_apr_7d"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_apr_7d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6497262, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apr_7d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_7d\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere apr_7d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_7d", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_7d", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_7d.d37e5ab6c3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_apy_7d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_apy_7d.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_7d.d37e5ab6c3", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_apy_7d"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_apy_7d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6513457, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apy_7d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_7d\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere apy_7d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_7d", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_7d", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_28d.1273ef3c47": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_apr_28d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_apr_28d.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_28d.1273ef3c47", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_apr_28d"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_apr_28d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.653057, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apr_28d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_28d\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere apr_28d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_28d", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_28d", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_28d.c90acf86f3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_apy_28d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_apy_28d.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_28d.c90acf86f3", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_apy_28d"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_apy_28d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6546402, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apy_28d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_28d\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere apy_28d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_28d", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_28d", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_id.378db4cf74": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_id.378db4cf74", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_market_updated_arbitrum_sepolia_id"], "alias": "not_null_fct_core_market_updated_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.656276, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_core_market_updated_arbitrum_sepolia_id.8dc27d8b84": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_core_market_updated_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_core_market_updated_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_fct_core_market_updated_arbitrum_sepolia_id.8dc27d8b84", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "unique_fct_core_market_updated_arbitrum_sepolia_id"], "alias": "unique_fct_core_market_updated_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.657882, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/unique_fct_core_market_updated_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_ts.b76a8ffb56": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_ts.b76a8ffb56", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_market_updated_arbitrum_sepolia_ts"], "alias": "not_null_fct_core_market_updated_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6596005, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_transaction_hash.45d8547f52": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updat_36e0ca2a51356f2f21489599f00a450c.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_transaction_hash.45d8547f52", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_market_updated_arbitrum_sepolia_transaction_hash"], "alias": "not_null_fct_core_market_updat_36e0ca2a51356f2f21489599f00a450c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_market_updat_36e0ca2a51356f2f21489599f00a450c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_market_updat_36e0ca2a51356f2f21489599f00a450c"}, "created_at": 1723584321.661212, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_market_updat_36e0ca2a51356f2f21489599f00a450c\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updat_36e0ca2a51356f2f21489599f00a450c.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_event_name.4419326334": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_arbitrum_sepolia_event_name.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_event_name.4419326334", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_market_updated_arbitrum_sepolia_event_name"], "alias": "not_null_fct_core_market_updated_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6627877, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.ea1df73130": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_core_marke_8b90c2263185e692a28bc21c7c196d94.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.ea1df73130", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "accepted_values_fct_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited"], "alias": "accepted_values_fct_core_marke_8b90c2263185e692a28bc21c7c196d94", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_core_marke_8b90c2263185e692a28bc21c7c196d94", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_fct_core_marke_8b90c2263185e692a28bc21c7c196d94"}, "created_at": 1723584321.6644232, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_core_marke_8b90c2263185e692a28bc21c7c196d94\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/accepted_values_fct_core_marke_8b90c2263185e692a28bc21c7c196d94.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCollateralWithdrawn", "MarketCollateralDeposited", "MarketUsdWithdrawn", "MarketUsdDeposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_market_id.2752afabd6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_arbitrum_sepolia_market_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_market_id.2752afabd6", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_market_updated_arbitrum_sepolia_market_id"], "alias": "not_null_fct_core_market_updated_arbitrum_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.66856, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_arbitrum_sepolia_market_id__True__0.95e420ef94": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_market_updated_arbitrum_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_b74906ac71cf090fed4cb09296e08ec9.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_arbitrum_sepolia_market_id__True__0.95e420ef94", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_core_market_updated_arbitrum_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_b74906ac71cf090fed4cb09296e08ec9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_b74906ac71cf090fed4cb09296e08ec9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_b74906ac71cf090fed4cb09296e08ec9"}, "created_at": 1723584321.6702042, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_b74906ac71cf090fed4cb09296e08ec9\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_b74906ac71cf090fed4cb09296e08ec9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_collateral_type.d8f0899c66": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updat_f2230a6a0d1758e98839bc6421b06fa7.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_collateral_type.d8f0899c66", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_market_updated_arbitrum_sepolia_collateral_type"], "alias": "not_null_fct_core_market_updat_f2230a6a0d1758e98839bc6421b06fa7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_market_updat_f2230a6a0d1758e98839bc6421b06fa7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_market_updat_f2230a6a0d1758e98839bc6421b06fa7"}, "created_at": 1723584321.6743677, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_market_updat_f2230a6a0d1758e98839bc6421b06fa7\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updat_f2230a6a0d1758e98839bc6421b06fa7.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_credit_capacity.9862e1aaee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_sepolia_credit_capacity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updat_deb18cd73203d572302c2f3a96563472.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_credit_capacity.9862e1aaee", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_market_updated_arbitrum_sepolia_credit_capacity"], "alias": "not_null_fct_core_market_updat_deb18cd73203d572302c2f3a96563472", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_market_updat_deb18cd73203d572302c2f3a96563472", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_market_updat_deb18cd73203d572302c2f3a96563472"}, "created_at": 1723584321.6760316, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_market_updat_deb18cd73203d572302c2f3a96563472\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updat_deb18cd73203d572302c2f3a96563472.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect credit_capacity\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\"\nwhere credit_capacity is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "credit_capacity", "file_key_name": "models.fct_core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "credit_capacity", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance.62f7b3daca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance.62f7b3daca", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance"], "alias": "not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6776657, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect net_issuance\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\"\nwhere net_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "net_issuance", "file_key_name": "models.fct_core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "net_issuance", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_token_amount.4d14e4bb21": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_sepolia_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_arbitrum_sepolia_token_amount.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_token_amount.4d14e4bb21", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_market_updated_arbitrum_sepolia_token_amount"], "alias": "not_null_fct_core_market_updated_arbitrum_sepolia_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.67939, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.fct_core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_ts.33284497f5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collateral_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_ts.33284497f5", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_pool_collateral_arbitrum_sepolia_ts"], "alias": "not_null_fct_core_pool_collateral_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.680997, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pool_collateral_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_pool_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_collateral_type.05d462c474": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collate_ee9fa342217d1818d740af9852d602da.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_collateral_type.05d462c474", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_pool_collateral_arbitrum_sepolia_collateral_type"], "alias": "not_null_fct_core_pool_collate_ee9fa342217d1818d740af9852d602da", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_pool_collate_ee9fa342217d1818d740af9852d602da", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_pool_collate_ee9fa342217d1818d740af9852d602da"}, "created_at": 1723584321.6825795, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_pool_collate_ee9fa342217d1818d740af9852d602da\") }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_collate_ee9fa342217d1818d740af9852d602da.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pool_collateral_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_pool_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_amount_deposited.feb182d7c0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_arbitrum_sepolia_amount_deposited", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collate_0f92106980f19a00f3960ca4fc10318e.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_amount_deposited.feb182d7c0", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_pool_collateral_arbitrum_sepolia_amount_deposited"], "alias": "not_null_fct_core_pool_collate_0f92106980f19a00f3960ca4fc10318e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_pool_collate_0f92106980f19a00f3960ca4fc10318e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_pool_collate_0f92106980f19a00f3960ca4fc10318e"}, "created_at": 1723584321.6841836, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_pool_collate_0f92106980f19a00f3960ca4fc10318e\") }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_collate_0f92106980f19a00f3960ca4fc10318e.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_deposited\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pool_collateral_arbitrum_sepolia\"\nwhere amount_deposited is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_deposited", "file_key_name": "models.fct_core_pool_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_deposited", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_ts.f1e8f35f9b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_ts.f1e8f35f9b", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_pool_delegation_arbitrum_sepolia_ts"], "alias": "not_null_fct_core_pool_delegation_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6857605, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pool_delegation_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_pool_delegation_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id.58ecabbbb6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id.58ecabbbb6", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id"], "alias": "not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6878645, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pool_delegation_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_pool_delegation_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_sepolia_pool_id__True__0.72a7f44e62": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_de38f886e586adc0ef6de1c742aa1e21.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_sepolia_pool_id__True__0.72a7f44e62", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_de38f886e586adc0ef6de1c742aa1e21", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_de38f886e586adc0ef6de1c742aa1e21", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_de38f886e586adc0ef6de1c742aa1e21"}, "created_at": 1723584321.6894631, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_de38f886e586adc0ef6de1c742aa1e21\") }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_de38f886e586adc0ef6de1c742aa1e21.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pool_delegation_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_pool_delegation_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_collateral_type.866b468c25": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegat_60116e7971a6034dfb3bce7f65b82427.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_collateral_type.866b468c25", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_pool_delegation_arbitrum_sepolia_collateral_type"], "alias": "not_null_fct_core_pool_delegat_60116e7971a6034dfb3bce7f65b82427", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_pool_delegat_60116e7971a6034dfb3bce7f65b82427", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_pool_delegat_60116e7971a6034dfb3bce7f65b82427"}, "created_at": 1723584321.6936376, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_pool_delegat_60116e7971a6034dfb3bce7f65b82427\") }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_delegat_60116e7971a6034dfb3bce7f65b82427.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pool_delegation_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_pool_delegation_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_id.0242b18493": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_id.0242b18493", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_pools_arbitrum_sepolia_id"], "alias": "not_null_fct_core_pools_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6952724, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pools_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_core_pools_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_pools_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_pools_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_pools_arbitrum_sepolia_id__True__0.d4e586601a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_pools_arbitrum_sepolia_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_0b44fd5cc8c2d1e04a3b7c9b915f2cc4.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_arbitrum_sepolia_id__True__0.d4e586601a", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_core_pools_arbitrum_sepolia_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_0b44fd5cc8c2d1e04a3b7c9b915f2cc4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_0b44fd5cc8c2d1e04a3b7c9b915f2cc4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_0b44fd5cc8c2d1e04a3b7c9b915f2cc4"}, "created_at": 1723584321.6968794, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_0b44fd5cc8c2d1e04a3b7c9b915f2cc4\") }}", "language": "sql", "refs": [{"name": "fct_core_pools_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_0b44fd5cc8c2d1e04a3b7c9b915f2cc4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pools_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_core_pools_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_pools_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_pools_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_created_ts.56d3c1e25b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_arbitrum_sepolia_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_arbitrum_sepolia_created_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_created_ts.56d3c1e25b", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_pools_arbitrum_sepolia_created_ts"], "alias": "not_null_fct_core_pools_arbitrum_sepolia_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7010374, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pools_arbitrum_sepolia\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_core_pools_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_pools_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_core_pools_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_block_number.8044e9af90": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_arbitrum_sepolia_block_number.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_block_number.8044e9af90", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_pools_arbitrum_sepolia_block_number"], "alias": "not_null_fct_core_pools_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.702713, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pools_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_core_pools_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_pools_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_core_pools_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_owner.5ee993817b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_arbitrum_sepolia_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_arbitrum_sepolia_owner.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_owner.5ee993817b", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_pools_arbitrum_sepolia_owner"], "alias": "not_null_fct_core_pools_arbitrum_sepolia_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.704332, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pools_arbitrum_sepolia\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.fct_core_pools_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_pools_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('fct_core_pools_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_ts.0ce19a05b3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_ts.0ce19a05b3", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_debt_arbitrum_sepolia_ts"], "alias": "not_null_fct_pool_debt_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.705916, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_debt_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_debt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_debt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_block_number.9fe11ea9dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_arbitrum_sepolia_block_number.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_block_number.9fe11ea9dd", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_debt_arbitrum_sepolia_block_number"], "alias": "not_null_fct_pool_debt_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.707696, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_pool_debt_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_debt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_pool_debt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_pool_id.4539ef9df3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_pool_id.4539ef9df3", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_debt_arbitrum_sepolia_pool_id"], "alias": "not_null_fct_pool_debt_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7092977, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_debt_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_debt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_debt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_arbitrum_sepolia_pool_id__True__0.ec7d22b029": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_debt_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_5183b189cbc825148d4266891fd01da5.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_arbitrum_sepolia_pool_id__True__0.ec7d22b029", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_debt_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_5183b189cbc825148d4266891fd01da5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_5183b189cbc825148d4266891fd01da5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_5183b189cbc825148d4266891fd01da5"}, "created_at": 1723584321.7109027, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_5183b189cbc825148d4266891fd01da5\") }}", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_5183b189cbc825148d4266891fd01da5.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_debt_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_debt_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_debt_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_collateral_type.a6fdff57f4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_collateral_type.a6fdff57f4", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_debt_arbitrum_sepolia_collateral_type"], "alias": "not_null_fct_pool_debt_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.71503, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_debt_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_debt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_debt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_debt.652029afcf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_arbitrum_sepolia_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_arbitrum_sepolia_debt.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_debt.652029afcf", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_debt_arbitrum_sepolia_debt"], "alias": "not_null_fct_pool_debt_arbitrum_sepolia_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.716671, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_pool_debt_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_debt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_pool_debt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts.1cc52a2fae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts.1cc52a2fae", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts"], "alias": "not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7182498, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_hourly_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_issuance_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id.cf6825af38": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id.cf6825af38", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id"], "alias": "not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7198322, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_hourly_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id__True__0.1156081282": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_10ced893bba152248d018a8fc373d942.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id__True__0.1156081282", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_10ced893bba152248d018a8fc373d942", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_10ced893bba152248d018a8fc373d942", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_10ced893bba152248d018a8fc373d942"}, "created_at": 1723584321.721531, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_10ced893bba152248d018a8fc373d942\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_10ced893bba152248d018a8fc373d942.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_hourly_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_collateral_type.56203ac00f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hou_ef4983c22214b01e693f4d2ae2d8d374.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_collateral_type.56203ac00f", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_issuance_hourly_arbitrum_sepolia_collateral_type"], "alias": "not_null_fct_pool_issuance_hou_ef4983c22214b01e693f4d2ae2d8d374", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_issuance_hou_ef4983c22214b01e693f4d2ae2d8d374", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_issuance_hou_ef4983c22214b01e693f4d2ae2d8d374"}, "created_at": 1723584321.725568, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_issuance_hou_ef4983c22214b01e693f4d2ae2d8d374\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hou_ef4983c22214b01e693f4d2ae2d8d374.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_hourly_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_issuance_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_hourly_issuance.24747bdf20": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_arbitrum_sepolia_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hou_11cb916d75968dff8a34062a04135270.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_hourly_issuance.24747bdf20", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_issuance_hourly_arbitrum_sepolia_hourly_issuance"], "alias": "not_null_fct_pool_issuance_hou_11cb916d75968dff8a34062a04135270", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_issuance_hou_11cb916d75968dff8a34062a04135270", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_issuance_hou_11cb916d75968dff8a34062a04135270"}, "created_at": 1723584321.727399, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_issuance_hou_11cb916d75968dff8a34062a04135270\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hou_11cb916d75968dff8a34062a04135270.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_hourly_arbitrum_sepolia\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_pool_issuance_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_ts.94cc660ca9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_ts.94cc660ca9", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_issuance_arbitrum_sepolia_ts"], "alias": "not_null_fct_pool_issuance_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7290301, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_issuance_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_block_number.7b40b6a61f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_sepolia_block_number.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_block_number.7b40b6a61f", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_issuance_arbitrum_sepolia_block_number"], "alias": "not_null_fct_pool_issuance_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.730637, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_pool_issuance_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash.333c0c5e61": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash.333c0c5e61", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash"], "alias": "not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7322645, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_pool_issuance_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_pool_id.2084f5f832": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_pool_id.2084f5f832", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_issuance_arbitrum_sepolia_pool_id"], "alias": "not_null_fct_pool_issuance_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7338762, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_arbitrum_sepolia_pool_id__True__0.0ec85b0399": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_issuance_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_fa7cf2db846d1f7db6571286c827e475.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_arbitrum_sepolia_pool_id__True__0.0ec85b0399", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_issuance_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_fa7cf2db846d1f7db6571286c827e475", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_fa7cf2db846d1f7db6571286c827e475", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_fa7cf2db846d1f7db6571286c827e475"}, "created_at": 1723584321.7356205, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_fa7cf2db846d1f7db6571286c827e475\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_fa7cf2db846d1f7db6571286c827e475.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type.aef6de9ec1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type.aef6de9ec1", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type"], "alias": "not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7397792, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_issuance_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_account_id.45720a8ffb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_sepolia_account_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_account_id.45720a8ffb", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_issuance_arbitrum_sepolia_account_id"], "alias": "not_null_fct_pool_issuance_arbitrum_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7415764, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_pool_issuance_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_amount.43a9be48cb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_sepolia_amount.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_amount.43a9be48cb", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_issuance_arbitrum_sepolia_amount"], "alias": "not_null_fct_pool_issuance_arbitrum_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7432227, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_issuance_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts.a70d2ff18c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts.a70d2ff18c", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7448397, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id.aa93d2af52": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id.aa93d2af52", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7464175, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id__True__0.2553f9acd9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_7d080ad9810c6e54982f624954c1a8bd.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id__True__0.2553f9acd9", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_7d080ad9810c6e54982f624954c1a8bd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_7d080ad9810c6e54982f624954c1a8bd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_7d080ad9810c6e54982f624954c1a8bd"}, "created_at": 1723584321.7480292, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_7d080ad9810c6e54982f624954c1a8bd\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_7d080ad9810c6e54982f624954c1a8bd.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type.ad28430a8b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type.ad28430a8b", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7522373, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value.4feda18e6e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value.4feda18e6e", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7538626, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value__True__0.8f44ccf6a8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_e12600eefd85fc7e692b201278046e4b.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value__True__0.8f44ccf6a8", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_fct_p_e12600eefd85fc7e692b201278046e4b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_e12600eefd85fc7e692b201278046e4b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_e12600eefd85fc7e692b201278046e4b"}, "created_at": 1723584321.7554958, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_e12600eefd85fc7e692b201278046e4b\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_e12600eefd85fc7e692b201278046e4b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt.064b4f1aa0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt.064b4f1aa0", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.759622, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance.98a21247a9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance.98a21247a9", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7612455, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl.71c511680d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl.71c511680d", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7629561, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\nwhere hourly_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd.de45431bfe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd.de45431bfe", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.764642, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd__True__0.c70c3ef6d1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_e0a68b51993ab712ad96312726405859.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd__True__0.c70c3ef6d1", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_e0a68b51993ab712ad96312726405859", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_e0a68b51993ab712ad96312726405859", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_e0a68b51993ab712ad96312726405859"}, "created_at": 1723584321.7662325, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_e0a68b51993ab712ad96312726405859\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_e0a68b51993ab712ad96312726405859.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct.cfa91548b1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct.cfa91548b1", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.770731, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl_pct\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\nwhere hourly_pnl_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct__True__1___1.758a1bd318": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct__True__1___1", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_a67d338a50f45b5e37135127818c33d1.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct__True__1___1.758a1bd318", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct__True__1___1"], "alias": "dbt_utils_accepted_range_fct_p_a67d338a50f45b5e37135127818c33d1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_a67d338a50f45b5e37135127818c33d1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_a67d338a50f45b5e37135127818c33d1"}, "created_at": 1723584321.7724042, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_a67d338a50f45b5e37135127818c33d1\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_a67d338a50f45b5e37135127818c33d1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_pnl_pct >= -1\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_pnl_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": -1, "max_value": 1, "inclusive": true, "column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct.85b61a0a46": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_a_6c23c87583f2b0ac9bb0a2c0370497c4.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct.85b61a0a46", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct"], "alias": "not_null_fct_pool_pnl_hourly_a_6c23c87583f2b0ac9bb0a2c0370497c4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_pnl_hourly_a_6c23c87583f2b0ac9bb0a2c0370497c4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_pnl_hourly_a_6c23c87583f2b0ac9bb0a2c0370497c4"}, "created_at": 1723584321.776555, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_pnl_hourly_a_6c23c87583f2b0ac9bb0a2c0370497c4\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_a_6c23c87583f2b0ac9bb0a2c0370497c4.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_rewards_pct\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\nwhere hourly_rewards_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct__True__1__0.155d04b096": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct__True__1__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_78d7856dd1e123f365011eee499b2f59.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct__True__1__0.155d04b096", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct__True__1__0"], "alias": "dbt_utils_accepted_range_fct_p_78d7856dd1e123f365011eee499b2f59", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_78d7856dd1e123f365011eee499b2f59", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_78d7856dd1e123f365011eee499b2f59"}, "created_at": 1723584321.7781904, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_78d7856dd1e123f365011eee499b2f59\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_78d7856dd1e123f365011eee499b2f59.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct >= 0\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "max_value": 1, "inclusive": true, "column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct.57d5efdf83": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct.57d5efdf83", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7823243, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_total_pct\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\nwhere hourly_total_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_total_pct", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_total_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts.c0fe0cb40b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts.c0fe0cb40b", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts"], "alias": "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.783968, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_hourly_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id.a84969537b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id.a84969537b", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id"], "alias": "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7855902, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_hourly_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id__True__0.550e7516ff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_df9fa8946eec41700553434667916542.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id__True__0.550e7516ff", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_df9fa8946eec41700553434667916542", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_df9fa8946eec41700553434667916542", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_df9fa8946eec41700553434667916542"}, "created_at": 1723584321.7872198, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_df9fa8946eec41700553434667916542\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_df9fa8946eec41700553434667916542.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_hourly_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_collateral_type.e8435924a6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hour_635c87ae2557e9395da988d2e1e4a097.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_collateral_type.e8435924a6", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_collateral_type"], "alias": "not_null_fct_pool_rewards_hour_635c87ae2557e9395da988d2e1e4a097", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_hour_635c87ae2557e9395da988d2e1e4a097", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_rewards_hour_635c87ae2557e9395da988d2e1e4a097"}, "created_at": 1723584321.791359, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_hour_635c87ae2557e9395da988d2e1e4a097\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hour_635c87ae2557e9395da988d2e1e4a097.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_hourly_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd.a8bf6b50cf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd.a8bf6b50cf", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd"], "alias": "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7929623, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_hourly_arbitrum_sepolia\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd__True__0.29163ebf9c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_2a63ee355e4d76f268537548f1f3d4cf.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd__True__0.29163ebf9c", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_2a63ee355e4d76f268537548f1f3d4cf", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_2a63ee355e4d76f268537548f1f3d4cf", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_2a63ee355e4d76f268537548f1f3d4cf"}, "created_at": 1723584321.7945578, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_2a63ee355e4d76f268537548f1f3d4cf\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_2a63ee355e4d76f268537548f1f3d4cf.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_hourly_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts.408bc991e9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts.408bc991e9", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts"], "alias": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7987187, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id.c9c0638ac8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id.c9c0638ac8", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id"], "alias": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8003747, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id__True__0.dc85f8adb9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_6f0679969324f6c86528d62ed3e64658.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id__True__0.dc85f8adb9", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_6f0679969324f6c86528d62ed3e64658", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_6f0679969324f6c86528d62ed3e64658", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_6f0679969324f6c86528d62ed3e64658"}, "created_at": 1723584321.802023, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_6f0679969324f6c86528d62ed3e64658\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_6f0679969324f6c86528d62ed3e64658.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_collateral_type.6bd3efb9ab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_8dfb621ad95873be69842e7a52568e36.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_collateral_type.6bd3efb9ab", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_collateral_type"], "alias": "not_null_fct_pool_rewards_toke_8dfb621ad95873be69842e7a52568e36", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_8dfb621ad95873be69842e7a52568e36", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_rewards_toke_8dfb621ad95873be69842e7a52568e36"}, "created_at": 1723584321.8061671, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_8dfb621ad95873be69842e7a52568e36\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_8dfb621ad95873be69842e7a52568e36.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_distributor.57d35a371e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_c3520f755c3280ff3dbb2008a3c8df69.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_distributor.57d35a371e", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_distributor"], "alias": "not_null_fct_pool_rewards_toke_c3520f755c3280ff3dbb2008a3c8df69", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_c3520f755c3280ff3dbb2008a3c8df69", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_rewards_toke_c3520f755c3280ff3dbb2008a3c8df69"}, "created_at": 1723584321.8078053, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_c3520f755c3280ff3dbb2008a3c8df69\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_c3520f755c3280ff3dbb2008a3c8df69.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_token_symbol.43135a2a58": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_101f33e1d7acd1e7a935048c8eeed72a.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_token_symbol.43135a2a58", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_token_symbol"], "alias": "not_null_fct_pool_rewards_toke_101f33e1d7acd1e7a935048c8eeed72a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_101f33e1d7acd1e7a935048c8eeed72a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_rewards_toke_101f33e1d7acd1e7a935048c8eeed72a"}, "created_at": 1723584321.8094409, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_101f33e1d7acd1e7a935048c8eeed72a\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_101f33e1d7acd1e7a935048c8eeed72a.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price.8b9f940b5a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price.8b9f940b5a", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price"], "alias": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8111753, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_price__True__0.03fbb6a68c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_0305974c50a0f1c684080082e2de1b91.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_price__True__0.03fbb6a68c", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_0305974c50a0f1c684080082e2de1b91", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_0305974c50a0f1c684080082e2de1b91", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_0305974c50a0f1c684080082e2de1b91"}, "created_at": 1723584321.8127804, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_0305974c50a0f1c684080082e2de1b91\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_0305974c50a0f1c684080082e2de1b91.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount.a128c8eb69": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_a8c2669f0d6479c019d59a25fa7f3128.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount.a128c8eb69", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount"], "alias": "not_null_fct_pool_rewards_toke_a8c2669f0d6479c019d59a25fa7f3128", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_a8c2669f0d6479c019d59a25fa7f3128", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_rewards_toke_a8c2669f0d6479c019d59a25fa7f3128"}, "created_at": 1723584321.8169644, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_a8c2669f0d6479c019d59a25fa7f3128\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_a8c2669f0d6479c019d59a25fa7f3128.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_amount\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\nwhere hourly_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_amount", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount__True__0.b67f19c73b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_3a2f522b52f84f1fa4d5d261ac240762.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount__True__0.b67f19c73b", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_p_3a2f522b52f84f1fa4d5d261ac240762", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_3a2f522b52f84f1fa4d5d261ac240762", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_3a2f522b52f84f1fa4d5d261ac240762"}, "created_at": 1723584321.8185804, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_3a2f522b52f84f1fa4d5d261ac240762\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_3a2f522b52f84f1fa4d5d261ac240762.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_amount", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "hourly_amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed.92aa5d68ee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_d66933481f7af1019863db2047abc6b6.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed.92aa5d68ee", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed"], "alias": "not_null_fct_pool_rewards_toke_d66933481f7af1019863db2047abc6b6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_d66933481f7af1019863db2047abc6b6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_rewards_toke_d66933481f7af1019863db2047abc6b6"}, "created_at": 1723584321.82261, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_d66933481f7af1019863db2047abc6b6\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_d66933481f7af1019863db2047abc6b6.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_distributed\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\nwhere amount_distributed is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_distributed", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_distributed", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed__True__0.a2ebbe6544": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_fa22a1f51ca74ea96a04a23f52e6fd76.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed__True__0.a2ebbe6544", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed__True__0"], "alias": "dbt_utils_accepted_range_fct_p_fa22a1f51ca74ea96a04a23f52e6fd76", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_fa22a1f51ca74ea96a04a23f52e6fd76", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_fa22a1f51ca74ea96a04a23f52e6fd76"}, "created_at": 1723584321.8243876, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_fa22a1f51ca74ea96a04a23f52e6fd76\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_fa22a1f51ca74ea96a04a23f52e6fd76.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_distributed >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_distributed", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_distributed", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd.a4c3a5bd6d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_db7f25a9d30e870ff1966e415088dd18.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd.a4c3a5bd6d", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd"], "alias": "not_null_fct_pool_rewards_toke_db7f25a9d30e870ff1966e415088dd18", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_db7f25a9d30e870ff1966e415088dd18", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_rewards_toke_db7f25a9d30e870ff1966e415088dd18"}, "created_at": 1723584321.8284125, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_db7f25a9d30e870ff1966e415088dd18\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_db7f25a9d30e870ff1966e415088dd18.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd__True__0.1aeeb784bf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_00419512556802607d34a13b2fae9fde.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd__True__0.1aeeb784bf", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_00419512556802607d34a13b2fae9fde", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_00419512556802607d34a13b2fae9fde", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_00419512556802607d34a13b2fae9fde"}, "created_at": 1723584321.830182, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_00419512556802607d34a13b2fae9fde\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_00419512556802607d34a13b2fae9fde.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_ts.27dc7912ff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_ts.27dc7912ff", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_synth_supply_arbitrum_sepolia_ts"], "alias": "not_null_fct_synth_supply_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.83897, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_synth_supply_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_synth_supply_arbitrum_sepolia", "attached_node": "model.synthetix.fct_synth_supply_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_synth_supply_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_block_number.f392305688": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_arbitrum_sepolia_block_number.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_block_number.f392305688", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_synth_supply_arbitrum_sepolia_block_number"], "alias": "not_null_fct_synth_supply_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.840951, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_synth_supply_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_synth_supply_arbitrum_sepolia", "attached_node": "model.synthetix.fct_synth_supply_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_synth_supply_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id.4a2d305755": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id.4a2d305755", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id"], "alias": "not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.842599, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_synth_supply_arbitrum_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_synth_supply_arbitrum_sepolia", "attached_node": "model.synthetix.fct_synth_supply_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_synth_supply_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_arbitrum_sepolia_synth_market_id__True__0.e33f94430c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_synth_supply_arbitrum_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_13b1cd7a747e4342600b693999e3edc5.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_arbitrum_sepolia_synth_market_id__True__0.e33f94430c", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_fct_synth_supply_arbitrum_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_13b1cd7a747e4342600b693999e3edc5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_13b1cd7a747e4342600b693999e3edc5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_s_13b1cd7a747e4342600b693999e3edc5"}, "created_at": 1723584321.8442385, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_13b1cd7a747e4342600b693999e3edc5\") }}", "language": "sql", "refs": [{"name": "fct_synth_supply_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_13b1cd7a747e4342600b693999e3edc5.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_synth_supply_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_synth_supply_arbitrum_sepolia", "attached_node": "model.synthetix.fct_synth_supply_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_synth_supply_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_supply.e3a1577f38": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_arbitrum_sepolia_supply", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_arbitrum_sepolia_supply.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_supply.e3a1577f38", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_synth_supply_arbitrum_sepolia_supply"], "alias": "not_null_fct_synth_supply_arbitrum_sepolia_supply", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8484046, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_supply.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect supply\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_synth_supply_arbitrum_sepolia\"\nwhere supply is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "supply", "file_key_name": "models.fct_synth_supply_arbitrum_sepolia", "attached_node": "model.synthetix.fct_synth_supply_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "supply", "model": "{{ get_where_subquery(ref('fct_synth_supply_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_id.491922c0de": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_id.491922c0de", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_atomics_arbitrum_sepolia_id"], "alias": "not_null_fct_spot_atomics_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8500278, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_atomics_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_spot_atomics_arbitrum_sepolia_id.ac19d3d198": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_spot_atomics_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_spot_atomics_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_fct_spot_atomics_arbitrum_sepolia_id.ac19d3d198", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "unique_fct_spot_atomics_arbitrum_sepolia_id"], "alias": "unique_fct_spot_atomics_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8516438, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/unique_fct_spot_atomics_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_atomics_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_ts.892f2a57c7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_ts.892f2a57c7", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_atomics_arbitrum_sepolia_ts"], "alias": "not_null_fct_spot_atomics_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8532114, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_spot_atomics_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_block_number.8b344f291a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_sepolia_block_number.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_block_number.8b344f291a", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_atomics_arbitrum_sepolia_block_number"], "alias": "not_null_fct_spot_atomics_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8553545, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_spot_atomics_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash.e8c13a9755": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash.e8c13a9755", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash"], "alias": "not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.856933, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tx_hash\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\nwhere tx_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "tx_hash", "file_key_name": "models.fct_spot_atomics_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "tx_hash", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id.b6c3e19705": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id.b6c3e19705", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id"], "alias": "not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8584971, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_atomics_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_arbitrum_sepolia_synth_market_id__True__0.783d66767d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_spot_atomics_arbitrum_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_4c31ac9727349bc48034259abf6855e8.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_arbitrum_sepolia_synth_market_id__True__0.783d66767d", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_fct_spot_atomics_arbitrum_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_4c31ac9727349bc48034259abf6855e8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_4c31ac9727349bc48034259abf6855e8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_s_4c31ac9727349bc48034259abf6855e8"}, "created_at": 1723584321.8601055, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_4c31ac9727349bc48034259abf6855e8\") }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_4c31ac9727349bc48034259abf6855e8.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_atomics_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_price.685e079a35": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_sepolia_price.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_price.685e079a35", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_atomics_arbitrum_sepolia_price"], "alias": "not_null_fct_spot_atomics_arbitrum_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8642664, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_spot_atomics_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_amount.08628c0e8d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_sepolia_amount.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_amount.08628c0e8d", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_atomics_arbitrum_sepolia_amount"], "alias": "not_null_fct_spot_atomics_arbitrum_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8658648, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_spot_atomics_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_referrer.ab47b8a4dc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_sepolia_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_sepolia_referrer.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_referrer.ab47b8a4dc", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_atomics_arbitrum_sepolia_referrer"], "alias": "not_null_fct_spot_atomics_arbitrum_sepolia_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8674755, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "file_key_name": "models.fct_spot_atomics_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referrer", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_id.8e20da3df9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_id.8e20da3df9", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_markets_arbitrum_sepolia_id"], "alias": "not_null_fct_spot_markets_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8692026, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_markets_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_markets_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_markets_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_markets_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_arbitrum_sepolia_id__True__0.181ee7b620": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_spot_markets_arbitrum_sepolia_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_7ae3fe9b5ae9f2521f5ef9e747468675.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_arbitrum_sepolia_id__True__0.181ee7b620", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_fct_spot_markets_arbitrum_sepolia_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_7ae3fe9b5ae9f2521f5ef9e747468675", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_7ae3fe9b5ae9f2521f5ef9e747468675", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_s_7ae3fe9b5ae9f2521f5ef9e747468675"}, "created_at": 1723584321.870804, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_7ae3fe9b5ae9f2521f5ef9e747468675\") }}", "language": "sql", "refs": [{"name": "fct_spot_markets_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_7ae3fe9b5ae9f2521f5ef9e747468675.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_markets_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_markets_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_markets_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_markets_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_created_ts.d5e3080b9d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_arbitrum_sepolia_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_arbitrum_sepolia_created_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_created_ts.d5e3080b9d", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_markets_arbitrum_sepolia_created_ts"], "alias": "not_null_fct_spot_markets_arbitrum_sepolia_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8748286, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_markets_arbitrum_sepolia\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_spot_markets_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_markets_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_spot_markets_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_block_number.50ad9758fc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_arbitrum_sepolia_block_number.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_block_number.50ad9758fc", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_markets_arbitrum_sepolia_block_number"], "alias": "not_null_fct_spot_markets_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8767276, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_markets_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_spot_markets_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_markets_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_spot_markets_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_token_address.1b182f5b09": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_arbitrum_sepolia_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_arbitrum_sepolia_token_address.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_token_address.1b182f5b09", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_markets_arbitrum_sepolia_token_address"], "alias": "not_null_fct_spot_markets_arbitrum_sepolia_token_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8783445, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_token_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_address\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_markets_arbitrum_sepolia\"\nwhere token_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_address", "file_key_name": "models.fct_spot_markets_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_markets_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_address", "model": "{{ get_where_subquery(ref('fct_spot_markets_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_id.e4af3a2e01": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_id.e4af3a2e01", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_wrapper_arbitrum_sepolia_id"], "alias": "not_null_fct_spot_wrapper_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8799834, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_wrapper_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_wrapper_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_spot_wrapper_arbitrum_sepolia_id.ef7877efab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_spot_wrapper_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_spot_wrapper_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_fct_spot_wrapper_arbitrum_sepolia_id.ef7877efab", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "unique_fct_spot_wrapper_arbitrum_sepolia_id"], "alias": "unique_fct_spot_wrapper_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8815582, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/unique_fct_spot_wrapper_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_wrapper_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_wrapper_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_ts.cac57bdf22": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_ts.cac57bdf22", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_wrapper_arbitrum_sepolia_ts"], "alias": "not_null_fct_spot_wrapper_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8832674, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_wrapper_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_spot_wrapper_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_block_number.11ac634180": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_arbitrum_sepolia_block_number.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_block_number.11ac634180", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_wrapper_arbitrum_sepolia_block_number"], "alias": "not_null_fct_spot_wrapper_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.884859, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_wrapper_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_spot_wrapper_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash.bc4c1e86f4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash.bc4c1e86f4", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash"], "alias": "not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8864276, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tx_hash\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_wrapper_arbitrum_sepolia\"\nwhere tx_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "tx_hash", "file_key_name": "models.fct_spot_wrapper_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "tx_hash", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id.73a4297f2a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id.73a4297f2a", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id"], "alias": "not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8880186, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_wrapper_arbitrum_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_wrapper_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_sepolia_synth_market_id__True__0.38952f7e02": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_f7215907bd80967a19c7b75cb2c62c2d.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_sepolia_synth_market_id__True__0.38952f7e02", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_f7215907bd80967a19c7b75cb2c62c2d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_f7215907bd80967a19c7b75cb2c62c2d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_s_f7215907bd80967a19c7b75cb2c62c2d"}, "created_at": 1723584321.88961, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_f7215907bd80967a19c7b75cb2c62c2d\") }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_f7215907bd80967a19c7b75cb2c62c2d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_wrapper_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_wrapper_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped.77a6a551fc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped.77a6a551fc", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped"], "alias": "not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8937325, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_wrapped\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_wrapper_arbitrum_sepolia\"\nwhere amount_wrapped is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_wrapped", "file_key_name": "models.fct_spot_wrapper_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_wrapped", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_arbitrum_sepolia_ts.a139176cd1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_arbitrum_sepolia_ts.a139176cd1", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "prices", "not_null_fct_prices_arbitrum_sepolia_ts"], "alias": "not_null_fct_prices_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8974087, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_prices_arbitrum_sepolia", "attached_node": "model.synthetix.fct_prices_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_prices_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_arbitrum_sepolia_market_symbol.5499da1cc7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_arbitrum_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_arbitrum_sepolia_market_symbol.sql", "original_file_path": "models/marts/arbitrum/sepolia/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_arbitrum_sepolia_market_symbol.5499da1cc7", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "prices", "not_null_fct_prices_arbitrum_sepolia_market_symbol"], "alias": "not_null_fct_prices_arbitrum_sepolia_market_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8993008, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_arbitrum_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_arbitrum_sepolia\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_prices_arbitrum_sepolia", "attached_node": "model.synthetix.fct_prices_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_prices_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_arbitrum_sepolia_price.45fcd4b484": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_arbitrum_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_arbitrum_sepolia_price.sql", "original_file_path": "models/marts/arbitrum/sepolia/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_arbitrum_sepolia_price.45fcd4b484", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "prices", "not_null_fct_prices_arbitrum_sepolia_price"], "alias": "not_null_fct_prices_arbitrum_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.900963, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_arbitrum_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_arbitrum_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_arbitrum_sepolia", "attached_node": "model.synthetix.fct_prices_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_prices_arbitrum_sepolia_price__True__0.cd20dabe63": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_prices_arbitrum_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_1793757a7745263cb1ae50328ac71095.sql", "original_file_path": "models/marts/arbitrum/sepolia/prices/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_arbitrum_sepolia_price__True__0.cd20dabe63", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "prices", "dbt_utils_accepted_range_fct_prices_arbitrum_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_1793757a7745263cb1ae50328ac71095", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_1793757a7745263cb1ae50328ac71095", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_1793757a7745263cb1ae50328ac71095"}, "created_at": 1723584321.9026544, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_1793757a7745263cb1ae50328ac71095\") }}", "language": "sql", "refs": [{"name": "fct_prices_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_p_1793757a7745263cb1ae50328ac71095.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_arbitrum_sepolia", "attached_node": "model.synthetix.fct_prices_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_ts.45b8cdbd25": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_ts.45b8cdbd25", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "prices", "not_null_fct_prices_hourly_arbitrum_sepolia_ts"], "alias": "not_null_fct_prices_hourly_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.906803, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_hourly_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_prices_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_prices_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_prices_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol.6b1d78c094": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol.sql", "original_file_path": "models/marts/arbitrum/sepolia/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol.6b1d78c094", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "prices", "not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol"], "alias": "not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.9084435, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_hourly_arbitrum_sepolia\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_prices_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_prices_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_prices_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_price.774a8eccfb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_arbitrum_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_arbitrum_sepolia_price.sql", "original_file_path": "models/marts/arbitrum/sepolia/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_price.774a8eccfb", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "prices", "not_null_fct_prices_hourly_arbitrum_sepolia_price"], "alias": "not_null_fct_prices_hourly_arbitrum_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.910035, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_hourly_arbitrum_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_prices_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_arbitrum_sepolia_price__True__0.e322ab3e73": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_prices_hourly_arbitrum_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_c389955785804dcaf9bd1c3182ae345a.sql", "original_file_path": "models/marts/arbitrum/sepolia/prices/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_arbitrum_sepolia_price__True__0.e322ab3e73", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "prices", "dbt_utils_accepted_range_fct_prices_hourly_arbitrum_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_c389955785804dcaf9bd1c3182ae345a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_c389955785804dcaf9bd1c3182ae345a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_c389955785804dcaf9bd1c3182ae345a"}, "created_at": 1723584321.9116664, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_c389955785804dcaf9bd1c3182ae345a\") }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_p_c389955785804dcaf9bd1c3182ae345a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_hourly_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_prices_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_id.a798ff42d8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_id.a798ff42d8", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_interest_charged_base_mainnet_id"], "alias": "not_null_fct_perp_interest_charged_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.96665, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_interest_charged_base_mainnet_id.31ca39738f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_interest_charged_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_interest_charged_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_interest_charged_base_mainnet_id.31ca39738f", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "unique_fct_perp_interest_charged_base_mainnet_id"], "alias": "unique_fct_perp_interest_charged_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.968333, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_interest_charged_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_block_timestamp.60136d09c1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_mainnet_block_timestamp.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_block_timestamp.60136d09c1", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_interest_charged_base_mainnet_block_timestamp"], "alias": "not_null_fct_perp_interest_charged_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.97005, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.fct_perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_block_number.47e9d47bb4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_block_number.47e9d47bb4", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_interest_charged_base_mainnet_block_number"], "alias": "not_null_fct_perp_interest_charged_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.9716907, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_transaction_hash.f85d4df49f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_cha_58e811f195886e33ea96ae96495917e8.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_transaction_hash.f85d4df49f", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_interest_charged_base_mainnet_transaction_hash"], "alias": "not_null_fct_perp_interest_cha_58e811f195886e33ea96ae96495917e8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_interest_cha_58e811f195886e33ea96ae96495917e8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_perp_interest_cha_58e811f195886e33ea96ae96495917e8"}, "created_at": 1723584321.9732873, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_interest_cha_58e811f195886e33ea96ae96495917e8\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_cha_58e811f195886e33ea96ae96495917e8.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_contract.8e7dd8a6ef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_mainnet_contract.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_contract.8e7dd8a6ef", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_interest_charged_base_mainnet_contract"], "alias": "not_null_fct_perp_interest_charged_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.9748657, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.fct_perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_event_name.eaf9eac9c3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_mainnet_event_name.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_event_name.eaf9eac9c3", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_interest_charged_base_mainnet_event_name"], "alias": "not_null_fct_perp_interest_charged_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.97649, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_perp_interest_charged_base_mainnet_event_name__InterestCharged.b8b39fbb4d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_perp_interest_charged_base_mainnet_event_name__InterestCharged", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_perp_inter_c4347b3b9694ac10aceed0143cedea56.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_perp_interest_charged_base_mainnet_event_name__InterestCharged.b8b39fbb4d", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "accepted_values_fct_perp_interest_charged_base_mainnet_event_name__InterestCharged"], "alias": "accepted_values_fct_perp_inter_c4347b3b9694ac10aceed0143cedea56", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_perp_inter_c4347b3b9694ac10aceed0143cedea56", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_fct_perp_inter_c4347b3b9694ac10aceed0143cedea56"}, "created_at": 1723584321.978185, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_perp_inter_c4347b3b9694ac10aceed0143cedea56\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/accepted_values_fct_perp_inter_c4347b3b9694ac10aceed0143cedea56.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'InterestCharged'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["InterestCharged"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_account_id.2830ac0b93": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_mainnet_account_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_account_id.2830ac0b93", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_interest_charged_base_mainnet_account_id"], "alias": "not_null_fct_perp_interest_charged_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.9821684, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_account_id__True__0.d4da8249b8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_ff10b4f2a56e4cdea1b5bcb928b28cbf.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_account_id__True__0.d4da8249b8", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_ff10b4f2a56e4cdea1b5bcb928b28cbf", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_ff10b4f2a56e4cdea1b5bcb928b28cbf", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_ff10b4f2a56e4cdea1b5bcb928b28cbf"}, "created_at": 1723584321.9839783, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_ff10b4f2a56e4cdea1b5bcb928b28cbf\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ff10b4f2a56e4cdea1b5bcb928b28cbf.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_interest.073a973712": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_mainnet_interest", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_mainnet_interest.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_interest.073a973712", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_interest_charged_base_mainnet_interest"], "alias": "not_null_fct_perp_interest_charged_base_mainnet_interest", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.9880042, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_interest.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect interest\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_base_mainnet\"\nwhere interest is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest", "file_key_name": "models.fct_perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "interest", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_interest__True__0.b25a9c1b50": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_interest__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_20bd9be4bbd3c73d6fe50263ec1a1772.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_interest__True__0.b25a9c1b50", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_interest__True__0"], "alias": "dbt_utils_accepted_range_fct_p_20bd9be4bbd3c73d6fe50263ec1a1772", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_20bd9be4bbd3c73d6fe50263ec1a1772", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_20bd9be4bbd3c73d6fe50263ec1a1772"}, "created_at": 1723584321.9897265, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_20bd9be4bbd3c73d6fe50263ec1a1772\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_20bd9be4bbd3c73d6fe50263ec1a1772.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not interest >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest", "file_key_name": "models.fct_perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "interest", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_id.efa9bbeec9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_id.efa9bbeec9", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_modified_base_mainnet_id"], "alias": "not_null_fct_perp_collateral_modified_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.993886, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_modified_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_collateral_modified_base_mainnet_id.9010e87027": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_collateral_modified_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_collateral_modified_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_collateral_modified_base_mainnet_id.9010e87027", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "unique_fct_perp_collateral_modified_base_mainnet_id"], "alias": "unique_fct_perp_collateral_modified_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.995591, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_collateral_modified_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_modified_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_block_timestamp.7c5c8a362c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_m_480f0628000298ef433bca3cc91c2d4d.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_block_timestamp.7c5c8a362c", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_modified_base_mainnet_block_timestamp"], "alias": "not_null_fct_perp_collateral_m_480f0628000298ef433bca3cc91c2d4d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_m_480f0628000298ef433bca3cc91c2d4d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_perp_collateral_m_480f0628000298ef433bca3cc91c2d4d"}, "created_at": 1723584321.9973423, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_m_480f0628000298ef433bca3cc91c2d4d\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_480f0628000298ef433bca3cc91c2d4d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_modified_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.fct_perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_block_number.45b34bf575": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_block_number.45b34bf575", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_modified_base_mainnet_block_number"], "alias": "not_null_fct_perp_collateral_modified_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.9989336, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_modified_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_transaction_hash.8cc455d504": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_m_6aaf08a0cc0ebf1ec2552467131d9042.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_transaction_hash.8cc455d504", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_modified_base_mainnet_transaction_hash"], "alias": "not_null_fct_perp_collateral_m_6aaf08a0cc0ebf1ec2552467131d9042", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_m_6aaf08a0cc0ebf1ec2552467131d9042", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_perp_collateral_m_6aaf08a0cc0ebf1ec2552467131d9042"}, "created_at": 1723584322.0005448, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_m_6aaf08a0cc0ebf1ec2552467131d9042\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_6aaf08a0cc0ebf1ec2552467131d9042.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_modified_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_contract.f078950840": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_base_mainnet_contract.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_contract.f078950840", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_modified_base_mainnet_contract"], "alias": "not_null_fct_perp_collateral_modified_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.002117, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_modified_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.fct_perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_event_name.44267a4fa1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_base_mainnet_event_name.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_event_name.44267a4fa1", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_modified_base_mainnet_event_name"], "alias": "not_null_fct_perp_collateral_modified_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0037346, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_modified_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_perp_collateral_modified_base_mainnet_event_name__CollateralModified.00f5016782": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_perp_collateral_modified_base_mainnet_event_name__CollateralModified", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_perp_colla_c44093d110551810dda33a327b32dcf1.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_perp_collateral_modified_base_mainnet_event_name__CollateralModified.00f5016782", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "accepted_values_fct_perp_collateral_modified_base_mainnet_event_name__CollateralModified"], "alias": "accepted_values_fct_perp_colla_c44093d110551810dda33a327b32dcf1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_perp_colla_c44093d110551810dda33a327b32dcf1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_fct_perp_colla_c44093d110551810dda33a327b32dcf1"}, "created_at": 1723584322.0054786, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_perp_colla_c44093d110551810dda33a327b32dcf1\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/accepted_values_fct_perp_colla_c44093d110551810dda33a327b32dcf1.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_modified_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'CollateralModified'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["CollateralModified"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_synth_market_id.3a3dffb920": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_m_e720fe048f24fc979d195abef2b1e5f2.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_synth_market_id.3a3dffb920", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_modified_base_mainnet_synth_market_id"], "alias": "not_null_fct_perp_collateral_m_e720fe048f24fc979d195abef2b1e5f2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_m_e720fe048f24fc979d195abef2b1e5f2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_perp_collateral_m_e720fe048f24fc979d195abef2b1e5f2"}, "created_at": 1723584322.00946, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_m_e720fe048f24fc979d195abef2b1e5f2\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_e720fe048f24fc979d195abef2b1e5f2.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_modified_base_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_base_mainnet_synth_market_id__True__0.644f81887d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_collateral_modified_base_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_8db4ca1659461866db19178ab65e09c0.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_base_mainnet_synth_market_id__True__0.644f81887d", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_collateral_modified_base_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_8db4ca1659461866db19178ab65e09c0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_8db4ca1659461866db19178ab65e09c0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_8db4ca1659461866db19178ab65e09c0"}, "created_at": 1723584322.0110881, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_8db4ca1659461866db19178ab65e09c0\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_8db4ca1659461866db19178ab65e09c0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_modified_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_sender.b3270f32cc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_base_mainnet_sender.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_sender.b3270f32cc", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_modified_base_mainnet_sender"], "alias": "not_null_fct_perp_collateral_modified_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0154693, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_modified_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.fct_perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_id.627b6b6b63": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_order_expired_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_id.627b6b6b63", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_previous_order_expired_base_mainnet_id"], "alias": "not_null_fct_perp_previous_order_expired_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0170822, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_previous_order_expired_base_mainnet_id.220846a37a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_previous_order_expired_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_previous_order_expired_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_previous_order_expired_base_mainnet_id.220846a37a", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "unique_fct_perp_previous_order_expired_base_mainnet_id"], "alias": "unique_fct_perp_previous_order_expired_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0188239, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_previous_order_expired_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_block_timestamp.da7b51b840": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_e4a087722f5fd0da2240b158c1565b09.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_block_timestamp.da7b51b840", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_previous_order_expired_base_mainnet_block_timestamp"], "alias": "not_null_fct_perp_previous_ord_e4a087722f5fd0da2240b158c1565b09", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_e4a087722f5fd0da2240b158c1565b09", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_perp_previous_ord_e4a087722f5fd0da2240b158c1565b09"}, "created_at": 1723584322.020512, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_e4a087722f5fd0da2240b158c1565b09\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_e4a087722f5fd0da2240b158c1565b09.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.fct_perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_block_number.89b98bd9a2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_80cc469e6d2e81f1497a39d556777112.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_block_number.89b98bd9a2", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_previous_order_expired_base_mainnet_block_number"], "alias": "not_null_fct_perp_previous_ord_80cc469e6d2e81f1497a39d556777112", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_80cc469e6d2e81f1497a39d556777112", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_perp_previous_ord_80cc469e6d2e81f1497a39d556777112"}, "created_at": 1723584322.0220928, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_80cc469e6d2e81f1497a39d556777112\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_80cc469e6d2e81f1497a39d556777112.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_transaction_hash.573aaff2f5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_47e60611f9f74b7743817ce63b11a05c.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_transaction_hash.573aaff2f5", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_previous_order_expired_base_mainnet_transaction_hash"], "alias": "not_null_fct_perp_previous_ord_47e60611f9f74b7743817ce63b11a05c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_47e60611f9f74b7743817ce63b11a05c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_perp_previous_ord_47e60611f9f74b7743817ce63b11a05c"}, "created_at": 1723584322.0236897, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_47e60611f9f74b7743817ce63b11a05c\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_47e60611f9f74b7743817ce63b11a05c.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_contract.bd6be0f02f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_order_expired_base_mainnet_contract.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_contract.bd6be0f02f", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_previous_order_expired_base_mainnet_contract"], "alias": "not_null_fct_perp_previous_order_expired_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.025268, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.fct_perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_event_name.473a967d1d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_03fbb8f4256d615fd7d5e4f848963002.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_event_name.473a967d1d", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_previous_order_expired_base_mainnet_event_name"], "alias": "not_null_fct_perp_previous_ord_03fbb8f4256d615fd7d5e4f848963002", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_03fbb8f4256d615fd7d5e4f848963002", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_perp_previous_ord_03fbb8f4256d615fd7d5e4f848963002"}, "created_at": 1723584322.026939, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_03fbb8f4256d615fd7d5e4f848963002\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_03fbb8f4256d615fd7d5e4f848963002.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired.1769035769": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_perp_previ_530e813c897a8fb37891d6ee5ba0c5cd.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired.1769035769", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "accepted_values_fct_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired"], "alias": "accepted_values_fct_perp_previ_530e813c897a8fb37891d6ee5ba0c5cd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_perp_previ_530e813c897a8fb37891d6ee5ba0c5cd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_fct_perp_previ_530e813c897a8fb37891d6ee5ba0c5cd"}, "created_at": 1723584322.0285738, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_perp_previ_530e813c897a8fb37891d6ee5ba0c5cd\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/accepted_values_fct_perp_previ_530e813c897a8fb37891d6ee5ba0c5cd.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'PreviousOrderExpired'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PreviousOrderExpired"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_market_id.8bf9effd5e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_order_expired_base_mainnet_market_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_market_id.8bf9effd5e", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_previous_order_expired_base_mainnet_market_id"], "alias": "not_null_fct_perp_previous_order_expired_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.032705, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_market_id__True__0.59d73bf004": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_faf7be524f227ba063ac311acf719633.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_market_id__True__0.59d73bf004", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_faf7be524f227ba063ac311acf719633", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_faf7be524f227ba063ac311acf719633", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_faf7be524f227ba063ac311acf719633"}, "created_at": 1723584322.0343451, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_faf7be524f227ba063ac311acf719633\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_faf7be524f227ba063ac311acf719633.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_account_id.e7aae917c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_ad18888485efae9a1e81172a3cc23d47.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_account_id.e7aae917c2", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_previous_order_expired_base_mainnet_account_id"], "alias": "not_null_fct_perp_previous_ord_ad18888485efae9a1e81172a3cc23d47", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_ad18888485efae9a1e81172a3cc23d47", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_perp_previous_ord_ad18888485efae9a1e81172a3cc23d47"}, "created_at": 1723584322.0385442, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_ad18888485efae9a1e81172a3cc23d47\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_ad18888485efae9a1e81172a3cc23d47.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_account_id__True__0.0f31e1095c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_0e7c1984c4aa39f6fd4b55bb77bb0799.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_account_id__True__0.0f31e1095c", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_0e7c1984c4aa39f6fd4b55bb77bb0799", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_0e7c1984c4aa39f6fd4b55bb77bb0799", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_0e7c1984c4aa39f6fd4b55bb77bb0799"}, "created_at": 1723584322.0403936, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_0e7c1984c4aa39f6fd4b55bb77bb0799\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_0e7c1984c4aa39f6fd4b55bb77bb0799.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_id.35375a8491": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_id.35375a8491", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_id"], "alias": "not_null_fct_perp_trades_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0444667, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_trades_base_mainnet_id.b1b63119eb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_trades_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_trades_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_trades_base_mainnet_id.b1b63119eb", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "unique_fct_perp_trades_base_mainnet_id"], "alias": "unique_fct_perp_trades_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.046237, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_trades_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_ts.e5e75d9d71": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_ts.e5e75d9d71", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_ts"], "alias": "not_null_fct_perp_trades_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.047868, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_block_number.474b7643d0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_block_number.474b7643d0", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_block_number"], "alias": "not_null_fct_perp_trades_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.049463, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_transaction_hash.b1e9287d28": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_transaction_hash.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_transaction_hash.b1e9287d28", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_transaction_hash"], "alias": "not_null_fct_perp_trades_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0510411, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_contract.8897e47e7e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_contract.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_contract.8897e47e7e", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_contract"], "alias": "not_null_fct_perp_trades_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0526953, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_market_id.6ea4246016": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_market_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_market_id.6ea4246016", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_market_id"], "alias": "not_null_fct_perp_trades_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0543964, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_market_id__True__0.585f613862": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_a2dd2d32440dc91fc4794c2d669f8f75.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_market_id__True__0.585f613862", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_a2dd2d32440dc91fc4794c2d669f8f75", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_a2dd2d32440dc91fc4794c2d669f8f75", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_a2dd2d32440dc91fc4794c2d669f8f75"}, "created_at": 1723584322.0560133, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_a2dd2d32440dc91fc4794c2d669f8f75\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_a2dd2d32440dc91fc4794c2d669f8f75.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_market_symbol.e75d95d12c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_market_symbol.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_market_symbol.e75d95d12c", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_market_symbol"], "alias": "not_null_fct_perp_trades_base_mainnet_market_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0603197, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_account_id.8a94516fd9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_account_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_account_id.8a94516fd9", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_account_id"], "alias": "not_null_fct_perp_trades_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.06193, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_fill_price.e731328206": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_fill_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_fill_price.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_fill_price.e731328206", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_fill_price"], "alias": "not_null_fct_perp_trades_base_mainnet_fill_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0635252, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_fill_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect fill_price\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere fill_price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fill_price", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "fill_price", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_fill_price__True__0.3edbbda7ae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_fill_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_defc59e01d010d8997dbab10fd9ba035.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_fill_price__True__0.3edbbda7ae", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_fill_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_defc59e01d010d8997dbab10fd9ba035", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_defc59e01d010d8997dbab10fd9ba035", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_defc59e01d010d8997dbab10fd9ba035"}, "created_at": 1723584322.0651226, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_defc59e01d010d8997dbab10fd9ba035\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_defc59e01d010d8997dbab10fd9ba035.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not fill_price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fill_price", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "fill_price", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_pnl.e87ee65983": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_pnl.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_pnl.e87ee65983", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_pnl"], "alias": "not_null_fct_perp_trades_base_mainnet_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0694485, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pnl\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pnl", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pnl", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_accrued_funding.f6a962643b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_accrued_funding", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_accrued_funding.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_accrued_funding.f6a962643b", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_accrued_funding"], "alias": "not_null_fct_perp_trades_base_mainnet_accrued_funding", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0710883, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_accrued_funding.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect accrued_funding\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere accrued_funding is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "accrued_funding", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "accrued_funding", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_trade_size.2a003017e9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_trade_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_trade_size.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_trade_size.2a003017e9", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_trade_size"], "alias": "not_null_fct_perp_trades_base_mainnet_trade_size", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.072785, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_trade_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect trade_size\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere trade_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "trade_size", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "trade_size", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_position_size.a687f5c9e4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_position_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_position_size.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_position_size.a687f5c9e4", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_position_size"], "alias": "not_null_fct_perp_trades_base_mainnet_position_size", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.074509, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_position_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect position_size\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere position_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "position_size", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "position_size", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_total_fees.73178c801b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_total_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_total_fees.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_total_fees.73178c801b", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_total_fees"], "alias": "not_null_fct_perp_trades_base_mainnet_total_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0761309, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_total_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect total_fees\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere total_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_fees", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "total_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_total_fees__True__0.37a3c34f6a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_total_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_706d881e642b0b44990f6900137dfeab.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_total_fees__True__0.37a3c34f6a", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_total_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_706d881e642b0b44990f6900137dfeab", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_706d881e642b0b44990f6900137dfeab", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_706d881e642b0b44990f6900137dfeab"}, "created_at": 1723584322.0777175, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_706d881e642b0b44990f6900137dfeab\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_706d881e642b0b44990f6900137dfeab.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not total_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_fees", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "total_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_referral_fees.8c5c0f55a4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_referral_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_referral_fees.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_referral_fees.8c5c0f55a4", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_referral_fees"], "alias": "not_null_fct_perp_trades_base_mainnet_referral_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0819201, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_referral_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referral_fees\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere referral_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referral_fees", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referral_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_referral_fees__True__0.09a87481d6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_referral_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_46aa73378e6d97a17fcd11f7168dd382.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_referral_fees__True__0.09a87481d6", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_referral_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_46aa73378e6d97a17fcd11f7168dd382", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_46aa73378e6d97a17fcd11f7168dd382", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_46aa73378e6d97a17fcd11f7168dd382"}, "created_at": 1723584322.0835614, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_46aa73378e6d97a17fcd11f7168dd382\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_46aa73378e6d97a17fcd11f7168dd382.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not referral_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referral_fees", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "referral_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_collected_fees.1888a67b67": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_collected_fees.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_collected_fees.1888a67b67", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_collected_fees"], "alias": "not_null_fct_perp_trades_base_mainnet_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0877168, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collected_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_collected_fees__True__0.cec844302b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_7f989292ebdd85696258f50e8e944d80.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_collected_fees__True__0.cec844302b", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_7f989292ebdd85696258f50e8e944d80", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_7f989292ebdd85696258f50e8e944d80", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_7f989292ebdd85696258f50e8e944d80"}, "created_at": 1723584322.0893264, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_7f989292ebdd85696258f50e8e944d80\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_7f989292ebdd85696258f50e8e944d80.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_settlement_reward.c472f75c36": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_settlement_reward", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_settlement_reward.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_settlement_reward.c472f75c36", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_settlement_reward"], "alias": "not_null_fct_perp_trades_base_mainnet_settlement_reward", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.093829, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_settlement_reward.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect settlement_reward\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere settlement_reward is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "settlement_reward", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "settlement_reward", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_settlement_reward__True__0.56c953ccdc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_settlement_reward__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_107d1ece6a234baa81ddaf7ec7bc2586.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_settlement_reward__True__0.56c953ccdc", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_settlement_reward__True__0"], "alias": "dbt_utils_accepted_range_fct_p_107d1ece6a234baa81ddaf7ec7bc2586", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_107d1ece6a234baa81ddaf7ec7bc2586", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_107d1ece6a234baa81ddaf7ec7bc2586"}, "created_at": 1723584322.0954564, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_107d1ece6a234baa81ddaf7ec7bc2586\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_107d1ece6a234baa81ddaf7ec7bc2586.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not settlement_reward >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "settlement_reward", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "settlement_reward", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_tracking_code.3b557b440d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_tracking_code", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_tracking_code.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_tracking_code.3b557b440d", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_tracking_code"], "alias": "not_null_fct_perp_trades_base_mainnet_tracking_code", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0994823, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_tracking_code.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tracking_code\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere tracking_code is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "tracking_code", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "tracking_code", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_settler.cebd15f3ad": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_settler", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_settler.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_settler.cebd15f3ad", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_settler"], "alias": "not_null_fct_perp_trades_base_mainnet_settler", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1012354, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_settler.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect settler\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere settler is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "settler", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "settler", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_notional_trade_size.25efead997": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_notional_trade_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_notional_trade_size.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_notional_trade_size.25efead997", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_notional_trade_size"], "alias": "not_null_fct_perp_trades_base_mainnet_notional_trade_size", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1028545, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_notional_trade_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect notional_trade_size\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere notional_trade_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "notional_trade_size", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "notional_trade_size", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_notional_position_size.549d1d1b0b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_notional_position_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_notional_position_size.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_notional_position_size.549d1d1b0b", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_notional_position_size"], "alias": "not_null_fct_perp_trades_base_mainnet_notional_position_size", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1044536, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_notional_position_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect notional_position_size\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere notional_position_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "notional_position_size", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "notional_position_size", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_lp_fees.1da0034ac9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_lp_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_lp_fees.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_lp_fees.1da0034ac9", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_lp_fees"], "alias": "not_null_fct_perp_trades_base_mainnet_lp_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1060119, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_lp_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect lp_fees\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere lp_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "lp_fees", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "lp_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_lp_fees__True__0.67c14ce54a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_lp_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_79500ffafcda43bd106402b84a9c0006.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_lp_fees__True__0.67c14ce54a", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_lp_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_79500ffafcda43bd106402b84a9c0006", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_79500ffafcda43bd106402b84a9c0006", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"severity": "warn", "alias": "dbt_utils_accepted_range_fct_p_79500ffafcda43bd106402b84a9c0006"}, "created_at": 1723584322.1081078, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(severity=\"warn\",alias=\"dbt_utils_accepted_range_fct_p_79500ffafcda43bd106402b84a9c0006\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_79500ffafcda43bd106402b84a9c0006.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not lp_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "lp_fees", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "lp_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_exchange_fees.5a4c21716f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_exchange_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_exchange_fees.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_exchange_fees.5a4c21716f", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_exchange_fees"], "alias": "not_null_fct_perp_trades_base_mainnet_exchange_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1121774, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_exchange_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect exchange_fees\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere exchange_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "exchange_fees", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "exchange_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_exchange_fees__True__0.43ef826334": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_exchange_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_de17968e136591e8bdebfe1ebeb97386.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_exchange_fees__True__0.43ef826334", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_exchange_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_de17968e136591e8bdebfe1ebeb97386", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_de17968e136591e8bdebfe1ebeb97386", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_de17968e136591e8bdebfe1ebeb97386"}, "created_at": 1723584322.1139586, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_de17968e136591e8bdebfe1ebeb97386\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_de17968e136591e8bdebfe1ebeb97386.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not exchange_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "exchange_fees", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "exchange_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_pnl_base_mainnet_ts.aa0943ea1a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_pnl_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_pnl_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_pnl_base_mainnet_ts.aa0943ea1a", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_pnl_base_mainnet_ts"], "alias": "not_null_fct_perp_pnl_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1179328, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_pnl_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_pnl_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_pnl_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_pnl_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_perp_pnl_base_mainnet", "attached_node": "model.synthetix.fct_perp_pnl_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_pnl_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_pnl_base_mainnet_market_id.915c961b40": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_pnl_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_pnl_base_mainnet_market_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_pnl_base_mainnet_market_id.915c961b40", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_pnl_base_mainnet_market_id"], "alias": "not_null_fct_perp_pnl_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1195526, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_pnl_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_pnl_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_pnl_base_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_pnl_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_pnl_base_mainnet", "attached_node": "model.synthetix.fct_perp_pnl_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_pnl_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_base_mainnet_market_id__True__0.58f61a0590": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_pnl_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_30bfdb62856d2d46d9bb2e59b4ef38ec.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_base_mainnet_market_id__True__0.58f61a0590", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_pnl_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_30bfdb62856d2d46d9bb2e59b4ef38ec", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_30bfdb62856d2d46d9bb2e59b4ef38ec", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_30bfdb62856d2d46d9bb2e59b4ef38ec"}, "created_at": 1723584322.1213067, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_30bfdb62856d2d46d9bb2e59b4ef38ec\") }}", "language": "sql", "refs": [{"name": "fct_perp_pnl_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_pnl_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_30bfdb62856d2d46d9bb2e59b4ef38ec.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_pnl_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_pnl_base_mainnet", "attached_node": "model.synthetix.fct_perp_pnl_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_pnl_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_orders_base_mainnet_id.2c415fb4fb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_mainnet_id.2c415fb4fb", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_orders_base_mainnet_id"], "alias": "not_null_fct_perp_orders_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1252985, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_orders_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_orders_base_mainnet", "attached_node": "model.synthetix.fct_perp_orders_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_orders_base_mainnet_id.1b8b85dac5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_orders_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_orders_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_orders_base_mainnet_id.1b8b85dac5", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "unique_fct_perp_orders_base_mainnet_id"], "alias": "unique_fct_perp_orders_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1270747, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_orders_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_orders_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_orders_base_mainnet", "attached_node": "model.synthetix.fct_perp_orders_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_base_mainnet_ts.a61957fc22": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_mainnet_ts.a61957fc22", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_orders_base_mainnet_ts"], "alias": "not_null_fct_perp_orders_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1287217, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_orders_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_perp_orders_base_mainnet", "attached_node": "model.synthetix.fct_perp_orders_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_base_mainnet_block_number.3be9f0b718": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_mainnet_block_number.3be9f0b718", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_orders_base_mainnet_block_number"], "alias": "not_null_fct_perp_orders_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1303291, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_orders_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_perp_orders_base_mainnet", "attached_node": "model.synthetix.fct_perp_orders_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_base_mainnet_transaction_hash.71d76cac79": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_mainnet_transaction_hash.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_mainnet_transaction_hash.71d76cac79", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_orders_base_mainnet_transaction_hash"], "alias": "not_null_fct_perp_orders_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1319184, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_orders_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_orders_base_mainnet", "attached_node": "model.synthetix.fct_perp_orders_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_base_mainnet_contract.6a5b003b92": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_mainnet_contract.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_mainnet_contract.6a5b003b92", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_orders_base_mainnet_contract"], "alias": "not_null_fct_perp_orders_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1334817, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_orders_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.fct_perp_orders_base_mainnet", "attached_node": "model.synthetix.fct_perp_orders_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_base_mainnet_market_id.5b936d3011": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_mainnet_market_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_mainnet_market_id.5b936d3011", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_orders_base_mainnet_market_id"], "alias": "not_null_fct_perp_orders_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1351786, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_orders_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_orders_base_mainnet", "attached_node": "model.synthetix.fct_perp_orders_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_base_mainnet_market_id__True__0.2d585533fc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_orders_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_a5e90bb9a47c86be90778297ee732a5c.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_base_mainnet_market_id__True__0.2d585533fc", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_orders_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_a5e90bb9a47c86be90778297ee732a5c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_a5e90bb9a47c86be90778297ee732a5c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_a5e90bb9a47c86be90778297ee732a5c"}, "created_at": 1723584322.1367924, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_a5e90bb9a47c86be90778297ee732a5c\") }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_a5e90bb9a47c86be90778297ee732a5c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_orders_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_orders_base_mainnet", "attached_node": "model.synthetix.fct_perp_orders_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_orders_base_mainnet_market_symbol.554f14b42b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_mainnet_market_symbol.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_mainnet_market_symbol.554f14b42b", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_orders_base_mainnet_market_symbol"], "alias": "not_null_fct_perp_orders_base_mainnet_market_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1409454, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_orders_base_mainnet\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_perp_orders_base_mainnet", "attached_node": "model.synthetix.fct_perp_orders_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_base_mainnet_account_id.08880589a0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_mainnet_account_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_mainnet_account_id.08880589a0", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_orders_base_mainnet_account_id"], "alias": "not_null_fct_perp_orders_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1425667, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_orders_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_orders_base_mainnet", "attached_node": "model.synthetix.fct_perp_orders_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_markets_base_mainnet_id.bd1fc06532": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_base_mainnet_id.bd1fc06532", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_markets_base_mainnet_id"], "alias": "not_null_fct_perp_markets_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1442049, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_markets_base_mainnet", "attached_node": "model.synthetix.fct_perp_markets_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_markets_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_base_mainnet_id__True__0.ac58557180": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_markets_base_mainnet_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_da1cde36dcb965e4569d28886fb327bf.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_base_mainnet_id__True__0.ac58557180", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_markets_base_mainnet_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_da1cde36dcb965e4569d28886fb327bf", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_da1cde36dcb965e4569d28886fb327bf", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_da1cde36dcb965e4569d28886fb327bf"}, "created_at": 1723584322.1458168, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_da1cde36dcb965e4569d28886fb327bf\") }}", "language": "sql", "refs": [{"name": "fct_perp_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_da1cde36dcb965e4569d28886fb327bf.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_markets_base_mainnet", "attached_node": "model.synthetix.fct_perp_markets_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_markets_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_markets_base_mainnet_created_ts.b73d9a0c8a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_base_mainnet_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_base_mainnet_created_ts.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_base_mainnet_created_ts.b73d9a0c8a", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_markets_base_mainnet_created_ts"], "alias": "not_null_fct_perp_markets_base_mainnet_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.149967, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_perp_markets_base_mainnet", "attached_node": "model.synthetix.fct_perp_markets_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_perp_markets_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_markets_base_mainnet_block_number.6792b019f1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_base_mainnet_block_number.6792b019f1", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_markets_base_mainnet_block_number"], "alias": "not_null_fct_perp_markets_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.151613, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_perp_markets_base_mainnet", "attached_node": "model.synthetix.fct_perp_markets_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_markets_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_markets_base_mainnet_market_symbol.c8dc99abfc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_base_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_base_mainnet_market_symbol.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_base_mainnet_market_symbol.c8dc99abfc", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_markets_base_mainnet_market_symbol"], "alias": "not_null_fct_perp_markets_base_mainnet_market_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1532078, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_perp_markets_base_mainnet", "attached_node": "model.synthetix.fct_perp_markets_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_markets_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_markets_base_mainnet_market_name.303acf9a19": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_base_mainnet_market_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_base_mainnet_market_name.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_base_mainnet_market_name.303acf9a19", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_markets_base_mainnet_market_name"], "alias": "not_null_fct_perp_markets_base_mainnet_market_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1549387, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_market_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_name\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\"\nwhere market_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_name", "file_key_name": "models.fct_perp_markets_base_mainnet", "attached_node": "model.synthetix.fct_perp_markets_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_name", "model": "{{ get_where_subquery(ref('fct_perp_markets_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_id.c9dbfad377": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_id.c9dbfad377", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_id"], "alias": "not_null_fct_perp_market_history_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1565874, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_market_history_base_mainnet_id.8b11f687f0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_market_history_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_market_history_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_market_history_base_mainnet_id.8b11f687f0", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "unique_fct_perp_market_history_base_mainnet_id"], "alias": "unique_fct_perp_market_history_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1581702, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_market_history_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_ts.d5f4e338d6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_ts.d5f4e338d6", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_ts"], "alias": "not_null_fct_perp_market_history_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1597736, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_block_number.485f73c767": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_block_number.485f73c767", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_block_number"], "alias": "not_null_fct_perp_market_history_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.16138, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_transaction_hash.d53db511d0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_transaction_hash.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_transaction_hash.d53db511d0", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_transaction_hash"], "alias": "not_null_fct_perp_market_history_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1630454, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_id.cab90009a8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_market_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_id.cab90009a8", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_market_id"], "alias": "not_null_fct_perp_market_history_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1646473, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_market_id__True__0.c7e76b30aa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_0f2a5a910989f8011f80a42e87ac0347.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_market_id__True__0.c7e76b30aa", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_0f2a5a910989f8011f80a42e87ac0347", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_0f2a5a910989f8011f80a42e87ac0347", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_0f2a5a910989f8011f80a42e87ac0347"}, "created_at": 1723584322.1662297, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_0f2a5a910989f8011f80a42e87ac0347\") }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_0f2a5a910989f8011f80a42e87ac0347.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_symbol.c60910b39a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_market_symbol.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_symbol.c60910b39a", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_market_symbol"], "alias": "not_null_fct_perp_market_history_base_mainnet_market_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1703806, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_price.acf046de31": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_price.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_price.acf046de31", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_price"], "alias": "not_null_fct_perp_market_history_base_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1720405, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_skew.a4d473f3fc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_skew", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_skew.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_skew.a4d473f3fc", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_skew"], "alias": "not_null_fct_perp_market_history_base_mainnet_skew", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1736403, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_skew.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect skew\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere skew is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "skew", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "skew", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size.3bbf16be92": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_size.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size.3bbf16be92", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_size"], "alias": "not_null_fct_perp_market_history_base_mainnet_size", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1752565, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect size\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "size", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "size", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size_delta.c2cfd7a96f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_size_delta", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_size_delta.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size_delta.c2cfd7a96f", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_size_delta"], "alias": "not_null_fct_perp_market_history_base_mainnet_size_delta", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1772597, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_size_delta.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect size_delta\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere size_delta is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "size_delta", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "size_delta", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_rate.904532dfcd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_funding_rate", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_funding_rate.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_rate.904532dfcd", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_funding_rate"], "alias": "not_null_fct_perp_market_history_base_mainnet_funding_rate", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1788287, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_funding_rate.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect funding_rate\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere funding_rate is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "funding_rate", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "funding_rate", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_velocity.0bd6fa06fa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_funding_velocity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_funding_velocity.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_velocity.0bd6fa06fa", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_funding_velocity"], "alias": "not_null_fct_perp_market_history_base_mainnet_funding_velocity", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1804252, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_funding_velocity.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect funding_velocity\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere funding_velocity is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "funding_velocity", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "funding_velocity", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_interest_rate.2c5e879eef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_interest_rate", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_interest_rate.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_interest_rate.2c5e879eef", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_interest_rate"], "alias": "not_null_fct_perp_market_history_base_mainnet_interest_rate", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1819913, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_interest_rate.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect interest_rate\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere interest_rate is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest_rate", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "interest_rate", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_rate_apr.50943753dc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_funding_rate_apr", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_funding_rate_apr.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_rate_apr.50943753dc", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_funding_rate_apr"], "alias": "not_null_fct_perp_market_history_base_mainnet_funding_rate_apr", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1836767, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_funding_rate_apr.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect funding_rate_apr\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere funding_rate_apr is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "funding_rate_apr", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "funding_rate_apr", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_long_rate_apr.785d324d07": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_long_rate_apr", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_long_rate_apr.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_long_rate_apr.785d324d07", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_long_rate_apr"], "alias": "not_null_fct_perp_market_history_base_mainnet_long_rate_apr", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1852696, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_long_rate_apr.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect long_rate_apr\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere long_rate_apr is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "long_rate_apr", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "long_rate_apr", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_short_rate_apr.a2f2135476": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_short_rate_apr", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_short_rate_apr.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_short_rate_apr.a2f2135476", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_short_rate_apr"], "alias": "not_null_fct_perp_market_history_base_mainnet_short_rate_apr", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1868408, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_short_rate_apr.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect short_rate_apr\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere short_rate_apr is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "short_rate_apr", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "short_rate_apr", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size_usd.bc3090b261": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_size_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_size_usd.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size_usd.bc3090b261", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_size_usd"], "alias": "not_null_fct_perp_market_history_base_mainnet_size_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1884458, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_size_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect size_usd\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere size_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "size_usd", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "size_usd", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_id.4311fef5a1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_id.4311fef5a1", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_liq_position_base_mainnet_id"], "alias": "not_null_fct_perp_liq_position_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1900375, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_liq_position_base_mainnet_id.f46ba34fa7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_liq_position_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_liq_position_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_liq_position_base_mainnet_id.f46ba34fa7", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "unique_fct_perp_liq_position_base_mainnet_id"], "alias": "unique_fct_perp_liq_position_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.191771, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_liq_position_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_ts.2dc7a4a976": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_ts.2dc7a4a976", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_liq_position_base_mainnet_ts"], "alias": "not_null_fct_perp_liq_position_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1933584, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_block_number.da16c5c256": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_block_number.da16c5c256", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_liq_position_base_mainnet_block_number"], "alias": "not_null_fct_perp_liq_position_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1949382, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_transaction_hash.d54f66674c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_mainnet_transaction_hash.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_transaction_hash.d54f66674c", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_liq_position_base_mainnet_transaction_hash"], "alias": "not_null_fct_perp_liq_position_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1965613, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_account_id.f3ec9ddba7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_mainnet_account_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_account_id.f3ec9ddba7", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_liq_position_base_mainnet_account_id"], "alias": "not_null_fct_perp_liq_position_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.198241, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_market_id.7f965252ed": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_mainnet_market_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_market_id.7f965252ed", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_liq_position_base_mainnet_market_id"], "alias": "not_null_fct_perp_liq_position_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1998582, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_market_id__True__0.149bc69560": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_3750d789cef78e79b6772ee1c31b416d.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_market_id__True__0.149bc69560", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_3750d789cef78e79b6772ee1c31b416d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_3750d789cef78e79b6772ee1c31b416d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_3750d789cef78e79b6772ee1c31b416d"}, "created_at": 1723584322.2014618, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_3750d789cef78e79b6772ee1c31b416d\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_3750d789cef78e79b6772ee1c31b416d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_market_symbol.a84ac24b5f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_mainnet_market_symbol.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_market_symbol.a84ac24b5f", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_liq_position_base_mainnet_market_symbol"], "alias": "not_null_fct_perp_liq_position_base_mainnet_market_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2055814, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_amount_liquidated.893ef59124": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_mainnet_amount_liquidated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_mainnet_amount_liquidated.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_amount_liquidated.893ef59124", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_liq_position_base_mainnet_amount_liquidated"], "alias": "not_null_fct_perp_liq_position_base_mainnet_amount_liquidated", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2072048, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_amount_liquidated.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_liquidated\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\nwhere amount_liquidated is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_liquidated", "file_key_name": "models.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_liquidated", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_amount_liquidated__True__0.51c2fa3b3f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_amount_liquidated__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_635979f89ac1fc82c0d353f5e0c85107.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_amount_liquidated__True__0.51c2fa3b3f", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_amount_liquidated__True__0"], "alias": "dbt_utils_accepted_range_fct_p_635979f89ac1fc82c0d353f5e0c85107", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_635979f89ac1fc82c0d353f5e0c85107", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_635979f89ac1fc82c0d353f5e0c85107"}, "created_at": 1723584322.208794, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_635979f89ac1fc82c0d353f5e0c85107\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_635979f89ac1fc82c0d353f5e0c85107.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_liquidated >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_liquidated", "file_key_name": "models.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_liquidated", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_position_size.dcfe3d8623": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_mainnet_position_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_mainnet_position_size.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_position_size.dcfe3d8623", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_liq_position_base_mainnet_position_size"], "alias": "not_null_fct_perp_liq_position_base_mainnet_position_size", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2129178, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_position_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect position_size\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\nwhere position_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "position_size", "file_key_name": "models.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "position_size", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_position_size__True__0.a626e988d4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_position_size__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_74c6652efc26b3f786970051f82d187d.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_position_size__True__0.a626e988d4", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_position_size__True__0"], "alias": "dbt_utils_accepted_range_fct_p_74c6652efc26b3f786970051f82d187d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_74c6652efc26b3f786970051f82d187d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_74c6652efc26b3f786970051f82d187d"}, "created_at": 1723584322.2145538, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_74c6652efc26b3f786970051f82d187d\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_74c6652efc26b3f786970051f82d187d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not position_size >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "position_size", "file_key_name": "models.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "position_size", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_account_id.dd5099ce59": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_account_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_account_base_mainnet_account_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_account_id.dd5099ce59", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_liq_account_base_mainnet_account_id"], "alias": "not_null_fct_perp_liq_account_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2186987, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_account_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_account_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_account_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_liq_account_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_account_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_liq_account_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_ts.5a3efee9f7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_account_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_account_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_ts.5a3efee9f7", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_liq_account_base_mainnet_ts"], "alias": "not_null_fct_perp_liq_account_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.220336, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_account_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_account_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_account_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_perp_liq_account_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_account_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_liq_account_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_total_reward.2a8b87e55c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_account_base_mainnet_total_reward", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_account_base_mainnet_total_reward.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_total_reward.2a8b87e55c", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_liq_account_base_mainnet_total_reward"], "alias": "not_null_fct_perp_liq_account_base_mainnet_total_reward", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2219322, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_account_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_account_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_base_mainnet_total_reward.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect total_reward\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_account_base_mainnet\"\nwhere total_reward is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_reward", "file_key_name": "models.fct_perp_liq_account_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_account_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "total_reward", "model": "{{ get_where_subquery(ref('fct_perp_liq_account_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_base_mainnet_total_reward__True__0.a35af51633": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_liq_account_base_mainnet_total_reward__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_8a97ba250d4e9efa339d8da28a0c27ac.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_base_mainnet_total_reward__True__0.a35af51633", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_liq_account_base_mainnet_total_reward__True__0"], "alias": "dbt_utils_accepted_range_fct_p_8a97ba250d4e9efa339d8da28a0c27ac", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_8a97ba250d4e9efa339d8da28a0c27ac", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_8a97ba250d4e9efa339d8da28a0c27ac"}, "created_at": 1723584322.2235634, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_8a97ba250d4e9efa339d8da28a0c27ac\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_account_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_account_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_8a97ba250d4e9efa339d8da28a0c27ac.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_account_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not total_reward >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_reward", "file_key_name": "models.fct_perp_liq_account_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_account_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "total_reward", "model": "{{ get_where_subquery(ref('fct_perp_liq_account_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_accounts_base_mainnet_id.cf1e1e2af0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_accounts_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_accounts_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_accounts_base_mainnet_id.cf1e1e2af0", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_accounts_base_mainnet_id"], "alias": "not_null_fct_perp_accounts_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2278986, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_accounts_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_accounts_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_accounts_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_accounts_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_accounts_base_mainnet", "attached_node": "model.synthetix.fct_perp_accounts_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_accounts_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_accounts_base_mainnet_id.2a6de2d0f2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_accounts_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_accounts_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_accounts_base_mainnet_id.2a6de2d0f2", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "unique_fct_perp_accounts_base_mainnet_id"], "alias": "unique_fct_perp_accounts_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2295306, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_accounts_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_accounts_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_accounts_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_accounts_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_accounts_base_mainnet", "attached_node": "model.synthetix.fct_perp_accounts_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_accounts_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_accounts_base_mainnet_created_ts.cc57ba5d93": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_accounts_base_mainnet_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_accounts_base_mainnet_created_ts.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_accounts_base_mainnet_created_ts.cc57ba5d93", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_accounts_base_mainnet_created_ts"], "alias": "not_null_fct_perp_accounts_base_mainnet_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2312927, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_accounts_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_accounts_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_accounts_base_mainnet_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_accounts_base_mainnet\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_perp_accounts_base_mainnet", "attached_node": "model.synthetix.fct_perp_accounts_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_perp_accounts_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_accounts_base_mainnet_owner.b581a2df74": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_accounts_base_mainnet_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_accounts_base_mainnet_owner.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_accounts_base_mainnet_owner.b581a2df74", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_accounts_base_mainnet_owner"], "alias": "not_null_fct_perp_accounts_base_mainnet_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2328877, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_accounts_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_accounts_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_accounts_base_mainnet_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_accounts_base_mainnet\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.fct_perp_accounts_base_mainnet", "attached_node": "model.synthetix.fct_perp_accounts_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('fct_perp_accounts_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_buyback_daily_base_mainnet_ts.14a31d2a6b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_daily_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_daily_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_ts.14a31d2a6b", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_daily_base_mainnet_ts"], "alias": "not_null_fct_buyback_daily_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.240184, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_daily_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_buyback_daily_base_mainnet", "attached_node": "model.synthetix.fct_buyback_daily_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_buyback_daily_base_mainnet_snx_amount.ea18aa299d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_daily_base_mainnet_snx_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_daily_base_mainnet_snx_amount.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_snx_amount.ea18aa299d", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_daily_base_mainnet_snx_amount"], "alias": "not_null_fct_buyback_daily_base_mainnet_snx_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2421074, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_snx_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect snx_amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_daily_base_mainnet\"\nwhere snx_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx_amount", "file_key_name": "models.fct_buyback_daily_base_mainnet", "attached_node": "model.synthetix.fct_buyback_daily_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_snx_amount__True__0.4dc1a7a815": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_snx_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_95b025ed4566a6c327e2a1b54a635a45.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_snx_amount__True__0.4dc1a7a815", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_snx_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_95b025ed4566a6c327e2a1b54a635a45", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_95b025ed4566a6c327e2a1b54a635a45", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_b_95b025ed4566a6c327e2a1b54a635a45"}, "created_at": 1723584322.2437816, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_95b025ed4566a6c327e2a1b54a635a45\") }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_95b025ed4566a6c327e2a1b54a635a45.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_buyback_daily_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not snx_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx_amount", "file_key_name": "models.fct_buyback_daily_base_mainnet", "attached_node": "model.synthetix.fct_buyback_daily_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_daily_base_mainnet_usd_amount.226e5c84b2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_daily_base_mainnet_usd_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_daily_base_mainnet_usd_amount.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_usd_amount.226e5c84b2", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_daily_base_mainnet_usd_amount"], "alias": "not_null_fct_buyback_daily_base_mainnet_usd_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.24803, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_usd_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect usd_amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_daily_base_mainnet\"\nwhere usd_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd_amount", "file_key_name": "models.fct_buyback_daily_base_mainnet", "attached_node": "model.synthetix.fct_buyback_daily_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_usd_amount__True__0.b33cfd2e0e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_usd_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_ed497ddd2101ddfffc53a477a0be3c56.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_usd_amount__True__0.b33cfd2e0e", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_usd_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_ed497ddd2101ddfffc53a477a0be3c56", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_ed497ddd2101ddfffc53a477a0be3c56", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_b_ed497ddd2101ddfffc53a477a0be3c56"}, "created_at": 1723584322.2496777, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_ed497ddd2101ddfffc53a477a0be3c56\") }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_ed497ddd2101ddfffc53a477a0be3c56.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_buyback_daily_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not usd_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd_amount", "file_key_name": "models.fct_buyback_daily_base_mainnet", "attached_node": "model.synthetix.fct_buyback_daily_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount.d9cc05c370": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount.d9cc05c370", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount"], "alias": "not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.253721, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_snx_amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_daily_base_mainnet\"\nwhere cumulative_snx_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_snx_amount", "file_key_name": "models.fct_buyback_daily_base_mainnet", "attached_node": "model.synthetix.fct_buyback_daily_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_snx_amount__True__0.40e1988439": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_snx_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_2357e6e1b2389bbacb74d4d9d107012d.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_snx_amount__True__0.40e1988439", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_snx_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_2357e6e1b2389bbacb74d4d9d107012d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_2357e6e1b2389bbacb74d4d9d107012d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_b_2357e6e1b2389bbacb74d4d9d107012d"}, "created_at": 1723584322.255556, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_2357e6e1b2389bbacb74d4d9d107012d\") }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_2357e6e1b2389bbacb74d4d9d107012d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_buyback_daily_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not cumulative_snx_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_snx_amount", "file_key_name": "models.fct_buyback_daily_base_mainnet", "attached_node": "model.synthetix.fct_buyback_daily_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "cumulative_snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount.4602f5b0ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount.4602f5b0ec", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount"], "alias": "not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2595599, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_usd_amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_daily_base_mainnet\"\nwhere cumulative_usd_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_usd_amount", "file_key_name": "models.fct_buyback_daily_base_mainnet", "attached_node": "model.synthetix.fct_buyback_daily_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_usd_amount__True__0.2fdc7f3ac4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_usd_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_8da69f2dfdaa37b8628e825930fc5b81.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_usd_amount__True__0.2fdc7f3ac4", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_usd_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_8da69f2dfdaa37b8628e825930fc5b81", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_8da69f2dfdaa37b8628e825930fc5b81", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_b_8da69f2dfdaa37b8628e825930fc5b81"}, "created_at": 1723584322.261667, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_8da69f2dfdaa37b8628e825930fc5b81\") }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_8da69f2dfdaa37b8628e825930fc5b81.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_buyback_daily_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not cumulative_usd_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_usd_amount", "file_key_name": "models.fct_buyback_daily_base_mainnet", "attached_node": "model.synthetix.fct_buyback_daily_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "cumulative_usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_ts.712dc7c106": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_hourly_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_hourly_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_ts.712dc7c106", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_hourly_base_mainnet_ts"], "alias": "not_null_fct_buyback_hourly_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2657032, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_hourly_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_buyback_hourly_base_mainnet", "attached_node": "model.synthetix.fct_buyback_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_snx_amount.8e18aeb895": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_hourly_base_mainnet_snx_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_hourly_base_mainnet_snx_amount.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_snx_amount.8e18aeb895", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_hourly_base_mainnet_snx_amount"], "alias": "not_null_fct_buyback_hourly_base_mainnet_snx_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2673652, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_snx_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect snx_amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_hourly_base_mainnet\"\nwhere snx_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx_amount", "file_key_name": "models.fct_buyback_hourly_base_mainnet", "attached_node": "model.synthetix.fct_buyback_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_snx_amount__True__0.34d4d71a42": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_snx_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_f29cb83636bed8e0f60f2530445a2fa1.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_snx_amount__True__0.34d4d71a42", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_snx_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_f29cb83636bed8e0f60f2530445a2fa1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_f29cb83636bed8e0f60f2530445a2fa1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_b_f29cb83636bed8e0f60f2530445a2fa1"}, "created_at": 1723584322.2691557, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_f29cb83636bed8e0f60f2530445a2fa1\") }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_f29cb83636bed8e0f60f2530445a2fa1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_buyback_hourly_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not snx_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx_amount", "file_key_name": "models.fct_buyback_hourly_base_mainnet", "attached_node": "model.synthetix.fct_buyback_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_usd_amount.cbc2a221fa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_hourly_base_mainnet_usd_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_hourly_base_mainnet_usd_amount.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_usd_amount.cbc2a221fa", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_hourly_base_mainnet_usd_amount"], "alias": "not_null_fct_buyback_hourly_base_mainnet_usd_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.273195, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_usd_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect usd_amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_hourly_base_mainnet\"\nwhere usd_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd_amount", "file_key_name": "models.fct_buyback_hourly_base_mainnet", "attached_node": "model.synthetix.fct_buyback_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_usd_amount__True__0.153efe66c5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_usd_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_295f5e76c7f32780fd03a191ca4a34ca.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_usd_amount__True__0.153efe66c5", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_usd_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_295f5e76c7f32780fd03a191ca4a34ca", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_295f5e76c7f32780fd03a191ca4a34ca", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_b_295f5e76c7f32780fd03a191ca4a34ca"}, "created_at": 1723584322.274983, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_295f5e76c7f32780fd03a191ca4a34ca\") }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_295f5e76c7f32780fd03a191ca4a34ca.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_buyback_hourly_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not usd_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd_amount", "file_key_name": "models.fct_buyback_hourly_base_mainnet", "attached_node": "model.synthetix.fct_buyback_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount.3f13efe309": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount.3f13efe309", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount"], "alias": "not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2789974, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_snx_amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_hourly_base_mainnet\"\nwhere cumulative_snx_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_snx_amount", "file_key_name": "models.fct_buyback_hourly_base_mainnet", "attached_node": "model.synthetix.fct_buyback_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_snx_amount__True__0.0a50a1b2a1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_snx_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_ae7e9da2aec9085f88f390a9eab8c08b.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_snx_amount__True__0.0a50a1b2a1", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_snx_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_ae7e9da2aec9085f88f390a9eab8c08b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_ae7e9da2aec9085f88f390a9eab8c08b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_b_ae7e9da2aec9085f88f390a9eab8c08b"}, "created_at": 1723584322.2806566, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_ae7e9da2aec9085f88f390a9eab8c08b\") }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_ae7e9da2aec9085f88f390a9eab8c08b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_buyback_hourly_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not cumulative_snx_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_snx_amount", "file_key_name": "models.fct_buyback_hourly_base_mainnet", "attached_node": "model.synthetix.fct_buyback_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "cumulative_snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount.d705144302": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount.d705144302", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount"], "alias": "not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.284794, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_usd_amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_hourly_base_mainnet\"\nwhere cumulative_usd_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_usd_amount", "file_key_name": "models.fct_buyback_hourly_base_mainnet", "attached_node": "model.synthetix.fct_buyback_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_usd_amount__True__0.897d810e27": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_usd_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_ee13dfd755b5a6ec766632efc82a0f72.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_usd_amount__True__0.897d810e27", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_usd_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_ee13dfd755b5a6ec766632efc82a0f72", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_ee13dfd755b5a6ec766632efc82a0f72", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_b_ee13dfd755b5a6ec766632efc82a0f72"}, "created_at": 1723584322.2864425, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_ee13dfd755b5a6ec766632efc82a0f72\") }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_ee13dfd755b5a6ec766632efc82a0f72.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_buyback_hourly_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not cumulative_usd_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_usd_amount", "file_key_name": "models.fct_buyback_hourly_base_mainnet", "attached_node": "model.synthetix.fct_buyback_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "cumulative_usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_base_mainnet_id.fbad84fb48": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_base_mainnet_id.fbad84fb48", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_base_mainnet_id"], "alias": "not_null_fct_buyback_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2905746, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_buyback_base_mainnet", "attached_node": "model.synthetix.fct_buyback_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_buyback_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_buyback_base_mainnet_id.f0c25ee329": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_buyback_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_buyback_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.unique_fct_buyback_base_mainnet_id.f0c25ee329", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "unique_fct_buyback_base_mainnet_id"], "alias": "unique_fct_buyback_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2922041, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/unique_fct_buyback_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_buyback_base_mainnet", "attached_node": "model.synthetix.fct_buyback_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_buyback_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_buyback_base_mainnet_ts.42175c7800": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_base_mainnet_ts.42175c7800", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_base_mainnet_ts"], "alias": "not_null_fct_buyback_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2937868, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_buyback_base_mainnet", "attached_node": "model.synthetix.fct_buyback_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_buyback_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_buyback_base_mainnet_buyer.996c564c05": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_base_mainnet_buyer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_base_mainnet_buyer.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_base_mainnet_buyer.996c564c05", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_base_mainnet_buyer"], "alias": "not_null_fct_buyback_base_mainnet_buyer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2955396, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_buyer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect buyer\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\nwhere buyer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "buyer", "file_key_name": "models.fct_buyback_base_mainnet", "attached_node": "model.synthetix.fct_buyback_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "buyer", "model": "{{ get_where_subquery(ref('fct_buyback_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_buyback_base_mainnet_snx.75b728a26f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_base_mainnet_snx", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_base_mainnet_snx.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_base_mainnet_snx.75b728a26f", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_base_mainnet_snx"], "alias": "not_null_fct_buyback_base_mainnet_snx", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.297135, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_snx.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect snx\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\nwhere snx is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx", "file_key_name": "models.fct_buyback_base_mainnet", "attached_node": "model.synthetix.fct_buyback_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "snx", "model": "{{ get_where_subquery(ref('fct_buyback_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0.ffcae6ef8f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0.ffcae6ef8f", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0"], "alias": "dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.298737, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not snx >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx", "file_key_name": "models.fct_buyback_base_mainnet", "attached_node": "model.synthetix.fct_buyback_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "snx", "model": "{{ get_where_subquery(ref('fct_buyback_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_base_mainnet_usd.2e04e1ae30": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_base_mainnet_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_base_mainnet_usd.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_base_mainnet_usd.2e04e1ae30", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_base_mainnet_usd"], "alias": "not_null_fct_buyback_base_mainnet_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.3026414, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect usd\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\nwhere usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd", "file_key_name": "models.fct_buyback_base_mainnet", "attached_node": "model.synthetix.fct_buyback_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "usd", "model": "{{ get_where_subquery(ref('fct_buyback_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0.e9e29cece7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0.e9e29cece7", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.3042927, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd", "file_key_name": "models.fct_buyback_base_mainnet", "attached_node": "model.synthetix.fct_buyback_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "usd", "model": "{{ get_where_subquery(ref('fct_buyback_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_base_mainnet_snx_price.e23de62b78": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_base_mainnet_snx_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_base_mainnet_snx_price.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_base_mainnet_snx_price.e23de62b78", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_base_mainnet_snx_price"], "alias": "not_null_fct_buyback_base_mainnet_snx_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.308284, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_snx_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect snx_price\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\nwhere snx_price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx_price", "file_key_name": "models.fct_buyback_base_mainnet", "attached_node": "model.synthetix.fct_buyback_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "snx_price", "model": "{{ get_where_subquery(ref('fct_buyback_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_snx_price__True__0.4ab5da9346": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_base_mainnet_snx_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_3a016e5ad8a0adae03db8e6dc5263b6a.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_snx_price__True__0.4ab5da9346", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "dbt_utils_accepted_range_fct_buyback_base_mainnet_snx_price__True__0"], "alias": "dbt_utils_accepted_range_fct_b_3a016e5ad8a0adae03db8e6dc5263b6a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_3a016e5ad8a0adae03db8e6dc5263b6a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_b_3a016e5ad8a0adae03db8e6dc5263b6a"}, "created_at": 1723584322.3099258, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_3a016e5ad8a0adae03db8e6dc5263b6a\") }}", "language": "sql", "refs": [{"name": "fct_buyback_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_3a016e5ad8a0adae03db8e6dc5263b6a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not snx_price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx_price", "file_key_name": "models.fct_buyback_base_mainnet", "attached_node": "model.synthetix.fct_buyback_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "snx_price", "model": "{{ get_where_subquery(ref('fct_buyback_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_ts.878073b7e8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_vault_collateral_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_vault_collateral_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_ts.878073b7e8", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_vault_collateral_base_mainnet_ts"], "alias": "not_null_fct_core_vault_collateral_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.3329825, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_vault_collateral_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_block_number.fc803534fc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_vault_collateral_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_vault_collateral_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_block_number.fc803534fc", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_vault_collateral_base_mainnet_block_number"], "alias": "not_null_fct_core_vault_collateral_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.3347144, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_vault_collateral_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_contract_address.f7e3ffefb9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_vault_collateral_base_mainnet_contract_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_vault_collat_37b597cf8c32469a1d69c9aadfe682da.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_contract_address.f7e3ffefb9", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_vault_collateral_base_mainnet_contract_address"], "alias": "not_null_fct_core_vault_collat_37b597cf8c32469a1d69c9aadfe682da", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_vault_collat_37b597cf8c32469a1d69c9aadfe682da", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_vault_collat_37b597cf8c32469a1d69c9aadfe682da"}, "created_at": 1723584322.336364, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_vault_collat_37b597cf8c32469a1d69c9aadfe682da\") }}", "language": "sql", "refs": [{"name": "fct_core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collat_37b597cf8c32469a1d69c9aadfe682da.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract_address\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_vault_collateral_base_mainnet\"\nwhere contract_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract_address", "file_key_name": "models.fct_core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract_address", "model": "{{ get_where_subquery(ref('fct_core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_pool_id.1ea1a9fb17": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_vault_collateral_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_vault_collateral_base_mainnet_pool_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_pool_id.1ea1a9fb17", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_vault_collateral_base_mainnet_pool_id"], "alias": "not_null_fct_core_vault_collateral_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.337962, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_vault_collateral_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_pool_id__True__0.3c62ac166d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_f526b54502b4e6439215a8bf4203c4d6.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_pool_id__True__0.3c62ac166d", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_f526b54502b4e6439215a8bf4203c4d6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_f526b54502b4e6439215a8bf4203c4d6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_f526b54502b4e6439215a8bf4203c4d6"}, "created_at": 1723584322.339609, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_f526b54502b4e6439215a8bf4203c4d6\") }}", "language": "sql", "refs": [{"name": "fct_core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_f526b54502b4e6439215a8bf4203c4d6.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_vault_collateral_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_vault_collateral_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_vault_collateral_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_collateral_type.e2cbb7867d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_vault_collateral_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_vault_collateral_base_mainnet_collateral_type.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_collateral_type.e2cbb7867d", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_vault_collateral_base_mainnet_collateral_type"], "alias": "not_null_fct_core_vault_collateral_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.344209, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_vault_collateral_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_amount.43a56286ca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_vault_collateral_base_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_vault_collateral_base_mainnet_amount.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_amount.43a56286ca", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_vault_collateral_base_mainnet_amount"], "alias": "not_null_fct_core_vault_collateral_base_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.3458064, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_vault_collateral_base_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_amount__True__0.031c10a818": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_6bba595374bdcb2cb46d98f292bf7d2e.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_amount__True__0.031c10a818", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_c_6bba595374bdcb2cb46d98f292bf7d2e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_6bba595374bdcb2cb46d98f292bf7d2e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_6bba595374bdcb2cb46d98f292bf7d2e"}, "created_at": 1723584322.3474345, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_6bba595374bdcb2cb46d98f292bf7d2e\") }}", "language": "sql", "refs": [{"name": "fct_core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_6bba595374bdcb2cb46d98f292bf7d2e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_vault_collateral_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_vault_collateral_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('fct_core_vault_collateral_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_collateral_value.b35c2ac09a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_vault_collateral_base_mainnet_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_vault_collat_42b07f2d712f8f2546dd07342c489ad5.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_collateral_value.b35c2ac09a", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_vault_collateral_base_mainnet_collateral_value"], "alias": "not_null_fct_core_vault_collat_42b07f2d712f8f2546dd07342c489ad5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_vault_collat_42b07f2d712f8f2546dd07342c489ad5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_vault_collat_42b07f2d712f8f2546dd07342c489ad5"}, "created_at": 1723584322.3515995, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_vault_collat_42b07f2d712f8f2546dd07342c489ad5\") }}", "language": "sql", "refs": [{"name": "fct_core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collat_42b07f2d712f8f2546dd07342c489ad5.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_vault_collateral_base_mainnet\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_collateral_value__True__0.ffab802571": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_bc0bc65ef31ab43c72fcc31503f71ffe.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_collateral_value__True__0.ffab802571", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_fct_c_bc0bc65ef31ab43c72fcc31503f71ffe", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_bc0bc65ef31ab43c72fcc31503f71ffe", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_bc0bc65ef31ab43c72fcc31503f71ffe"}, "created_at": 1723584322.3532252, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_bc0bc65ef31ab43c72fcc31503f71ffe\") }}", "language": "sql", "refs": [{"name": "fct_core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_bc0bc65ef31ab43c72fcc31503f71ffe.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_vault_collateral_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_vault_collateral_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_core_vault_collateral_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_base_mainnet_ts.af8563a243": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_ts.af8563a243", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_base_mainnet_ts"], "alias": "not_null_fct_pool_rewards_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.357396, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_base_mainnet_pool_id.47db83edd0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_base_mainnet_pool_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_pool_id.47db83edd0", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_base_mainnet_pool_id"], "alias": "not_null_fct_pool_rewards_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.3590412, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_pool_id__True__0.f01ac775cc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_a06acbcee374592e1c21556ac5125493.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_pool_id__True__0.f01ac775cc", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_a06acbcee374592e1c21556ac5125493", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_a06acbcee374592e1c21556ac5125493", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_a06acbcee374592e1c21556ac5125493"}, "created_at": 1723584322.3606699, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_a06acbcee374592e1c21556ac5125493\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_a06acbcee374592e1c21556ac5125493.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_base_mainnet_collateral_type.2f7e01ccd0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_base_mainnet_collateral_type.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_collateral_type.2f7e01ccd0", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_base_mainnet_collateral_type"], "alias": "not_null_fct_pool_rewards_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.364839, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_base_mainnet_distributor.5511d5880d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_base_mainnet_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_base_mainnet_distributor.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_distributor.5511d5880d", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_base_mainnet_distributor"], "alias": "not_null_fct_pool_rewards_base_mainnet_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.3664703, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.fct_pool_rewards_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_base_mainnet_token_symbol.1810912a65": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_base_mainnet_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_base_mainnet_token_symbol.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_token_symbol.1810912a65", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_base_mainnet_token_symbol"], "alias": "not_null_fct_pool_rewards_base_mainnet_token_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.368096, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "models.fct_pool_rewards_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_base_mainnet_amount.c7b92514fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_base_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_base_mainnet_amount.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_amount.c7b92514fd", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_base_mainnet_amount"], "alias": "not_null_fct_pool_rewards_base_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.36982, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_rewards_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_amount__True__0.5a5b31d40e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_c6a9d6cdf38f5a5f7e8ab2f8af3e7400.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_amount__True__0.5a5b31d40e", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_p_c6a9d6cdf38f5a5f7e8ab2f8af3e7400", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_c6a9d6cdf38f5a5f7e8ab2f8af3e7400", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_c6a9d6cdf38f5a5f7e8ab2f8af3e7400"}, "created_at": 1723584322.3714545, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_c6a9d6cdf38f5a5f7e8ab2f8af3e7400\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c6a9d6cdf38f5a5f7e8ab2f8af3e7400.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_rewards_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_ts.3412be3139": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_ts.3412be3139", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_account_delegation_base_mainnet_ts"], "alias": "not_null_fct_core_account_delegation_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.3754945, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_delegation_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_account_delegation_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_account_delegation_base_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_account_id.64d4657b45": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_base_mainnet_account_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_account_id.64d4657b45", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_account_delegation_base_mainnet_account_id"], "alias": "not_null_fct_core_account_delegation_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.3772752, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_delegation_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_account_delegation_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_core_account_delegation_base_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_pool_id.c2b6448825": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_base_mainnet_pool_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_pool_id.c2b6448825", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_account_delegation_base_mainnet_pool_id"], "alias": "not_null_fct_core_account_delegation_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.378884, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_delegation_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_account_delegation_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_account_delegation_base_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_pool_id__True__0.a18d31544f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_0c3a3ad4b2605e67c43089afd856b412.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_pool_id__True__0.a18d31544f", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_0c3a3ad4b2605e67c43089afd856b412", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_0c3a3ad4b2605e67c43089afd856b412", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_0c3a3ad4b2605e67c43089afd856b412"}, "created_at": 1723584322.3805325, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_0c3a3ad4b2605e67c43089afd856b412\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_0c3a3ad4b2605e67c43089afd856b412.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_account_delegation_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_account_delegation_base_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_collateral_type.01ebd9c59e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_dele_48ede5ea58c83e85f0c9b34275d541ce.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_collateral_type.01ebd9c59e", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_account_delegation_base_mainnet_collateral_type"], "alias": "not_null_fct_core_account_dele_48ede5ea58c83e85f0c9b34275d541ce", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_dele_48ede5ea58c83e85f0c9b34275d541ce", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_account_dele_48ede5ea58c83e85f0c9b34275d541ce"}, "created_at": 1723584322.3846903, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_dele_48ede5ea58c83e85f0c9b34275d541ce\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_dele_48ede5ea58c83e85f0c9b34275d541ce.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_account_delegation_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_account_delegation_base_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_amount_delegated.c0cf7fdd11": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_base_mainnet_amount_delegated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_dele_5c6ae4e230c42e179a94f3c08c406b4f.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_amount_delegated.c0cf7fdd11", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_account_delegation_base_mainnet_amount_delegated"], "alias": "not_null_fct_core_account_dele_5c6ae4e230c42e179a94f3c08c406b4f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_dele_5c6ae4e230c42e179a94f3c08c406b4f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_account_dele_5c6ae4e230c42e179a94f3c08c406b4f"}, "created_at": 1723584322.3863297, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_dele_5c6ae4e230c42e179a94f3c08c406b4f\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_dele_5c6ae4e230c42e179a94f3c08c406b4f.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_delegated\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_account_delegation_base_mainnet\"\nwhere amount_delegated is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delegated", "file_key_name": "models.fct_core_account_delegation_base_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_delegated", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_amount_delegated__True__0.5d186a76ca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_amount_delegated__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_63d34731f192f581c7d937dba2a57268.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_amount_delegated__True__0.5d186a76ca", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_amount_delegated__True__0"], "alias": "dbt_utils_accepted_range_fct_c_63d34731f192f581c7d937dba2a57268", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_63d34731f192f581c7d937dba2a57268", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_63d34731f192f581c7d937dba2a57268"}, "created_at": 1723584322.3879557, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_63d34731f192f581c7d937dba2a57268\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_63d34731f192f581c7d937dba2a57268.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_account_delegation_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_delegated >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delegated", "file_key_name": "models.fct_core_account_delegation_base_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_delegated", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_ts.fa672a8124": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_ts.fa672a8124", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_ts"], "alias": "not_null_fct_core_apr_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.3921406, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_pool_id.ec4f69201c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_pool_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_pool_id.ec4f69201c", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_pool_id"], "alias": "not_null_fct_core_apr_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.3937898, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_pool_id__True__0.6f65c027c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_34905ccfa7f104f9e681258d06bbb98a.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_pool_id__True__0.6f65c027c2", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_34905ccfa7f104f9e681258d06bbb98a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_34905ccfa7f104f9e681258d06bbb98a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_34905ccfa7f104f9e681258d06bbb98a"}, "created_at": 1723584322.3954577, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_34905ccfa7f104f9e681258d06bbb98a\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_34905ccfa7f104f9e681258d06bbb98a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_collateral_type.6b18aa87ce": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_collateral_type.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_collateral_type.6b18aa87ce", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_collateral_type"], "alias": "not_null_fct_core_apr_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.3996284, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_collateral_value.ca0cfe00d9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_collateral_value.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_collateral_value.ca0cfe00d9", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_collateral_value"], "alias": "not_null_fct_core_apr_base_mainnet_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4012587, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_collateral_value__True__0.09ad3e4f8e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_base_mainnet_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_60527a0769f89a89a2519580069dce39.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_collateral_value__True__0.09ad3e4f8e", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_base_mainnet_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_fct_c_60527a0769f89a89a2519580069dce39", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_60527a0769f89a89a2519580069dce39", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_60527a0769f89a89a2519580069dce39"}, "created_at": 1723584322.4028695, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_60527a0769f89a89a2519580069dce39\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_60527a0769f89a89a2519580069dce39.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_debt.3003bbaef9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_debt.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_debt.3003bbaef9", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_debt"], "alias": "not_null_fct_core_apr_base_mainnet_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.407051, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_issuance.58d7e6392e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_hourly_issuance.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_issuance.58d7e6392e", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_hourly_issuance"], "alias": "not_null_fct_core_apr_base_mainnet_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.408697, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_pnl.aace5f4a92": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_hourly_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_hourly_pnl.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_pnl.aace5f4a92", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_hourly_pnl"], "alias": "not_null_fct_core_apr_base_mainnet_hourly_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4105163, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere hourly_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_cumulative_pnl.0dfa79c775": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_cumulative_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_cumulative_pnl.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_cumulative_pnl.0dfa79c775", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_cumulative_pnl"], "alias": "not_null_fct_core_apr_base_mainnet_cumulative_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.412163, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_cumulative_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_pnl\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere cumulative_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_pnl", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_pnl", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_cumulative_issuance.6b5aeff994": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_cumulative_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_cumulative_issuance.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_cumulative_issuance.6b5aeff994", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_cumulative_issuance"], "alias": "not_null_fct_core_apr_base_mainnet_cumulative_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4137385, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_cumulative_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_issuance\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere cumulative_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_issuance", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_issuance", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_rewards_usd.9770eed99e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_rewards_usd.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_rewards_usd.9770eed99e", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_rewards_usd"], "alias": "not_null_fct_core_apr_base_mainnet_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.415338, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_rewards_usd__True__0.cd9a35763d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_base_mainnet_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_eb7cb32edc5d4a16284e415551837739.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_rewards_usd__True__0.cd9a35763d", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_base_mainnet_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_c_eb7cb32edc5d4a16284e415551837739", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_eb7cb32edc5d4a16284e415551837739", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_eb7cb32edc5d4a16284e415551837739"}, "created_at": 1723584322.4169366, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_eb7cb32edc5d4a16284e415551837739\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_eb7cb32edc5d4a16284e415551837739.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_pnl_pct.709eae57a9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_hourly_pnl_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_hourly_pnl_pct.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_pnl_pct.709eae57a9", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_hourly_pnl_pct"], "alias": "not_null_fct_core_apr_base_mainnet_hourly_pnl_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4210668, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_pnl_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl_pct\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere hourly_pnl_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_rewards_pct.e5170bb035": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_hourly_rewards_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_hourly_rewards_pct.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_rewards_pct.e5170bb035", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_hourly_rewards_pct"], "alias": "not_null_fct_core_apr_base_mainnet_hourly_rewards_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4226813, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_rewards_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_rewards_pct\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere hourly_rewards_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_hourly_rewards_pct__True__1__0.615edfd299": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_base_mainnet_hourly_rewards_pct__True__1__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_c7fff98d755af95adeb25c2a02c7ec5b.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_hourly_rewards_pct__True__1__0.615edfd299", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_base_mainnet_hourly_rewards_pct__True__1__0"], "alias": "dbt_utils_accepted_range_fct_c_c7fff98d755af95adeb25c2a02c7ec5b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_c7fff98d755af95adeb25c2a02c7ec5b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_c7fff98d755af95adeb25c2a02c7ec5b"}, "created_at": 1723584322.4248378, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_c7fff98d755af95adeb25c2a02c7ec5b\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_c7fff98d755af95adeb25c2a02c7ec5b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct >= 0\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "max_value": 1, "inclusive": true, "column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_24h.5f87709afa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_apr_24h", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_apr_24h.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_24h.5f87709afa", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_apr_24h"], "alias": "not_null_fct_core_apr_base_mainnet_apr_24h", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.428818, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apr_24h.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_24h\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere apr_24h is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_24h", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_24h", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_24h.0d59b73826": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_apy_24h", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_apy_24h.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_24h.0d59b73826", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_apy_24h"], "alias": "not_null_fct_core_apr_base_mainnet_apy_24h", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4304202, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apy_24h.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_24h\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere apy_24h is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_24h", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_24h", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_7d.8545f2f45f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_apr_7d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_apr_7d.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_7d.8545f2f45f", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_apr_7d"], "alias": "not_null_fct_core_apr_base_mainnet_apr_7d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4321754, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apr_7d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_7d\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere apr_7d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_7d", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_7d", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_7d.d068a55e21": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_apy_7d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_apy_7d.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_7d.d068a55e21", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_apy_7d"], "alias": "not_null_fct_core_apr_base_mainnet_apy_7d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4337428, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apy_7d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_7d\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere apy_7d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_7d", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_7d", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_28d.69fcad855f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_apr_28d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_apr_28d.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_28d.69fcad855f", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_apr_28d"], "alias": "not_null_fct_core_apr_base_mainnet_apr_28d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4353588, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apr_28d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_28d\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere apr_28d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_28d", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_28d", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_28d.384e146fdc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_apy_28d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_apy_28d.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_28d.384e146fdc", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_apy_28d"], "alias": "not_null_fct_core_apr_base_mainnet_apy_28d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4369543, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apy_28d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_28d\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere apy_28d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_28d", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_28d", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_mainnet_id.a50a975385": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_id.a50a975385", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_market_updated_base_mainnet_id"], "alias": "not_null_fct_core_market_updated_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.43864, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_core_market_updated_base_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_core_market_updated_base_mainnet_id.ec01754a17": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_core_market_updated_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_core_market_updated_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_fct_core_market_updated_base_mainnet_id.ec01754a17", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "unique_fct_core_market_updated_base_mainnet_id"], "alias": "unique_fct_core_market_updated_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4402475, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/unique_fct_core_market_updated_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_core_market_updated_base_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_mainnet_ts.f35cfffa6d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_ts.f35cfffa6d", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_market_updated_base_mainnet_ts"], "alias": "not_null_fct_core_market_updated_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4418323, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_market_updated_base_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_mainnet_transaction_hash.87848e2a26": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_mainnet_transaction_hash.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_transaction_hash.87848e2a26", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_market_updated_base_mainnet_transaction_hash"], "alias": "not_null_fct_core_market_updated_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4434388, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_core_market_updated_base_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_mainnet_event_name.38e05844e8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_mainnet_event_name.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_event_name.38e05844e8", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_market_updated_base_mainnet_event_name"], "alias": "not_null_fct_core_market_updated_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.44502, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_core_market_updated_base_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.b6908f0c03": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_core_marke_fbcb06123ff64c40081372c459987d0d.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.b6908f0c03", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "accepted_values_fct_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited"], "alias": "accepted_values_fct_core_marke_fbcb06123ff64c40081372c459987d0d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_core_marke_fbcb06123ff64c40081372c459987d0d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_fct_core_marke_fbcb06123ff64c40081372c459987d0d"}, "created_at": 1723584322.4467049, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_core_marke_fbcb06123ff64c40081372c459987d0d\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/accepted_values_fct_core_marke_fbcb06123ff64c40081372c459987d0d.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_core_market_updated_base_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCollateralWithdrawn", "MarketCollateralDeposited", "MarketUsdWithdrawn", "MarketUsdDeposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_mainnet_market_id.c97cd708fa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_mainnet_market_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_market_id.c97cd708fa", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_market_updated_base_mainnet_market_id"], "alias": "not_null_fct_core_market_updated_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.450683, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_core_market_updated_base_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_base_mainnet_market_id__True__0.2ed4a3f792": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_market_updated_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_07e7b3d012c319772ee6dbea8ff50ee4.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_base_mainnet_market_id__True__0.2ed4a3f792", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_core_market_updated_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_07e7b3d012c319772ee6dbea8ff50ee4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_07e7b3d012c319772ee6dbea8ff50ee4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_07e7b3d012c319772ee6dbea8ff50ee4"}, "created_at": 1723584322.4524996, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_07e7b3d012c319772ee6dbea8ff50ee4\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_07e7b3d012c319772ee6dbea8ff50ee4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_core_market_updated_base_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_market_updated_base_mainnet_collateral_type.b71240306c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_mainnet_collateral_type.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_collateral_type.b71240306c", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_market_updated_base_mainnet_collateral_type"], "alias": "not_null_fct_core_market_updated_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4564826, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_market_updated_base_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_mainnet_credit_capacity.303317e986": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_mainnet_credit_capacity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_mainnet_credit_capacity.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_credit_capacity.303317e986", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_market_updated_base_mainnet_credit_capacity"], "alias": "not_null_fct_core_market_updated_base_mainnet_credit_capacity", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4581084, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_credit_capacity.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect credit_capacity\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\"\nwhere credit_capacity is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "credit_capacity", "file_key_name": "models.fct_core_market_updated_base_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "credit_capacity", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_mainnet_net_issuance.2d64ab52f8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_mainnet_net_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_mainnet_net_issuance.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_net_issuance.2d64ab52f8", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_market_updated_base_mainnet_net_issuance"], "alias": "not_null_fct_core_market_updated_base_mainnet_net_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4599264, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_net_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect net_issuance\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\"\nwhere net_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "net_issuance", "file_key_name": "models.fct_core_market_updated_base_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "net_issuance", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_mainnet_token_amount.ead854df90": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_mainnet_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_mainnet_token_amount.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_token_amount.ead854df90", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_market_updated_base_mainnet_token_amount"], "alias": "not_null_fct_core_market_updated_base_mainnet_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.461523, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.fct_core_market_updated_base_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_ts.4e638376c4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collateral_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_ts.4e638376c4", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_pool_collateral_base_mainnet_ts"], "alias": "not_null_fct_core_pool_collateral_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4631798, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_pool_collateral_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_pool_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_pool_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_collateral_type.63ab148d0c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collateral_base_mainnet_collateral_type.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_collateral_type.63ab148d0c", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_pool_collateral_base_mainnet_collateral_type"], "alias": "not_null_fct_core_pool_collateral_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4647863, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_pool_collateral_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_pool_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_pool_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_amount_deposited.9fabc246a7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_base_mainnet_amount_deposited", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collateral_base_mainnet_amount_deposited.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_amount_deposited.9fabc246a7", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_pool_collateral_base_mainnet_amount_deposited"], "alias": "not_null_fct_core_pool_collateral_base_mainnet_amount_deposited", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.466466, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_base_mainnet_amount_deposited.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_deposited\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_pool_collateral_base_mainnet\"\nwhere amount_deposited is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_deposited", "file_key_name": "models.fct_core_pool_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_pool_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_deposited", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_ts.2ed20ab777": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_ts.2ed20ab777", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_pool_delegation_base_mainnet_ts"], "alias": "not_null_fct_core_pool_delegation_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.468093, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_pool_delegation_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_pool_delegation_base_mainnet", "attached_node": "model.synthetix.fct_core_pool_delegation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_pool_id.d338258729": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_base_mainnet_pool_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_pool_id.d338258729", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_pool_delegation_base_mainnet_pool_id"], "alias": "not_null_fct_core_pool_delegation_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4696918, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_pool_delegation_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_pool_delegation_base_mainnet", "attached_node": "model.synthetix.fct_core_pool_delegation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_base_mainnet_pool_id__True__0.4d81a0e2e0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_pool_delegation_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_8363e9f5a95fe0d37cdd21e63a723d71.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_base_mainnet_pool_id__True__0.4d81a0e2e0", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_core_pool_delegation_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_8363e9f5a95fe0d37cdd21e63a723d71", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_8363e9f5a95fe0d37cdd21e63a723d71", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_8363e9f5a95fe0d37cdd21e63a723d71"}, "created_at": 1723584322.471304, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_8363e9f5a95fe0d37cdd21e63a723d71\") }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_8363e9f5a95fe0d37cdd21e63a723d71.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_pool_delegation_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_pool_delegation_base_mainnet", "attached_node": "model.synthetix.fct_core_pool_delegation_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_collateral_type.49ff2a0118": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_base_mainnet_collateral_type.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_collateral_type.49ff2a0118", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_pool_delegation_base_mainnet_collateral_type"], "alias": "not_null_fct_core_pool_delegation_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4756553, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_pool_delegation_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_pool_delegation_base_mainnet", "attached_node": "model.synthetix.fct_core_pool_delegation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_base_mainnet_id.1f1f3ad095": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_base_mainnet_id.1f1f3ad095", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_pools_base_mainnet_id"], "alias": "not_null_fct_core_pools_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4772751, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_pools_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_core_pools_base_mainnet", "attached_node": "model.synthetix.fct_core_pools_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_pools_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_pools_base_mainnet_id__True__0.2b14986ce3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_pools_base_mainnet_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_ce1e0f8e6a0c289e7cea14e7e56d78c3.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_base_mainnet_id__True__0.2b14986ce3", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_core_pools_base_mainnet_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_ce1e0f8e6a0c289e7cea14e7e56d78c3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_ce1e0f8e6a0c289e7cea14e7e56d78c3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_ce1e0f8e6a0c289e7cea14e7e56d78c3"}, "created_at": 1723584322.4788907, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_ce1e0f8e6a0c289e7cea14e7e56d78c3\") }}", "language": "sql", "refs": [{"name": "fct_core_pools_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_ce1e0f8e6a0c289e7cea14e7e56d78c3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_pools_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_core_pools_base_mainnet", "attached_node": "model.synthetix.fct_core_pools_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_pools_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_pools_base_mainnet_created_ts.a07bb6b8fe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_base_mainnet_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_base_mainnet_created_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_base_mainnet_created_ts.a07bb6b8fe", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_pools_base_mainnet_created_ts"], "alias": "not_null_fct_core_pools_base_mainnet_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4831355, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_pools_base_mainnet\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_core_pools_base_mainnet", "attached_node": "model.synthetix.fct_core_pools_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_core_pools_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_base_mainnet_block_number.cc61b3ca43": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_base_mainnet_block_number.cc61b3ca43", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_pools_base_mainnet_block_number"], "alias": "not_null_fct_core_pools_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.484777, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_pools_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_core_pools_base_mainnet", "attached_node": "model.synthetix.fct_core_pools_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_core_pools_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_base_mainnet_owner.a2cfe04f87": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_base_mainnet_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_base_mainnet_owner.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_base_mainnet_owner.a2cfe04f87", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_pools_base_mainnet_owner"], "alias": "not_null_fct_core_pools_base_mainnet_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.48645, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_pools_base_mainnet\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.fct_core_pools_base_mainnet", "attached_node": "model.synthetix.fct_core_pools_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('fct_core_pools_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_base_mainnet_ts.f49a23ebcd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_base_mainnet_ts.f49a23ebcd", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_debt_base_mainnet_ts"], "alias": "not_null_fct_pool_debt_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4882324, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_debt_base_mainnet", "attached_node": "model.synthetix.fct_pool_debt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_debt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_base_mainnet_block_number.dd32fc50c6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_base_mainnet_block_number.dd32fc50c6", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_debt_base_mainnet_block_number"], "alias": "not_null_fct_pool_debt_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4898705, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_pool_debt_base_mainnet", "attached_node": "model.synthetix.fct_pool_debt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_pool_debt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_base_mainnet_pool_id.8e9e20797d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_base_mainnet_pool_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_base_mainnet_pool_id.8e9e20797d", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_debt_base_mainnet_pool_id"], "alias": "not_null_fct_pool_debt_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4915185, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_debt_base_mainnet", "attached_node": "model.synthetix.fct_pool_debt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_debt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_base_mainnet_pool_id__True__0.a1f5ec7b1b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_debt_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_54a5030c1cac11053a9d40471504b3d0.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_base_mainnet_pool_id__True__0.a1f5ec7b1b", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_debt_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_54a5030c1cac11053a9d40471504b3d0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_54a5030c1cac11053a9d40471504b3d0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_54a5030c1cac11053a9d40471504b3d0"}, "created_at": 1723584322.493197, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_54a5030c1cac11053a9d40471504b3d0\") }}", "language": "sql", "refs": [{"name": "fct_pool_debt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_54a5030c1cac11053a9d40471504b3d0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_debt_base_mainnet", "attached_node": "model.synthetix.fct_pool_debt_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_debt_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_debt_base_mainnet_collateral_type.92a752ffea": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_base_mainnet_collateral_type.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_base_mainnet_collateral_type.92a752ffea", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_debt_base_mainnet_collateral_type"], "alias": "not_null_fct_pool_debt_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4974208, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_debt_base_mainnet", "attached_node": "model.synthetix.fct_pool_debt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_debt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_base_mainnet_debt.5b37c10505": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_base_mainnet_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_base_mainnet_debt.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_base_mainnet_debt.5b37c10505", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_debt_base_mainnet_debt"], "alias": "not_null_fct_pool_debt_base_mainnet_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4990592, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_pool_debt_base_mainnet", "attached_node": "model.synthetix.fct_pool_debt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_pool_debt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_ts.af3f6a895d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_ts.af3f6a895d", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_issuance_hourly_base_mainnet_ts"], "alias": "not_null_fct_pool_issuance_hourly_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.500675, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_hourly_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_issuance_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_pool_id.03eddab767": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_base_mainnet_pool_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_pool_id.03eddab767", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_issuance_hourly_base_mainnet_pool_id"], "alias": "not_null_fct_pool_issuance_hourly_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5023916, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_hourly_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_base_mainnet_pool_id__True__0.82c0a98d47": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_issuance_hourly_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_d6c292de7d152cb498976697520f85e3.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_base_mainnet_pool_id__True__0.82c0a98d47", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_issuance_hourly_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_d6c292de7d152cb498976697520f85e3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_d6c292de7d152cb498976697520f85e3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_d6c292de7d152cb498976697520f85e3"}, "created_at": 1723584322.5040703, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_d6c292de7d152cb498976697520f85e3\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_d6c292de7d152cb498976697520f85e3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_hourly_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type.21efec6e56": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type.21efec6e56", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type"], "alias": "not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.508123, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_hourly_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_issuance_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance.1bde70000d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance.1bde70000d", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance"], "alias": "not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5101864, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_hourly_base_mainnet\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_pool_issuance_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_base_mainnet_ts.2b8d4be103": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_ts.2b8d4be103", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_issuance_base_mainnet_ts"], "alias": "not_null_fct_pool_issuance_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.511824, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_issuance_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_base_mainnet_block_number.6ae22c8ac4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_block_number.6ae22c8ac4", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_issuance_base_mainnet_block_number"], "alias": "not_null_fct_pool_issuance_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5134327, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_pool_issuance_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_base_mainnet_transaction_hash.0764eca614": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_mainnet_transaction_hash.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_transaction_hash.0764eca614", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_issuance_base_mainnet_transaction_hash"], "alias": "not_null_fct_pool_issuance_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.51501, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_pool_issuance_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_base_mainnet_pool_id.01d3ed0f62": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_mainnet_pool_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_pool_id.01d3ed0f62", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_issuance_base_mainnet_pool_id"], "alias": "not_null_fct_pool_issuance_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5167184, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_base_mainnet_pool_id__True__0.5e68f64c49": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_issuance_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_c22d916041b12ca4d7d00f7a19978894.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_base_mainnet_pool_id__True__0.5e68f64c49", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_issuance_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_c22d916041b12ca4d7d00f7a19978894", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_c22d916041b12ca4d7d00f7a19978894", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_c22d916041b12ca4d7d00f7a19978894"}, "created_at": 1723584322.518324, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_c22d916041b12ca4d7d00f7a19978894\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c22d916041b12ca4d7d00f7a19978894.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_issuance_base_mainnet_collateral_type.72fe90c3b9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_mainnet_collateral_type.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_collateral_type.72fe90c3b9", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_issuance_base_mainnet_collateral_type"], "alias": "not_null_fct_pool_issuance_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5223513, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_issuance_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_base_mainnet_account_id.4f9de5ef81": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_mainnet_account_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_account_id.4f9de5ef81", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_issuance_base_mainnet_account_id"], "alias": "not_null_fct_pool_issuance_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5241377, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_pool_issuance_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_base_mainnet_amount.29761360a6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_mainnet_amount.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_amount.29761360a6", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_issuance_base_mainnet_amount"], "alias": "not_null_fct_pool_issuance_base_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.525732, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_issuance_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_ts.7c76badc22": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_ts.7c76badc22", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_pnl_hourly_base_mainnet_ts"], "alias": "not_null_fct_pool_pnl_hourly_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.527344, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_pool_id.7352d1abe5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_mainnet_pool_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_pool_id.7352d1abe5", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_pnl_hourly_base_mainnet_pool_id"], "alias": "not_null_fct_pool_pnl_hourly_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5289242, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_pool_id__True__0.4246141dca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_f423f7a2f7a6eaf1e34fa2608b7f20a9.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_pool_id__True__0.4246141dca", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_f423f7a2f7a6eaf1e34fa2608b7f20a9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_f423f7a2f7a6eaf1e34fa2608b7f20a9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_f423f7a2f7a6eaf1e34fa2608b7f20a9"}, "created_at": 1723584322.5305996, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_f423f7a2f7a6eaf1e34fa2608b7f20a9\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_f423f7a2f7a6eaf1e34fa2608b7f20a9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type.7d4e861773": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type.7d4e861773", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type"], "alias": "not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5345845, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value.34ddcc2ccb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value.34ddcc2ccb", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value"], "alias": "not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5362113, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_collateral_value__True__0.7bf7b1ccab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_048616a286b6b20003e0208bc4988898.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_collateral_value__True__0.7bf7b1ccab", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_fct_p_048616a286b6b20003e0208bc4988898", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_048616a286b6b20003e0208bc4988898", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_048616a286b6b20003e0208bc4988898"}, "created_at": 1723584322.5379748, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_048616a286b6b20003e0208bc4988898\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_048616a286b6b20003e0208bc4988898.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_debt.e2d08dec52": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_mainnet_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_mainnet_debt.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_debt.e2d08dec52", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_pnl_hourly_base_mainnet_debt"], "alias": "not_null_fct_pool_pnl_hourly_base_mainnet_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5419655, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance.b0e645a132": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance.b0e645a132", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance"], "alias": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5437758, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl.6f321ca648": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl.6f321ca648", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl"], "alias": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.545372, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\nwhere hourly_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd.de69bca40d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd.de69bca40d", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd"], "alias": "not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5469668, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_rewards_usd__True__0.65717bc033": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_c137a38ff4a39d7919875eddf9e580b2.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_rewards_usd__True__0.65717bc033", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_c137a38ff4a39d7919875eddf9e580b2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_c137a38ff4a39d7919875eddf9e580b2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_c137a38ff4a39d7919875eddf9e580b2"}, "created_at": 1723584322.5486014, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_c137a38ff4a39d7919875eddf9e580b2\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c137a38ff4a39d7919875eddf9e580b2.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct.43ef5d27cc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct.43ef5d27cc", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct"], "alias": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5527496, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl_pct\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\nwhere hourly_pnl_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct.0d02b364b5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct.0d02b364b5", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct"], "alias": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5543954, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_rewards_pct\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\nwhere hourly_rewards_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct__True__1__0.24176cb1b5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct__True__1__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_b35ccf3d0c5fa66dfdb25a7ce0612dcf.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct__True__1__0.24176cb1b5", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct__True__1__0"], "alias": "dbt_utils_accepted_range_fct_p_b35ccf3d0c5fa66dfdb25a7ce0612dcf", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_b35ccf3d0c5fa66dfdb25a7ce0612dcf", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_b35ccf3d0c5fa66dfdb25a7ce0612dcf"}, "created_at": 1723584322.5560439, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_b35ccf3d0c5fa66dfdb25a7ce0612dcf\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b35ccf3d0c5fa66dfdb25a7ce0612dcf.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct >= 0\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "max_value": 1, "inclusive": true, "column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct.9656973b1c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct.9656973b1c", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct"], "alias": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5601695, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_total_pct\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\nwhere hourly_total_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_total_pct", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_total_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_ts.cb01f363c1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_ts.cb01f363c1", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_hourly_base_mainnet_ts"], "alias": "not_null_fct_pool_rewards_hourly_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5618103, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_pool_id.cc4be6d53f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_base_mainnet_pool_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_pool_id.cc4be6d53f", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_hourly_base_mainnet_pool_id"], "alias": "not_null_fct_pool_rewards_hourly_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5634732, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_pool_id__True__0.0fe5a5d2d6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_0e087cdd72bd8bdcbf1772c6c9878495.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_pool_id__True__0.0fe5a5d2d6", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_0e087cdd72bd8bdcbf1772c6c9878495", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_0e087cdd72bd8bdcbf1772c6c9878495", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_0e087cdd72bd8bdcbf1772c6c9878495"}, "created_at": 1723584322.5652363, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_0e087cdd72bd8bdcbf1772c6c9878495\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_0e087cdd72bd8bdcbf1772c6c9878495.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type.9a0efdf293": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type.9a0efdf293", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type"], "alias": "not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5692832, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd.2d36098b0e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd.2d36098b0e", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd"], "alias": "not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.570923, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_rewards_usd__True__0.e752fbfdf1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_b3687991e20ace156bbe4d1a9c005842.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_rewards_usd__True__0.e752fbfdf1", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_b3687991e20ace156bbe4d1a9c005842", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_b3687991e20ace156bbe4d1a9c005842", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_b3687991e20ace156bbe4d1a9c005842"}, "created_at": 1723584322.5727444, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_b3687991e20ace156bbe4d1a9c005842\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b3687991e20ace156bbe4d1a9c005842.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_ts.b6c015406d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_ts.b6c015406d", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_base_mainnet_ts"], "alias": "not_null_fct_pool_rewards_token_hourly_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5767658, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id.26caff37a4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id.26caff37a4", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id"], "alias": "not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5785432, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_pool_id__True__0.59419d2477": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_5cf4e436c9332cc81f82b43178d99e31.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_pool_id__True__0.59419d2477", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_5cf4e436c9332cc81f82b43178d99e31", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_5cf4e436c9332cc81f82b43178d99e31", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_5cf4e436c9332cc81f82b43178d99e31"}, "created_at": 1723584322.5801914, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_5cf4e436c9332cc81f82b43178d99e31\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_5cf4e436c9332cc81f82b43178d99e31.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_collateral_type.52b0ac191f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_83b8118cf5e5602eedb7113c200b50c6.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_collateral_type.52b0ac191f", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_base_mainnet_collateral_type"], "alias": "not_null_fct_pool_rewards_toke_83b8118cf5e5602eedb7113c200b50c6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_83b8118cf5e5602eedb7113c200b50c6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_rewards_toke_83b8118cf5e5602eedb7113c200b50c6"}, "created_at": 1723584322.5842073, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_83b8118cf5e5602eedb7113c200b50c6\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_83b8118cf5e5602eedb7113c200b50c6.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor.608c8d5a0a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor.608c8d5a0a", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor"], "alias": "not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5859964, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_token_symbol.185f4e6438": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_mainnet_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_8dc8b105c8db5e51214fe0eec0157073.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_token_symbol.185f4e6438", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_base_mainnet_token_symbol"], "alias": "not_null_fct_pool_rewards_toke_8dc8b105c8db5e51214fe0eec0157073", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_8dc8b105c8db5e51214fe0eec0157073", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_rewards_toke_8dc8b105c8db5e51214fe0eec0157073"}, "created_at": 1723584322.5876405, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_8dc8b105c8db5e51214fe0eec0157073\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_8dc8b105c8db5e51214fe0eec0157073.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_price.f29ff11a01": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_base_mainnet_price.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_price.f29ff11a01", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_base_mainnet_price"], "alias": "not_null_fct_pool_rewards_token_hourly_base_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5892375, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_price__True__0.5e57dd6ed8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_7e3fc9ae86c53feede790ebba8bf36a1.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_price__True__0.5e57dd6ed8", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_7e3fc9ae86c53feede790ebba8bf36a1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_7e3fc9ae86c53feede790ebba8bf36a1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_7e3fc9ae86c53feede790ebba8bf36a1"}, "created_at": 1723584322.5908346, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_7e3fc9ae86c53feede790ebba8bf36a1\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_7e3fc9ae86c53feede790ebba8bf36a1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount.294d780f70": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_54efb5f87a8fd4c56ab82f2223e2abd1.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount.294d780f70", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount"], "alias": "not_null_fct_pool_rewards_toke_54efb5f87a8fd4c56ab82f2223e2abd1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_54efb5f87a8fd4c56ab82f2223e2abd1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_rewards_toke_54efb5f87a8fd4c56ab82f2223e2abd1"}, "created_at": 1723584322.595125, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_54efb5f87a8fd4c56ab82f2223e2abd1\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_54efb5f87a8fd4c56ab82f2223e2abd1.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\nwhere hourly_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_amount", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount__True__0.edfffe8350": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_6c23fd35e9750661beb2f99f2da17a26.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount__True__0.edfffe8350", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_p_6c23fd35e9750661beb2f99f2da17a26", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_6c23fd35e9750661beb2f99f2da17a26", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_6c23fd35e9750661beb2f99f2da17a26"}, "created_at": 1723584322.5967507, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_6c23fd35e9750661beb2f99f2da17a26\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_6c23fd35e9750661beb2f99f2da17a26.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_amount", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "hourly_amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed.d339be6768": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_7008c8122c0653b7fce3ba812710fc46.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed.d339be6768", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed"], "alias": "not_null_fct_pool_rewards_toke_7008c8122c0653b7fce3ba812710fc46", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_7008c8122c0653b7fce3ba812710fc46", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_rewards_toke_7008c8122c0653b7fce3ba812710fc46"}, "created_at": 1723584322.6008945, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_7008c8122c0653b7fce3ba812710fc46\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_7008c8122c0653b7fce3ba812710fc46.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_distributed\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\nwhere amount_distributed is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_distributed", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_distributed", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed__True__0.f2c99e8638": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_5a84c17d2e40b25469e8ab6da0ee109b.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed__True__0.f2c99e8638", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed__True__0"], "alias": "dbt_utils_accepted_range_fct_p_5a84c17d2e40b25469e8ab6da0ee109b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_5a84c17d2e40b25469e8ab6da0ee109b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_5a84c17d2e40b25469e8ab6da0ee109b"}, "created_at": 1723584322.6025012, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_5a84c17d2e40b25469e8ab6da0ee109b\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_5a84c17d2e40b25469e8ab6da0ee109b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_distributed >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_distributed", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_distributed", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd.2724c9008d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd.2724c9008d", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd"], "alias": "not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6066155, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd__True__0.2f31fe80de": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_8833ef70b7da77b967939559ebb4d53c.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd__True__0.2f31fe80de", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_8833ef70b7da77b967939559ebb4d53c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_8833ef70b7da77b967939559ebb4d53c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_8833ef70b7da77b967939559ebb4d53c"}, "created_at": 1723584322.6082542, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_8833ef70b7da77b967939559ebb4d53c\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_8833ef70b7da77b967939559ebb4d53c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_synth_supply_base_mainnet_ts.ab30396a5d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_base_mainnet_ts.ab30396a5d", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_synth_supply_base_mainnet_ts"], "alias": "not_null_fct_synth_supply_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6327448, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_synth_supply_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_synth_supply_base_mainnet", "attached_node": "model.synthetix.fct_synth_supply_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_synth_supply_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_synth_supply_base_mainnet_block_number.8686c78edf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_base_mainnet_block_number.8686c78edf", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_synth_supply_base_mainnet_block_number"], "alias": "not_null_fct_synth_supply_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.634534, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_synth_supply_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_synth_supply_base_mainnet", "attached_node": "model.synthetix.fct_synth_supply_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_synth_supply_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_synth_supply_base_mainnet_synth_market_id.5a00a55aa2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_base_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_base_mainnet_synth_market_id.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_base_mainnet_synth_market_id.5a00a55aa2", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_synth_supply_base_mainnet_synth_market_id"], "alias": "not_null_fct_synth_supply_base_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.636173, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_synth_supply_base_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_synth_supply_base_mainnet", "attached_node": "model.synthetix.fct_synth_supply_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_synth_supply_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_base_mainnet_synth_market_id__True__0.cf8aff1a32": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_synth_supply_base_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_91ed2d6444a2d9e7dae36ab1d509b137.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_base_mainnet_synth_market_id__True__0.cf8aff1a32", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "dbt_utils_accepted_range_fct_synth_supply_base_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_91ed2d6444a2d9e7dae36ab1d509b137", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_91ed2d6444a2d9e7dae36ab1d509b137", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_s_91ed2d6444a2d9e7dae36ab1d509b137"}, "created_at": 1723584322.6377764, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_91ed2d6444a2d9e7dae36ab1d509b137\") }}", "language": "sql", "refs": [{"name": "fct_synth_supply_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_91ed2d6444a2d9e7dae36ab1d509b137.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_synth_supply_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_synth_supply_base_mainnet", "attached_node": "model.synthetix.fct_synth_supply_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_synth_supply_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_synth_supply_base_mainnet_supply.3f0fbdddb9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_base_mainnet_supply", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_base_mainnet_supply.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_base_mainnet_supply.3f0fbdddb9", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_synth_supply_base_mainnet_supply"], "alias": "not_null_fct_synth_supply_base_mainnet_supply", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6419237, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_supply.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect supply\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_synth_supply_base_mainnet\"\nwhere supply is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "supply", "file_key_name": "models.fct_synth_supply_base_mainnet", "attached_node": "model.synthetix.fct_synth_supply_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "supply", "model": "{{ get_where_subquery(ref('fct_synth_supply_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_mainnet_id.627bbbf01f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_id.627bbbf01f", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_atomics_base_mainnet_id"], "alias": "not_null_fct_spot_atomics_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6435623, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_atomics_base_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_spot_atomics_base_mainnet_id.43d4b7c878": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_spot_atomics_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_spot_atomics_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_fct_spot_atomics_base_mainnet_id.43d4b7c878", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "unique_fct_spot_atomics_base_mainnet_id"], "alias": "unique_fct_spot_atomics_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.645171, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/unique_fct_spot_atomics_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_atomics_base_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_mainnet_ts.8e16294c15": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_ts.8e16294c15", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_atomics_base_mainnet_ts"], "alias": "not_null_fct_spot_atomics_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6467698, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_spot_atomics_base_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_mainnet_block_number.f27d399305": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_block_number.f27d399305", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_atomics_base_mainnet_block_number"], "alias": "not_null_fct_spot_atomics_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6484852, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_spot_atomics_base_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_mainnet_tx_hash.95b2db0403": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_mainnet_tx_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_mainnet_tx_hash.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_tx_hash.95b2db0403", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_atomics_base_mainnet_tx_hash"], "alias": "not_null_fct_spot_atomics_base_mainnet_tx_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.650063, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_tx_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tx_hash\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"\nwhere tx_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "tx_hash", "file_key_name": "models.fct_spot_atomics_base_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "tx_hash", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_mainnet_synth_market_id.6f09447421": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_mainnet_synth_market_id.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_synth_market_id.6f09447421", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_atomics_base_mainnet_synth_market_id"], "alias": "not_null_fct_spot_atomics_base_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6516721, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_atomics_base_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_base_mainnet_synth_market_id__True__0.09c446094a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_spot_atomics_base_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_7fab60828a5bfeb783ade31a478e75db.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_base_mainnet_synth_market_id__True__0.09c446094a", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "dbt_utils_accepted_range_fct_spot_atomics_base_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_7fab60828a5bfeb783ade31a478e75db", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_7fab60828a5bfeb783ade31a478e75db", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_s_7fab60828a5bfeb783ade31a478e75db"}, "created_at": 1723584322.6532698, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_7fab60828a5bfeb783ade31a478e75db\") }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_7fab60828a5bfeb783ade31a478e75db.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_atomics_base_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_spot_atomics_base_mainnet_price.425623addf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_mainnet_price.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_price.425623addf", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_atomics_base_mainnet_price"], "alias": "not_null_fct_spot_atomics_base_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6574135, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_spot_atomics_base_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_mainnet_amount.f9fe9bd5d8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_mainnet_amount.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_amount.f9fe9bd5d8", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_atomics_base_mainnet_amount"], "alias": "not_null_fct_spot_atomics_base_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6590278, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_spot_atomics_base_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_mainnet_referrer.ab87d661dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_mainnet_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_mainnet_referrer.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_referrer.ab87d661dd", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_atomics_base_mainnet_referrer"], "alias": "not_null_fct_spot_atomics_base_mainnet_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6607587, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "file_key_name": "models.fct_spot_atomics_base_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referrer", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_markets_base_mainnet_id.b85cc0ba41": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_base_mainnet_id.b85cc0ba41", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_markets_base_mainnet_id"], "alias": "not_null_fct_spot_markets_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6624904, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_markets_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_markets_base_mainnet", "attached_node": "model.synthetix.fct_spot_markets_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_markets_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_base_mainnet_id__True__0.51d4e415e8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_spot_markets_base_mainnet_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_c6e2598ae26ef43c24f3f88f8dc4f769.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_base_mainnet_id__True__0.51d4e415e8", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "dbt_utils_accepted_range_fct_spot_markets_base_mainnet_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_c6e2598ae26ef43c24f3f88f8dc4f769", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_c6e2598ae26ef43c24f3f88f8dc4f769", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_s_c6e2598ae26ef43c24f3f88f8dc4f769"}, "created_at": 1723584322.6641083, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_c6e2598ae26ef43c24f3f88f8dc4f769\") }}", "language": "sql", "refs": [{"name": "fct_spot_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_c6e2598ae26ef43c24f3f88f8dc4f769.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_spot_markets_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_markets_base_mainnet", "attached_node": "model.synthetix.fct_spot_markets_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_markets_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_spot_markets_base_mainnet_created_ts.746ff1f9ce": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_base_mainnet_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_base_mainnet_created_ts.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_base_mainnet_created_ts.746ff1f9ce", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_markets_base_mainnet_created_ts"], "alias": "not_null_fct_spot_markets_base_mainnet_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.668151, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_markets_base_mainnet\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_spot_markets_base_mainnet", "attached_node": "model.synthetix.fct_spot_markets_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_spot_markets_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_markets_base_mainnet_block_number.dd426b1fb6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_base_mainnet_block_number.dd426b1fb6", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_markets_base_mainnet_block_number"], "alias": "not_null_fct_spot_markets_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6703115, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_markets_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_spot_markets_base_mainnet", "attached_node": "model.synthetix.fct_spot_markets_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_spot_markets_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_markets_base_mainnet_token_address.454ffd144a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_base_mainnet_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_base_mainnet_token_address.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_base_mainnet_token_address.454ffd144a", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_markets_base_mainnet_token_address"], "alias": "not_null_fct_spot_markets_base_mainnet_token_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6718953, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_token_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_address\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_markets_base_mainnet\"\nwhere token_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_address", "file_key_name": "models.fct_spot_markets_base_mainnet", "attached_node": "model.synthetix.fct_spot_markets_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_address", "model": "{{ get_where_subquery(ref('fct_spot_markets_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_id.b1091139a2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_id.b1091139a2", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_wrapper_base_mainnet_id"], "alias": "not_null_fct_spot_wrapper_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.673461, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_wrapper_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_wrapper_base_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_spot_wrapper_base_mainnet_id.c51e21223d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_spot_wrapper_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_spot_wrapper_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_fct_spot_wrapper_base_mainnet_id.c51e21223d", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "unique_fct_spot_wrapper_base_mainnet_id"], "alias": "unique_fct_spot_wrapper_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6750233, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/unique_fct_spot_wrapper_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_wrapper_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_wrapper_base_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_ts.b646319cc9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_ts.b646319cc9", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_wrapper_base_mainnet_ts"], "alias": "not_null_fct_spot_wrapper_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.676755, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_wrapper_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_spot_wrapper_base_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_block_number.9220599356": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_block_number.9220599356", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_wrapper_base_mainnet_block_number"], "alias": "not_null_fct_spot_wrapper_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6783185, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_wrapper_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_spot_wrapper_base_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_tx_hash.eb92a57d59": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_base_mainnet_tx_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_base_mainnet_tx_hash.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_tx_hash.eb92a57d59", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_wrapper_base_mainnet_tx_hash"], "alias": "not_null_fct_spot_wrapper_base_mainnet_tx_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6799114, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_tx_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tx_hash\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_wrapper_base_mainnet\"\nwhere tx_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "tx_hash", "file_key_name": "models.fct_spot_wrapper_base_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "tx_hash", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_synth_market_id.4d8b77f2da": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_base_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_base_mainnet_synth_market_id.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_synth_market_id.4d8b77f2da", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_wrapper_base_mainnet_synth_market_id"], "alias": "not_null_fct_spot_wrapper_base_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.681464, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_wrapper_base_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_wrapper_base_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_base_mainnet_synth_market_id__True__0.69216a8846": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_spot_wrapper_base_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_250a7c642b574d53cc1af4dfcbcf129d.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_base_mainnet_synth_market_id__True__0.69216a8846", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "dbt_utils_accepted_range_fct_spot_wrapper_base_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_250a7c642b574d53cc1af4dfcbcf129d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_250a7c642b574d53cc1af4dfcbcf129d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_s_250a7c642b574d53cc1af4dfcbcf129d"}, "created_at": 1723584322.6830409, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_250a7c642b574d53cc1af4dfcbcf129d\") }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_250a7c642b574d53cc1af4dfcbcf129d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_spot_wrapper_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_wrapper_base_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_amount_wrapped.957e1a74f3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_base_mainnet_amount_wrapped", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_base_mainnet_amount_wrapped.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_amount_wrapped.957e1a74f3", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_wrapper_base_mainnet_amount_wrapped"], "alias": "not_null_fct_spot_wrapper_base_mainnet_amount_wrapped", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6871552, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_amount_wrapped.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_wrapped\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_wrapper_base_mainnet\"\nwhere amount_wrapped is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_wrapped", "file_key_name": "models.fct_spot_wrapper_base_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_wrapped", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_base_mainnet_ts.c885673fc8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_base_mainnet_ts.c885673fc8", "fqn": ["synthetix", "marts", "base", "mainnet", "prices", "not_null_fct_prices_base_mainnet_ts"], "alias": "not_null_fct_prices_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6907778, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_prices_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_prices_base_mainnet", "attached_node": "model.synthetix.fct_prices_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_prices_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_base_mainnet_market_symbol.dc8cb46b8c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_base_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_base_mainnet_market_symbol.sql", "original_file_path": "models/marts/base/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_base_mainnet_market_symbol.dc8cb46b8c", "fqn": ["synthetix", "marts", "base", "mainnet", "prices", "not_null_fct_prices_base_mainnet_market_symbol"], "alias": "not_null_fct_prices_base_mainnet_market_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6927102, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_base_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_prices_base_mainnet\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_prices_base_mainnet", "attached_node": "model.synthetix.fct_prices_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_prices_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_base_mainnet_price.a6c62844d1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_base_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_base_mainnet_price.sql", "original_file_path": "models/marts/base/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_base_mainnet_price.a6c62844d1", "fqn": ["synthetix", "marts", "base", "mainnet", "prices", "not_null_fct_prices_base_mainnet_price"], "alias": "not_null_fct_prices_base_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6943235, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_base_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_prices_base_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_base_mainnet", "attached_node": "model.synthetix.fct_prices_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0.4906889fd6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0.sql", "original_file_path": "models/marts/base/mainnet/prices/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0.4906889fd6", "fqn": ["synthetix", "marts", "base", "mainnet", "prices", "dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6959462, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_prices_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_base_mainnet", "attached_node": "model.synthetix.fct_prices_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_prices_hourly_base_mainnet_ts.a2c68d326d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_base_mainnet_ts.a2c68d326d", "fqn": ["synthetix", "marts", "base", "mainnet", "prices", "not_null_fct_prices_hourly_base_mainnet_ts"], "alias": "not_null_fct_prices_hourly_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.699848, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_hourly_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_prices_hourly_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_prices_hourly_base_mainnet", "attached_node": "model.synthetix.fct_prices_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_prices_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_hourly_base_mainnet_market_symbol.ffd656c11f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_base_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_base_mainnet_market_symbol.sql", "original_file_path": "models/marts/base/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_base_mainnet_market_symbol.ffd656c11f", "fqn": ["synthetix", "marts", "base", "mainnet", "prices", "not_null_fct_prices_hourly_base_mainnet_market_symbol"], "alias": "not_null_fct_prices_hourly_base_mainnet_market_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.7014508, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_hourly_base_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_prices_hourly_base_mainnet\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_prices_hourly_base_mainnet", "attached_node": "model.synthetix.fct_prices_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_prices_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_hourly_base_mainnet_price.73bbfd891b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_base_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_base_mainnet_price.sql", "original_file_path": "models/marts/base/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_base_mainnet_price.73bbfd891b", "fqn": ["synthetix", "marts", "base", "mainnet", "prices", "not_null_fct_prices_hourly_base_mainnet_price"], "alias": "not_null_fct_prices_hourly_base_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.7030382, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_hourly_base_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_prices_hourly_base_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_hourly_base_mainnet", "attached_node": "model.synthetix.fct_prices_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_base_mainnet_price__True__0.1e768deaa2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_prices_hourly_base_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_27b6af55248f953e90043a26b172ae10.sql", "original_file_path": "models/marts/base/mainnet/prices/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_base_mainnet_price__True__0.1e768deaa2", "fqn": ["synthetix", "marts", "base", "mainnet", "prices", "dbt_utils_accepted_range_fct_prices_hourly_base_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_27b6af55248f953e90043a26b172ae10", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_27b6af55248f953e90043a26b172ae10", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_27b6af55248f953e90043a26b172ae10"}, "created_at": 1723584322.7046602, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_27b6af55248f953e90043a26b172ae10\") }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_27b6af55248f953e90043a26b172ae10.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_prices_hourly_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_hourly_base_mainnet", "attached_node": "model.synthetix.fct_prices_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_id.eb661d1506": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_id.eb661d1506", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_interest_charged_base_sepolia_id"], "alias": "not_null_fct_perp_interest_charged_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.7261686, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_interest_charged_base_sepolia_id.53669ecac5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_interest_charged_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_interest_charged_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_interest_charged_base_sepolia_id.53669ecac5", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "unique_fct_perp_interest_charged_base_sepolia_id"], "alias": "unique_fct_perp_interest_charged_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.7278228, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_interest_charged_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_block_timestamp.0a73b599b9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_sepolia_block_timestamp.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_block_timestamp.0a73b599b9", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_interest_charged_base_sepolia_block_timestamp"], "alias": "not_null_fct_perp_interest_charged_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.729447, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.fct_perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_block_number.b5c567e21f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_block_number.b5c567e21f", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_interest_charged_base_sepolia_block_number"], "alias": "not_null_fct_perp_interest_charged_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.7311056, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_transaction_hash.aaef59efbb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_cha_ef7870358c5aff75d7f92ce4c7de1c07.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_transaction_hash.aaef59efbb", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_interest_charged_base_sepolia_transaction_hash"], "alias": "not_null_fct_perp_interest_cha_ef7870358c5aff75d7f92ce4c7de1c07", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_interest_cha_ef7870358c5aff75d7f92ce4c7de1c07", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_perp_interest_cha_ef7870358c5aff75d7f92ce4c7de1c07"}, "created_at": 1723584322.7328699, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_interest_cha_ef7870358c5aff75d7f92ce4c7de1c07\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_cha_ef7870358c5aff75d7f92ce4c7de1c07.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_contract.d0f4674d07": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_sepolia_contract.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_contract.d0f4674d07", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_interest_charged_base_sepolia_contract"], "alias": "not_null_fct_perp_interest_charged_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.7344537, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.fct_perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_event_name.237b079041": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_sepolia_event_name.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_event_name.237b079041", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_interest_charged_base_sepolia_event_name"], "alias": "not_null_fct_perp_interest_charged_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.7360742, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_perp_interest_charged_base_sepolia_event_name__InterestCharged.ff861d06a4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_perp_interest_charged_base_sepolia_event_name__InterestCharged", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_perp_inter_8f173b579ea46e22e00a38898643f42f.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_perp_interest_charged_base_sepolia_event_name__InterestCharged.ff861d06a4", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "accepted_values_fct_perp_interest_charged_base_sepolia_event_name__InterestCharged"], "alias": "accepted_values_fct_perp_inter_8f173b579ea46e22e00a38898643f42f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_perp_inter_8f173b579ea46e22e00a38898643f42f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_fct_perp_inter_8f173b579ea46e22e00a38898643f42f"}, "created_at": 1723584322.7376986, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_perp_inter_8f173b579ea46e22e00a38898643f42f\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/accepted_values_fct_perp_inter_8f173b579ea46e22e00a38898643f42f.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'InterestCharged'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["InterestCharged"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_account_id.86fbe78f66": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_sepolia_account_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_account_id.86fbe78f66", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_interest_charged_base_sepolia_account_id"], "alias": "not_null_fct_perp_interest_charged_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.7419004, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_account_id__True__0.3edc04f3c6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_d192f9304caff99eeffe34887ba9fd58.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_account_id__True__0.3edc04f3c6", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_d192f9304caff99eeffe34887ba9fd58", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_d192f9304caff99eeffe34887ba9fd58", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_d192f9304caff99eeffe34887ba9fd58"}, "created_at": 1723584322.7436028, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_d192f9304caff99eeffe34887ba9fd58\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_d192f9304caff99eeffe34887ba9fd58.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_interest.201254f262": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_sepolia_interest", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_sepolia_interest.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_interest.201254f262", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_interest_charged_base_sepolia_interest"], "alias": "not_null_fct_perp_interest_charged_base_sepolia_interest", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.7477634, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_interest.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect interest\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_base_sepolia\"\nwhere interest is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest", "file_key_name": "models.fct_perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "interest", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_interest__True__0.cbe80d3cfc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_interest__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_067b6722ec0a3ba96989426b240c29ff.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_interest__True__0.cbe80d3cfc", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_interest__True__0"], "alias": "dbt_utils_accepted_range_fct_p_067b6722ec0a3ba96989426b240c29ff", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_067b6722ec0a3ba96989426b240c29ff", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_067b6722ec0a3ba96989426b240c29ff"}, "created_at": 1723584322.7493837, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_067b6722ec0a3ba96989426b240c29ff\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_067b6722ec0a3ba96989426b240c29ff.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not interest >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest", "file_key_name": "models.fct_perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "interest", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_id.04ae0ab4fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_id.04ae0ab4fd", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_modified_base_sepolia_id"], "alias": "not_null_fct_perp_collateral_modified_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.7539744, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_modified_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_collateral_modified_base_sepolia_id.a5b1b5d44a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_collateral_modified_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_collateral_modified_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_collateral_modified_base_sepolia_id.a5b1b5d44a", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "unique_fct_perp_collateral_modified_base_sepolia_id"], "alias": "unique_fct_perp_collateral_modified_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.7555985, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_collateral_modified_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_modified_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_block_timestamp.983f4f7464": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_m_29a3faef3b1a9aaf01d9e330ab75faad.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_block_timestamp.983f4f7464", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_modified_base_sepolia_block_timestamp"], "alias": "not_null_fct_perp_collateral_m_29a3faef3b1a9aaf01d9e330ab75faad", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_m_29a3faef3b1a9aaf01d9e330ab75faad", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_perp_collateral_m_29a3faef3b1a9aaf01d9e330ab75faad"}, "created_at": 1723584322.7571924, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_m_29a3faef3b1a9aaf01d9e330ab75faad\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_29a3faef3b1a9aaf01d9e330ab75faad.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_modified_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.fct_perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_block_number.36ad8cb4d3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_block_number.36ad8cb4d3", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_modified_base_sepolia_block_number"], "alias": "not_null_fct_perp_collateral_modified_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.758754, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_modified_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_transaction_hash.834ecbfe7f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_m_09036bff9f33021bdc2f7c611d921020.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_transaction_hash.834ecbfe7f", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_modified_base_sepolia_transaction_hash"], "alias": "not_null_fct_perp_collateral_m_09036bff9f33021bdc2f7c611d921020", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_m_09036bff9f33021bdc2f7c611d921020", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_perp_collateral_m_09036bff9f33021bdc2f7c611d921020"}, "created_at": 1723584322.8372314, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_m_09036bff9f33021bdc2f7c611d921020\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_09036bff9f33021bdc2f7c611d921020.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_modified_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_contract.e1b2d1c3f1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_base_sepolia_contract.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_contract.e1b2d1c3f1", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_modified_base_sepolia_contract"], "alias": "not_null_fct_perp_collateral_modified_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.8389745, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_modified_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.fct_perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_event_name.0d3e82bc99": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_base_sepolia_event_name.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_event_name.0d3e82bc99", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_modified_base_sepolia_event_name"], "alias": "not_null_fct_perp_collateral_modified_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.8407416, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_modified_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_perp_collateral_modified_base_sepolia_event_name__CollateralModified.f6430341ee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_perp_collateral_modified_base_sepolia_event_name__CollateralModified", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_perp_colla_1ab1c21834ede76d1e34f06cf2def9bf.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_perp_collateral_modified_base_sepolia_event_name__CollateralModified.f6430341ee", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "accepted_values_fct_perp_collateral_modified_base_sepolia_event_name__CollateralModified"], "alias": "accepted_values_fct_perp_colla_1ab1c21834ede76d1e34f06cf2def9bf", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_perp_colla_1ab1c21834ede76d1e34f06cf2def9bf", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_fct_perp_colla_1ab1c21834ede76d1e34f06cf2def9bf"}, "created_at": 1723584322.842489, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_perp_colla_1ab1c21834ede76d1e34f06cf2def9bf\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/accepted_values_fct_perp_colla_1ab1c21834ede76d1e34f06cf2def9bf.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_modified_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'CollateralModified'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["CollateralModified"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_synth_market_id.a933a52d36": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_m_e96903840ffe61a948a59ad3485c1535.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_synth_market_id.a933a52d36", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_modified_base_sepolia_synth_market_id"], "alias": "not_null_fct_perp_collateral_m_e96903840ffe61a948a59ad3485c1535", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_m_e96903840ffe61a948a59ad3485c1535", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_perp_collateral_m_e96903840ffe61a948a59ad3485c1535"}, "created_at": 1723584322.8467681, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_m_e96903840ffe61a948a59ad3485c1535\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_e96903840ffe61a948a59ad3485c1535.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_modified_base_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_base_sepolia_synth_market_id__True__0.6fb45ff630": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_collateral_modified_base_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_8842b67718d899abc12b7a5f41b7a7e7.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_base_sepolia_synth_market_id__True__0.6fb45ff630", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_collateral_modified_base_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_8842b67718d899abc12b7a5f41b7a7e7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_8842b67718d899abc12b7a5f41b7a7e7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_8842b67718d899abc12b7a5f41b7a7e7"}, "created_at": 1723584322.8486176, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_8842b67718d899abc12b7a5f41b7a7e7\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_8842b67718d899abc12b7a5f41b7a7e7.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_modified_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_sender.36cb6d7913": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_base_sepolia_sender.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_sender.36cb6d7913", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_modified_base_sepolia_sender"], "alias": "not_null_fct_perp_collateral_modified_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.8527455, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_modified_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.fct_perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_id.480d04976b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_order_expired_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_id.480d04976b", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_previous_order_expired_base_sepolia_id"], "alias": "not_null_fct_perp_previous_order_expired_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.8543746, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_previous_order_expired_base_sepolia_id.38211e4c5d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_previous_order_expired_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_previous_order_expired_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_previous_order_expired_base_sepolia_id.38211e4c5d", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "unique_fct_perp_previous_order_expired_base_sepolia_id"], "alias": "unique_fct_perp_previous_order_expired_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.8562102, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_previous_order_expired_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_block_timestamp.4b41a82d13": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_9c7a161f838a4c7aa741dca0a21c40e7.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_block_timestamp.4b41a82d13", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_previous_order_expired_base_sepolia_block_timestamp"], "alias": "not_null_fct_perp_previous_ord_9c7a161f838a4c7aa741dca0a21c40e7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_9c7a161f838a4c7aa741dca0a21c40e7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_perp_previous_ord_9c7a161f838a4c7aa741dca0a21c40e7"}, "created_at": 1723584322.8578205, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_9c7a161f838a4c7aa741dca0a21c40e7\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_9c7a161f838a4c7aa741dca0a21c40e7.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.fct_perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_block_number.1ff7a5705c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_c653b9bed8c3157c4422e80f77a0b022.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_block_number.1ff7a5705c", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_previous_order_expired_base_sepolia_block_number"], "alias": "not_null_fct_perp_previous_ord_c653b9bed8c3157c4422e80f77a0b022", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_c653b9bed8c3157c4422e80f77a0b022", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_perp_previous_ord_c653b9bed8c3157c4422e80f77a0b022"}, "created_at": 1723584322.8594494, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_c653b9bed8c3157c4422e80f77a0b022\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_c653b9bed8c3157c4422e80f77a0b022.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_transaction_hash.e1f21d4fd3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_e6503bbb900b804259f539d4a386ea08.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_transaction_hash.e1f21d4fd3", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_previous_order_expired_base_sepolia_transaction_hash"], "alias": "not_null_fct_perp_previous_ord_e6503bbb900b804259f539d4a386ea08", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_e6503bbb900b804259f539d4a386ea08", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_perp_previous_ord_e6503bbb900b804259f539d4a386ea08"}, "created_at": 1723584322.861061, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_e6503bbb900b804259f539d4a386ea08\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_e6503bbb900b804259f539d4a386ea08.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_contract.b0da841bdf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_order_expired_base_sepolia_contract.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_contract.b0da841bdf", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_previous_order_expired_base_sepolia_contract"], "alias": "not_null_fct_perp_previous_order_expired_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.8627625, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.fct_perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_event_name.daad0addfa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_76fb0a0f579f503805573e61f45555ef.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_event_name.daad0addfa", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_previous_order_expired_base_sepolia_event_name"], "alias": "not_null_fct_perp_previous_ord_76fb0a0f579f503805573e61f45555ef", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_76fb0a0f579f503805573e61f45555ef", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_perp_previous_ord_76fb0a0f579f503805573e61f45555ef"}, "created_at": 1723584322.864459, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_76fb0a0f579f503805573e61f45555ef\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_76fb0a0f579f503805573e61f45555ef.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired.e124d4bad8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_perp_previ_48e2e93359da3c420e07b2ee28c127b1.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired.e124d4bad8", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "accepted_values_fct_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired"], "alias": "accepted_values_fct_perp_previ_48e2e93359da3c420e07b2ee28c127b1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_perp_previ_48e2e93359da3c420e07b2ee28c127b1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_fct_perp_previ_48e2e93359da3c420e07b2ee28c127b1"}, "created_at": 1723584322.8660662, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_perp_previ_48e2e93359da3c420e07b2ee28c127b1\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/accepted_values_fct_perp_previ_48e2e93359da3c420e07b2ee28c127b1.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'PreviousOrderExpired'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PreviousOrderExpired"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_market_id.17181fe5f1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_order_expired_base_sepolia_market_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_market_id.17181fe5f1", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_previous_order_expired_base_sepolia_market_id"], "alias": "not_null_fct_perp_previous_order_expired_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.8702352, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_market_id__True__0.b23f5ced4b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_f7e171b7e018d9cc369742d5966ea0ca.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_market_id__True__0.b23f5ced4b", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_f7e171b7e018d9cc369742d5966ea0ca", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_f7e171b7e018d9cc369742d5966ea0ca", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_f7e171b7e018d9cc369742d5966ea0ca"}, "created_at": 1723584322.8719208, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_f7e171b7e018d9cc369742d5966ea0ca\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_f7e171b7e018d9cc369742d5966ea0ca.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_account_id.e2bf90a189": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_e668d930033b017ab7e489e9265ae2cc.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_account_id.e2bf90a189", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_previous_order_expired_base_sepolia_account_id"], "alias": "not_null_fct_perp_previous_ord_e668d930033b017ab7e489e9265ae2cc", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_e668d930033b017ab7e489e9265ae2cc", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_perp_previous_ord_e668d930033b017ab7e489e9265ae2cc"}, "created_at": 1723584322.8761818, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_e668d930033b017ab7e489e9265ae2cc\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_e668d930033b017ab7e489e9265ae2cc.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_account_id__True__0.b2f7060dcd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_bd7e93d324e2173f6fc9f1cd5524c906.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_account_id__True__0.b2f7060dcd", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_bd7e93d324e2173f6fc9f1cd5524c906", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_bd7e93d324e2173f6fc9f1cd5524c906", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_bd7e93d324e2173f6fc9f1cd5524c906"}, "created_at": 1723584322.8778253, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_bd7e93d324e2173f6fc9f1cd5524c906\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_bd7e93d324e2173f6fc9f1cd5524c906.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_id.e94cf14cf4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_id.e94cf14cf4", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_id"], "alias": "not_null_fct_perp_trades_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.8820195, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_trades_base_sepolia_id.ceece98634": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_trades_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_trades_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_trades_base_sepolia_id.ceece98634", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "unique_fct_perp_trades_base_sepolia_id"], "alias": "unique_fct_perp_trades_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.8836706, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_trades_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_ts.76a693976f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_ts.76a693976f", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_ts"], "alias": "not_null_fct_perp_trades_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.8853526, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_block_number.36502e409b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_block_number.36502e409b", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_block_number"], "alias": "not_null_fct_perp_trades_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.8869512, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_transaction_hash.4d4a1afa3d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_transaction_hash.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_transaction_hash.4d4a1afa3d", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_transaction_hash"], "alias": "not_null_fct_perp_trades_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.8887134, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_contract.92feeccb9f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_contract.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_contract.92feeccb9f", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_contract"], "alias": "not_null_fct_perp_trades_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.890313, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_market_id.3d4de88cac": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_market_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_market_id.3d4de88cac", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_market_id"], "alias": "not_null_fct_perp_trades_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.8919246, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_market_id__True__0.67a1e76900": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_ab57f63d9f8f1488413cc5294a42215d.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_market_id__True__0.67a1e76900", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_ab57f63d9f8f1488413cc5294a42215d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_ab57f63d9f8f1488413cc5294a42215d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_ab57f63d9f8f1488413cc5294a42215d"}, "created_at": 1723584322.89354, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_ab57f63d9f8f1488413cc5294a42215d\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_ab57f63d9f8f1488413cc5294a42215d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_market_symbol.8c61ba2703": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_market_symbol.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_market_symbol.8c61ba2703", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_market_symbol"], "alias": "not_null_fct_perp_trades_base_sepolia_market_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.8977187, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_account_id.74992c394c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_account_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_account_id.74992c394c", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_account_id"], "alias": "not_null_fct_perp_trades_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.8993895, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_fill_price.3633433721": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_fill_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_fill_price.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_fill_price.3633433721", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_fill_price"], "alias": "not_null_fct_perp_trades_base_sepolia_fill_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9010174, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_fill_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect fill_price\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere fill_price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fill_price", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "fill_price", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_fill_price__True__0.b3d62542ac": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_fill_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_3e1fc0d8bc7c6d669e2e3b19f01f8d95.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_fill_price__True__0.b3d62542ac", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_fill_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_3e1fc0d8bc7c6d669e2e3b19f01f8d95", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_3e1fc0d8bc7c6d669e2e3b19f01f8d95", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_3e1fc0d8bc7c6d669e2e3b19f01f8d95"}, "created_at": 1723584322.9027712, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_3e1fc0d8bc7c6d669e2e3b19f01f8d95\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_3e1fc0d8bc7c6d669e2e3b19f01f8d95.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not fill_price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fill_price", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "fill_price", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_pnl.42b0678535": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_pnl.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_pnl.42b0678535", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_pnl"], "alias": "not_null_fct_perp_trades_base_sepolia_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9068174, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pnl\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pnl", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pnl", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_accrued_funding.fb6b795bff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_accrued_funding", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_accrued_funding.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_accrued_funding.fb6b795bff", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_accrued_funding"], "alias": "not_null_fct_perp_trades_base_sepolia_accrued_funding", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.908621, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_accrued_funding.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect accrued_funding\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere accrued_funding is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "accrued_funding", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "accrued_funding", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_trade_size.e5fc6afe64": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_trade_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_trade_size.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_trade_size.e5fc6afe64", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_trade_size"], "alias": "not_null_fct_perp_trades_base_sepolia_trade_size", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9102552, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_trade_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect trade_size\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere trade_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "trade_size", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "trade_size", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_position_size.d124874e35": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_position_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_position_size.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_position_size.d124874e35", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_position_size"], "alias": "not_null_fct_perp_trades_base_sepolia_position_size", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9118762, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_position_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect position_size\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere position_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "position_size", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "position_size", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_total_fees.d6fd22951b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_total_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_total_fees.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_total_fees.d6fd22951b", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_total_fees"], "alias": "not_null_fct_perp_trades_base_sepolia_total_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.913476, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_total_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect total_fees\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere total_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_fees", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "total_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_total_fees__True__0.68c3f148eb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_total_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_ca3e105a3a84eed01da18939c8f18b2b.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_total_fees__True__0.68c3f148eb", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_total_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_ca3e105a3a84eed01da18939c8f18b2b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_ca3e105a3a84eed01da18939c8f18b2b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_ca3e105a3a84eed01da18939c8f18b2b"}, "created_at": 1723584322.9150891, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_ca3e105a3a84eed01da18939c8f18b2b\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_ca3e105a3a84eed01da18939c8f18b2b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not total_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_fees", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "total_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_referral_fees.12cd5804dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_referral_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_referral_fees.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_referral_fees.12cd5804dd", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_referral_fees"], "alias": "not_null_fct_perp_trades_base_sepolia_referral_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9195614, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_referral_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referral_fees\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere referral_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referral_fees", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referral_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_referral_fees__True__0.dc2313066f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_referral_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_e05adcb16523bcfa1793ab941d8d5c8c.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_referral_fees__True__0.dc2313066f", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_referral_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_e05adcb16523bcfa1793ab941d8d5c8c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_e05adcb16523bcfa1793ab941d8d5c8c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_e05adcb16523bcfa1793ab941d8d5c8c"}, "created_at": 1723584322.921208, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_e05adcb16523bcfa1793ab941d8d5c8c\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e05adcb16523bcfa1793ab941d8d5c8c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not referral_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referral_fees", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "referral_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_collected_fees.ac78e5e098": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_collected_fees.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_collected_fees.ac78e5e098", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_collected_fees"], "alias": "not_null_fct_perp_trades_base_sepolia_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9253662, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collected_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_collected_fees__True__0.d4eb8f3a34": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_707eedc089e19f28f32df66ad5b050e0.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_collected_fees__True__0.d4eb8f3a34", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_707eedc089e19f28f32df66ad5b050e0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_707eedc089e19f28f32df66ad5b050e0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_707eedc089e19f28f32df66ad5b050e0"}, "created_at": 1723584322.9269903, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_707eedc089e19f28f32df66ad5b050e0\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_707eedc089e19f28f32df66ad5b050e0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_settlement_reward.edb4d5c73f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_settlement_reward", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_settlement_reward.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_settlement_reward.edb4d5c73f", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_settlement_reward"], "alias": "not_null_fct_perp_trades_base_sepolia_settlement_reward", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.931167, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_settlement_reward.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect settlement_reward\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere settlement_reward is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "settlement_reward", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "settlement_reward", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_settlement_reward__True__0.58cc15e824": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_settlement_reward__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_af8c9599723e3d75b1eeca41d4ebb24c.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_settlement_reward__True__0.58cc15e824", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_settlement_reward__True__0"], "alias": "dbt_utils_accepted_range_fct_p_af8c9599723e3d75b1eeca41d4ebb24c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_af8c9599723e3d75b1eeca41d4ebb24c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_af8c9599723e3d75b1eeca41d4ebb24c"}, "created_at": 1723584322.9328098, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_af8c9599723e3d75b1eeca41d4ebb24c\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_af8c9599723e3d75b1eeca41d4ebb24c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not settlement_reward >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "settlement_reward", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "settlement_reward", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_tracking_code.482af3b84b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_tracking_code", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_tracking_code.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_tracking_code.482af3b84b", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_tracking_code"], "alias": "not_null_fct_perp_trades_base_sepolia_tracking_code", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9370081, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_tracking_code.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tracking_code\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere tracking_code is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "tracking_code", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "tracking_code", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_settler.b1e9ff8b09": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_settler", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_settler.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_settler.b1e9ff8b09", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_settler"], "alias": "not_null_fct_perp_trades_base_sepolia_settler", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9386263, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_settler.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect settler\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere settler is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "settler", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "settler", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_notional_trade_size.e076755f6b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_notional_trade_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_notional_trade_size.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_notional_trade_size.e076755f6b", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_notional_trade_size"], "alias": "not_null_fct_perp_trades_base_sepolia_notional_trade_size", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.940262, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_notional_trade_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect notional_trade_size\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere notional_trade_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "notional_trade_size", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "notional_trade_size", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_notional_position_size.1d9238ede6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_notional_position_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_notional_position_size.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_notional_position_size.1d9238ede6", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_notional_position_size"], "alias": "not_null_fct_perp_trades_base_sepolia_notional_position_size", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.941868, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_notional_position_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect notional_position_size\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere notional_position_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "notional_position_size", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "notional_position_size", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_lp_fees.08774e8672": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_lp_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_lp_fees.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_lp_fees.08774e8672", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_lp_fees"], "alias": "not_null_fct_perp_trades_base_sepolia_lp_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.943622, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_lp_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect lp_fees\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere lp_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "lp_fees", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "lp_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_lp_fees__True__0.8a5e6825da": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_lp_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_12db1ba69fe6608ea2ebf00ec7dcb95a.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_lp_fees__True__0.8a5e6825da", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_lp_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_12db1ba69fe6608ea2ebf00ec7dcb95a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_12db1ba69fe6608ea2ebf00ec7dcb95a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"severity": "warn", "alias": "dbt_utils_accepted_range_fct_p_12db1ba69fe6608ea2ebf00ec7dcb95a"}, "created_at": 1723584322.9452653, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(severity=\"warn\",alias=\"dbt_utils_accepted_range_fct_p_12db1ba69fe6608ea2ebf00ec7dcb95a\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_12db1ba69fe6608ea2ebf00ec7dcb95a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not lp_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "lp_fees", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "lp_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_exchange_fees.72c95e5df3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_exchange_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_exchange_fees.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_exchange_fees.72c95e5df3", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_exchange_fees"], "alias": "not_null_fct_perp_trades_base_sepolia_exchange_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9495935, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_exchange_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect exchange_fees\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere exchange_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "exchange_fees", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "exchange_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_exchange_fees__True__0.b3ce206dc8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_exchange_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_e5c0b70069c52e907a59ba0ddbc37d9c.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_exchange_fees__True__0.b3ce206dc8", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_exchange_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_e5c0b70069c52e907a59ba0ddbc37d9c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_e5c0b70069c52e907a59ba0ddbc37d9c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_e5c0b70069c52e907a59ba0ddbc37d9c"}, "created_at": 1723584322.951284, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_e5c0b70069c52e907a59ba0ddbc37d9c\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e5c0b70069c52e907a59ba0ddbc37d9c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not exchange_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "exchange_fees", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "exchange_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_pnl_base_sepolia_ts.74b2ae0437": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_pnl_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_pnl_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_pnl_base_sepolia_ts.74b2ae0437", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_pnl_base_sepolia_ts"], "alias": "not_null_fct_perp_pnl_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9553103, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_pnl_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_pnl_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_pnl_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_pnl_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_perp_pnl_base_sepolia", "attached_node": "model.synthetix.fct_perp_pnl_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_pnl_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_pnl_base_sepolia_market_id.f6d4268d28": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_pnl_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_pnl_base_sepolia_market_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_pnl_base_sepolia_market_id.f6d4268d28", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_pnl_base_sepolia_market_id"], "alias": "not_null_fct_perp_pnl_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9571183, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_pnl_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_pnl_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_pnl_base_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_pnl_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_pnl_base_sepolia", "attached_node": "model.synthetix.fct_perp_pnl_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_pnl_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_base_sepolia_market_id__True__0.2546d9a255": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_pnl_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_91effbb5ac329749a28fdc3e2c6a851d.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_base_sepolia_market_id__True__0.2546d9a255", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_pnl_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_91effbb5ac329749a28fdc3e2c6a851d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_91effbb5ac329749a28fdc3e2c6a851d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_91effbb5ac329749a28fdc3e2c6a851d"}, "created_at": 1723584322.9587343, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_91effbb5ac329749a28fdc3e2c6a851d\") }}", "language": "sql", "refs": [{"name": "fct_perp_pnl_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_pnl_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_91effbb5ac329749a28fdc3e2c6a851d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_pnl_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_pnl_base_sepolia", "attached_node": "model.synthetix.fct_perp_pnl_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_pnl_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_orders_base_sepolia_id.8dca618afe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_sepolia_id.8dca618afe", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_orders_base_sepolia_id"], "alias": "not_null_fct_perp_orders_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.962897, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_orders_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_orders_base_sepolia", "attached_node": "model.synthetix.fct_perp_orders_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_orders_base_sepolia_id.55dad680ba": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_orders_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_orders_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_orders_base_sepolia_id.55dad680ba", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "unique_fct_perp_orders_base_sepolia_id"], "alias": "unique_fct_perp_orders_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.964552, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_orders_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_orders_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_orders_base_sepolia", "attached_node": "model.synthetix.fct_perp_orders_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_base_sepolia_ts.acaae19ba7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_sepolia_ts.acaae19ba7", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_orders_base_sepolia_ts"], "alias": "not_null_fct_perp_orders_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9661593, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_orders_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_perp_orders_base_sepolia", "attached_node": "model.synthetix.fct_perp_orders_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_base_sepolia_block_number.46d5d3c316": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_sepolia_block_number.46d5d3c316", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_orders_base_sepolia_block_number"], "alias": "not_null_fct_perp_orders_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9678092, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_orders_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_perp_orders_base_sepolia", "attached_node": "model.synthetix.fct_perp_orders_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_base_sepolia_transaction_hash.650c93c367": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_sepolia_transaction_hash.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_sepolia_transaction_hash.650c93c367", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_orders_base_sepolia_transaction_hash"], "alias": "not_null_fct_perp_orders_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.969422, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_orders_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_orders_base_sepolia", "attached_node": "model.synthetix.fct_perp_orders_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_base_sepolia_contract.17d50e01a2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_sepolia_contract.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_sepolia_contract.17d50e01a2", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_orders_base_sepolia_contract"], "alias": "not_null_fct_perp_orders_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9711235, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_orders_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.fct_perp_orders_base_sepolia", "attached_node": "model.synthetix.fct_perp_orders_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_base_sepolia_market_id.9c18ced1ce": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_sepolia_market_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_sepolia_market_id.9c18ced1ce", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_orders_base_sepolia_market_id"], "alias": "not_null_fct_perp_orders_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9727323, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_orders_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_orders_base_sepolia", "attached_node": "model.synthetix.fct_perp_orders_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_base_sepolia_market_id__True__0.fe527d9b61": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_orders_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_8f13032e2e92049a5f6a34cc0ae08445.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_base_sepolia_market_id__True__0.fe527d9b61", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_orders_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_8f13032e2e92049a5f6a34cc0ae08445", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_8f13032e2e92049a5f6a34cc0ae08445", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_8f13032e2e92049a5f6a34cc0ae08445"}, "created_at": 1723584322.9743452, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_8f13032e2e92049a5f6a34cc0ae08445\") }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_8f13032e2e92049a5f6a34cc0ae08445.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_orders_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_orders_base_sepolia", "attached_node": "model.synthetix.fct_perp_orders_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_orders_base_sepolia_market_symbol.ccf5837d32": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_sepolia_market_symbol.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_sepolia_market_symbol.ccf5837d32", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_orders_base_sepolia_market_symbol"], "alias": "not_null_fct_perp_orders_base_sepolia_market_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9785848, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_orders_base_sepolia\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_perp_orders_base_sepolia", "attached_node": "model.synthetix.fct_perp_orders_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_base_sepolia_account_id.75a8413527": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_sepolia_account_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_sepolia_account_id.75a8413527", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_orders_base_sepolia_account_id"], "alias": "not_null_fct_perp_orders_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9802337, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_orders_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_orders_base_sepolia", "attached_node": "model.synthetix.fct_perp_orders_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_markets_base_sepolia_id.908ad69766": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_base_sepolia_id.908ad69766", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_markets_base_sepolia_id"], "alias": "not_null_fct_perp_markets_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9818325, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_markets_base_sepolia", "attached_node": "model.synthetix.fct_perp_markets_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_markets_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_base_sepolia_id__True__0.8545400fda": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_markets_base_sepolia_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_ae99b6e2247a60ca23f0d205365d0549.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_base_sepolia_id__True__0.8545400fda", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_markets_base_sepolia_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_ae99b6e2247a60ca23f0d205365d0549", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_ae99b6e2247a60ca23f0d205365d0549", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_ae99b6e2247a60ca23f0d205365d0549"}, "created_at": 1723584322.9834416, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_ae99b6e2247a60ca23f0d205365d0549\") }}", "language": "sql", "refs": [{"name": "fct_perp_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_ae99b6e2247a60ca23f0d205365d0549.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_markets_base_sepolia", "attached_node": "model.synthetix.fct_perp_markets_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_markets_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_markets_base_sepolia_created_ts.ec1571d5b3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_base_sepolia_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_base_sepolia_created_ts.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_base_sepolia_created_ts.ec1571d5b3", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_markets_base_sepolia_created_ts"], "alias": "not_null_fct_perp_markets_base_sepolia_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9876003, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_perp_markets_base_sepolia", "attached_node": "model.synthetix.fct_perp_markets_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_perp_markets_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_markets_base_sepolia_block_number.5b8bc4dbc4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_base_sepolia_block_number.5b8bc4dbc4", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_markets_base_sepolia_block_number"], "alias": "not_null_fct_perp_markets_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9892247, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_perp_markets_base_sepolia", "attached_node": "model.synthetix.fct_perp_markets_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_markets_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_markets_base_sepolia_market_symbol.e4e36d90ae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_base_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_base_sepolia_market_symbol.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_base_sepolia_market_symbol.e4e36d90ae", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_markets_base_sepolia_market_symbol"], "alias": "not_null_fct_perp_markets_base_sepolia_market_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9909475, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_perp_markets_base_sepolia", "attached_node": "model.synthetix.fct_perp_markets_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_markets_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_markets_base_sepolia_market_name.47a0ccb5b2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_base_sepolia_market_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_base_sepolia_market_name.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_base_sepolia_market_name.47a0ccb5b2", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_markets_base_sepolia_market_name"], "alias": "not_null_fct_perp_markets_base_sepolia_market_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9925697, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_market_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_name\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\"\nwhere market_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_name", "file_key_name": "models.fct_perp_markets_base_sepolia", "attached_node": "model.synthetix.fct_perp_markets_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_name", "model": "{{ get_where_subquery(ref('fct_perp_markets_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_id.5597cbd783": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_id.5597cbd783", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_id"], "alias": "not_null_fct_perp_market_history_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9941752, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_market_history_base_sepolia_id.a6cd45bc6b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_market_history_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_market_history_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_market_history_base_sepolia_id.a6cd45bc6b", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "unique_fct_perp_market_history_base_sepolia_id"], "alias": "unique_fct_perp_market_history_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.995801, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_market_history_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_ts.f38b043e70": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_ts.f38b043e70", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_ts"], "alias": "not_null_fct_perp_market_history_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.997458, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_block_number.2243d56672": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_block_number.2243d56672", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_block_number"], "alias": "not_null_fct_perp_market_history_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9996667, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_transaction_hash.692634d15d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_transaction_hash.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_transaction_hash.692634d15d", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_transaction_hash"], "alias": "not_null_fct_perp_market_history_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0012734, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_id.bdbb4acce1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_market_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_id.bdbb4acce1", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_market_id"], "alias": "not_null_fct_perp_market_history_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0028503, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_market_id__True__0.ee983a3e48": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_c20e45a1dbacba5e3091f475187d360f.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_market_id__True__0.ee983a3e48", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_c20e45a1dbacba5e3091f475187d360f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_c20e45a1dbacba5e3091f475187d360f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_c20e45a1dbacba5e3091f475187d360f"}, "created_at": 1723584323.0045125, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_c20e45a1dbacba5e3091f475187d360f\") }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_c20e45a1dbacba5e3091f475187d360f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_symbol.a5c87dfbbc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_market_symbol.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_symbol.a5c87dfbbc", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_market_symbol"], "alias": "not_null_fct_perp_market_history_base_sepolia_market_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0086706, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_price.701866f2d6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_price.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_price.701866f2d6", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_price"], "alias": "not_null_fct_perp_market_history_base_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0102732, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_skew.2239f848ce": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_skew", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_skew.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_skew.2239f848ce", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_skew"], "alias": "not_null_fct_perp_market_history_base_sepolia_skew", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0118718, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_skew.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect skew\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere skew is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "skew", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "skew", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size.4ba39d1f97": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_size.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size.4ba39d1f97", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_size"], "alias": "not_null_fct_perp_market_history_base_sepolia_size", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0136087, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect size\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "size", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "size", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size_delta.a047554669": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_size_delta", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_size_delta.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size_delta.a047554669", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_size_delta"], "alias": "not_null_fct_perp_market_history_base_sepolia_size_delta", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0152352, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_size_delta.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect size_delta\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere size_delta is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "size_delta", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "size_delta", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_rate.8b0c11dd33": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_funding_rate", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_funding_rate.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_rate.8b0c11dd33", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_funding_rate"], "alias": "not_null_fct_perp_market_history_base_sepolia_funding_rate", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.016845, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_funding_rate.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect funding_rate\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere funding_rate is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "funding_rate", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "funding_rate", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_velocity.e94823ecab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_funding_velocity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_funding_velocity.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_velocity.e94823ecab", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_funding_velocity"], "alias": "not_null_fct_perp_market_history_base_sepolia_funding_velocity", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0184445, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_funding_velocity.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect funding_velocity\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere funding_velocity is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "funding_velocity", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "funding_velocity", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_interest_rate.7281d4e302": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_interest_rate", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_interest_rate.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_interest_rate.7281d4e302", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_interest_rate"], "alias": "not_null_fct_perp_market_history_base_sepolia_interest_rate", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0201895, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_interest_rate.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect interest_rate\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere interest_rate is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest_rate", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "interest_rate", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_rate_apr.d67d832c1f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_funding_rate_apr", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_funding_rate_apr.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_rate_apr.d67d832c1f", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_funding_rate_apr"], "alias": "not_null_fct_perp_market_history_base_sepolia_funding_rate_apr", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0218349, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_funding_rate_apr.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect funding_rate_apr\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere funding_rate_apr is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "funding_rate_apr", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "funding_rate_apr", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_long_rate_apr.12346bb56d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_long_rate_apr", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_long_rate_apr.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_long_rate_apr.12346bb56d", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_long_rate_apr"], "alias": "not_null_fct_perp_market_history_base_sepolia_long_rate_apr", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0234733, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_long_rate_apr.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect long_rate_apr\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere long_rate_apr is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "long_rate_apr", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "long_rate_apr", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_short_rate_apr.8f7be1f404": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_short_rate_apr", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_short_rate_apr.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_short_rate_apr.8f7be1f404", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_short_rate_apr"], "alias": "not_null_fct_perp_market_history_base_sepolia_short_rate_apr", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0251296, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_short_rate_apr.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect short_rate_apr\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere short_rate_apr is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "short_rate_apr", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "short_rate_apr", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size_usd.38c4eef62e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_size_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_size_usd.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size_usd.38c4eef62e", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_size_usd"], "alias": "not_null_fct_perp_market_history_base_sepolia_size_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0267107, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_size_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect size_usd\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere size_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "size_usd", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "size_usd", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_id.79b565b3e1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_id.79b565b3e1", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_liq_position_base_sepolia_id"], "alias": "not_null_fct_perp_liq_position_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0284646, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_liq_position_base_sepolia_id.115ce32bec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_liq_position_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_liq_position_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_liq_position_base_sepolia_id.115ce32bec", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "unique_fct_perp_liq_position_base_sepolia_id"], "alias": "unique_fct_perp_liq_position_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0300813, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_liq_position_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_ts.57135ae312": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_ts.57135ae312", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_liq_position_base_sepolia_ts"], "alias": "not_null_fct_perp_liq_position_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0317104, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_block_number.1e9c90b546": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_block_number.1e9c90b546", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_liq_position_base_sepolia_block_number"], "alias": "not_null_fct_perp_liq_position_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0333276, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_transaction_hash.a0777a2fcc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_sepolia_transaction_hash.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_transaction_hash.a0777a2fcc", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_liq_position_base_sepolia_transaction_hash"], "alias": "not_null_fct_perp_liq_position_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0350258, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_account_id.8cf46dc9c7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_sepolia_account_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_account_id.8cf46dc9c7", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_liq_position_base_sepolia_account_id"], "alias": "not_null_fct_perp_liq_position_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.036651, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_market_id.781f0844d8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_sepolia_market_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_market_id.781f0844d8", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_liq_position_base_sepolia_market_id"], "alias": "not_null_fct_perp_liq_position_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0382314, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_market_id__True__0.def98e4452": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_e8d55960e718e4aa0a40f57add520ab0.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_market_id__True__0.def98e4452", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_e8d55960e718e4aa0a40f57add520ab0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_e8d55960e718e4aa0a40f57add520ab0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_e8d55960e718e4aa0a40f57add520ab0"}, "created_at": 1723584323.039856, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_e8d55960e718e4aa0a40f57add520ab0\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e8d55960e718e4aa0a40f57add520ab0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_market_symbol.f750183220": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_sepolia_market_symbol.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_market_symbol.f750183220", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_liq_position_base_sepolia_market_symbol"], "alias": "not_null_fct_perp_liq_position_base_sepolia_market_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.044198, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_amount_liquidated.a06e8cfcb4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_sepolia_amount_liquidated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_sepolia_amount_liquidated.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_amount_liquidated.a06e8cfcb4", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_liq_position_base_sepolia_amount_liquidated"], "alias": "not_null_fct_perp_liq_position_base_sepolia_amount_liquidated", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0458348, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_amount_liquidated.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_liquidated\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\nwhere amount_liquidated is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_liquidated", "file_key_name": "models.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_liquidated", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_amount_liquidated__True__0.2ed4eec011": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_amount_liquidated__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_09db1a699d45bbd0e363887112ab95ad.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_amount_liquidated__True__0.2ed4eec011", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_amount_liquidated__True__0"], "alias": "dbt_utils_accepted_range_fct_p_09db1a699d45bbd0e363887112ab95ad", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_09db1a699d45bbd0e363887112ab95ad", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_09db1a699d45bbd0e363887112ab95ad"}, "created_at": 1723584323.0474799, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_09db1a699d45bbd0e363887112ab95ad\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_09db1a699d45bbd0e363887112ab95ad.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_liquidated >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_liquidated", "file_key_name": "models.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_liquidated", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_position_size.75bf8c09a0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_sepolia_position_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_sepolia_position_size.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_position_size.75bf8c09a0", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_liq_position_base_sepolia_position_size"], "alias": "not_null_fct_perp_liq_position_base_sepolia_position_size", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0517662, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_position_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect position_size\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\nwhere position_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "position_size", "file_key_name": "models.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "position_size", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_position_size__True__0.49ac413695": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_position_size__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_55b02cf38d5019d5afdf83f46b6bbec4.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_position_size__True__0.49ac413695", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_position_size__True__0"], "alias": "dbt_utils_accepted_range_fct_p_55b02cf38d5019d5afdf83f46b6bbec4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_55b02cf38d5019d5afdf83f46b6bbec4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_55b02cf38d5019d5afdf83f46b6bbec4"}, "created_at": 1723584323.0534225, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_55b02cf38d5019d5afdf83f46b6bbec4\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_55b02cf38d5019d5afdf83f46b6bbec4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not position_size >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "position_size", "file_key_name": "models.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "position_size", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_account_id.f56cf61194": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_account_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_account_base_sepolia_account_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_account_id.f56cf61194", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_liq_account_base_sepolia_account_id"], "alias": "not_null_fct_perp_liq_account_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0576665, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_account_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_account_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_account_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_liq_account_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_account_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_liq_account_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_ts.c34644894f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_account_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_account_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_ts.c34644894f", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_liq_account_base_sepolia_ts"], "alias": "not_null_fct_perp_liq_account_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0593092, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_account_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_account_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_account_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_perp_liq_account_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_account_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_liq_account_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_total_reward.24d48c7864": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_account_base_sepolia_total_reward", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_account_base_sepolia_total_reward.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_total_reward.24d48c7864", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_liq_account_base_sepolia_total_reward"], "alias": "not_null_fct_perp_liq_account_base_sepolia_total_reward", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.060918, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_account_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_account_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_base_sepolia_total_reward.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect total_reward\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_account_base_sepolia\"\nwhere total_reward is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_reward", "file_key_name": "models.fct_perp_liq_account_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_account_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "total_reward", "model": "{{ get_where_subquery(ref('fct_perp_liq_account_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_base_sepolia_total_reward__True__0.42888d54ae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_liq_account_base_sepolia_total_reward__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_1f9510fc5bdfec529dbea80dbaae1676.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_base_sepolia_total_reward__True__0.42888d54ae", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_liq_account_base_sepolia_total_reward__True__0"], "alias": "dbt_utils_accepted_range_fct_p_1f9510fc5bdfec529dbea80dbaae1676", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_1f9510fc5bdfec529dbea80dbaae1676", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_1f9510fc5bdfec529dbea80dbaae1676"}, "created_at": 1723584323.0626678, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_1f9510fc5bdfec529dbea80dbaae1676\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_account_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_account_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_1f9510fc5bdfec529dbea80dbaae1676.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_account_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not total_reward >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_reward", "file_key_name": "models.fct_perp_liq_account_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_account_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "total_reward", "model": "{{ get_where_subquery(ref('fct_perp_liq_account_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_accounts_base_sepolia_id.e4031edaa1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_accounts_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_accounts_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_accounts_base_sepolia_id.e4031edaa1", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_accounts_base_sepolia_id"], "alias": "not_null_fct_perp_accounts_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0667422, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_accounts_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_accounts_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_accounts_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_accounts_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_accounts_base_sepolia", "attached_node": "model.synthetix.fct_perp_accounts_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_accounts_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_accounts_base_sepolia_id.1ca885b5ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_accounts_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_accounts_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_accounts_base_sepolia_id.1ca885b5ec", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "unique_fct_perp_accounts_base_sepolia_id"], "alias": "unique_fct_perp_accounts_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.068403, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_accounts_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_accounts_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_accounts_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_accounts_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_accounts_base_sepolia", "attached_node": "model.synthetix.fct_perp_accounts_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_accounts_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_accounts_base_sepolia_created_ts.00ac8e7106": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_accounts_base_sepolia_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_accounts_base_sepolia_created_ts.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_accounts_base_sepolia_created_ts.00ac8e7106", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_accounts_base_sepolia_created_ts"], "alias": "not_null_fct_perp_accounts_base_sepolia_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0702055, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_accounts_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_accounts_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_accounts_base_sepolia_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_accounts_base_sepolia\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_perp_accounts_base_sepolia", "attached_node": "model.synthetix.fct_perp_accounts_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_perp_accounts_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_accounts_base_sepolia_owner.578268eb9a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_accounts_base_sepolia_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_accounts_base_sepolia_owner.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_accounts_base_sepolia_owner.578268eb9a", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_accounts_base_sepolia_owner"], "alias": "not_null_fct_perp_accounts_base_sepolia_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0718331, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_accounts_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_accounts_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_accounts_base_sepolia_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_accounts_base_sepolia\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.fct_perp_accounts_base_sepolia", "attached_node": "model.synthetix.fct_perp_accounts_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('fct_perp_accounts_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_buyback_daily_base_sepolia_ts.0b8a36c44c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_daily_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_daily_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_ts.0b8a36c44c", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_daily_base_sepolia_ts"], "alias": "not_null_fct_buyback_daily_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.077375, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_daily_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_buyback_daily_base_sepolia", "attached_node": "model.synthetix.fct_buyback_daily_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_buyback_daily_base_sepolia_snx_amount.113325e30a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_daily_base_sepolia_snx_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_daily_base_sepolia_snx_amount.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_snx_amount.113325e30a", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_daily_base_sepolia_snx_amount"], "alias": "not_null_fct_buyback_daily_base_sepolia_snx_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0790365, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_snx_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect snx_amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_daily_base_sepolia\"\nwhere snx_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx_amount", "file_key_name": "models.fct_buyback_daily_base_sepolia", "attached_node": "model.synthetix.fct_buyback_daily_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_snx_amount__True__0.378a6852a6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_snx_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_1bf638a8eb91a53680354c7e48a8b077.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_snx_amount__True__0.378a6852a6", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_snx_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_1bf638a8eb91a53680354c7e48a8b077", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_1bf638a8eb91a53680354c7e48a8b077", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_b_1bf638a8eb91a53680354c7e48a8b077"}, "created_at": 1723584323.0809226, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_1bf638a8eb91a53680354c7e48a8b077\") }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_1bf638a8eb91a53680354c7e48a8b077.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_buyback_daily_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not snx_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx_amount", "file_key_name": "models.fct_buyback_daily_base_sepolia", "attached_node": "model.synthetix.fct_buyback_daily_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_daily_base_sepolia_usd_amount.21bc5d392b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_daily_base_sepolia_usd_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_daily_base_sepolia_usd_amount.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_usd_amount.21bc5d392b", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_daily_base_sepolia_usd_amount"], "alias": "not_null_fct_buyback_daily_base_sepolia_usd_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0851, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_usd_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect usd_amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_daily_base_sepolia\"\nwhere usd_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd_amount", "file_key_name": "models.fct_buyback_daily_base_sepolia", "attached_node": "model.synthetix.fct_buyback_daily_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_usd_amount__True__0.e3dd96895e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_usd_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_e29d9b49f7316dcccc24e427120330f9.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_usd_amount__True__0.e3dd96895e", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_usd_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_e29d9b49f7316dcccc24e427120330f9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_e29d9b49f7316dcccc24e427120330f9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_b_e29d9b49f7316dcccc24e427120330f9"}, "created_at": 1723584323.0868068, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_e29d9b49f7316dcccc24e427120330f9\") }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_e29d9b49f7316dcccc24e427120330f9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_buyback_daily_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not usd_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd_amount", "file_key_name": "models.fct_buyback_daily_base_sepolia", "attached_node": "model.synthetix.fct_buyback_daily_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount.c44f071e87": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount.c44f071e87", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount"], "alias": "not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0916417, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_snx_amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_daily_base_sepolia\"\nwhere cumulative_snx_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_snx_amount", "file_key_name": "models.fct_buyback_daily_base_sepolia", "attached_node": "model.synthetix.fct_buyback_daily_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_snx_amount__True__0.ab215eff09": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_snx_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_4d7ae50362ef8b4d8e7af3a690fb9dba.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_snx_amount__True__0.ab215eff09", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_snx_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_4d7ae50362ef8b4d8e7af3a690fb9dba", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_4d7ae50362ef8b4d8e7af3a690fb9dba", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_b_4d7ae50362ef8b4d8e7af3a690fb9dba"}, "created_at": 1723584323.0932524, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_4d7ae50362ef8b4d8e7af3a690fb9dba\") }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_4d7ae50362ef8b4d8e7af3a690fb9dba.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_buyback_daily_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not cumulative_snx_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_snx_amount", "file_key_name": "models.fct_buyback_daily_base_sepolia", "attached_node": "model.synthetix.fct_buyback_daily_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "cumulative_snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount.f40974a9be": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount.f40974a9be", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount"], "alias": "not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.097439, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_usd_amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_daily_base_sepolia\"\nwhere cumulative_usd_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_usd_amount", "file_key_name": "models.fct_buyback_daily_base_sepolia", "attached_node": "model.synthetix.fct_buyback_daily_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_usd_amount__True__0.f5fad30aa3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_usd_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_19d9635b42d83035fb764a30eb745906.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_usd_amount__True__0.f5fad30aa3", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_usd_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_19d9635b42d83035fb764a30eb745906", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_19d9635b42d83035fb764a30eb745906", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_b_19d9635b42d83035fb764a30eb745906"}, "created_at": 1723584323.0991335, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_19d9635b42d83035fb764a30eb745906\") }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_19d9635b42d83035fb764a30eb745906.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_buyback_daily_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not cumulative_usd_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_usd_amount", "file_key_name": "models.fct_buyback_daily_base_sepolia", "attached_node": "model.synthetix.fct_buyback_daily_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "cumulative_usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_ts.39dec90aa4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_hourly_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_hourly_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_ts.39dec90aa4", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_hourly_base_sepolia_ts"], "alias": "not_null_fct_buyback_hourly_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1033337, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_hourly_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_buyback_hourly_base_sepolia", "attached_node": "model.synthetix.fct_buyback_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_snx_amount.a856b40de9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_hourly_base_sepolia_snx_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_hourly_base_sepolia_snx_amount.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_snx_amount.a856b40de9", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_hourly_base_sepolia_snx_amount"], "alias": "not_null_fct_buyback_hourly_base_sepolia_snx_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1049879, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_snx_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect snx_amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_hourly_base_sepolia\"\nwhere snx_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx_amount", "file_key_name": "models.fct_buyback_hourly_base_sepolia", "attached_node": "model.synthetix.fct_buyback_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_snx_amount__True__0.40ea0d5e88": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_snx_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_8e018fe7304f85f2f4c41ebb3c45b989.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_snx_amount__True__0.40ea0d5e88", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_snx_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_8e018fe7304f85f2f4c41ebb3c45b989", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_8e018fe7304f85f2f4c41ebb3c45b989", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_b_8e018fe7304f85f2f4c41ebb3c45b989"}, "created_at": 1723584323.1066155, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_8e018fe7304f85f2f4c41ebb3c45b989\") }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_8e018fe7304f85f2f4c41ebb3c45b989.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_buyback_hourly_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not snx_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx_amount", "file_key_name": "models.fct_buyback_hourly_base_sepolia", "attached_node": "model.synthetix.fct_buyback_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_usd_amount.4f119280f7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_hourly_base_sepolia_usd_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_hourly_base_sepolia_usd_amount.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_usd_amount.4f119280f7", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_hourly_base_sepolia_usd_amount"], "alias": "not_null_fct_buyback_hourly_base_sepolia_usd_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1107662, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_usd_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect usd_amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_hourly_base_sepolia\"\nwhere usd_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd_amount", "file_key_name": "models.fct_buyback_hourly_base_sepolia", "attached_node": "model.synthetix.fct_buyback_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_usd_amount__True__0.89592b2e7d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_usd_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_a4e81546e4ccc71932af9661f5571a01.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_usd_amount__True__0.89592b2e7d", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_usd_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_a4e81546e4ccc71932af9661f5571a01", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_a4e81546e4ccc71932af9661f5571a01", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_b_a4e81546e4ccc71932af9661f5571a01"}, "created_at": 1723584323.1124244, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_a4e81546e4ccc71932af9661f5571a01\") }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_a4e81546e4ccc71932af9661f5571a01.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_buyback_hourly_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not usd_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd_amount", "file_key_name": "models.fct_buyback_hourly_base_sepolia", "attached_node": "model.synthetix.fct_buyback_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount.806ce65de6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount.806ce65de6", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount"], "alias": "not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1166346, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_snx_amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_hourly_base_sepolia\"\nwhere cumulative_snx_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_snx_amount", "file_key_name": "models.fct_buyback_hourly_base_sepolia", "attached_node": "model.synthetix.fct_buyback_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_snx_amount__True__0.6d52afd421": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_snx_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_2536425d340752a408f11af4d6e17df5.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_snx_amount__True__0.6d52afd421", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_snx_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_2536425d340752a408f11af4d6e17df5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_2536425d340752a408f11af4d6e17df5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_b_2536425d340752a408f11af4d6e17df5"}, "created_at": 1723584323.1182654, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_2536425d340752a408f11af4d6e17df5\") }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_2536425d340752a408f11af4d6e17df5.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_buyback_hourly_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not cumulative_snx_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_snx_amount", "file_key_name": "models.fct_buyback_hourly_base_sepolia", "attached_node": "model.synthetix.fct_buyback_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "cumulative_snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount.6347fe374e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount.6347fe374e", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount"], "alias": "not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.12242, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_usd_amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_hourly_base_sepolia\"\nwhere cumulative_usd_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_usd_amount", "file_key_name": "models.fct_buyback_hourly_base_sepolia", "attached_node": "model.synthetix.fct_buyback_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_usd_amount__True__0.e3d3aff3f1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_usd_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_4d682ef0bf2205fae0715c85cdea2cfa.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_usd_amount__True__0.e3d3aff3f1", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_usd_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_4d682ef0bf2205fae0715c85cdea2cfa", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_4d682ef0bf2205fae0715c85cdea2cfa", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_b_4d682ef0bf2205fae0715c85cdea2cfa"}, "created_at": 1723584323.124066, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_4d682ef0bf2205fae0715c85cdea2cfa\") }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_4d682ef0bf2205fae0715c85cdea2cfa.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_buyback_hourly_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not cumulative_usd_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_usd_amount", "file_key_name": "models.fct_buyback_hourly_base_sepolia", "attached_node": "model.synthetix.fct_buyback_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "cumulative_usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_base_sepolia_id.03ec6b8e04": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_base_sepolia_id.03ec6b8e04", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_base_sepolia_id"], "alias": "not_null_fct_buyback_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.128253, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_buyback_base_sepolia", "attached_node": "model.synthetix.fct_buyback_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_buyback_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_buyback_base_sepolia_id.ce5fc96649": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_buyback_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_buyback_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.unique_fct_buyback_base_sepolia_id.ce5fc96649", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "unique_fct_buyback_base_sepolia_id"], "alias": "unique_fct_buyback_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1298723, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/unique_fct_buyback_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_buyback_base_sepolia", "attached_node": "model.synthetix.fct_buyback_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_buyback_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_buyback_base_sepolia_ts.f6314da709": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_base_sepolia_ts.f6314da709", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_base_sepolia_ts"], "alias": "not_null_fct_buyback_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1314976, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_buyback_base_sepolia", "attached_node": "model.synthetix.fct_buyback_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_buyback_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_buyback_base_sepolia_buyer.e7ec385108": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_base_sepolia_buyer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_base_sepolia_buyer.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_base_sepolia_buyer.e7ec385108", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_base_sepolia_buyer"], "alias": "not_null_fct_buyback_base_sepolia_buyer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1330888, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_buyer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect buyer\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\nwhere buyer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "buyer", "file_key_name": "models.fct_buyback_base_sepolia", "attached_node": "model.synthetix.fct_buyback_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "buyer", "model": "{{ get_where_subquery(ref('fct_buyback_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_buyback_base_sepolia_snx.39b0dcead2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_base_sepolia_snx", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_base_sepolia_snx.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_base_sepolia_snx.39b0dcead2", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_base_sepolia_snx"], "alias": "not_null_fct_buyback_base_sepolia_snx", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.134778, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_snx.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect snx\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\nwhere snx is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx", "file_key_name": "models.fct_buyback_base_sepolia", "attached_node": "model.synthetix.fct_buyback_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "snx", "model": "{{ get_where_subquery(ref('fct_buyback_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0.21bd52e738": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0.21bd52e738", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0"], "alias": "dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.13641, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not snx >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx", "file_key_name": "models.fct_buyback_base_sepolia", "attached_node": "model.synthetix.fct_buyback_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "snx", "model": "{{ get_where_subquery(ref('fct_buyback_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_base_sepolia_usd.427a3c3ca1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_base_sepolia_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_base_sepolia_usd.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_base_sepolia_usd.427a3c3ca1", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_base_sepolia_usd"], "alias": "not_null_fct_buyback_base_sepolia_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1403737, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect usd\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\nwhere usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd", "file_key_name": "models.fct_buyback_base_sepolia", "attached_node": "model.synthetix.fct_buyback_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "usd", "model": "{{ get_where_subquery(ref('fct_buyback_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0.7426b61d1a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0.7426b61d1a", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1420062, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd", "file_key_name": "models.fct_buyback_base_sepolia", "attached_node": "model.synthetix.fct_buyback_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "usd", "model": "{{ get_where_subquery(ref('fct_buyback_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_base_sepolia_snx_price.361a60f2b3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_base_sepolia_snx_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_base_sepolia_snx_price.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_base_sepolia_snx_price.361a60f2b3", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_base_sepolia_snx_price"], "alias": "not_null_fct_buyback_base_sepolia_snx_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.145805, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_snx_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect snx_price\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\nwhere snx_price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx_price", "file_key_name": "models.fct_buyback_base_sepolia", "attached_node": "model.synthetix.fct_buyback_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "snx_price", "model": "{{ get_where_subquery(ref('fct_buyback_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_snx_price__True__0.fedfb306c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_base_sepolia_snx_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_f27268fa82fe2198c6837b55019f56b4.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_snx_price__True__0.fedfb306c2", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "dbt_utils_accepted_range_fct_buyback_base_sepolia_snx_price__True__0"], "alias": "dbt_utils_accepted_range_fct_b_f27268fa82fe2198c6837b55019f56b4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_f27268fa82fe2198c6837b55019f56b4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_b_f27268fa82fe2198c6837b55019f56b4"}, "created_at": 1723584323.1475873, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_f27268fa82fe2198c6837b55019f56b4\") }}", "language": "sql", "refs": [{"name": "fct_buyback_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_f27268fa82fe2198c6837b55019f56b4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not snx_price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx_price", "file_key_name": "models.fct_buyback_base_sepolia", "attached_node": "model.synthetix.fct_buyback_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "snx_price", "model": "{{ get_where_subquery(ref('fct_buyback_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_base_sepolia_ts.3bc8aeff42": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_ts.3bc8aeff42", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_base_sepolia_ts"], "alias": "not_null_fct_pool_rewards_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1697316, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_base_sepolia_pool_id.8de57769b7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_base_sepolia_pool_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_pool_id.8de57769b7", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_base_sepolia_pool_id"], "alias": "not_null_fct_pool_rewards_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1714003, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_pool_id__True__0.bb2309b03e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_4a01facac1fe697a42756d2bb6a96a80.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_pool_id__True__0.bb2309b03e", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_4a01facac1fe697a42756d2bb6a96a80", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_4a01facac1fe697a42756d2bb6a96a80", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_4a01facac1fe697a42756d2bb6a96a80"}, "created_at": 1723584323.1730256, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_4a01facac1fe697a42756d2bb6a96a80\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_4a01facac1fe697a42756d2bb6a96a80.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_base_sepolia_collateral_type.fcdb4bc8d4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_base_sepolia_collateral_type.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_collateral_type.fcdb4bc8d4", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_base_sepolia_collateral_type"], "alias": "not_null_fct_pool_rewards_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.177176, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_base_sepolia_distributor.44cab292b1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_base_sepolia_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_base_sepolia_distributor.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_distributor.44cab292b1", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_base_sepolia_distributor"], "alias": "not_null_fct_pool_rewards_base_sepolia_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.178776, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_base_sepolia\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.fct_pool_rewards_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_base_sepolia_token_symbol.7f69f8767a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_base_sepolia_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_base_sepolia_token_symbol.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_token_symbol.7f69f8767a", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_base_sepolia_token_symbol"], "alias": "not_null_fct_pool_rewards_base_sepolia_token_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1805522, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_base_sepolia\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "models.fct_pool_rewards_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_base_sepolia_amount.e8cf1e51d5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_base_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_base_sepolia_amount.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_amount.e8cf1e51d5", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_base_sepolia_amount"], "alias": "not_null_fct_pool_rewards_base_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1821387, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_base_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_rewards_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_amount__True__0.da53fcc671": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_34f2d8d63697f2af65b49421de24fb19.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_amount__True__0.da53fcc671", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_p_34f2d8d63697f2af65b49421de24fb19", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_34f2d8d63697f2af65b49421de24fb19", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_34f2d8d63697f2af65b49421de24fb19"}, "created_at": 1723584323.1837566, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_34f2d8d63697f2af65b49421de24fb19\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_34f2d8d63697f2af65b49421de24fb19.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_rewards_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_ts.4b517eadb1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_ts.4b517eadb1", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_account_delegation_base_sepolia_ts"], "alias": "not_null_fct_core_account_delegation_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.187919, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_delegation_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_account_delegation_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_account_delegation_base_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_account_id.71a1fd9dac": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_base_sepolia_account_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_account_id.71a1fd9dac", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_account_delegation_base_sepolia_account_id"], "alias": "not_null_fct_core_account_delegation_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1895504, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_delegation_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_account_delegation_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_core_account_delegation_base_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_pool_id.8eb393e4f4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_base_sepolia_pool_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_pool_id.8eb393e4f4", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_account_delegation_base_sepolia_pool_id"], "alias": "not_null_fct_core_account_delegation_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1912012, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_delegation_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_account_delegation_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_account_delegation_base_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_pool_id__True__0.508b8be78d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_016c75bfef05dcd2e6b902708f01c66a.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_pool_id__True__0.508b8be78d", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_016c75bfef05dcd2e6b902708f01c66a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_016c75bfef05dcd2e6b902708f01c66a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_016c75bfef05dcd2e6b902708f01c66a"}, "created_at": 1723584323.1928124, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_016c75bfef05dcd2e6b902708f01c66a\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_016c75bfef05dcd2e6b902708f01c66a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_core_account_delegation_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_account_delegation_base_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_collateral_type.dc085beb88": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_dele_935cbd39408bf4bfc27abac489c5b50b.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_collateral_type.dc085beb88", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_account_delegation_base_sepolia_collateral_type"], "alias": "not_null_fct_core_account_dele_935cbd39408bf4bfc27abac489c5b50b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_dele_935cbd39408bf4bfc27abac489c5b50b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_account_dele_935cbd39408bf4bfc27abac489c5b50b"}, "created_at": 1723584323.1969323, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_dele_935cbd39408bf4bfc27abac489c5b50b\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_dele_935cbd39408bf4bfc27abac489c5b50b.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_account_delegation_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_account_delegation_base_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_amount_delegated.07444b44f4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_base_sepolia_amount_delegated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_dele_f872622f2d82ba5e4bd6842ee7a190d4.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_amount_delegated.07444b44f4", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_account_delegation_base_sepolia_amount_delegated"], "alias": "not_null_fct_core_account_dele_f872622f2d82ba5e4bd6842ee7a190d4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_dele_f872622f2d82ba5e4bd6842ee7a190d4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_core_account_dele_f872622f2d82ba5e4bd6842ee7a190d4"}, "created_at": 1723584323.1985295, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_dele_f872622f2d82ba5e4bd6842ee7a190d4\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_dele_f872622f2d82ba5e4bd6842ee7a190d4.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_delegated\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_account_delegation_base_sepolia\"\nwhere amount_delegated is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delegated", "file_key_name": "models.fct_core_account_delegation_base_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_delegated", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_amount_delegated__True__0.2258d23e98": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_amount_delegated__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_007f67fb89b2b9c25bfcde64b9f35aa2.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_amount_delegated__True__0.2258d23e98", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_amount_delegated__True__0"], "alias": "dbt_utils_accepted_range_fct_c_007f67fb89b2b9c25bfcde64b9f35aa2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_007f67fb89b2b9c25bfcde64b9f35aa2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_007f67fb89b2b9c25bfcde64b9f35aa2"}, "created_at": 1723584323.2001433, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_007f67fb89b2b9c25bfcde64b9f35aa2\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_007f67fb89b2b9c25bfcde64b9f35aa2.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_core_account_delegation_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_delegated >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delegated", "file_key_name": "models.fct_core_account_delegation_base_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_delegated", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_ts.2cc1721326": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_ts.2cc1721326", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_ts"], "alias": "not_null_fct_core_apr_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2043073, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_pool_id.a2ea5cc601": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_pool_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_pool_id.a2ea5cc601", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_pool_id"], "alias": "not_null_fct_core_apr_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2059016, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_pool_id__True__0.dca944c591": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_c0327ae9615378fcb4c600c78772dcc7.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_pool_id__True__0.dca944c591", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_core_apr_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_c0327ae9615378fcb4c600c78772dcc7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_c0327ae9615378fcb4c600c78772dcc7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_c0327ae9615378fcb4c600c78772dcc7"}, "created_at": 1723584323.2076757, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_c0327ae9615378fcb4c600c78772dcc7\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_c0327ae9615378fcb4c600c78772dcc7.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_collateral_type.7a5590eb90": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_collateral_type.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_collateral_type.7a5590eb90", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_collateral_type"], "alias": "not_null_fct_core_apr_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2117345, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_collateral_value.6b7be2743f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_collateral_value.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_collateral_value.6b7be2743f", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_collateral_value"], "alias": "not_null_fct_core_apr_base_sepolia_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2133594, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_collateral_value__True__0.50d2b91f46": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_base_sepolia_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_7eb3383a5b609abc521a07fea9b7493e.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_collateral_value__True__0.50d2b91f46", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_core_apr_base_sepolia_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_fct_c_7eb3383a5b609abc521a07fea9b7493e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_7eb3383a5b609abc521a07fea9b7493e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_7eb3383a5b609abc521a07fea9b7493e"}, "created_at": 1723584323.2151701, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_7eb3383a5b609abc521a07fea9b7493e\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_7eb3383a5b609abc521a07fea9b7493e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_debt.fadc5bb67a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_debt.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_debt.fadc5bb67a", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_debt"], "alias": "not_null_fct_core_apr_base_sepolia_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2191951, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_issuance.2fcf5254d1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_hourly_issuance.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_issuance.2fcf5254d1", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_hourly_issuance"], "alias": "not_null_fct_core_apr_base_sepolia_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2209496, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_pnl.75c8c54189": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_hourly_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_hourly_pnl.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_pnl.75c8c54189", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_hourly_pnl"], "alias": "not_null_fct_core_apr_base_sepolia_hourly_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2226005, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere hourly_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_cumulative_pnl.ce3ab4e606": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_cumulative_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_cumulative_pnl.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_cumulative_pnl.ce3ab4e606", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_cumulative_pnl"], "alias": "not_null_fct_core_apr_base_sepolia_cumulative_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2241983, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_cumulative_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_pnl\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere cumulative_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_pnl", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_pnl", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_cumulative_issuance.5f3ec9bec1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_cumulative_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_cumulative_issuance.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_cumulative_issuance.5f3ec9bec1", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_cumulative_issuance"], "alias": "not_null_fct_core_apr_base_sepolia_cumulative_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2257705, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_cumulative_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_issuance\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere cumulative_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_issuance", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_issuance", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_rewards_usd.0b9d66ba19": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_rewards_usd.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_rewards_usd.0b9d66ba19", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_rewards_usd"], "alias": "not_null_fct_core_apr_base_sepolia_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.227389, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_rewards_usd__True__0.090c92559d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_base_sepolia_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_dbf4e014e5549121cfd1d46bf0be7100.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_rewards_usd__True__0.090c92559d", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_core_apr_base_sepolia_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_c_dbf4e014e5549121cfd1d46bf0be7100", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_dbf4e014e5549121cfd1d46bf0be7100", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_dbf4e014e5549121cfd1d46bf0be7100"}, "created_at": 1723584323.229092, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_dbf4e014e5549121cfd1d46bf0be7100\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_dbf4e014e5549121cfd1d46bf0be7100.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_pnl_pct.d827dc6b5f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_hourly_pnl_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_hourly_pnl_pct.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_pnl_pct.d827dc6b5f", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_hourly_pnl_pct"], "alias": "not_null_fct_core_apr_base_sepolia_hourly_pnl_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2331562, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_pnl_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl_pct\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere hourly_pnl_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_rewards_pct.adeb7db337": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_hourly_rewards_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_hourly_rewards_pct.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_rewards_pct.adeb7db337", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_hourly_rewards_pct"], "alias": "not_null_fct_core_apr_base_sepolia_hourly_rewards_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2349312, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_rewards_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_rewards_pct\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere hourly_rewards_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_hourly_rewards_pct__True__1__0.6c15e31d20": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_base_sepolia_hourly_rewards_pct__True__1__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_02f7f20bfaebdcfd70b89794605a8f32.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_hourly_rewards_pct__True__1__0.6c15e31d20", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_core_apr_base_sepolia_hourly_rewards_pct__True__1__0"], "alias": "dbt_utils_accepted_range_fct_c_02f7f20bfaebdcfd70b89794605a8f32", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_02f7f20bfaebdcfd70b89794605a8f32", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_02f7f20bfaebdcfd70b89794605a8f32"}, "created_at": 1723584323.2365794, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_02f7f20bfaebdcfd70b89794605a8f32\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_02f7f20bfaebdcfd70b89794605a8f32.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct >= 0\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "max_value": 1, "inclusive": true, "column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_24h.275116a918": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_apr_24h", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_apr_24h.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_24h.275116a918", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_apr_24h"], "alias": "not_null_fct_core_apr_base_sepolia_apr_24h", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.240584, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apr_24h.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_24h\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere apr_24h is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_24h", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_24h", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_24h.b04b5222f4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_apy_24h", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_apy_24h.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_24h.b04b5222f4", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_apy_24h"], "alias": "not_null_fct_core_apr_base_sepolia_apy_24h", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2423685, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apy_24h.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_24h\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere apy_24h is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_24h", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_24h", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_7d.cfc4ec14a3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_apr_7d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_apr_7d.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_7d.cfc4ec14a3", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_apr_7d"], "alias": "not_null_fct_core_apr_base_sepolia_apr_7d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2439919, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apr_7d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_7d\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere apr_7d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_7d", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_7d", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_7d.45a63722a9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_apy_7d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_apy_7d.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_7d.45a63722a9", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_apy_7d"], "alias": "not_null_fct_core_apr_base_sepolia_apy_7d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2455666, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apy_7d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_7d\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere apy_7d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_7d", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_7d", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_28d.e099bf170a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_apr_28d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_apr_28d.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_28d.e099bf170a", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_apr_28d"], "alias": "not_null_fct_core_apr_base_sepolia_apr_28d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2471921, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apr_28d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_28d\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere apr_28d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_28d", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_28d", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_28d.1e8e0632e0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_apy_28d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_apy_28d.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_28d.1e8e0632e0", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_apy_28d"], "alias": "not_null_fct_core_apr_base_sepolia_apy_28d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2492204, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apy_28d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_28d\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere apy_28d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_28d", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_28d", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_sepolia_id.34d77ebc84": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_id.34d77ebc84", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_market_updated_base_sepolia_id"], "alias": "not_null_fct_core_market_updated_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2508223, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_core_market_updated_base_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_core_market_updated_base_sepolia_id.469dae108f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_core_market_updated_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_core_market_updated_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_fct_core_market_updated_base_sepolia_id.469dae108f", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "unique_fct_core_market_updated_base_sepolia_id"], "alias": "unique_fct_core_market_updated_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2524357, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/unique_fct_core_market_updated_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_core_market_updated_base_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_sepolia_ts.9f306426fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_ts.9f306426fd", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_market_updated_base_sepolia_ts"], "alias": "not_null_fct_core_market_updated_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2540145, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_market_updated_base_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_sepolia_transaction_hash.8b87578f5d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_sepolia_transaction_hash.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_transaction_hash.8b87578f5d", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_market_updated_base_sepolia_transaction_hash"], "alias": "not_null_fct_core_market_updated_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2556195, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_core_market_updated_base_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_sepolia_event_name.027b71247d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_sepolia_event_name.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_event_name.027b71247d", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_market_updated_base_sepolia_event_name"], "alias": "not_null_fct_core_market_updated_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2573113, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_core_market_updated_base_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.f97649ec10": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_core_marke_f14eb644ae46474b2ee44b21ba94d125.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.f97649ec10", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "accepted_values_fct_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited"], "alias": "accepted_values_fct_core_marke_f14eb644ae46474b2ee44b21ba94d125", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_core_marke_f14eb644ae46474b2ee44b21ba94d125", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "accepted_values_fct_core_marke_f14eb644ae46474b2ee44b21ba94d125"}, "created_at": 1723584323.2589145, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_core_marke_f14eb644ae46474b2ee44b21ba94d125\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/accepted_values_fct_core_marke_f14eb644ae46474b2ee44b21ba94d125.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_core_market_updated_base_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCollateralWithdrawn", "MarketCollateralDeposited", "MarketUsdWithdrawn", "MarketUsdDeposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_sepolia_market_id.e1e1cc407f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_sepolia_market_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_market_id.e1e1cc407f", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_market_updated_base_sepolia_market_id"], "alias": "not_null_fct_core_market_updated_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2631118, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_core_market_updated_base_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_base_sepolia_market_id__True__0.9ac29d575a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_market_updated_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_642994047e1de807079be1501781c958.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_base_sepolia_market_id__True__0.9ac29d575a", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_core_market_updated_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_642994047e1de807079be1501781c958", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_642994047e1de807079be1501781c958", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_642994047e1de807079be1501781c958"}, "created_at": 1723584323.264741, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_642994047e1de807079be1501781c958\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_642994047e1de807079be1501781c958.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_core_market_updated_base_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_market_updated_base_sepolia_collateral_type.5333cf7124": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_sepolia_collateral_type.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_collateral_type.5333cf7124", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_market_updated_base_sepolia_collateral_type"], "alias": "not_null_fct_core_market_updated_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2689192, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_market_updated_base_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_sepolia_credit_capacity.1096ceee18": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_sepolia_credit_capacity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_sepolia_credit_capacity.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_credit_capacity.1096ceee18", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_market_updated_base_sepolia_credit_capacity"], "alias": "not_null_fct_core_market_updated_base_sepolia_credit_capacity", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2705572, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_credit_capacity.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect credit_capacity\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\"\nwhere credit_capacity is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "credit_capacity", "file_key_name": "models.fct_core_market_updated_base_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "credit_capacity", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_sepolia_net_issuance.094fc9701e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_sepolia_net_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_sepolia_net_issuance.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_net_issuance.094fc9701e", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_market_updated_base_sepolia_net_issuance"], "alias": "not_null_fct_core_market_updated_base_sepolia_net_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2721796, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_net_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect net_issuance\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\"\nwhere net_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "net_issuance", "file_key_name": "models.fct_core_market_updated_base_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "net_issuance", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_sepolia_token_amount.dfd33d6c7e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_sepolia_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_sepolia_token_amount.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_token_amount.dfd33d6c7e", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_market_updated_base_sepolia_token_amount"], "alias": "not_null_fct_core_market_updated_base_sepolia_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2737336, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.fct_core_market_updated_base_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_ts.706747681b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collateral_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_ts.706747681b", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_pool_collateral_base_sepolia_ts"], "alias": "not_null_fct_core_pool_collateral_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2753272, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_pool_collateral_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_pool_collateral_base_sepolia", "attached_node": "model.synthetix.fct_core_pool_collateral_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_collateral_type.98bdc1fe0e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collateral_base_sepolia_collateral_type.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_collateral_type.98bdc1fe0e", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_pool_collateral_base_sepolia_collateral_type"], "alias": "not_null_fct_core_pool_collateral_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.277015, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_pool_collateral_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_pool_collateral_base_sepolia", "attached_node": "model.synthetix.fct_core_pool_collateral_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_amount_deposited.c9a6a6e3d1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_base_sepolia_amount_deposited", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collateral_base_sepolia_amount_deposited.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_amount_deposited.c9a6a6e3d1", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_pool_collateral_base_sepolia_amount_deposited"], "alias": "not_null_fct_core_pool_collateral_base_sepolia_amount_deposited", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2785985, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_base_sepolia_amount_deposited.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_deposited\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_pool_collateral_base_sepolia\"\nwhere amount_deposited is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_deposited", "file_key_name": "models.fct_core_pool_collateral_base_sepolia", "attached_node": "model.synthetix.fct_core_pool_collateral_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_deposited", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_ts.29b697c43e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_ts.29b697c43e", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_pool_delegation_base_sepolia_ts"], "alias": "not_null_fct_core_pool_delegation_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.280232, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_pool_delegation_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_pool_delegation_base_sepolia", "attached_node": "model.synthetix.fct_core_pool_delegation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_pool_id.03e5ee04d2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_base_sepolia_pool_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_pool_id.03e5ee04d2", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_pool_delegation_base_sepolia_pool_id"], "alias": "not_null_fct_core_pool_delegation_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2818115, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_pool_delegation_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_pool_delegation_base_sepolia", "attached_node": "model.synthetix.fct_core_pool_delegation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_base_sepolia_pool_id__True__0.6f4bec67e8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_pool_delegation_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_7c8b0f19510562be724b56a2ea7fa20b.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_base_sepolia_pool_id__True__0.6f4bec67e8", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_core_pool_delegation_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_7c8b0f19510562be724b56a2ea7fa20b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_7c8b0f19510562be724b56a2ea7fa20b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_7c8b0f19510562be724b56a2ea7fa20b"}, "created_at": 1723584323.2834265, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_7c8b0f19510562be724b56a2ea7fa20b\") }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_7c8b0f19510562be724b56a2ea7fa20b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_core_pool_delegation_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_pool_delegation_base_sepolia", "attached_node": "model.synthetix.fct_core_pool_delegation_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_collateral_type.6d78a9fae0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_base_sepolia_collateral_type.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_collateral_type.6d78a9fae0", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_pool_delegation_base_sepolia_collateral_type"], "alias": "not_null_fct_core_pool_delegation_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2875924, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_pool_delegation_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_pool_delegation_base_sepolia", "attached_node": "model.synthetix.fct_core_pool_delegation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_base_sepolia_id.b91a0ef35b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_base_sepolia_id.b91a0ef35b", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_pools_base_sepolia_id"], "alias": "not_null_fct_core_pools_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.289212, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_pools_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_core_pools_base_sepolia", "attached_node": "model.synthetix.fct_core_pools_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_pools_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_pools_base_sepolia_id__True__0.6010b3107d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_pools_base_sepolia_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_b198daab2c36979f2c5164ecabed2558.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_base_sepolia_id__True__0.6010b3107d", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_core_pools_base_sepolia_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_b198daab2c36979f2c5164ecabed2558", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_b198daab2c36979f2c5164ecabed2558", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_c_b198daab2c36979f2c5164ecabed2558"}, "created_at": 1723584323.290953, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_b198daab2c36979f2c5164ecabed2558\") }}", "language": "sql", "refs": [{"name": "fct_core_pools_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_b198daab2c36979f2c5164ecabed2558.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_core_pools_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_core_pools_base_sepolia", "attached_node": "model.synthetix.fct_core_pools_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_pools_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_pools_base_sepolia_created_ts.ddc75dd279": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_base_sepolia_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_base_sepolia_created_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_base_sepolia_created_ts.ddc75dd279", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_pools_base_sepolia_created_ts"], "alias": "not_null_fct_core_pools_base_sepolia_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2949467, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_pools_base_sepolia\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_core_pools_base_sepolia", "attached_node": "model.synthetix.fct_core_pools_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_core_pools_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_base_sepolia_block_number.68462f9c7c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_base_sepolia_block_number.68462f9c7c", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_pools_base_sepolia_block_number"], "alias": "not_null_fct_core_pools_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.296589, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_pools_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_core_pools_base_sepolia", "attached_node": "model.synthetix.fct_core_pools_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_core_pools_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_base_sepolia_owner.e551fe7bc6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_base_sepolia_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_base_sepolia_owner.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_base_sepolia_owner.e551fe7bc6", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_pools_base_sepolia_owner"], "alias": "not_null_fct_core_pools_base_sepolia_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.298333, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_pools_base_sepolia\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.fct_core_pools_base_sepolia", "attached_node": "model.synthetix.fct_core_pools_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('fct_core_pools_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_base_sepolia_ts.955bd8bfe6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_base_sepolia_ts.955bd8bfe6", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_debt_base_sepolia_ts"], "alias": "not_null_fct_pool_debt_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2999403, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_debt_base_sepolia", "attached_node": "model.synthetix.fct_pool_debt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_debt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_base_sepolia_block_number.d6752d8232": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_base_sepolia_block_number.d6752d8232", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_debt_base_sepolia_block_number"], "alias": "not_null_fct_pool_debt_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3015635, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_pool_debt_base_sepolia", "attached_node": "model.synthetix.fct_pool_debt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_pool_debt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_base_sepolia_pool_id.bb5f56d624": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_base_sepolia_pool_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_base_sepolia_pool_id.bb5f56d624", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_debt_base_sepolia_pool_id"], "alias": "not_null_fct_pool_debt_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3031518, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_debt_base_sepolia", "attached_node": "model.synthetix.fct_pool_debt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_debt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_base_sepolia_pool_id__True__0.0228ac48ff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_debt_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_c5f43d8f9e210687bcde5398fec0aa62.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_base_sepolia_pool_id__True__0.0228ac48ff", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_debt_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_c5f43d8f9e210687bcde5398fec0aa62", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_c5f43d8f9e210687bcde5398fec0aa62", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_c5f43d8f9e210687bcde5398fec0aa62"}, "created_at": 1723584323.3049443, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_c5f43d8f9e210687bcde5398fec0aa62\") }}", "language": "sql", "refs": [{"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_c5f43d8f9e210687bcde5398fec0aa62.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_debt_base_sepolia", "attached_node": "model.synthetix.fct_pool_debt_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_debt_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_debt_base_sepolia_collateral_type.5daff7c138": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_base_sepolia_collateral_type.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_base_sepolia_collateral_type.5daff7c138", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_debt_base_sepolia_collateral_type"], "alias": "not_null_fct_pool_debt_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3090146, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_debt_base_sepolia", "attached_node": "model.synthetix.fct_pool_debt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_debt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_base_sepolia_debt.235edf4e17": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_base_sepolia_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_base_sepolia_debt.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_base_sepolia_debt.235edf4e17", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_debt_base_sepolia_debt"], "alias": "not_null_fct_pool_debt_base_sepolia_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3108318, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_pool_debt_base_sepolia", "attached_node": "model.synthetix.fct_pool_debt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_pool_debt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_ts.27f6b37554": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_ts.27f6b37554", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_issuance_hourly_base_sepolia_ts"], "alias": "not_null_fct_pool_issuance_hourly_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3124833, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_hourly_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_issuance_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_pool_id.10ae437d68": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_base_sepolia_pool_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_pool_id.10ae437d68", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_issuance_hourly_base_sepolia_pool_id"], "alias": "not_null_fct_pool_issuance_hourly_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.314066, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_hourly_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_base_sepolia_pool_id__True__0.9d327cf662": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_issuance_hourly_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_080234b3dc1c1422ae72bcef10b3876f.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_base_sepolia_pool_id__True__0.9d327cf662", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_issuance_hourly_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_080234b3dc1c1422ae72bcef10b3876f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_080234b3dc1c1422ae72bcef10b3876f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_080234b3dc1c1422ae72bcef10b3876f"}, "created_at": 1723584323.3157294, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_080234b3dc1c1422ae72bcef10b3876f\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_080234b3dc1c1422ae72bcef10b3876f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_hourly_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type.1a6b56fdf4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type.1a6b56fdf4", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type"], "alias": "not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.319904, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_hourly_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_issuance_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance.938e34bef0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance.938e34bef0", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance"], "alias": "not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3215134, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_hourly_base_sepolia\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_pool_issuance_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_base_sepolia_ts.be998526ed": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_ts.be998526ed", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_issuance_base_sepolia_ts"], "alias": "not_null_fct_pool_issuance_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3231091, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_issuance_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_base_sepolia_block_number.2f1e619103": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_block_number.2f1e619103", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_issuance_base_sepolia_block_number"], "alias": "not_null_fct_pool_issuance_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.324811, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_pool_issuance_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_base_sepolia_transaction_hash.79420348fa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_sepolia_transaction_hash.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_transaction_hash.79420348fa", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_issuance_base_sepolia_transaction_hash"], "alias": "not_null_fct_pool_issuance_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3263943, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_pool_issuance_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_base_sepolia_pool_id.5d2388a5a0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_sepolia_pool_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_pool_id.5d2388a5a0", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_issuance_base_sepolia_pool_id"], "alias": "not_null_fct_pool_issuance_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3280036, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_base_sepolia_pool_id__True__0.e99f9bdac0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_issuance_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_1c7c1b16173674e338549ddb7f27b7ca.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_base_sepolia_pool_id__True__0.e99f9bdac0", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_issuance_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_1c7c1b16173674e338549ddb7f27b7ca", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_1c7c1b16173674e338549ddb7f27b7ca", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_1c7c1b16173674e338549ddb7f27b7ca"}, "created_at": 1723584323.3296125, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_1c7c1b16173674e338549ddb7f27b7ca\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_1c7c1b16173674e338549ddb7f27b7ca.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_issuance_base_sepolia_collateral_type.3b36d49350": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_sepolia_collateral_type.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_collateral_type.3b36d49350", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_issuance_base_sepolia_collateral_type"], "alias": "not_null_fct_pool_issuance_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3339803, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_issuance_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_base_sepolia_account_id.aa037160fb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_sepolia_account_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_account_id.aa037160fb", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_issuance_base_sepolia_account_id"], "alias": "not_null_fct_pool_issuance_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3356206, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_pool_issuance_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_base_sepolia_amount.5be777c996": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_sepolia_amount.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_amount.5be777c996", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_issuance_base_sepolia_amount"], "alias": "not_null_fct_pool_issuance_base_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3372045, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_issuance_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_ts.5acc26229f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_ts.5acc26229f", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_pnl_hourly_base_sepolia_ts"], "alias": "not_null_fct_pool_pnl_hourly_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.338919, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_pool_id.c9853b1694": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_sepolia_pool_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_pool_id.c9853b1694", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_pnl_hourly_base_sepolia_pool_id"], "alias": "not_null_fct_pool_pnl_hourly_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3405309, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_pool_id__True__0.05c766378f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_6a560e0fbf794c7f750bbee46b063b15.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_pool_id__True__0.05c766378f", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_6a560e0fbf794c7f750bbee46b063b15", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_6a560e0fbf794c7f750bbee46b063b15", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_6a560e0fbf794c7f750bbee46b063b15"}, "created_at": 1723584323.3422272, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_6a560e0fbf794c7f750bbee46b063b15\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_6a560e0fbf794c7f750bbee46b063b15.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type.1eca6afa4f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type.1eca6afa4f", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type"], "alias": "not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.346348, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value.02a125e570": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value.02a125e570", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value"], "alias": "not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.348037, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_collateral_value__True__0.4f1a814d7b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_dde6685624f91c45c63ba3638584b182.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_collateral_value__True__0.4f1a814d7b", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_fct_p_dde6685624f91c45c63ba3638584b182", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_dde6685624f91c45c63ba3638584b182", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_dde6685624f91c45c63ba3638584b182"}, "created_at": 1723584323.349657, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_dde6685624f91c45c63ba3638584b182\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_dde6685624f91c45c63ba3638584b182.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_debt.27270b83bd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_sepolia_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_sepolia_debt.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_debt.27270b83bd", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_pnl_hourly_base_sepolia_debt"], "alias": "not_null_fct_pool_pnl_hourly_base_sepolia_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.353818, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance.64beeb7093": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance.64beeb7093", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance"], "alias": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3554602, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl.1b2d20f29b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl.1b2d20f29b", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl"], "alias": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.357052, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\nwhere hourly_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd.3d8b12547d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd.3d8b12547d", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd"], "alias": "not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3587532, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_rewards_usd__True__0.9baf8da1f5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_7392fe570bb1ffcd65da1c7cd6982c51.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_rewards_usd__True__0.9baf8da1f5", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_7392fe570bb1ffcd65da1c7cd6982c51", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_7392fe570bb1ffcd65da1c7cd6982c51", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_7392fe570bb1ffcd65da1c7cd6982c51"}, "created_at": 1723584323.3603861, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_7392fe570bb1ffcd65da1c7cd6982c51\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_7392fe570bb1ffcd65da1c7cd6982c51.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct.5e738de9f7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct.5e738de9f7", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct"], "alias": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3644025, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl_pct\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\nwhere hourly_pnl_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct.d3c5df3f72": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct.d3c5df3f72", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct"], "alias": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3661976, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_rewards_pct\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\nwhere hourly_rewards_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct__True__1__0.3ae208ff52": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct__True__1__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_8847545f22090d36993074a7ae93645b.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct__True__1__0.3ae208ff52", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct__True__1__0"], "alias": "dbt_utils_accepted_range_fct_p_8847545f22090d36993074a7ae93645b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_8847545f22090d36993074a7ae93645b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_8847545f22090d36993074a7ae93645b"}, "created_at": 1723584323.3678324, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_8847545f22090d36993074a7ae93645b\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_8847545f22090d36993074a7ae93645b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct >= 0\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "max_value": 1, "inclusive": true, "column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct.32d5d04358": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct.32d5d04358", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct"], "alias": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3719718, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_total_pct\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\nwhere hourly_total_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_total_pct", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_total_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_ts.521c0d428a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_ts.521c0d428a", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_hourly_base_sepolia_ts"], "alias": "not_null_fct_pool_rewards_hourly_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3735814, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_hourly_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_pool_id.9e81c4a855": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_base_sepolia_pool_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_pool_id.9e81c4a855", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_hourly_base_sepolia_pool_id"], "alias": "not_null_fct_pool_rewards_hourly_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3751826, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_hourly_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_pool_id__True__0.7fb80d19e2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_c49bb88c47ce0ffb87f7f220bfc072ee.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_pool_id__True__0.7fb80d19e2", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_c49bb88c47ce0ffb87f7f220bfc072ee", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_c49bb88c47ce0ffb87f7f220bfc072ee", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_c49bb88c47ce0ffb87f7f220bfc072ee"}, "created_at": 1723584323.3767781, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_c49bb88c47ce0ffb87f7f220bfc072ee\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_c49bb88c47ce0ffb87f7f220bfc072ee.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_hourly_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type.ca06f7aa20": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type.ca06f7aa20", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type"], "alias": "not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.380894, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_hourly_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd.f98e64d589": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd.f98e64d589", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd"], "alias": "not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3825095, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_hourly_base_sepolia\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_rewards_usd__True__0.a1e92ad42f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_93717b724298f107b6ffe1b8e9c9699c.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_rewards_usd__True__0.a1e92ad42f", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_93717b724298f107b6ffe1b8e9c9699c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_93717b724298f107b6ffe1b8e9c9699c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_93717b724298f107b6ffe1b8e9c9699c"}, "created_at": 1723584323.3841825, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_93717b724298f107b6ffe1b8e9c9699c\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_93717b724298f107b6ffe1b8e9c9699c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_hourly_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_ts.965132b4de": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_ts.965132b4de", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_base_sepolia_ts"], "alias": "not_null_fct_pool_rewards_token_hourly_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.388319, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id.be2709e1ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id.be2709e1ec", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id"], "alias": "not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3899682, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_pool_id__True__0.81592c4342": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_2d58f654e46802f6010b88f3ce3def6e.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_pool_id__True__0.81592c4342", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_2d58f654e46802f6010b88f3ce3def6e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_2d58f654e46802f6010b88f3ce3def6e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_2d58f654e46802f6010b88f3ce3def6e"}, "created_at": 1723584323.3916185, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_2d58f654e46802f6010b88f3ce3def6e\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_2d58f654e46802f6010b88f3ce3def6e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_collateral_type.d1a6cde42d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_e78ac2aee703e2a50a6c42a608df5d5e.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_collateral_type.d1a6cde42d", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_base_sepolia_collateral_type"], "alias": "not_null_fct_pool_rewards_toke_e78ac2aee703e2a50a6c42a608df5d5e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_e78ac2aee703e2a50a6c42a608df5d5e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_rewards_toke_e78ac2aee703e2a50a6c42a608df5d5e"}, "created_at": 1723584323.395799, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_e78ac2aee703e2a50a6c42a608df5d5e\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_e78ac2aee703e2a50a6c42a608df5d5e.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor.e0a88ca283": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor.e0a88ca283", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor"], "alias": "not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3974156, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_token_symbol.0efe3d5a1b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_sepolia_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_c060874bcad559685bf1a5cd949d5918.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_token_symbol.0efe3d5a1b", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_base_sepolia_token_symbol"], "alias": "not_null_fct_pool_rewards_toke_c060874bcad559685bf1a5cd949d5918", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_c060874bcad559685bf1a5cd949d5918", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_rewards_toke_c060874bcad559685bf1a5cd949d5918"}, "created_at": 1723584323.3990088, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_c060874bcad559685bf1a5cd949d5918\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_c060874bcad559685bf1a5cd949d5918.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_price.f86d19c3a1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_base_sepolia_price.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_price.f86d19c3a1", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_base_sepolia_price"], "alias": "not_null_fct_pool_rewards_token_hourly_base_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4007242, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_price__True__0.5d2650f33d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_67d45398c054f12474741982c73b93f1.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_price__True__0.5d2650f33d", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_67d45398c054f12474741982c73b93f1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_67d45398c054f12474741982c73b93f1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_67d45398c054f12474741982c73b93f1"}, "created_at": 1723584323.4023113, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_67d45398c054f12474741982c73b93f1\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_67d45398c054f12474741982c73b93f1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount.52789db2ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_43f1f8061abeadd42cef2eaf404296fe.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount.52789db2ec", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount"], "alias": "not_null_fct_pool_rewards_toke_43f1f8061abeadd42cef2eaf404296fe", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_43f1f8061abeadd42cef2eaf404296fe", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_rewards_toke_43f1f8061abeadd42cef2eaf404296fe"}, "created_at": 1723584323.4064586, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_43f1f8061abeadd42cef2eaf404296fe\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_43f1f8061abeadd42cef2eaf404296fe.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\nwhere hourly_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_amount", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount__True__0.c330c461c1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_d53bd1835f2844fd49f397b04d803502.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount__True__0.c330c461c1", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_p_d53bd1835f2844fd49f397b04d803502", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_d53bd1835f2844fd49f397b04d803502", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_d53bd1835f2844fd49f397b04d803502"}, "created_at": 1723584323.4080853, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_d53bd1835f2844fd49f397b04d803502\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_d53bd1835f2844fd49f397b04d803502.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_amount", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "hourly_amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed.c0f649a5e2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_f5973e5a01592ddd5909e364ed32a331.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed.c0f649a5e2", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed"], "alias": "not_null_fct_pool_rewards_toke_f5973e5a01592ddd5909e364ed32a331", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_f5973e5a01592ddd5909e364ed32a331", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_fct_pool_rewards_toke_f5973e5a01592ddd5909e364ed32a331"}, "created_at": 1723584323.4121196, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_f5973e5a01592ddd5909e364ed32a331\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_f5973e5a01592ddd5909e364ed32a331.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_distributed\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\nwhere amount_distributed is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_distributed", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_distributed", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed__True__0.45dd358d86": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_340c3c975ab7148e0322287971dc86a8.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed__True__0.45dd358d86", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed__True__0"], "alias": "dbt_utils_accepted_range_fct_p_340c3c975ab7148e0322287971dc86a8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_340c3c975ab7148e0322287971dc86a8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_340c3c975ab7148e0322287971dc86a8"}, "created_at": 1723584323.414244, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_340c3c975ab7148e0322287971dc86a8\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_340c3c975ab7148e0322287971dc86a8.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_distributed >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_distributed", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_distributed", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd.d3001484ac": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd.d3001484ac", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd"], "alias": "not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4183393, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd__True__0.c0730ac36d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_3eb069f390b7573dee3c16d4dcde343d.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd__True__0.c0730ac36d", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_3eb069f390b7573dee3c16d4dcde343d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_3eb069f390b7573dee3c16d4dcde343d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_3eb069f390b7573dee3c16d4dcde343d"}, "created_at": 1723584323.4201567, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_3eb069f390b7573dee3c16d4dcde343d\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_3eb069f390b7573dee3c16d4dcde343d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_synth_supply_base_sepolia_ts.0e3cf0c2f2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_base_sepolia_ts.0e3cf0c2f2", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_synth_supply_base_sepolia_ts"], "alias": "not_null_fct_synth_supply_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4396603, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_synth_supply_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_synth_supply_base_sepolia", "attached_node": "model.synthetix.fct_synth_supply_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_synth_supply_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_synth_supply_base_sepolia_block_number.f0997efcd8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_base_sepolia_block_number.f0997efcd8", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_synth_supply_base_sepolia_block_number"], "alias": "not_null_fct_synth_supply_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4414942, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_synth_supply_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_synth_supply_base_sepolia", "attached_node": "model.synthetix.fct_synth_supply_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_synth_supply_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_synth_supply_base_sepolia_synth_market_id.75d7df8ce8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_base_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_base_sepolia_synth_market_id.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_base_sepolia_synth_market_id.75d7df8ce8", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_synth_supply_base_sepolia_synth_market_id"], "alias": "not_null_fct_synth_supply_base_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4431276, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_synth_supply_base_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_synth_supply_base_sepolia", "attached_node": "model.synthetix.fct_synth_supply_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_synth_supply_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_base_sepolia_synth_market_id__True__0.1c097f1721": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_synth_supply_base_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_7d7e114e53625e5452e9f57a1ff338e7.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_base_sepolia_synth_market_id__True__0.1c097f1721", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "dbt_utils_accepted_range_fct_synth_supply_base_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_7d7e114e53625e5452e9f57a1ff338e7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_7d7e114e53625e5452e9f57a1ff338e7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_s_7d7e114e53625e5452e9f57a1ff338e7"}, "created_at": 1723584323.44474, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_7d7e114e53625e5452e9f57a1ff338e7\") }}", "language": "sql", "refs": [{"name": "fct_synth_supply_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_7d7e114e53625e5452e9f57a1ff338e7.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_synth_supply_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_synth_supply_base_sepolia", "attached_node": "model.synthetix.fct_synth_supply_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_synth_supply_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_synth_supply_base_sepolia_supply.a13743a375": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_base_sepolia_supply", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_base_sepolia_supply.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_base_sepolia_supply.a13743a375", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_synth_supply_base_sepolia_supply"], "alias": "not_null_fct_synth_supply_base_sepolia_supply", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4488916, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_supply.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect supply\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_synth_supply_base_sepolia\"\nwhere supply is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "supply", "file_key_name": "models.fct_synth_supply_base_sepolia", "attached_node": "model.synthetix.fct_synth_supply_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "supply", "model": "{{ get_where_subquery(ref('fct_synth_supply_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_sepolia_id.dfc0db9ed4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_id.dfc0db9ed4", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_atomics_base_sepolia_id"], "alias": "not_null_fct_spot_atomics_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.450535, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_atomics_base_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_spot_atomics_base_sepolia_id.6c8ed0bc2a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_spot_atomics_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_spot_atomics_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_fct_spot_atomics_base_sepolia_id.6c8ed0bc2a", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "unique_fct_spot_atomics_base_sepolia_id"], "alias": "unique_fct_spot_atomics_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4521847, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/unique_fct_spot_atomics_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_atomics_base_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_sepolia_ts.4bca6422cc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_ts.4bca6422cc", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_atomics_base_sepolia_ts"], "alias": "not_null_fct_spot_atomics_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.453788, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_spot_atomics_base_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_sepolia_block_number.16d75a4323": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_block_number.16d75a4323", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_atomics_base_sepolia_block_number"], "alias": "not_null_fct_spot_atomics_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4555209, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_spot_atomics_base_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_sepolia_tx_hash.6d969998c6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_sepolia_tx_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_sepolia_tx_hash.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_tx_hash.6d969998c6", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_atomics_base_sepolia_tx_hash"], "alias": "not_null_fct_spot_atomics_base_sepolia_tx_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4571438, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_tx_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tx_hash\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"\nwhere tx_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "tx_hash", "file_key_name": "models.fct_spot_atomics_base_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "tx_hash", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_sepolia_synth_market_id.e8f636df14": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_sepolia_synth_market_id.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_synth_market_id.e8f636df14", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_atomics_base_sepolia_synth_market_id"], "alias": "not_null_fct_spot_atomics_base_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4587398, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_atomics_base_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_base_sepolia_synth_market_id__True__0.391b470dd2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_spot_atomics_base_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_b4f78cdf817b17683fb6b75998b127e3.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_base_sepolia_synth_market_id__True__0.391b470dd2", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "dbt_utils_accepted_range_fct_spot_atomics_base_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_b4f78cdf817b17683fb6b75998b127e3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_b4f78cdf817b17683fb6b75998b127e3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_s_b4f78cdf817b17683fb6b75998b127e3"}, "created_at": 1723584323.4603865, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_b4f78cdf817b17683fb6b75998b127e3\") }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_b4f78cdf817b17683fb6b75998b127e3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_atomics_base_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_spot_atomics_base_sepolia_price.ce30d003ce": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_sepolia_price.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_price.ce30d003ce", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_atomics_base_sepolia_price"], "alias": "not_null_fct_spot_atomics_base_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4645233, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_spot_atomics_base_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_sepolia_amount.81264c756d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_sepolia_amount.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_amount.81264c756d", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_atomics_base_sepolia_amount"], "alias": "not_null_fct_spot_atomics_base_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.466148, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_spot_atomics_base_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_sepolia_referrer.7533de1c2b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_sepolia_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_sepolia_referrer.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_referrer.7533de1c2b", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_atomics_base_sepolia_referrer"], "alias": "not_null_fct_spot_atomics_base_sepolia_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4678469, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "file_key_name": "models.fct_spot_atomics_base_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referrer", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_markets_base_sepolia_id.a355928e0f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_base_sepolia_id.a355928e0f", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_markets_base_sepolia_id"], "alias": "not_null_fct_spot_markets_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.469595, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_markets_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_markets_base_sepolia", "attached_node": "model.synthetix.fct_spot_markets_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_markets_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_base_sepolia_id__True__0.f6b3a1dac3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_spot_markets_base_sepolia_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_be8de3308c40f5eccbffc40789c7b67b.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_base_sepolia_id__True__0.f6b3a1dac3", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "dbt_utils_accepted_range_fct_spot_markets_base_sepolia_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_be8de3308c40f5eccbffc40789c7b67b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_be8de3308c40f5eccbffc40789c7b67b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_s_be8de3308c40f5eccbffc40789c7b67b"}, "created_at": 1723584323.4712396, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_be8de3308c40f5eccbffc40789c7b67b\") }}", "language": "sql", "refs": [{"name": "fct_spot_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_be8de3308c40f5eccbffc40789c7b67b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_spot_markets_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_markets_base_sepolia", "attached_node": "model.synthetix.fct_spot_markets_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_markets_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_spot_markets_base_sepolia_created_ts.69423c5ddb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_base_sepolia_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_base_sepolia_created_ts.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_base_sepolia_created_ts.69423c5ddb", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_markets_base_sepolia_created_ts"], "alias": "not_null_fct_spot_markets_base_sepolia_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.475318, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_markets_base_sepolia\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_spot_markets_base_sepolia", "attached_node": "model.synthetix.fct_spot_markets_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_spot_markets_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_markets_base_sepolia_block_number.25cd7e84c0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_base_sepolia_block_number.25cd7e84c0", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_markets_base_sepolia_block_number"], "alias": "not_null_fct_spot_markets_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4771376, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_markets_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_spot_markets_base_sepolia", "attached_node": "model.synthetix.fct_spot_markets_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_spot_markets_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_markets_base_sepolia_token_address.af639aa1d2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_base_sepolia_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_base_sepolia_token_address.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_base_sepolia_token_address.af639aa1d2", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_markets_base_sepolia_token_address"], "alias": "not_null_fct_spot_markets_base_sepolia_token_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.478785, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_token_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_address\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_markets_base_sepolia\"\nwhere token_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_address", "file_key_name": "models.fct_spot_markets_base_sepolia", "attached_node": "model.synthetix.fct_spot_markets_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_address", "model": "{{ get_where_subquery(ref('fct_spot_markets_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_id.6458cf0796": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_id.6458cf0796", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_wrapper_base_sepolia_id"], "alias": "not_null_fct_spot_wrapper_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.480411, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_wrapper_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_wrapper_base_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_spot_wrapper_base_sepolia_id.3a2fb8ee86": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_spot_wrapper_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_spot_wrapper_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_fct_spot_wrapper_base_sepolia_id.3a2fb8ee86", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "unique_fct_spot_wrapper_base_sepolia_id"], "alias": "unique_fct_spot_wrapper_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4819813, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/unique_fct_spot_wrapper_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_wrapper_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_wrapper_base_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_ts.8708b13a31": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_ts.8708b13a31", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_wrapper_base_sepolia_ts"], "alias": "not_null_fct_spot_wrapper_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4836907, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_wrapper_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_spot_wrapper_base_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_block_number.05149fa391": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_block_number.05149fa391", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_wrapper_base_sepolia_block_number"], "alias": "not_null_fct_spot_wrapper_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4852655, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_wrapper_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.fct_spot_wrapper_base_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_tx_hash.0df62cff0d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_base_sepolia_tx_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_base_sepolia_tx_hash.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_tx_hash.0df62cff0d", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_wrapper_base_sepolia_tx_hash"], "alias": "not_null_fct_spot_wrapper_base_sepolia_tx_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4868343, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_tx_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tx_hash\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_wrapper_base_sepolia\"\nwhere tx_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "tx_hash", "file_key_name": "models.fct_spot_wrapper_base_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "tx_hash", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_synth_market_id.54687d51aa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_base_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_base_sepolia_synth_market_id.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_synth_market_id.54687d51aa", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_wrapper_base_sepolia_synth_market_id"], "alias": "not_null_fct_spot_wrapper_base_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4884717, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_wrapper_base_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_wrapper_base_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_base_sepolia_synth_market_id__True__0.f4eedf4f3f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_spot_wrapper_base_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_e1e621000332c16d5873c30225cc957d.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_base_sepolia_synth_market_id__True__0.f4eedf4f3f", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "dbt_utils_accepted_range_fct_spot_wrapper_base_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_e1e621000332c16d5873c30225cc957d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_e1e621000332c16d5873c30225cc957d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_s_e1e621000332c16d5873c30225cc957d"}, "created_at": 1723584323.4900992, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_e1e621000332c16d5873c30225cc957d\") }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_e1e621000332c16d5873c30225cc957d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_spot_wrapper_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_wrapper_base_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_amount_wrapped.447890a6f4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_base_sepolia_amount_wrapped", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_base_sepolia_amount_wrapped.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_amount_wrapped.447890a6f4", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_wrapper_base_sepolia_amount_wrapped"], "alias": "not_null_fct_spot_wrapper_base_sepolia_amount_wrapped", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4943504, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_amount_wrapped.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_wrapped\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_wrapper_base_sepolia\"\nwhere amount_wrapped is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_wrapped", "file_key_name": "models.fct_spot_wrapper_base_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_wrapped", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_base_sepolia_ts.2875b0c397": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_base_sepolia_ts.2875b0c397", "fqn": ["synthetix", "marts", "base", "sepolia", "prices", "not_null_fct_prices_base_sepolia_ts"], "alias": "not_null_fct_prices_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.497998, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_prices_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_prices_base_sepolia", "attached_node": "model.synthetix.fct_prices_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_prices_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_base_sepolia_market_symbol.e2a8214091": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_base_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_base_sepolia_market_symbol.sql", "original_file_path": "models/marts/base/sepolia/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_base_sepolia_market_symbol.e2a8214091", "fqn": ["synthetix", "marts", "base", "sepolia", "prices", "not_null_fct_prices_base_sepolia_market_symbol"], "alias": "not_null_fct_prices_base_sepolia_market_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.5002553, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_base_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_prices_base_sepolia\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_prices_base_sepolia", "attached_node": "model.synthetix.fct_prices_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_prices_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_base_sepolia_price.3c29a949cf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_base_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_base_sepolia_price.sql", "original_file_path": "models/marts/base/sepolia/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_base_sepolia_price.3c29a949cf", "fqn": ["synthetix", "marts", "base", "sepolia", "prices", "not_null_fct_prices_base_sepolia_price"], "alias": "not_null_fct_prices_base_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.5019095, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_base_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_prices_base_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_base_sepolia", "attached_node": "model.synthetix.fct_prices_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0.78bfe2f46a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0.sql", "original_file_path": "models/marts/base/sepolia/prices/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0.78bfe2f46a", "fqn": ["synthetix", "marts", "base", "sepolia", "prices", "dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.5035236, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_prices_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_base_sepolia", "attached_node": "model.synthetix.fct_prices_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_prices_hourly_base_sepolia_ts.fc60cfbaeb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_base_sepolia_ts.fc60cfbaeb", "fqn": ["synthetix", "marts", "base", "sepolia", "prices", "not_null_fct_prices_hourly_base_sepolia_ts"], "alias": "not_null_fct_prices_hourly_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.5075462, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_hourly_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_prices_hourly_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_prices_hourly_base_sepolia", "attached_node": "model.synthetix.fct_prices_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_prices_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_hourly_base_sepolia_market_symbol.35c2706bfd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_base_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_base_sepolia_market_symbol.sql", "original_file_path": "models/marts/base/sepolia/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_base_sepolia_market_symbol.35c2706bfd", "fqn": ["synthetix", "marts", "base", "sepolia", "prices", "not_null_fct_prices_hourly_base_sepolia_market_symbol"], "alias": "not_null_fct_prices_hourly_base_sepolia_market_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.5091624, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_hourly_base_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_prices_hourly_base_sepolia\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_prices_hourly_base_sepolia", "attached_node": "model.synthetix.fct_prices_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_prices_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_hourly_base_sepolia_price.e263ee2224": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_base_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_base_sepolia_price.sql", "original_file_path": "models/marts/base/sepolia/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_base_sepolia_price.e263ee2224", "fqn": ["synthetix", "marts", "base", "sepolia", "prices", "not_null_fct_prices_hourly_base_sepolia_price"], "alias": "not_null_fct_prices_hourly_base_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.5107725, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_hourly_base_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_prices_hourly_base_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_hourly_base_sepolia", "attached_node": "model.synthetix.fct_prices_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_base_sepolia_price__True__0.9b4c65b6bd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_prices_hourly_base_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_a0ee7fb3835698f075ede26384c6bf98.sql", "original_file_path": "models/marts/base/sepolia/prices/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_base_sepolia_price__True__0.9b4c65b6bd", "fqn": ["synthetix", "marts", "base", "sepolia", "prices", "dbt_utils_accepted_range_fct_prices_hourly_base_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_a0ee7fb3835698f075ede26384c6bf98", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_a0ee7fb3835698f075ede26384c6bf98", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "dbt_utils_accepted_range_fct_p_a0ee7fb3835698f075ede26384c6bf98"}, "created_at": 1723584323.5124013, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_a0ee7fb3835698f075ede26384c6bf98\") }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_p_a0ee7fb3835698f075ede26384c6bf98.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_prices_hourly_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_hourly_base_sepolia", "attached_node": "model.synthetix.fct_prices_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}}, "sources": {"source.synthetix.raw_eth_mainnet.block": {"database": "analytics", "schema": "raw_eth_mainnet", "name": "block", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_eth_mainnet.block", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "block"], "source_name": "raw_eth_mainnet", "source_description": "", "loader": "", "identifier": "block", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"block\"", "created_at": 1723584323.531187}, "source.synthetix.raw_eth_mainnet.core_proxy_event_account_created": {"database": "analytics", "schema": "raw_eth_mainnet", "name": "core_proxy_event_account_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_eth_mainnet.core_proxy_event_account_created", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_account_created"], "source_name": "raw_eth_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_account_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_account_created\"", "created_at": 1723584323.5326507}, "source.synthetix.raw_eth_mainnet.core_proxy_event_delegation_updated": {"database": "analytics", "schema": "raw_eth_mainnet", "name": "core_proxy_event_delegation_updated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_eth_mainnet.core_proxy_event_delegation_updated", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_delegation_updated"], "source_name": "raw_eth_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_delegation_updated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_delegation_updated\"", "created_at": 1723584323.5328345}, "source.synthetix.raw_eth_mainnet.core_proxy_event_deposited": {"database": "analytics", "schema": "raw_eth_mainnet", "name": "core_proxy_event_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_eth_mainnet.core_proxy_event_deposited", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_deposited"], "source_name": "raw_eth_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_deposited\"", "created_at": 1723584323.5330048}, "source.synthetix.raw_eth_mainnet.core_proxy_event_withdrawn": {"database": "analytics", "schema": "raw_eth_mainnet", "name": "core_proxy_event_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_eth_mainnet.core_proxy_event_withdrawn", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_withdrawn"], "source_name": "raw_eth_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_withdrawn\"", "created_at": 1723584323.5331662}, "source.synthetix.raw_eth_mainnet.core_proxy_event_liquidation": {"database": "analytics", "schema": "raw_eth_mainnet", "name": "core_proxy_event_liquidation", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_eth_mainnet.core_proxy_event_liquidation", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_liquidation"], "source_name": "raw_eth_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_liquidation", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_liquidation\"", "created_at": 1723584323.5333228}, "source.synthetix.raw_eth_mainnet.core_proxy_event_market_registered": {"database": "analytics", "schema": "raw_eth_mainnet", "name": "core_proxy_event_market_registered", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_registered", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_market_registered"], "source_name": "raw_eth_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_registered", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_market_registered\"", "created_at": 1723584323.5334787}, "source.synthetix.raw_eth_mainnet.core_proxy_event_pool_created": {"database": "analytics", "schema": "raw_eth_mainnet", "name": "core_proxy_event_pool_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_eth_mainnet.core_proxy_event_pool_created", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_pool_created"], "source_name": "raw_eth_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_pool_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_pool_created\"", "created_at": 1723584323.5336335}, "source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_claimed": {"database": "analytics", "schema": "raw_eth_mainnet", "name": "core_proxy_event_rewards_claimed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_claimed", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_rewards_claimed"], "source_name": "raw_eth_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_rewards_claimed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_rewards_claimed\"", "created_at": 1723584323.5337887}, "source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_distributed": {"database": "analytics", "schema": "raw_eth_mainnet", "name": "core_proxy_event_rewards_distributed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_distributed", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_rewards_distributed"], "source_name": "raw_eth_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_rewards_distributed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_rewards_distributed\"", "created_at": 1723584323.5339496}, "source.synthetix.raw_eth_mainnet.core_proxy_event_usd_burned": {"database": "analytics", "schema": "raw_eth_mainnet", "name": "core_proxy_event_usd_burned", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_eth_mainnet.core_proxy_event_usd_burned", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_usd_burned"], "source_name": "raw_eth_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_usd_burned", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_usd_burned\"", "created_at": 1723584323.534107}, "source.synthetix.raw_eth_mainnet.core_proxy_event_usd_minted": {"database": "analytics", "schema": "raw_eth_mainnet", "name": "core_proxy_event_usd_minted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_eth_mainnet.core_proxy_event_usd_minted", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_usd_minted"], "source_name": "raw_eth_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_usd_minted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_usd_minted\"", "created_at": 1723584323.5342615}, "source.synthetix.raw_eth_mainnet.core_proxy_event_vault_liquidation": {"database": "analytics", "schema": "raw_eth_mainnet", "name": "core_proxy_event_vault_liquidation", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_eth_mainnet.core_proxy_event_vault_liquidation", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_vault_liquidation"], "source_name": "raw_eth_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_vault_liquidation", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_vault_liquidation\"", "created_at": 1723584323.534416}, "source.synthetix.raw_eth_mainnet.core_proxy_event_market_collateral_deposited": {"database": "analytics", "schema": "raw_eth_mainnet", "name": "core_proxy_event_market_collateral_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_collateral_deposited", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_market_collateral_deposited"], "source_name": "raw_eth_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_collateral_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_market_collateral_deposited\"", "created_at": 1723584323.5345693}, "source.synthetix.raw_eth_mainnet.core_proxy_event_market_collateral_withdrawn": {"database": "analytics", "schema": "raw_eth_mainnet", "name": "core_proxy_event_market_collateral_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_collateral_withdrawn", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_market_collateral_withdrawn"], "source_name": "raw_eth_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_collateral_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_market_collateral_withdrawn\"", "created_at": 1723584323.5347216}, "source.synthetix.raw_eth_mainnet.core_proxy_event_market_usd_deposited": {"database": "analytics", "schema": "raw_eth_mainnet", "name": "core_proxy_event_market_usd_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_usd_deposited", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_market_usd_deposited"], "source_name": "raw_eth_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_usd_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_market_usd_deposited\"", "created_at": 1723584323.5348828}, "source.synthetix.raw_eth_mainnet.core_proxy_event_market_usd_withdrawn": {"database": "analytics", "schema": "raw_eth_mainnet", "name": "core_proxy_event_market_usd_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_usd_withdrawn", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_market_usd_withdrawn"], "source_name": "raw_eth_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_usd_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_market_usd_withdrawn\"", "created_at": 1723584323.5350459}, "source.synthetix.raw_eth_mainnet.legacy_market_proxy_event_account_migrated": {"database": "analytics", "schema": "raw_eth_mainnet", "name": "legacy_market_proxy_event_account_migrated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_eth_mainnet.legacy_market_proxy_event_account_migrated", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "legacy_market_proxy_event_account_migrated"], "source_name": "raw_eth_mainnet", "source_description": "", "loader": "", "identifier": "legacy_market_proxy_event_account_migrated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"legacy_market_proxy_event_account_migrated\"", "created_at": 1723584323.5352361}, "source.synthetix.raw_eth_mainnet.core_get_vault_collateral": {"database": "analytics", "schema": "raw_eth_mainnet", "name": "core_get_vault_collateral", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_eth_mainnet.core_get_vault_collateral", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_get_vault_collateral"], "source_name": "raw_eth_mainnet", "source_description": "", "loader": "", "identifier": "core_get_vault_collateral", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_get_vault_collateral\"", "created_at": 1723584323.5353951}, "source.synthetix.raw_eth_mainnet.core_get_vault_debt": {"database": "analytics", "schema": "raw_eth_mainnet", "name": "core_get_vault_debt", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_eth_mainnet.core_get_vault_debt", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_get_vault_debt"], "source_name": "raw_eth_mainnet", "source_description": "", "loader": "", "identifier": "core_get_vault_debt", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"core_get_vault_debt\"", "created_at": 1723584323.5355864}, "source.synthetix.raw_eth_mainnet.blocks_parquet": {"database": "analytics", "schema": "raw_eth_mainnet", "name": "blocks_parquet", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_eth_mainnet.blocks_parquet", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "blocks_parquet"], "source_name": "raw_eth_mainnet", "source_description": "", "loader": "", "identifier": "blocks_parquet", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"blocks_parquet\"", "created_at": 1723584323.535755}, "source.synthetix.raw_base_sepolia.block": {"database": "analytics", "schema": "raw_base_sepolia", "name": "block", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.block", "fqn": ["synthetix", "raw", "raw_base_sepolia", "block"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "block", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"block\"", "created_at": 1723584323.5359173}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_created": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_account_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_created", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_event_account_created"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_account_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_account_created\"", "created_at": 1723584323.5360897}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_liquidation_attempt": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_account_liquidation_attempt", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_liquidation_attempt", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_event_account_liquidation_attempt"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_account_liquidation_attempt", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_account_liquidation_attempt\"", "created_at": 1723584323.536246}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_collateral_modified": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_collateral_modified", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_collateral_modified", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_event_collateral_modified"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_collateral_modified", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_collateral_modified\"", "created_at": 1723584323.5363984}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_created": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_market_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_created", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_event_market_created"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_market_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_market_created\"", "created_at": 1723584323.5365493}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_updated": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_market_updated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_updated", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_event_market_updated"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_market_updated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_market_updated\"", "created_at": 1723584323.5367007}, "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_market_updated": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_legacy_event_market_updated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_market_updated", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_legacy_event_market_updated"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_legacy_event_market_updated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_legacy_event_market_updated\"", "created_at": 1723584323.5368514}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_committed": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_order_committed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_committed", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_event_order_committed"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_order_committed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_order_committed\"", "created_at": 1723584323.5370023}, "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_order_committed": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_legacy_event_order_committed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_order_committed", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_legacy_event_order_committed"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_legacy_event_order_committed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_legacy_event_order_committed\"", "created_at": 1723584323.5371592}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_settled": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_order_settled", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_settled", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_event_order_settled"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_order_settled", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_order_settled\"", "created_at": 1723584323.5373101}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_position_liquidated": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_position_liquidated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_position_liquidated", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_event_position_liquidated"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_position_liquidated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_position_liquidated\"", "created_at": 1723584323.5374618}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_previous_order_expired": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_previous_order_expired", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_previous_order_expired", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_event_previous_order_expired"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_previous_order_expired", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_previous_order_expired\"", "created_at": 1723584323.5376139}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_rate_updated": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_interest_rate_updated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_rate_updated", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_event_interest_rate_updated"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_interest_rate_updated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_interest_rate_updated\"", "created_at": 1723584323.5378625}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_charged": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_interest_charged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_charged", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_event_interest_charged"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_interest_charged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_interest_charged\"", "created_at": 1723584323.5380247}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_committed": {"database": "analytics", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_order_committed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_committed", "fqn": ["synthetix", "raw", "raw_base_sepolia", "spot_market_proxy_event_order_committed"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_committed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_order_committed\"", "created_at": 1723584323.5381796}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_settled": {"database": "analytics", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_order_settled", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_settled", "fqn": ["synthetix", "raw", "raw_base_sepolia", "spot_market_proxy_event_order_settled"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_settled", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_order_settled\"", "created_at": 1723584323.5383322}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_cancelled": {"database": "analytics", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_order_cancelled", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_cancelled", "fqn": ["synthetix", "raw", "raw_base_sepolia", "spot_market_proxy_event_order_cancelled"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_cancelled", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_order_cancelled\"", "created_at": 1723584323.5384917}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_registered": {"database": "analytics", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_synth_registered", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_registered", "fqn": ["synthetix", "raw", "raw_base_sepolia", "spot_market_proxy_event_synth_registered"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_registered", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_registered\"", "created_at": 1723584323.5386465}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_bought": {"database": "analytics", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_synth_bought", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_bought", "fqn": ["synthetix", "raw", "raw_base_sepolia", "spot_market_proxy_event_synth_bought"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_bought", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_bought\"", "created_at": 1723584323.5388002}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_sold": {"database": "analytics", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_synth_sold", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_sold", "fqn": ["synthetix", "raw", "raw_base_sepolia", "spot_market_proxy_event_synth_sold"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_sold", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_sold\"", "created_at": 1723584323.5389547}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_wrapped": {"database": "analytics", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_synth_wrapped", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_wrapped", "fqn": ["synthetix", "raw", "raw_base_sepolia", "spot_market_proxy_event_synth_wrapped"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_wrapped", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_wrapped\"", "created_at": 1723584323.5391235}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_unwrapped": {"database": "analytics", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_synth_unwrapped", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_unwrapped", "fqn": ["synthetix", "raw", "raw_base_sepolia", "spot_market_proxy_event_synth_unwrapped"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_unwrapped", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_unwrapped\"", "created_at": 1723584323.539288}, "source.synthetix.raw_base_sepolia.core_proxy_event_account_created": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_account_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_account_created", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_account_created"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_account_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_account_created\"", "created_at": 1723584323.539444}, "source.synthetix.raw_base_sepolia.core_proxy_event_delegation_updated": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_delegation_updated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_delegation_updated", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_delegation_updated"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_delegation_updated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_delegation_updated\"", "created_at": 1723584323.539598}, "source.synthetix.raw_base_sepolia.core_proxy_event_deposited": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_deposited", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_deposited"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_deposited\"", "created_at": 1723584323.5397494}, "source.synthetix.raw_base_sepolia.core_proxy_event_withdrawn": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_withdrawn", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_withdrawn"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_withdrawn\"", "created_at": 1723584323.5399}, "source.synthetix.raw_base_sepolia.core_proxy_event_liquidation": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_liquidation", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_liquidation", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_liquidation"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_liquidation", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_liquidation\"", "created_at": 1723584323.5400524}, "source.synthetix.raw_base_sepolia.core_proxy_event_market_registered": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_market_registered", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_market_registered", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_market_registered"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_registered", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_registered\"", "created_at": 1723584323.5402045}, "source.synthetix.raw_base_sepolia.core_proxy_event_pool_created": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_pool_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_pool_created", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_pool_created"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_pool_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_pool_created\"", "created_at": 1723584323.5403538}, "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_claimed": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_rewards_claimed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_claimed", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_rewards_claimed"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_rewards_claimed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_rewards_claimed\"", "created_at": 1723584323.5405042}, "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_distributed": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_rewards_distributed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_distributed", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_rewards_distributed"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_rewards_distributed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_rewards_distributed\"", "created_at": 1723584323.5406563}, "source.synthetix.raw_base_sepolia.core_proxy_event_usd_burned": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_usd_burned", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_usd_burned", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_usd_burned"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_usd_burned", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_usd_burned\"", "created_at": 1723584323.540811}, "source.synthetix.raw_base_sepolia.core_proxy_event_usd_minted": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_usd_minted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_usd_minted", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_usd_minted"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_usd_minted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_usd_minted\"", "created_at": 1723584323.5409622}, "source.synthetix.raw_base_sepolia.core_proxy_event_vault_liquidation": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_vault_liquidation", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_vault_liquidation", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_vault_liquidation"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_vault_liquidation", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_vault_liquidation\"", "created_at": 1723584323.541113}, "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_deposited": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_market_collateral_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_deposited", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_market_collateral_deposited"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_collateral_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_collateral_deposited\"", "created_at": 1723584323.5412624}, "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_withdrawn": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_market_collateral_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_withdrawn", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_market_collateral_withdrawn"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_collateral_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_collateral_withdrawn\"", "created_at": 1723584323.5414116}, "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_deposited": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_market_usd_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_deposited", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_market_usd_deposited"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_usd_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_usd_deposited\"", "created_at": 1723584323.5415604}, "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_withdrawn": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_market_usd_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_withdrawn", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_market_usd_withdrawn"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_usd_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_usd_withdrawn\"", "created_at": 1723584323.541708}, "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_deposited": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_legacy_event_market_usd_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_deposited", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_legacy_event_market_usd_deposited"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_legacy_event_market_usd_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_legacy_event_market_usd_deposited\"", "created_at": 1723584323.541857}, "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_withdrawn": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_legacy_event_market_usd_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_withdrawn", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_legacy_event_market_usd_withdrawn"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_legacy_event_market_usd_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_legacy_event_market_usd_withdrawn\"", "created_at": 1723584323.54201}, "source.synthetix.raw_base_sepolia.buyback_snx_event_buyback_processed": {"database": "analytics", "schema": "raw_base_sepolia", "name": "buyback_snx_event_buyback_processed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.buyback_snx_event_buyback_processed", "fqn": ["synthetix", "raw", "raw_base_sepolia", "buyback_snx_event_buyback_processed"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "buyback_snx_event_buyback_processed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"buyback_snx_event_buyback_processed\"", "created_at": 1723584323.5421617}, "source.synthetix.raw_base_sepolia.core_get_vault_collateral": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_get_vault_collateral", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_get_vault_collateral", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_get_vault_collateral"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_get_vault_collateral", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_get_vault_collateral\"", "created_at": 1723584323.5423129}, "source.synthetix.raw_base_sepolia.core_get_vault_debt": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_get_vault_debt", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_get_vault_debt", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_get_vault_debt"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_get_vault_debt", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_get_vault_debt\"", "created_at": 1723584323.5424635}, "source.synthetix.raw_base_sepolia.blocks_parquet": {"database": "analytics", "schema": "raw_base_sepolia", "name": "blocks_parquet", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.blocks_parquet", "fqn": ["synthetix", "raw", "raw_base_sepolia", "blocks_parquet"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "blocks_parquet", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"blocks_parquet\"", "created_at": 1723584323.5426137}, "source.synthetix.raw_arbitrum_sepolia.block": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "block", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.block", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "block"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "block", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"block\"", "created_at": 1723584323.542767}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_committed": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_order_committed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_committed", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "spot_market_proxy_event_order_committed"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_committed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_order_committed\"", "created_at": 1723584323.5429192}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_settled": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_order_settled", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_settled", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "spot_market_proxy_event_order_settled"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_settled", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_order_settled\"", "created_at": 1723584323.5430703}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_cancelled": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_order_cancelled", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_cancelled", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "spot_market_proxy_event_order_cancelled"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_cancelled", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_order_cancelled\"", "created_at": 1723584323.543252}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_registered": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_synth_registered", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_registered", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "spot_market_proxy_event_synth_registered"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_registered", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_registered\"", "created_at": 1723584323.543403}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_bought": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_synth_bought", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_bought", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "spot_market_proxy_event_synth_bought"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_bought", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_bought\"", "created_at": 1723584323.543555}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_sold": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_synth_sold", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_sold", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "spot_market_proxy_event_synth_sold"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_sold", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_sold\"", "created_at": 1723584323.5437133}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_wrapped": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_synth_wrapped", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_wrapped", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "spot_market_proxy_event_synth_wrapped"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_wrapped", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_wrapped\"", "created_at": 1723584323.5438645}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_unwrapped": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_synth_unwrapped", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_unwrapped", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "spot_market_proxy_event_synth_unwrapped"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_unwrapped", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_unwrapped\"", "created_at": 1723584323.5440161}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_account_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_account_created"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_account_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_account_created\"", "created_at": 1723584323.5441968}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_delegation_updated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_delegation_updated"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_delegation_updated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_delegation_updated\"", "created_at": 1723584323.54435}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_deposited": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_deposited", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_deposited"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_deposited\"", "created_at": 1723584323.5444994}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_withdrawn": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_withdrawn", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_withdrawn"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_withdrawn\"", "created_at": 1723584323.544648}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_liquidation": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_liquidation", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_liquidation", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_liquidation"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_liquidation", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_liquidation\"", "created_at": 1723584323.5447974}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_registered": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_market_registered", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_registered", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_market_registered"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_registered", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_registered\"", "created_at": 1723584323.5449467}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_pool_created": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_pool_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_pool_created", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_pool_created"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_pool_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_pool_created\"", "created_at": 1723584323.545097}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_claimed": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_rewards_claimed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_claimed", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_rewards_claimed"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_rewards_claimed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_rewards_claimed\"", "created_at": 1723584323.5452473}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_distributed": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_rewards_distributed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_distributed", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_rewards_distributed"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_rewards_distributed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_rewards_distributed\"", "created_at": 1723584323.5453982}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_burned": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_usd_burned", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_burned", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_usd_burned"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_usd_burned", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_usd_burned\"", "created_at": 1723584323.5455573}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_minted": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_usd_minted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_minted", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_usd_minted"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_usd_minted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_usd_minted\"", "created_at": 1723584323.5457065}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_vault_liquidation": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_vault_liquidation", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_vault_liquidation", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_vault_liquidation"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_vault_liquidation", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_vault_liquidation\"", "created_at": 1723584323.5458562}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_deposited": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_market_collateral_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_deposited", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_market_collateral_deposited"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_collateral_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_collateral_deposited\"", "created_at": 1723584323.546009}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_withdrawn": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_market_collateral_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_withdrawn", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_market_collateral_withdrawn"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_collateral_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_collateral_withdrawn\"", "created_at": 1723584323.546159}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_deposited": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_market_usd_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_deposited", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_market_usd_deposited"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_usd_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_usd_deposited\"", "created_at": 1723584323.5463102}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_withdrawn": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_market_usd_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_withdrawn", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_market_usd_withdrawn"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_usd_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_usd_withdrawn\"", "created_at": 1723584323.5464654}, "source.synthetix.raw_arbitrum_sepolia.core_get_vault_collateral": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_get_vault_collateral", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_get_vault_collateral", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_get_vault_collateral"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_get_vault_collateral", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_get_vault_collateral\"", "created_at": 1723584323.5466173}, "source.synthetix.raw_arbitrum_sepolia.core_get_vault_debt": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_get_vault_debt", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_get_vault_debt", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_get_vault_debt"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_get_vault_debt", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_get_vault_debt\"", "created_at": 1723584323.5467691}, "source.synthetix.raw_arbitrum_sepolia.blocks_parquet": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "blocks_parquet", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.blocks_parquet", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "blocks_parquet"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "blocks_parquet", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"blocks_parquet\"", "created_at": 1723584323.5469193}, "source.synthetix.raw_arbitrum_mainnet.block": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "block", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.block", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "block"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "block", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"block\"", "created_at": 1723584323.54707}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_committed": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_order_committed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_committed", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "spot_market_proxy_event_order_committed"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_committed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_order_committed\"", "created_at": 1723584323.547244}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_settled": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_order_settled", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_settled", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "spot_market_proxy_event_order_settled"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_settled", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_order_settled\"", "created_at": 1723584323.5473993}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_cancelled": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_order_cancelled", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_cancelled", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "spot_market_proxy_event_order_cancelled"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_cancelled", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_order_cancelled\"", "created_at": 1723584323.547551}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_registered": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_registered", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_registered", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "spot_market_proxy_event_synth_registered"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_registered", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_registered\"", "created_at": 1723584323.5477018}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_bought": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_bought", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_bought", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "spot_market_proxy_event_synth_bought"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_bought", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_bought\"", "created_at": 1723584323.5478516}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_sold": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_sold", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_sold", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "spot_market_proxy_event_synth_sold"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_sold", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_sold\"", "created_at": 1723584323.5480027}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_wrapped": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_wrapped", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_wrapped", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "spot_market_proxy_event_synth_wrapped"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_wrapped", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_wrapped\"", "created_at": 1723584323.5481532}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_unwrapped": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_unwrapped", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_unwrapped", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "spot_market_proxy_event_synth_unwrapped"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_unwrapped", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_unwrapped\"", "created_at": 1723584323.5483057}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_account_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_account_created"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_account_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_account_created\"", "created_at": 1723584323.5484567}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_delegation_updated": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_delegation_updated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_delegation_updated", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_delegation_updated"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_delegation_updated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_delegation_updated\"", "created_at": 1723584323.5486062}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_deposited": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_deposited", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_deposited"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_deposited\"", "created_at": 1723584323.5487561}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_withdrawn"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_withdrawn\"", "created_at": 1723584323.5489047}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_liquidation": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_liquidation", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_liquidation", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_liquidation"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_liquidation", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_liquidation\"", "created_at": 1723584323.549053}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_registered", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_market_registered"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_registered", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_registered\"", "created_at": 1723584323.549201}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_pool_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_pool_created"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_pool_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_pool_created\"", "created_at": 1723584323.5493562}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_rewards_claimed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_rewards_claimed"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_rewards_claimed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_rewards_claimed\"", "created_at": 1723584323.5495057}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_distributed": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_rewards_distributed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_distributed", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_rewards_distributed"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_rewards_distributed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_rewards_distributed\"", "created_at": 1723584323.5496547}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_burned": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_usd_burned", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_burned", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_usd_burned"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_usd_burned", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_usd_burned\"", "created_at": 1723584323.5498035}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_minted": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_usd_minted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_minted", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_usd_minted"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_usd_minted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_usd_minted\"", "created_at": 1723584323.5499516}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_vault_liquidation", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_vault_liquidation"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_vault_liquidation", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_vault_liquidation\"", "created_at": 1723584323.5501003}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_deposited": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_collateral_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_deposited", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_market_collateral_deposited"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_collateral_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_collateral_deposited\"", "created_at": 1723584323.55025}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_withdrawn": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_collateral_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_withdrawn", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_market_collateral_withdrawn"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_collateral_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_collateral_withdrawn\"", "created_at": 1723584323.550425}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_deposited": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_usd_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_deposited", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_market_usd_deposited"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_usd_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_usd_deposited\"", "created_at": 1723584323.5505807}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_withdrawn": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_usd_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_withdrawn", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_market_usd_withdrawn"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_usd_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_usd_withdrawn\"", "created_at": 1723584323.55075}, "source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_get_vault_collateral", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_get_vault_collateral"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_get_vault_collateral", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_get_vault_collateral\"", "created_at": 1723584323.550898}, "source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_get_vault_debt", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_get_vault_debt"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_get_vault_debt", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_get_vault_debt\"", "created_at": 1723584323.5510483}, "source.synthetix.raw_arbitrum_mainnet.blocks_parquet": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "blocks_parquet", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.blocks_parquet", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "blocks_parquet"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "blocks_parquet", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"blocks_parquet\"", "created_at": 1723584323.5512228}, "source.synthetix.raw_base_mainnet.block": {"database": "analytics", "schema": "raw_base_mainnet", "name": "block", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.block", "fqn": ["synthetix", "raw", "raw_base_mainnet", "block"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "block", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"block\"", "created_at": 1723584323.551379}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_created": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_account_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_created", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_event_account_created"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_account_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_account_created\"", "created_at": 1723584323.5515316}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_liquidation_attempt": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_account_liquidation_attempt", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_liquidation_attempt", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_event_account_liquidation_attempt"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_account_liquidation_attempt", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_account_liquidation_attempt\"", "created_at": 1723584323.551682}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_collateral_modified": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_collateral_modified", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_collateral_modified", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_event_collateral_modified"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_collateral_modified", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_collateral_modified\"", "created_at": 1723584323.551832}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_created": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_market_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_created", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_event_market_created"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_market_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_market_created\"", "created_at": 1723584323.5519814}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_updated": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_market_updated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_updated", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_event_market_updated"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_market_updated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_market_updated\"", "created_at": 1723584323.5521328}, "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_market_updated": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_legacy_event_market_updated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_market_updated", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_legacy_event_market_updated"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_legacy_event_market_updated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_legacy_event_market_updated\"", "created_at": 1723584323.552282}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_committed": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_order_committed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_committed", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_event_order_committed"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_order_committed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_order_committed\"", "created_at": 1723584323.5524318}, "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_order_committed": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_legacy_event_order_committed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_order_committed", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_legacy_event_order_committed"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_legacy_event_order_committed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_legacy_event_order_committed\"", "created_at": 1723584323.5525808}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_settled": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_order_settled", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_settled", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_event_order_settled"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_order_settled", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_order_settled\"", "created_at": 1723584323.5527306}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_position_liquidated": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_position_liquidated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_position_liquidated", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_event_position_liquidated"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_position_liquidated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_position_liquidated\"", "created_at": 1723584323.5528798}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_previous_order_expired": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_previous_order_expired", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_previous_order_expired", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_event_previous_order_expired"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_previous_order_expired", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_previous_order_expired\"", "created_at": 1723584323.5530274}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_rate_updated": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_interest_rate_updated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_rate_updated", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_event_interest_rate_updated"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_interest_rate_updated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_interest_rate_updated\"", "created_at": 1723584323.5531743}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_charged": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_interest_charged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_charged", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_event_interest_charged"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_interest_charged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_interest_charged\"", "created_at": 1723584323.553323}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_committed": {"database": "analytics", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_order_committed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_committed", "fqn": ["synthetix", "raw", "raw_base_mainnet", "spot_market_proxy_event_order_committed"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_committed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_order_committed\"", "created_at": 1723584323.5534685}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_settled": {"database": "analytics", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_order_settled", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_settled", "fqn": ["synthetix", "raw", "raw_base_mainnet", "spot_market_proxy_event_order_settled"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_settled", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_order_settled\"", "created_at": 1723584323.5536153}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_cancelled": {"database": "analytics", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_order_cancelled", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_cancelled", "fqn": ["synthetix", "raw", "raw_base_mainnet", "spot_market_proxy_event_order_cancelled"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_cancelled", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_order_cancelled\"", "created_at": 1723584323.553763}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_registered": {"database": "analytics", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_synth_registered", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_registered", "fqn": ["synthetix", "raw", "raw_base_mainnet", "spot_market_proxy_event_synth_registered"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_registered", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_registered\"", "created_at": 1723584323.5539098}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_bought": {"database": "analytics", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_synth_bought", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_bought", "fqn": ["synthetix", "raw", "raw_base_mainnet", "spot_market_proxy_event_synth_bought"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_bought", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_bought\"", "created_at": 1723584323.5540566}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_sold": {"database": "analytics", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_synth_sold", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_sold", "fqn": ["synthetix", "raw", "raw_base_mainnet", "spot_market_proxy_event_synth_sold"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_sold", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_sold\"", "created_at": 1723584323.5542047}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_wrapped": {"database": "analytics", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_synth_wrapped", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_wrapped", "fqn": ["synthetix", "raw", "raw_base_mainnet", "spot_market_proxy_event_synth_wrapped"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_wrapped", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_wrapped\"", "created_at": 1723584323.554353}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_unwrapped": {"database": "analytics", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_synth_unwrapped", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_unwrapped", "fqn": ["synthetix", "raw", "raw_base_mainnet", "spot_market_proxy_event_synth_unwrapped"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_unwrapped", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_unwrapped\"", "created_at": 1723584323.5545}, "source.synthetix.raw_base_mainnet.core_proxy_event_account_created": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_account_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_account_created", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_account_created"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_account_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_account_created\"", "created_at": 1723584323.554647}, "source.synthetix.raw_base_mainnet.core_proxy_event_delegation_updated": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_delegation_updated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_delegation_updated", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_delegation_updated"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_delegation_updated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_delegation_updated\"", "created_at": 1723584323.554799}, "source.synthetix.raw_base_mainnet.core_proxy_event_deposited": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_deposited", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_deposited"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_deposited\"", "created_at": 1723584323.5549483}, "source.synthetix.raw_base_mainnet.core_proxy_event_withdrawn": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_withdrawn", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_withdrawn"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_withdrawn\"", "created_at": 1723584323.5551229}, "source.synthetix.raw_base_mainnet.core_proxy_event_liquidation": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_liquidation", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_liquidation", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_liquidation"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_liquidation", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_liquidation\"", "created_at": 1723584323.555382}, "source.synthetix.raw_base_mainnet.core_proxy_event_market_registered": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_market_registered", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_market_registered", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_market_registered"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_registered", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_registered\"", "created_at": 1723584323.5555925}, "source.synthetix.raw_base_mainnet.core_proxy_event_pool_created": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_pool_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_pool_created", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_pool_created"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_pool_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_pool_created\"", "created_at": 1723584323.555749}, "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_claimed": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_rewards_claimed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_claimed", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_rewards_claimed"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_rewards_claimed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_rewards_claimed\"", "created_at": 1723584323.5559013}, "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_distributed": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_rewards_distributed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_distributed", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_rewards_distributed"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_rewards_distributed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_rewards_distributed\"", "created_at": 1723584323.5560522}, "source.synthetix.raw_base_mainnet.core_proxy_event_usd_burned": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_usd_burned", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_usd_burned", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_usd_burned"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_usd_burned", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_usd_burned\"", "created_at": 1723584323.5562654}, "source.synthetix.raw_base_mainnet.core_proxy_event_usd_minted": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_usd_minted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_usd_minted", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_usd_minted"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_usd_minted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_usd_minted\"", "created_at": 1723584323.556473}, "source.synthetix.raw_base_mainnet.core_proxy_event_vault_liquidation": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_vault_liquidation", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_vault_liquidation", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_vault_liquidation"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_vault_liquidation", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_vault_liquidation\"", "created_at": 1723584323.5566366}, "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_deposited": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_market_collateral_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_deposited", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_market_collateral_deposited"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_collateral_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_collateral_deposited\"", "created_at": 1723584323.5567873}, "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_withdrawn": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_market_collateral_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_withdrawn", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_market_collateral_withdrawn"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_collateral_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_collateral_withdrawn\"", "created_at": 1723584323.556959}, "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_deposited": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_market_usd_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_deposited", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_market_usd_deposited"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_usd_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_usd_deposited\"", "created_at": 1723584323.5571067}, "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_withdrawn": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_market_usd_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_withdrawn", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_market_usd_withdrawn"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_usd_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_usd_withdrawn\"", "created_at": 1723584323.5572538}, "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_deposited": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_legacy_event_market_usd_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_deposited", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_legacy_event_market_usd_deposited"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_legacy_event_market_usd_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_legacy_event_market_usd_deposited\"", "created_at": 1723584323.5574017}, "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_withdrawn": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_legacy_event_market_usd_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_withdrawn", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_legacy_event_market_usd_withdrawn"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_legacy_event_market_usd_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_legacy_event_market_usd_withdrawn\"", "created_at": 1723584323.5575495}, "source.synthetix.raw_base_mainnet.buyback_snx_legacy_event_buyback_processed": {"database": "analytics", "schema": "raw_base_mainnet", "name": "buyback_snx_legacy_event_buyback_processed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.buyback_snx_legacy_event_buyback_processed", "fqn": ["synthetix", "raw", "raw_base_mainnet", "buyback_snx_legacy_event_buyback_processed"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "buyback_snx_legacy_event_buyback_processed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"buyback_snx_legacy_event_buyback_processed\"", "created_at": 1723584323.557697}, "source.synthetix.raw_base_mainnet.buyback_snx_event_buyback_processed": {"database": "analytics", "schema": "raw_base_mainnet", "name": "buyback_snx_event_buyback_processed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.buyback_snx_event_buyback_processed", "fqn": ["synthetix", "raw", "raw_base_mainnet", "buyback_snx_event_buyback_processed"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "buyback_snx_event_buyback_processed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"buyback_snx_event_buyback_processed\"", "created_at": 1723584323.5578454}, "source.synthetix.raw_base_mainnet.core_get_vault_collateral": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_get_vault_collateral", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_get_vault_collateral", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_get_vault_collateral"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_get_vault_collateral", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_get_vault_collateral\"", "created_at": 1723584323.5579967}, "source.synthetix.raw_base_mainnet.core_get_vault_debt": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_get_vault_debt", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_get_vault_debt", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_get_vault_debt"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_get_vault_debt", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_get_vault_debt\"", "created_at": 1723584323.5581453}, "source.synthetix.raw_base_mainnet.blocks_parquet": {"database": "analytics", "schema": "raw_base_mainnet", "name": "blocks_parquet", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.blocks_parquet", "fqn": ["synthetix", "raw", "raw_base_mainnet", "blocks_parquet"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "blocks_parquet", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"blocks_parquet\"", "created_at": 1723584323.5582933}, "source.synthetix.raw_optimism_mainnet.block": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "block", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.block", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "block"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "block", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"block\"", "created_at": 1723584323.5584443}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_committed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_order_committed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_committed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "spot_market_proxy_event_order_committed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_committed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"spot_market_proxy_event_order_committed\"", "created_at": 1723584323.5585918}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_settled": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_order_settled", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_settled", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "spot_market_proxy_event_order_settled"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_settled", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"spot_market_proxy_event_order_settled\"", "created_at": 1723584323.5587385}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_cancelled": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_order_cancelled", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_cancelled", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "spot_market_proxy_event_order_cancelled"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_cancelled", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"spot_market_proxy_event_order_cancelled\"", "created_at": 1723584323.5588853}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_registered": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_synth_registered", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_registered", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "spot_market_proxy_event_synth_registered"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_registered", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"spot_market_proxy_event_synth_registered\"", "created_at": 1723584323.559032}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_bought": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_synth_bought", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_bought", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "spot_market_proxy_event_synth_bought"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_bought", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"spot_market_proxy_event_synth_bought\"", "created_at": 1723584323.5592396}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_sold": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_synth_sold", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_sold", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "spot_market_proxy_event_synth_sold"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_sold", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"spot_market_proxy_event_synth_sold\"", "created_at": 1723584323.559397}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_wrapped": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_synth_wrapped", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_wrapped", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "spot_market_proxy_event_synth_wrapped"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_wrapped", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"spot_market_proxy_event_synth_wrapped\"", "created_at": 1723584323.5595477}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_unwrapped": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_synth_unwrapped", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_unwrapped", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "spot_market_proxy_event_synth_unwrapped"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_unwrapped", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"spot_market_proxy_event_synth_unwrapped\"", "created_at": 1723584323.559697}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_account_created": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_account_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_account_created", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_account_created"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_account_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_account_created\"", "created_at": 1723584323.5598445}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_delegation_updated": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_delegation_updated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_delegation_updated", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_delegation_updated"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_delegation_updated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_delegation_updated\"", "created_at": 1723584323.559992}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_deposited": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_deposited", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_deposited"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_deposited\"", "created_at": 1723584323.560138}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_withdrawn": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_withdrawn", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_withdrawn"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_withdrawn\"", "created_at": 1723584323.5602968}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_liquidation": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_liquidation", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_liquidation", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_liquidation"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_liquidation", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_liquidation\"", "created_at": 1723584323.560446}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_registered": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_market_registered", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_registered", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_market_registered"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_registered", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_market_registered\"", "created_at": 1723584323.560595}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_pool_created": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_pool_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_pool_created", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_pool_created"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_pool_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_pool_created\"", "created_at": 1723584323.5607448}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_claimed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_rewards_claimed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_claimed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_rewards_claimed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_rewards_claimed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_rewards_claimed\"", "created_at": 1723584323.5608919}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_distributed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_rewards_distributed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_distributed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_rewards_distributed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_rewards_distributed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_rewards_distributed\"", "created_at": 1723584323.5610394}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_burned": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_usd_burned", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_burned", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_usd_burned"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_usd_burned", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_usd_burned\"", "created_at": 1723584323.561188}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_minted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_usd_minted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_minted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_usd_minted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_usd_minted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_usd_minted\"", "created_at": 1723584323.5613365}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_vault_liquidation": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_vault_liquidation", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_vault_liquidation", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_vault_liquidation"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_vault_liquidation", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_vault_liquidation\"", "created_at": 1723584323.5614836}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_deposited": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_market_collateral_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_deposited", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_market_collateral_deposited"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_collateral_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_market_collateral_deposited\"", "created_at": 1723584323.5616298}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_withdrawn": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_market_collateral_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_withdrawn", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_market_collateral_withdrawn"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_collateral_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_market_collateral_withdrawn\"", "created_at": 1723584323.561776}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v21_inch_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v21_inch_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v21_inch_event_delayed_order_removed\"", "created_at": 1723584323.5619228}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v21_inch_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v21_inch_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v21_inch_event_delayed_order_submitted\"", "created_at": 1723584323.5620704}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v21_inch_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v21_inch_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v21_inch_event_funding_recomputed\"", "created_at": 1723584323.5622177}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v21_inch_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v21_inch_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v21_inch_event_margin_transferred\"", "created_at": 1723584323.562367}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v21_inch_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v21_inch_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v21_inch_event_perps_tracking\"", "created_at": 1723584323.5625186}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v21_inch_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v21_inch_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v21_inch_event_position_flagged\"", "created_at": 1723584323.5626698}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v21_inch_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v21_inch_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v21_inch_event_position_liquidated0\"", "created_at": 1723584323.5628176}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v21_inch_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v21_inch_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v21_inch_event_position_liquidated1\"", "created_at": 1723584323.562965}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v21_inch_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v21_inch_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v21_inch_event_position_modified0\"", "created_at": 1723584323.563468}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v21_inch_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v21_inch_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v21_inch_event_position_modified1\"", "created_at": 1723584323.5636375}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aave_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aave_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aave_event_delayed_order_removed\"", "created_at": 1723584323.5637946}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aave_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aave_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aave_event_delayed_order_submitted\"", "created_at": 1723584323.5639489}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aave_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aave_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aave_event_funding_recomputed\"", "created_at": 1723584323.5641005}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aave_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aave_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aave_event_margin_transferred\"", "created_at": 1723584323.5642529}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aave_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aave_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aave_event_perps_tracking\"", "created_at": 1723584323.5644045}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aave_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aave_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aave_event_position_flagged\"", "created_at": 1723584323.5645573}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aave_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aave_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aave_event_position_liquidated0\"", "created_at": 1723584323.5647082}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aave_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aave_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aave_event_position_liquidated1\"", "created_at": 1723584323.5648575}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aave_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aave_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aave_event_position_modified0\"", "created_at": 1723584323.5650096}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aave_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aave_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aave_event_position_modified1\"", "created_at": 1723584323.5651615}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ada_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ada_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ada_event_delayed_order_removed\"", "created_at": 1723584323.5653126}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ada_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ada_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ada_event_delayed_order_submitted\"", "created_at": 1723584323.5654655}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ada_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ada_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ada_event_funding_recomputed\"", "created_at": 1723584323.5656168}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ada_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ada_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ada_event_margin_transferred\"", "created_at": 1723584323.5657668}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ada_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ada_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ada_event_perps_tracking\"", "created_at": 1723584323.5659177}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ada_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ada_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ada_event_position_flagged\"", "created_at": 1723584323.566067}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ada_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ada_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ada_event_position_liquidated0\"", "created_at": 1723584323.5662344}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ada_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ada_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ada_event_position_liquidated1\"", "created_at": 1723584323.5663998}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ada_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ada_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ada_event_position_modified0\"", "created_at": 1723584323.566571}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ada_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ada_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ada_event_position_modified1\"", "created_at": 1723584323.5667188}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_algo_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_algo_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_algo_event_delayed_order_removed\"", "created_at": 1723584323.5668664}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_algo_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_algo_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_algo_event_delayed_order_submitted\"", "created_at": 1723584323.5670137}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_algo_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_algo_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_algo_event_funding_recomputed\"", "created_at": 1723584323.5672238}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_algo_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_algo_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_algo_event_margin_transferred\"", "created_at": 1723584323.5673869}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_algo_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_algo_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_algo_event_perps_tracking\"", "created_at": 1723584323.5675395}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_algo_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_algo_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_algo_event_position_flagged\"", "created_at": 1723584323.5676897}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_algo_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_algo_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_algo_event_position_liquidated0\"", "created_at": 1723584323.567839}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_algo_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_algo_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_algo_event_position_liquidated1\"", "created_at": 1723584323.567987}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_algo_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_algo_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_algo_event_position_modified0\"", "created_at": 1723584323.5681345}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_algo_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_algo_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_algo_event_position_modified1\"", "created_at": 1723584323.568282}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ankr_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ankr_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ankr_event_delayed_order_removed\"", "created_at": 1723584323.5684292}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ankr_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ankr_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ankr_event_delayed_order_submitted\"", "created_at": 1723584323.568576}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ankr_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ankr_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ankr_event_funding_recomputed\"", "created_at": 1723584323.568724}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ankr_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ankr_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ankr_event_margin_transferred\"", "created_at": 1723584323.568871}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ankr_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ankr_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ankr_event_perps_tracking\"", "created_at": 1723584323.5690174}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ankr_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ankr_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ankr_event_position_flagged\"", "created_at": 1723584323.5691638}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ankr_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ankr_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ankr_event_position_liquidated0\"", "created_at": 1723584323.569318}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ankr_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ankr_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ankr_event_position_liquidated1\"", "created_at": 1723584323.5694685}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ankr_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ankr_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ankr_event_position_modified0\"", "created_at": 1723584323.5696146}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ankr_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ankr_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ankr_event_position_modified1\"", "created_at": 1723584323.5697622}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ape_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ape_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ape_event_delayed_order_removed\"", "created_at": 1723584323.5699093}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ape_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ape_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ape_event_delayed_order_submitted\"", "created_at": 1723584323.570057}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ape_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ape_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ape_event_funding_recomputed\"", "created_at": 1723584323.5702343}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ape_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ape_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ape_event_margin_transferred\"", "created_at": 1723584323.5703835}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ape_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ape_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ape_event_perps_tracking\"", "created_at": 1723584323.5705311}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ape_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ape_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ape_event_position_flagged\"", "created_at": 1723584323.5706778}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ape_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ape_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ape_event_position_liquidated0\"", "created_at": 1723584323.5708249}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ape_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ape_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ape_event_position_liquidated1\"", "created_at": 1723584323.570973}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ape_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ape_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ape_event_position_modified0\"", "created_at": 1723584323.5711396}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ape_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ape_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ape_event_position_modified1\"", "created_at": 1723584323.5713027}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_apt_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_apt_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_apt_event_delayed_order_removed\"", "created_at": 1723584323.5714517}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_apt_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_apt_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_apt_event_delayed_order_submitted\"", "created_at": 1723584323.5715983}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_apt_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_apt_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_apt_event_funding_recomputed\"", "created_at": 1723584323.571745}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_apt_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_apt_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_apt_event_margin_transferred\"", "created_at": 1723584323.5718918}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_apt_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_apt_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_apt_event_perps_tracking\"", "created_at": 1723584323.572039}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_apt_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_apt_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_apt_event_position_flagged\"", "created_at": 1723584323.5721865}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_apt_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_apt_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_apt_event_position_liquidated0\"", "created_at": 1723584323.572334}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_apt_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_apt_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_apt_event_position_liquidated1\"", "created_at": 1723584323.5724835}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_apt_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_apt_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_apt_event_position_modified0\"", "created_at": 1723584323.5726323}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_apt_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_apt_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_apt_event_position_modified1\"", "created_at": 1723584323.572779}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_arb_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_arb_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_arb_event_delayed_order_removed\"", "created_at": 1723584323.5729265}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_arb_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_arb_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_arb_event_delayed_order_submitted\"", "created_at": 1723584323.573074}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_arb_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_arb_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_arb_event_funding_recomputed\"", "created_at": 1723584323.5732226}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_arb_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_arb_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_arb_event_margin_transferred\"", "created_at": 1723584323.5733728}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_arb_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_arb_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_arb_event_perps_tracking\"", "created_at": 1723584323.573523}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_arb_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_arb_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_arb_event_position_flagged\"", "created_at": 1723584323.5736706}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_arb_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_arb_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_arb_event_position_liquidated0\"", "created_at": 1723584323.5738187}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_arb_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_arb_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_arb_event_position_liquidated1\"", "created_at": 1723584323.5739675}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_arb_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_arb_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_arb_event_position_modified0\"", "created_at": 1723584323.5741167}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_arb_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_arb_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_arb_event_position_modified1\"", "created_at": 1723584323.5742657}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_atom_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_atom_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_atom_event_delayed_order_removed\"", "created_at": 1723584323.574413}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_atom_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_atom_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_atom_event_delayed_order_submitted\"", "created_at": 1723584323.5745592}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_atom_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_atom_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_atom_event_funding_recomputed\"", "created_at": 1723584323.574707}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_atom_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_atom_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_atom_event_margin_transferred\"", "created_at": 1723584323.5748541}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_atom_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_atom_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_atom_event_perps_tracking\"", "created_at": 1723584323.5750017}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_atom_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_atom_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_atom_event_position_flagged\"", "created_at": 1723584323.57517}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_atom_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_atom_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_atom_event_position_liquidated0\"", "created_at": 1723584323.5753212}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_atom_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_atom_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_atom_event_position_liquidated1\"", "created_at": 1723584323.575469}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_atom_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_atom_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_atom_event_position_modified0\"", "created_at": 1723584323.5756164}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_atom_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_atom_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_atom_event_position_modified1\"", "created_at": 1723584323.5757635}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aud_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aud_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aud_event_delayed_order_removed\"", "created_at": 1723584323.5759106}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aud_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aud_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aud_event_delayed_order_submitted\"", "created_at": 1723584323.57606}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aud_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aud_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aud_event_funding_recomputed\"", "created_at": 1723584323.5762072}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aud_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aud_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aud_event_margin_transferred\"", "created_at": 1723584323.5763736}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aud_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aud_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aud_event_perps_tracking\"", "created_at": 1723584323.5765219}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aud_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aud_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aud_event_position_flagged\"", "created_at": 1723584323.5766692}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aud_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aud_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aud_event_position_liquidated0\"", "created_at": 1723584323.5768168}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aud_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aud_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aud_event_position_liquidated1\"", "created_at": 1723584323.5769634}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aud_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aud_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aud_event_position_modified0\"", "created_at": 1723584323.577109}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aud_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aud_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aud_event_position_modified1\"", "created_at": 1723584323.5772576}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_avax_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_avax_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_avax_event_delayed_order_removed\"", "created_at": 1723584323.5774064}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_avax_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_avax_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_avax_event_delayed_order_submitted\"", "created_at": 1723584323.5775545}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_avax_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_avax_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_avax_event_funding_recomputed\"", "created_at": 1723584323.5777018}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_avax_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_avax_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_avax_event_margin_transferred\"", "created_at": 1723584323.5778491}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_avax_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_avax_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_avax_event_perps_tracking\"", "created_at": 1723584323.5779958}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_avax_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_avax_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_avax_event_position_flagged\"", "created_at": 1723584323.5781438}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_avax_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_avax_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_avax_event_position_liquidated0\"", "created_at": 1723584323.5782905}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_avax_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_avax_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_avax_event_position_liquidated1\"", "created_at": 1723584323.5784366}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_avax_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_avax_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_avax_event_position_modified0\"", "created_at": 1723584323.5785828}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_avax_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_avax_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_avax_event_position_modified1\"", "created_at": 1723584323.5787292}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_axs_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_axs_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_axs_event_delayed_order_removed\"", "created_at": 1723584323.578877}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_axs_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_axs_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_axs_event_delayed_order_submitted\"", "created_at": 1723584323.5790262}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_axs_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_axs_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_axs_event_funding_recomputed\"", "created_at": 1723584323.579194}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_axs_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_axs_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_axs_event_margin_transferred\"", "created_at": 1723584323.5793507}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_axs_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_axs_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_axs_event_perps_tracking\"", "created_at": 1723584323.5795019}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_axs_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_axs_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_axs_event_position_flagged\"", "created_at": 1723584323.5796506}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_axs_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_axs_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_axs_event_position_liquidated0\"", "created_at": 1723584323.5797997}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_axs_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_axs_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_axs_event_position_liquidated1\"", "created_at": 1723584323.5799475}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_axs_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_axs_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_axs_event_position_modified0\"", "created_at": 1723584323.580095}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_axs_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_axs_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_axs_event_position_modified1\"", "created_at": 1723584323.5802422}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bal_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bal_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bal_event_delayed_order_removed\"", "created_at": 1723584323.5803905}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bal_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bal_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bal_event_delayed_order_submitted\"", "created_at": 1723584323.5805426}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bal_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bal_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bal_event_funding_recomputed\"", "created_at": 1723584323.5806918}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bal_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bal_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bal_event_margin_transferred\"", "created_at": 1723584323.5808394}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bal_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bal_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bal_event_perps_tracking\"", "created_at": 1723584323.5809875}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bal_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bal_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bal_event_position_flagged\"", "created_at": 1723584323.5811348}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bal_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bal_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bal_event_position_liquidated0\"", "created_at": 1723584323.581283}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bal_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bal_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bal_event_position_liquidated1\"", "created_at": 1723584323.5814304}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bal_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bal_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bal_event_position_modified0\"", "created_at": 1723584323.581579}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bal_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bal_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bal_event_position_modified1\"", "created_at": 1723584323.5817273}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bch_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bch_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bch_event_delayed_order_removed\"", "created_at": 1723584323.581889}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bch_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bch_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bch_event_delayed_order_submitted\"", "created_at": 1723584323.5820355}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bch_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bch_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bch_event_funding_recomputed\"", "created_at": 1723584323.582184}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bch_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bch_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bch_event_margin_transferred\"", "created_at": 1723584323.5823414}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bch_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bch_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bch_event_perps_tracking\"", "created_at": 1723584323.5825145}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bch_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bch_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bch_event_position_flagged\"", "created_at": 1723584323.5826652}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bch_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bch_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bch_event_position_liquidated0\"", "created_at": 1723584323.5828164}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bch_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bch_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bch_event_position_liquidated1\"", "created_at": 1723584323.5829659}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bch_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bch_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bch_event_position_modified0\"", "created_at": 1723584323.5831316}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bch_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bch_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bch_event_position_modified1\"", "created_at": 1723584323.5832872}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_blur_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_blur_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_blur_event_delayed_order_removed\"", "created_at": 1723584323.5834363}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_blur_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_blur_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_blur_event_delayed_order_submitted\"", "created_at": 1723584323.5836244}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_blur_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_blur_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_blur_event_funding_recomputed\"", "created_at": 1723584323.5838075}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_blur_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_blur_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_blur_event_margin_transferred\"", "created_at": 1723584323.583962}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_blur_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_blur_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_blur_event_perps_tracking\"", "created_at": 1723584323.5841126}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_blur_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_blur_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_blur_event_position_flagged\"", "created_at": 1723584323.584262}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_blur_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_blur_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_blur_event_position_liquidated0\"", "created_at": 1723584323.584419}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_blur_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_blur_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_blur_event_position_liquidated1\"", "created_at": 1723584323.5845804}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_blur_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_blur_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_blur_event_position_modified0\"", "created_at": 1723584323.5847313}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_blur_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_blur_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_blur_event_position_modified1\"", "created_at": 1723584323.5848796}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bnb_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bnb_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bnb_event_delayed_order_removed\"", "created_at": 1723584323.5850282}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bnb_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bnb_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bnb_event_delayed_order_submitted\"", "created_at": 1723584323.585178}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bnb_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bnb_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bnb_event_funding_recomputed\"", "created_at": 1723584323.5853324}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bnb_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bnb_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bnb_event_margin_transferred\"", "created_at": 1723584323.5854867}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bnb_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bnb_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bnb_event_perps_tracking\"", "created_at": 1723584323.5856369}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bnb_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bnb_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bnb_event_position_flagged\"", "created_at": 1723584323.5857863}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bnb_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bnb_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bnb_event_position_liquidated0\"", "created_at": 1723584323.5859342}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bnb_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bnb_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bnb_event_position_liquidated1\"", "created_at": 1723584323.586089}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bnb_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bnb_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bnb_event_position_modified0\"", "created_at": 1723584323.5862472}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bnb_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bnb_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bnb_event_position_modified1\"", "created_at": 1723584323.5863976}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bonk_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bonk_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bonk_event_delayed_order_removed\"", "created_at": 1723584323.5865462}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bonk_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bonk_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bonk_event_delayed_order_submitted\"", "created_at": 1723584323.5866957}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bonk_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bonk_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bonk_event_funding_recomputed\"", "created_at": 1723584323.5868444}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bonk_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bonk_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bonk_event_margin_transferred\"", "created_at": 1723584323.5870001}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bonk_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bonk_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bonk_event_perps_tracking\"", "created_at": 1723584323.5871909}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bonk_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bonk_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bonk_event_position_flagged\"", "created_at": 1723584323.5873492}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bonk_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bonk_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bonk_event_position_liquidated0\"", "created_at": 1723584323.5875049}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bonk_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bonk_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bonk_event_position_liquidated1\"", "created_at": 1723584323.587653}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bonk_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bonk_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bonk_event_position_modified0\"", "created_at": 1723584323.5878077}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bonk_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bonk_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bonk_event_position_modified1\"", "created_at": 1723584323.5879571}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_btc_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_btc_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_btc_event_delayed_order_removed\"", "created_at": 1723584323.5881147}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_btc_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_btc_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_btc_event_delayed_order_submitted\"", "created_at": 1723584323.5882661}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_btc_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_btc_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_btc_event_funding_recomputed\"", "created_at": 1723584323.5884142}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_btc_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_btc_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_btc_event_margin_transferred\"", "created_at": 1723584323.5885618}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_btc_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_btc_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_btc_event_perps_tracking\"", "created_at": 1723584323.588715}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_btc_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_btc_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_btc_event_position_flagged\"", "created_at": 1723584323.5888834}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_btc_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_btc_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_btc_event_position_liquidated0\"", "created_at": 1723584323.5890324}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_btc_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_btc_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_btc_event_position_liquidated1\"", "created_at": 1723584323.5891802}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_btc_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_btc_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_btc_event_position_modified0\"", "created_at": 1723584323.589335}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_btc_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_btc_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_btc_event_position_modified1\"", "created_at": 1723584323.589487}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_celo_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_celo_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_celo_event_delayed_order_removed\"", "created_at": 1723584323.589637}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_celo_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_celo_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_celo_event_delayed_order_submitted\"", "created_at": 1723584323.5897846}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_celo_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_celo_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_celo_event_funding_recomputed\"", "created_at": 1723584323.5899382}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_celo_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_celo_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_celo_event_margin_transferred\"", "created_at": 1723584323.5900867}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_celo_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_celo_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_celo_event_perps_tracking\"", "created_at": 1723584323.59024}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_celo_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_celo_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_celo_event_position_flagged\"", "created_at": 1723584323.5903895}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_celo_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_celo_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_celo_event_position_liquidated0\"", "created_at": 1723584323.5905378}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_celo_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_celo_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_celo_event_position_liquidated1\"", "created_at": 1723584323.590684}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_celo_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_celo_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_celo_event_position_modified0\"", "created_at": 1723584323.5908308}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_celo_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_celo_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_celo_event_position_modified1\"", "created_at": 1723584323.5909786}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_comp_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_comp_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_comp_event_delayed_order_removed\"", "created_at": 1723584323.591156}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_comp_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_comp_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_comp_event_delayed_order_submitted\"", "created_at": 1723584323.5913112}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_comp_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_comp_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_comp_event_funding_recomputed\"", "created_at": 1723584323.5914607}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_comp_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_comp_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_comp_event_margin_transferred\"", "created_at": 1723584323.5916092}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_comp_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_comp_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_comp_event_perps_tracking\"", "created_at": 1723584323.5917633}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_comp_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_comp_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_comp_event_position_flagged\"", "created_at": 1723584323.5919213}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_comp_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_comp_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_comp_event_position_liquidated0\"", "created_at": 1723584323.5920722}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_comp_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_comp_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_comp_event_position_liquidated1\"", "created_at": 1723584323.5922203}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_comp_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_comp_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_comp_event_position_modified0\"", "created_at": 1723584323.5923676}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_comp_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_comp_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_comp_event_position_modified1\"", "created_at": 1723584323.5925152}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_crv_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_crv_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_crv_event_delayed_order_removed\"", "created_at": 1723584323.5926673}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_crv_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_crv_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_crv_event_delayed_order_submitted\"", "created_at": 1723584323.5928152}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_crv_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_crv_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_crv_event_funding_recomputed\"", "created_at": 1723584323.5929627}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_crv_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_crv_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_crv_event_margin_transferred\"", "created_at": 1723584323.593111}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_crv_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_crv_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_crv_event_perps_tracking\"", "created_at": 1723584323.593259}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_crv_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_crv_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_crv_event_position_flagged\"", "created_at": 1723584323.593406}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_crv_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_crv_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_crv_event_position_liquidated0\"", "created_at": 1723584323.5935647}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_crv_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_crv_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_crv_event_position_liquidated1\"", "created_at": 1723584323.5937157}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_crv_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_crv_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_crv_event_position_modified0\"", "created_at": 1723584323.593864}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_crv_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_crv_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_crv_event_position_modified1\"", "created_at": 1723584323.5940106}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_doge_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_doge_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_doge_event_delayed_order_removed\"", "created_at": 1723584323.5941567}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_doge_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_doge_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_doge_event_delayed_order_submitted\"", "created_at": 1723584323.5943089}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_doge_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_doge_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_doge_event_funding_recomputed\"", "created_at": 1723584323.5944576}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_doge_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_doge_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_doge_event_margin_transferred\"", "created_at": 1723584323.5946047}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_doge_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_doge_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_doge_event_perps_tracking\"", "created_at": 1723584323.5947506}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_doge_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_doge_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_doge_event_position_flagged\"", "created_at": 1723584323.5948966}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_doge_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_doge_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_doge_event_position_liquidated0\"", "created_at": 1723584323.5950696}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_doge_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_doge_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_doge_event_position_liquidated1\"", "created_at": 1723584323.5952392}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_doge_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_doge_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_doge_event_position_modified0\"", "created_at": 1723584323.5953922}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_doge_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_doge_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_doge_event_position_modified1\"", "created_at": 1723584323.5955486}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dot_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dot_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dot_event_delayed_order_removed\"", "created_at": 1723584323.5957005}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dot_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dot_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dot_event_delayed_order_submitted\"", "created_at": 1723584323.5958538}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dot_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dot_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dot_event_funding_recomputed\"", "created_at": 1723584323.596005}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dot_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dot_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dot_event_margin_transferred\"", "created_at": 1723584323.5961518}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dot_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dot_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dot_event_perps_tracking\"", "created_at": 1723584323.5963058}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dot_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dot_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dot_event_position_flagged\"", "created_at": 1723584323.596454}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dot_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dot_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dot_event_position_liquidated0\"", "created_at": 1723584323.5966005}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dot_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dot_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dot_event_position_liquidated1\"", "created_at": 1723584323.596753}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dot_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dot_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dot_event_position_modified0\"", "created_at": 1723584323.5969024}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dot_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dot_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dot_event_position_modified1\"", "created_at": 1723584323.5970504}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dydx_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dydx_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dydx_event_delayed_order_removed\"", "created_at": 1723584323.5972016}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dydx_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dydx_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dydx_event_delayed_order_submitted\"", "created_at": 1723584323.5973582}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dydx_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dydx_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dydx_event_funding_recomputed\"", "created_at": 1723584323.5975246}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dydx_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dydx_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dydx_event_margin_transferred\"", "created_at": 1723584323.5976875}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dydx_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dydx_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dydx_event_perps_tracking\"", "created_at": 1723584323.5978346}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dydx_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dydx_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dydx_event_position_flagged\"", "created_at": 1723584323.597981}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dydx_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dydx_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dydx_event_position_liquidated0\"", "created_at": 1723584323.598127}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dydx_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dydx_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dydx_event_position_liquidated1\"", "created_at": 1723584323.5982783}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dydx_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dydx_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dydx_event_position_modified0\"", "created_at": 1723584323.5984275}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dydx_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dydx_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dydx_event_position_modified1\"", "created_at": 1723584323.5985765}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_enj_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_enj_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_enj_event_delayed_order_removed\"", "created_at": 1723584323.5987277}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_enj_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_enj_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_enj_event_delayed_order_submitted\"", "created_at": 1723584323.5988765}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_enj_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_enj_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_enj_event_funding_recomputed\"", "created_at": 1723584323.5990233}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_enj_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_enj_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_enj_event_margin_transferred\"", "created_at": 1723584323.5992026}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_enj_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_enj_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_enj_event_perps_tracking\"", "created_at": 1723584323.59936}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_enj_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_enj_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_enj_event_position_flagged\"", "created_at": 1723584323.5995097}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_enj_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_enj_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_enj_event_position_liquidated0\"", "created_at": 1723584323.599659}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_enj_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_enj_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_enj_event_position_liquidated1\"", "created_at": 1723584323.5998065}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_enj_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_enj_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_enj_event_position_modified0\"", "created_at": 1723584323.5999599}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_enj_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_enj_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_enj_event_position_modified1\"", "created_at": 1723584323.6001081}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eos_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eos_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eos_event_delayed_order_removed\"", "created_at": 1723584323.6002553}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eos_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eos_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eos_event_delayed_order_submitted\"", "created_at": 1723584323.600402}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eos_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eos_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eos_event_funding_recomputed\"", "created_at": 1723584323.6005497}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eos_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eos_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eos_event_margin_transferred\"", "created_at": 1723584323.600702}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eos_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eos_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eos_event_perps_tracking\"", "created_at": 1723584323.6008549}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eos_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eos_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eos_event_position_flagged\"", "created_at": 1723584323.6010072}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eos_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eos_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eos_event_position_liquidated0\"", "created_at": 1723584323.6011548}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eos_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eos_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eos_event_position_liquidated1\"", "created_at": 1723584323.6013262}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eos_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eos_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eos_event_position_modified0\"", "created_at": 1723584323.6014752}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eos_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eos_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eos_event_position_modified1\"", "created_at": 1723584323.6016293}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_etc_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_etc_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_etc_event_delayed_order_removed\"", "created_at": 1723584323.6017773}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_etc_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_etc_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_etc_event_delayed_order_submitted\"", "created_at": 1723584323.6019244}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_etc_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_etc_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_etc_event_funding_recomputed\"", "created_at": 1723584323.6020718}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_etc_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_etc_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_etc_event_margin_transferred\"", "created_at": 1723584323.6022196}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_etc_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_etc_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_etc_event_perps_tracking\"", "created_at": 1723584323.602371}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_etc_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_etc_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_etc_event_position_flagged\"", "created_at": 1723584323.60252}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_etc_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_etc_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_etc_event_position_liquidated0\"", "created_at": 1723584323.6026714}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_etc_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_etc_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_etc_event_position_liquidated1\"", "created_at": 1723584323.6028266}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_etc_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_etc_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_etc_event_position_modified0\"", "created_at": 1723584323.6029768}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_etc_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_etc_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_etc_event_position_modified1\"", "created_at": 1723584323.6031475}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eth_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eth_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eth_event_delayed_order_removed\"", "created_at": 1723584323.603304}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eth_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eth_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eth_event_delayed_order_submitted\"", "created_at": 1723584323.6034534}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eth_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eth_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eth_event_funding_recomputed\"", "created_at": 1723584323.6036015}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eth_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eth_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eth_event_margin_transferred\"", "created_at": 1723584323.6037488}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eth_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eth_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eth_event_perps_tracking\"", "created_at": 1723584323.6038957}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eth_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eth_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eth_event_position_flagged\"", "created_at": 1723584323.60405}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eth_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eth_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eth_event_position_liquidated0\"", "created_at": 1723584323.6041985}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eth_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eth_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eth_event_position_liquidated1\"", "created_at": 1723584323.604346}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eth_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eth_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eth_event_position_modified0\"", "created_at": 1723584323.604497}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eth_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eth_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eth_event_position_modified1\"", "created_at": 1723584323.6046524}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ethbtc_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ethbtc_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ethbtc_event_delayed_order_removed\"", "created_at": 1723584323.6048067}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ethbtc_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ethbtc_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ethbtc_event_delayed_order_submitted\"", "created_at": 1723584323.6049552}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ethbtc_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ethbtc_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ethbtc_event_funding_recomputed\"", "created_at": 1723584323.6051023}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ethbtc_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ethbtc_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ethbtc_event_margin_transferred\"", "created_at": 1723584323.6052492}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ethbtc_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ethbtc_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ethbtc_event_perps_tracking\"", "created_at": 1723584323.605398}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ethbtc_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ethbtc_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ethbtc_event_position_flagged\"", "created_at": 1723584323.6055512}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ethbtc_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ethbtc_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ethbtc_event_position_liquidated0\"", "created_at": 1723584323.6057}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ethbtc_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ethbtc_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ethbtc_event_position_liquidated1\"", "created_at": 1723584323.6058483}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ethbtc_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ethbtc_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ethbtc_event_position_modified0\"", "created_at": 1723584323.605995}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ethbtc_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ethbtc_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ethbtc_event_position_modified1\"", "created_at": 1723584323.606142}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eur_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eur_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eur_event_delayed_order_removed\"", "created_at": 1723584323.6062899}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eur_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eur_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eur_event_delayed_order_submitted\"", "created_at": 1723584323.6064525}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eur_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eur_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eur_event_funding_recomputed\"", "created_at": 1723584323.6066077}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eur_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eur_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eur_event_margin_transferred\"", "created_at": 1723584323.6067564}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eur_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eur_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eur_event_perps_tracking\"", "created_at": 1723584323.606904}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eur_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eur_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eur_event_position_flagged\"", "created_at": 1723584323.6070604}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eur_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eur_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eur_event_position_liquidated0\"", "created_at": 1723584323.607233}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eur_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eur_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eur_event_position_liquidated1\"", "created_at": 1723584323.6073837}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eur_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eur_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eur_event_position_modified0\"", "created_at": 1723584323.6075518}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eur_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eur_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eur_event_position_modified1\"", "created_at": 1723584323.6076994}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fet_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fet_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fet_event_delayed_order_removed\"", "created_at": 1723584323.6078467}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fet_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fet_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fet_event_delayed_order_submitted\"", "created_at": 1723584323.6079993}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fet_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fet_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fet_event_funding_recomputed\"", "created_at": 1723584323.60815}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fet_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fet_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fet_event_margin_transferred\"", "created_at": 1723584323.6083026}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fet_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fet_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fet_event_perps_tracking\"", "created_at": 1723584323.6084518}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fet_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fet_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fet_event_position_flagged\"", "created_at": 1723584323.6085997}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fet_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fet_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fet_event_position_liquidated0\"", "created_at": 1723584323.608751}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fet_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fet_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fet_event_position_liquidated1\"", "created_at": 1723584323.6089034}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fet_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fet_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fet_event_position_modified0\"", "created_at": 1723584323.609053}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fet_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fet_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fet_event_position_modified1\"", "created_at": 1723584323.6092024}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fil_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fil_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fil_event_delayed_order_removed\"", "created_at": 1723584323.6093564}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fil_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fil_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fil_event_delayed_order_submitted\"", "created_at": 1723584323.6095068}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fil_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fil_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fil_event_funding_recomputed\"", "created_at": 1723584323.609662}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fil_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fil_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fil_event_margin_transferred\"", "created_at": 1723584323.6098123}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fil_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fil_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fil_event_perps_tracking\"", "created_at": 1723584323.609966}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fil_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fil_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fil_event_position_flagged\"", "created_at": 1723584323.6101182}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fil_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fil_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fil_event_position_liquidated0\"", "created_at": 1723584323.6102736}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fil_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fil_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fil_event_position_liquidated1\"", "created_at": 1723584323.6104276}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fil_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fil_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fil_event_position_modified0\"", "created_at": 1723584323.610577}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fil_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fil_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fil_event_position_modified1\"", "created_at": 1723584323.6107235}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_floki_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_floki_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_floki_event_delayed_order_removed\"", "created_at": 1723584323.6108706}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_floki_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_floki_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_floki_event_delayed_order_submitted\"", "created_at": 1723584323.6110177}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_floki_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_floki_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_floki_event_funding_recomputed\"", "created_at": 1723584323.611214}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_floki_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_floki_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_floki_event_margin_transferred\"", "created_at": 1723584323.611369}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_floki_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_floki_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_floki_event_perps_tracking\"", "created_at": 1723584323.6115184}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_floki_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_floki_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_floki_event_position_flagged\"", "created_at": 1723584323.6116657}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_floki_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_floki_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_floki_event_position_liquidated0\"", "created_at": 1723584323.6118155}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_floki_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_floki_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_floki_event_position_liquidated1\"", "created_at": 1723584323.6119683}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_floki_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_floki_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_floki_event_position_modified0\"", "created_at": 1723584323.6121233}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_floki_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_floki_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_floki_event_position_modified1\"", "created_at": 1723584323.6122706}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_flow_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_flow_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_flow_event_delayed_order_removed\"", "created_at": 1723584323.6124163}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_flow_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_flow_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_flow_event_delayed_order_submitted\"", "created_at": 1723584323.6125617}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_flow_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_flow_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_flow_event_funding_recomputed\"", "created_at": 1723584323.612708}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_flow_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_flow_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_flow_event_margin_transferred\"", "created_at": 1723584323.6128614}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_flow_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_flow_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_flow_event_perps_tracking\"", "created_at": 1723584323.6130092}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_flow_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_flow_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_flow_event_position_flagged\"", "created_at": 1723584323.613159}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_flow_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_flow_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_flow_event_position_liquidated0\"", "created_at": 1723584323.6133163}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_flow_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_flow_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_flow_event_position_liquidated1\"", "created_at": 1723584323.613462}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_flow_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_flow_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_flow_event_position_modified0\"", "created_at": 1723584323.6136143}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_flow_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_flow_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_flow_event_position_modified1\"", "created_at": 1723584323.6137846}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ftm_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ftm_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ftm_event_delayed_order_removed\"", "created_at": 1723584323.6139364}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ftm_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ftm_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ftm_event_delayed_order_submitted\"", "created_at": 1723584323.6140828}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ftm_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ftm_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ftm_event_funding_recomputed\"", "created_at": 1723584323.614229}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ftm_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ftm_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ftm_event_margin_transferred\"", "created_at": 1723584323.6143749}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ftm_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ftm_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ftm_event_perps_tracking\"", "created_at": 1723584323.614526}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ftm_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ftm_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ftm_event_position_flagged\"", "created_at": 1723584323.6146724}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ftm_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ftm_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ftm_event_position_liquidated0\"", "created_at": 1723584323.614819}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ftm_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ftm_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ftm_event_position_liquidated1\"", "created_at": 1723584323.6149666}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ftm_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ftm_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ftm_event_position_modified0\"", "created_at": 1723584323.615131}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ftm_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ftm_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ftm_event_position_modified1\"", "created_at": 1723584323.615299}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fxs_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fxs_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fxs_event_delayed_order_removed\"", "created_at": 1723584323.6154492}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fxs_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fxs_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fxs_event_delayed_order_submitted\"", "created_at": 1723584323.6155977}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fxs_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fxs_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fxs_event_funding_recomputed\"", "created_at": 1723584323.61575}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fxs_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fxs_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fxs_event_margin_transferred\"", "created_at": 1723584323.615896}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fxs_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fxs_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fxs_event_perps_tracking\"", "created_at": 1723584323.6160507}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fxs_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fxs_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fxs_event_position_flagged\"", "created_at": 1723584323.616198}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fxs_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fxs_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fxs_event_position_liquidated0\"", "created_at": 1723584323.6163447}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fxs_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fxs_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fxs_event_position_liquidated1\"", "created_at": 1723584323.61649}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fxs_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fxs_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fxs_event_position_modified0\"", "created_at": 1723584323.6166348}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fxs_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fxs_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fxs_event_position_modified1\"", "created_at": 1723584323.6167834}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gbp_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gbp_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gbp_event_delayed_order_removed\"", "created_at": 1723584323.6169322}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gbp_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gbp_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gbp_event_delayed_order_submitted\"", "created_at": 1723584323.617078}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gbp_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gbp_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gbp_event_funding_recomputed\"", "created_at": 1723584323.6172266}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gbp_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gbp_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gbp_event_margin_transferred\"", "created_at": 1723584323.617374}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gbp_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gbp_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gbp_event_perps_tracking\"", "created_at": 1723584323.6175303}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gbp_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gbp_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gbp_event_position_flagged\"", "created_at": 1723584323.6176832}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gbp_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gbp_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gbp_event_position_liquidated0\"", "created_at": 1723584323.6178296}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gbp_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gbp_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gbp_event_position_liquidated1\"", "created_at": 1723584323.6179736}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gbp_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gbp_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gbp_event_position_modified0\"", "created_at": 1723584323.6181197}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gbp_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gbp_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gbp_event_position_modified1\"", "created_at": 1723584323.6182637}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gmx_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gmx_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gmx_event_delayed_order_removed\"", "created_at": 1723584323.6184163}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gmx_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gmx_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gmx_event_delayed_order_submitted\"", "created_at": 1723584323.6185617}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gmx_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gmx_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gmx_event_funding_recomputed\"", "created_at": 1723584323.6187072}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gmx_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gmx_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gmx_event_margin_transferred\"", "created_at": 1723584323.618852}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gmx_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gmx_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gmx_event_perps_tracking\"", "created_at": 1723584323.619}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gmx_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gmx_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gmx_event_position_flagged\"", "created_at": 1723584323.619171}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gmx_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gmx_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gmx_event_position_liquidated0\"", "created_at": 1723584323.6193316}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gmx_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gmx_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gmx_event_position_liquidated1\"", "created_at": 1723584323.619478}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gmx_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gmx_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gmx_event_position_modified0\"", "created_at": 1723584323.6196232}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gmx_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gmx_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gmx_event_position_modified1\"", "created_at": 1723584323.6197681}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_grt_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_grt_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_grt_event_delayed_order_removed\"", "created_at": 1723584323.6199315}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_grt_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_grt_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_grt_event_delayed_order_submitted\"", "created_at": 1723584323.6200817}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_grt_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_grt_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_grt_event_funding_recomputed\"", "created_at": 1723584323.620229}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_grt_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_grt_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_grt_event_margin_transferred\"", "created_at": 1723584323.6203752}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_grt_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_grt_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_grt_event_perps_tracking\"", "created_at": 1723584323.6205227}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_grt_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_grt_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_grt_event_position_flagged\"", "created_at": 1723584323.6206684}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_grt_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_grt_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_grt_event_position_liquidated0\"", "created_at": 1723584323.620822}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_grt_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_grt_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_grt_event_position_liquidated1\"", "created_at": 1723584323.6209748}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_grt_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_grt_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_grt_event_position_modified0\"", "created_at": 1723584323.6211271}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_grt_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_grt_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_grt_event_position_modified1\"", "created_at": 1723584323.6212752}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_icp_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_icp_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_icp_event_delayed_order_removed\"", "created_at": 1723584323.6214218}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_icp_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_icp_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_icp_event_delayed_order_submitted\"", "created_at": 1723584323.6215732}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_icp_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_icp_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_icp_event_funding_recomputed\"", "created_at": 1723584323.6217208}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_icp_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_icp_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_icp_event_margin_transferred\"", "created_at": 1723584323.6218672}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_icp_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_icp_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_icp_event_perps_tracking\"", "created_at": 1723584323.622012}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_icp_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_icp_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_icp_event_position_flagged\"", "created_at": 1723584323.622157}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_icp_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_icp_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_icp_event_position_liquidated0\"", "created_at": 1723584323.6223016}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_icp_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_icp_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_icp_event_position_liquidated1\"", "created_at": 1723584323.622454}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_icp_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_icp_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_icp_event_position_modified0\"", "created_at": 1723584323.6226034}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_icp_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_icp_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_icp_event_position_modified1\"", "created_at": 1723584323.62275}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_delayed_order_removed\"", "created_at": 1723584323.6229002}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_delayed_order_submitted\"", "created_at": 1723584323.623047}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_funding_recomputed\"", "created_at": 1723584323.623229}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_margin_transferred\"", "created_at": 1723584323.6233783}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_perps_tracking\"", "created_at": 1723584323.6235235}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_position_flagged\"", "created_at": 1723584323.6236694}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_position_liquidated0\"", "created_at": 1723584323.6238143}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_position_liquidated1\"", "created_at": 1723584323.6239648}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_position_modified0\"", "created_at": 1723584323.6241121}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_position_modified1\"", "created_at": 1723584323.6242573}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_delayed_order_removed\"", "created_at": 1723584323.6244082}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_delayed_order_submitted\"", "created_at": 1723584323.6245565}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_funding_recomputed\"", "created_at": 1723584323.624713}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_margin_transferred\"", "created_at": 1723584323.6248686}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_perps_tracking\"", "created_at": 1723584323.6250138}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_position_flagged\"", "created_at": 1723584323.625159}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_position_liquidated0\"", "created_at": 1723584323.625305}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_position_liquidated1\"", "created_at": 1723584323.6254497}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_position_modified0\"", "created_at": 1723584323.6256018}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_position_modified1\"", "created_at": 1723584323.6257517}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_delayed_order_removed\"", "created_at": 1723584323.6258976}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_delayed_order_submitted\"", "created_at": 1723584323.6260612}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_funding_recomputed\"", "created_at": 1723584323.62621}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_margin_transferred\"", "created_at": 1723584323.626362}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_perps_tracking\"", "created_at": 1723584323.626509}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_position_flagged\"", "created_at": 1723584323.6266603}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_position_liquidated0\"", "created_at": 1723584323.6268055}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_position_liquidated1\"", "created_at": 1723584323.62695}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_position_modified0\"", "created_at": 1723584323.627111}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_position_modified1\"", "created_at": 1723584323.627271}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_delayed_order_removed\"", "created_at": 1723584323.6274178}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_delayed_order_submitted\"", "created_at": 1723584323.6275861}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_funding_recomputed\"", "created_at": 1723584323.6277514}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_margin_transferred\"", "created_at": 1723584323.6278996}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_perps_tracking\"", "created_at": 1723584323.6280527}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_position_flagged\"", "created_at": 1723584323.6282043}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_position_liquidated0\"", "created_at": 1723584323.6283522}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_position_liquidated1\"", "created_at": 1723584323.6285048}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_position_modified0\"", "created_at": 1723584323.6286602}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_position_modified1\"", "created_at": 1723584323.62883}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_delayed_order_removed\"", "created_at": 1723584323.6289902}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_delayed_order_submitted\"", "created_at": 1723584323.6291368}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_funding_recomputed\"", "created_at": 1723584323.6292903}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_margin_transferred\"", "created_at": 1723584323.6294382}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_perps_tracking\"", "created_at": 1723584323.6295893}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_position_flagged\"", "created_at": 1723584323.6297364}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_position_liquidated0\"", "created_at": 1723584323.629885}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_position_liquidated1\"", "created_at": 1723584323.6300323}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_position_modified0\"", "created_at": 1723584323.630178}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_position_modified1\"", "created_at": 1723584323.630332}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_delayed_order_removed\"", "created_at": 1723584323.6304839}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_delayed_order_submitted\"", "created_at": 1723584323.6306295}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_funding_recomputed\"", "created_at": 1723584323.6307735}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_margin_transferred\"", "created_at": 1723584323.6309192}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_perps_tracking\"", "created_at": 1723584323.6310637}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_position_flagged\"", "created_at": 1723584323.6312354}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_position_liquidated0\"", "created_at": 1723584323.631383}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_position_liquidated1\"", "created_at": 1723584323.6315289}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_position_modified0\"", "created_at": 1723584323.631677}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_position_modified1\"", "created_at": 1723584323.6318252}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_delayed_order_removed\"", "created_at": 1723584323.6319747}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_delayed_order_submitted\"", "created_at": 1723584323.6321282}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_funding_recomputed\"", "created_at": 1723584323.632294}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_margin_transferred\"", "created_at": 1723584323.6324418}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_perps_tracking\"", "created_at": 1723584323.6325874}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_position_flagged\"", "created_at": 1723584323.6327329}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_position_liquidated0\"", "created_at": 1723584323.6328824}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_position_liquidated1\"", "created_at": 1723584323.6330283}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_position_modified0\"", "created_at": 1723584323.633174}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_position_modified1\"", "created_at": 1723584323.6333196}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_delayed_order_removed\"", "created_at": 1723584323.633469}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_delayed_order_submitted\"", "created_at": 1723584323.633622}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_funding_recomputed\"", "created_at": 1723584323.6337674}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_margin_transferred\"", "created_at": 1723584323.6339166}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_perps_tracking\"", "created_at": 1723584323.6340623}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_position_flagged\"", "created_at": 1723584323.6342082}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_position_liquidated0\"", "created_at": 1723584323.634358}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_position_liquidated1\"", "created_at": 1723584323.634505}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_position_modified0\"", "created_at": 1723584323.6346505}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_position_modified1\"", "created_at": 1723584323.6347952}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_delayed_order_removed\"", "created_at": 1723584323.6349413}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_delayed_order_submitted\"", "created_at": 1723584323.635086}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_funding_recomputed\"", "created_at": 1723584323.6352613}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_margin_transferred\"", "created_at": 1723584323.6354134}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_perps_tracking\"", "created_at": 1723584323.6355643}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_position_flagged\"", "created_at": 1723584323.6357164}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_position_liquidated0\"", "created_at": 1723584323.6358624}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_position_liquidated1\"", "created_at": 1723584323.6360126}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_position_modified0\"", "created_at": 1723584323.636159}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_position_modified1\"", "created_at": 1723584323.636305}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_delayed_order_removed\"", "created_at": 1723584323.6364498}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_delayed_order_submitted\"", "created_at": 1723584323.6365938}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_funding_recomputed\"", "created_at": 1723584323.636743}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_margin_transferred\"", "created_at": 1723584323.636889}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_perps_tracking\"", "created_at": 1723584323.6370451}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_position_flagged\"", "created_at": 1723584323.637197}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_position_liquidated0\"", "created_at": 1723584323.6373444}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_position_liquidated1\"", "created_at": 1723584323.637495}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_position_modified0\"", "created_at": 1723584323.6376455}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_position_modified1\"", "created_at": 1723584323.63779}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_delayed_order_removed\"", "created_at": 1723584323.6379359}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_delayed_order_submitted\"", "created_at": 1723584323.638082}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_funding_recomputed\"", "created_at": 1723584323.6382267}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_margin_transferred\"", "created_at": 1723584323.6386197}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_perps_tracking\"", "created_at": 1723584323.638769}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_position_flagged\"", "created_at": 1723584323.6389163}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_position_liquidated0\"", "created_at": 1723584323.6390657}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_position_liquidated1\"", "created_at": 1723584323.639234}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_position_modified0\"", "created_at": 1723584323.639393}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_position_modified1\"", "created_at": 1723584323.6395414}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_delayed_order_removed\"", "created_at": 1723584323.6396956}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_delayed_order_submitted\"", "created_at": 1723584323.6398454}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_funding_recomputed\"", "created_at": 1723584323.6399913}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_margin_transferred\"", "created_at": 1723584323.640137}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_perps_tracking\"", "created_at": 1723584323.640289}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_position_flagged\"", "created_at": 1723584323.640434}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_position_liquidated0\"", "created_at": 1723584323.6405787}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_position_liquidated1\"", "created_at": 1723584323.6407294}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_position_modified0\"", "created_at": 1723584323.6408775}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_position_modified1\"", "created_at": 1723584323.641027}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_delayed_order_removed\"", "created_at": 1723584323.6411738}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_delayed_order_submitted\"", "created_at": 1723584323.6413183}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_funding_recomputed\"", "created_at": 1723584323.641468}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_margin_transferred\"", "created_at": 1723584323.6416132}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_perps_tracking\"", "created_at": 1723584323.641767}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_position_flagged\"", "created_at": 1723584323.641914}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_position_liquidated0\"", "created_at": 1723584323.6420593}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_position_liquidated1\"", "created_at": 1723584323.642203}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_position_modified0\"", "created_at": 1723584323.642348}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_position_modified1\"", "created_at": 1723584323.6424975}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_delayed_order_removed\"", "created_at": 1723584323.642645}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_delayed_order_submitted\"", "created_at": 1723584323.6427958}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_funding_recomputed\"", "created_at": 1723584323.6429412}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_margin_transferred\"", "created_at": 1723584323.6430845}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_perps_tracking\"", "created_at": 1723584323.643255}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_position_flagged\"", "created_at": 1723584323.643406}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_position_liquidated0\"", "created_at": 1723584323.643552}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_position_liquidated1\"", "created_at": 1723584323.643696}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_position_modified0\"", "created_at": 1723584323.6438406}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_position_modified1\"", "created_at": 1723584323.6439843}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_delayed_order_removed\"", "created_at": 1723584323.6441348}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_delayed_order_submitted\"", "created_at": 1723584323.644284}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_funding_recomputed\"", "created_at": 1723584323.6444445}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_margin_transferred\"", "created_at": 1723584323.6446013}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_perps_tracking\"", "created_at": 1723584323.644777}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_position_flagged\"", "created_at": 1723584323.6449277}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_position_liquidated0\"", "created_at": 1723584323.64508}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_position_liquidated1\"", "created_at": 1723584323.6452265}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_position_modified0\"", "created_at": 1723584323.6453717}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_position_modified1\"", "created_at": 1723584323.6455169}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_delayed_order_removed\"", "created_at": 1723584323.645662}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_delayed_order_submitted\"", "created_at": 1723584323.6458144}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_funding_recomputed\"", "created_at": 1723584323.6459613}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_margin_transferred\"", "created_at": 1723584323.6461055}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_perps_tracking\"", "created_at": 1723584323.6462538}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_position_flagged\"", "created_at": 1723584323.6464002}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_position_liquidated0\"", "created_at": 1723584323.646549}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_position_liquidated1\"", "created_at": 1723584323.646696}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_position_modified0\"", "created_at": 1723584323.6468472}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_position_modified1\"", "created_at": 1723584323.6469946}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_delayed_order_removed\"", "created_at": 1723584323.647159}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_delayed_order_submitted\"", "created_at": 1723584323.647314}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_funding_recomputed\"", "created_at": 1723584323.647462}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_margin_transferred\"", "created_at": 1723584323.6476088}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_perps_tracking\"", "created_at": 1723584323.6477547}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_position_flagged\"", "created_at": 1723584323.6479003}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_position_liquidated0\"", "created_at": 1723584323.6480508}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_position_liquidated1\"", "created_at": 1723584323.6482055}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_position_modified0\"", "created_at": 1723584323.648354}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_position_modified1\"", "created_at": 1723584323.6485}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rpl_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rpl_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rpl_event_delayed_order_removed\"", "created_at": 1723584323.6486514}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rpl_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rpl_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rpl_event_delayed_order_submitted\"", "created_at": 1723584323.6488006}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rpl_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rpl_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rpl_event_funding_recomputed\"", "created_at": 1723584323.648954}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rpl_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rpl_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rpl_event_margin_transferred\"", "created_at": 1723584323.649101}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rpl_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rpl_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rpl_event_perps_tracking\"", "created_at": 1723584323.6492574}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rpl_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rpl_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rpl_event_position_flagged\"", "created_at": 1723584323.6494076}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rpl_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rpl_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rpl_event_position_liquidated0\"", "created_at": 1723584323.649554}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rpl_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rpl_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rpl_event_position_liquidated1\"", "created_at": 1723584323.6497054}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rpl_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rpl_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rpl_event_position_modified0\"", "created_at": 1723584323.6498537}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rpl_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rpl_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rpl_event_position_modified1\"", "created_at": 1723584323.6500063}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rune_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rune_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rune_event_delayed_order_removed\"", "created_at": 1723584323.6501524}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rune_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rune_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rune_event_delayed_order_submitted\"", "created_at": 1723584323.6502984}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rune_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rune_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rune_event_funding_recomputed\"", "created_at": 1723584323.6504488}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rune_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rune_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rune_event_margin_transferred\"", "created_at": 1723584323.6506004}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rune_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rune_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rune_event_perps_tracking\"", "created_at": 1723584323.650746}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rune_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rune_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rune_event_position_flagged\"", "created_at": 1723584323.6509135}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rune_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rune_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rune_event_position_liquidated0\"", "created_at": 1723584323.6510596}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rune_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rune_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rune_event_position_liquidated1\"", "created_at": 1723584323.6512287}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rune_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rune_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rune_event_position_modified0\"", "created_at": 1723584323.6513827}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rune_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rune_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rune_event_position_modified1\"", "created_at": 1723584323.65153}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sei_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sei_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sei_event_delayed_order_removed\"", "created_at": 1723584323.6516793}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sei_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sei_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sei_event_delayed_order_submitted\"", "created_at": 1723584323.6518276}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sei_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sei_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sei_event_funding_recomputed\"", "created_at": 1723584323.6519718}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sei_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sei_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sei_event_margin_transferred\"", "created_at": 1723584323.6521215}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sei_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sei_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sei_event_perps_tracking\"", "created_at": 1723584323.6522672}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sei_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sei_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sei_event_position_flagged\"", "created_at": 1723584323.6524184}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sei_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sei_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sei_event_position_liquidated0\"", "created_at": 1723584323.652564}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sei_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sei_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sei_event_position_liquidated1\"", "created_at": 1723584323.6527095}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sei_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sei_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sei_event_position_modified0\"", "created_at": 1723584323.6528554}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sei_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sei_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sei_event_position_modified1\"", "created_at": 1723584323.6530063}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_shib_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_shib_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_shib_event_delayed_order_removed\"", "created_at": 1723584323.6531508}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_shib_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_shib_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_shib_event_delayed_order_submitted\"", "created_at": 1723584323.6532972}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_shib_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_shib_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_shib_event_funding_recomputed\"", "created_at": 1723584323.6534479}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_shib_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_shib_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_shib_event_margin_transferred\"", "created_at": 1723584323.653597}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_shib_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_shib_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_shib_event_perps_tracking\"", "created_at": 1723584323.6537495}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_shib_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_shib_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_shib_event_position_flagged\"", "created_at": 1723584323.6538968}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_shib_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_shib_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_shib_event_position_liquidated0\"", "created_at": 1723584323.6540446}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_shib_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_shib_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_shib_event_position_liquidated1\"", "created_at": 1723584323.654199}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_shib_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_shib_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_shib_event_position_modified0\"", "created_at": 1723584323.6543486}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_shib_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_shib_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_shib_event_position_modified1\"", "created_at": 1723584323.6545}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sol_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sol_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sol_event_delayed_order_removed\"", "created_at": 1723584323.6546476}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sol_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sol_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sol_event_delayed_order_submitted\"", "created_at": 1723584323.654794}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sol_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sol_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sol_event_funding_recomputed\"", "created_at": 1723584323.6549392}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sol_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sol_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sol_event_margin_transferred\"", "created_at": 1723584323.6550853}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sol_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sol_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sol_event_perps_tracking\"", "created_at": 1723584323.655259}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sol_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sol_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sol_event_position_flagged\"", "created_at": 1723584323.655408}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sol_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sol_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sol_event_position_liquidated0\"", "created_at": 1723584323.6555552}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sol_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sol_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sol_event_position_liquidated1\"", "created_at": 1723584323.6557012}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sol_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sol_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sol_event_position_modified0\"", "created_at": 1723584323.6558514}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sol_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sol_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sol_event_position_modified1\"", "created_at": 1723584323.656002}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_steth_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_steth_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_steth_event_delayed_order_removed\"", "created_at": 1723584323.6561534}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_steth_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_steth_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_steth_event_delayed_order_submitted\"", "created_at": 1723584323.6562998}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_steth_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_steth_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_steth_event_funding_recomputed\"", "created_at": 1723584323.6564457}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_steth_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_steth_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_steth_event_margin_transferred\"", "created_at": 1723584323.656591}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_steth_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_steth_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_steth_event_perps_tracking\"", "created_at": 1723584323.6567376}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_steth_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_steth_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_steth_event_position_flagged\"", "created_at": 1723584323.6568875}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_steth_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_steth_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_steth_event_position_liquidated0\"", "created_at": 1723584323.6570516}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_steth_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_steth_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_steth_event_position_liquidated1\"", "created_at": 1723584323.657204}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_steth_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_steth_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_steth_event_position_modified0\"", "created_at": 1723584323.65735}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_steth_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_steth_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_steth_event_position_modified1\"", "created_at": 1723584323.6574955}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_stetheth_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_stetheth_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_stetheth_event_delayed_order_removed\"", "created_at": 1723584323.6576452}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_stetheth_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_stetheth_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_stetheth_event_delayed_order_submitted\"", "created_at": 1723584323.6577976}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_stetheth_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_stetheth_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_stetheth_event_funding_recomputed\"", "created_at": 1723584323.6579437}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_stetheth_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_stetheth_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_stetheth_event_margin_transferred\"", "created_at": 1723584323.6580887}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_stetheth_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_stetheth_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_stetheth_event_perps_tracking\"", "created_at": 1723584323.6582346}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_stetheth_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_stetheth_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_stetheth_event_position_flagged\"", "created_at": 1723584323.658379}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_stetheth_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_stetheth_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_stetheth_event_position_liquidated0\"", "created_at": 1723584323.6585283}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_stetheth_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_stetheth_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_stetheth_event_position_liquidated1\"", "created_at": 1723584323.658674}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_stetheth_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_stetheth_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_stetheth_event_position_modified0\"", "created_at": 1723584323.658823}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_stetheth_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_stetheth_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_stetheth_event_position_modified1\"", "created_at": 1723584323.6589706}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sui_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sui_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sui_event_delayed_order_removed\"", "created_at": 1723584323.6591382}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sui_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sui_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sui_event_delayed_order_submitted\"", "created_at": 1723584323.6593084}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sui_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sui_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sui_event_funding_recomputed\"", "created_at": 1723584323.6594553}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sui_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sui_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sui_event_margin_transferred\"", "created_at": 1723584323.6596048}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sui_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sui_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sui_event_perps_tracking\"", "created_at": 1723584323.6597517}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sui_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sui_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sui_event_position_flagged\"", "created_at": 1723584323.659903}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sui_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sui_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sui_event_position_liquidated0\"", "created_at": 1723584323.6600564}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sui_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sui_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sui_event_position_liquidated1\"", "created_at": 1723584323.6602213}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sui_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sui_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sui_event_position_modified0\"", "created_at": 1723584323.6603656}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sui_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sui_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sui_event_position_modified1\"", "created_at": 1723584323.6605093}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sushi_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sushi_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sushi_event_delayed_order_removed\"", "created_at": 1723584323.6606553}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sushi_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sushi_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sushi_event_delayed_order_submitted\"", "created_at": 1723584323.6608021}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sushi_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sushi_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sushi_event_funding_recomputed\"", "created_at": 1723584323.6609535}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sushi_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sushi_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sushi_event_margin_transferred\"", "created_at": 1723584323.661101}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sushi_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sushi_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sushi_event_perps_tracking\"", "created_at": 1723584323.6612465}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sushi_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sushi_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sushi_event_position_flagged\"", "created_at": 1723584323.661397}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sushi_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sushi_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sushi_event_position_liquidated0\"", "created_at": 1723584323.6615481}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sushi_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sushi_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sushi_event_position_liquidated1\"", "created_at": 1723584323.6616993}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sushi_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sushi_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sushi_event_position_modified0\"", "created_at": 1723584323.661844}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sushi_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sushi_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sushi_event_position_modified1\"", "created_at": 1723584323.6619895}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_tia_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_tia_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_tia_event_delayed_order_removed\"", "created_at": 1723584323.6621337}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_tia_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_tia_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_tia_event_delayed_order_submitted\"", "created_at": 1723584323.6622784}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_tia_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_tia_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_tia_event_funding_recomputed\"", "created_at": 1723584323.662429}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_tia_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_tia_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_tia_event_margin_transferred\"", "created_at": 1723584323.6625762}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_tia_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_tia_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_tia_event_perps_tracking\"", "created_at": 1723584323.6627202}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_tia_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_tia_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_tia_event_position_flagged\"", "created_at": 1723584323.662865}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_tia_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_tia_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_tia_event_position_liquidated0\"", "created_at": 1723584323.663009}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_tia_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_tia_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_tia_event_position_liquidated1\"", "created_at": 1723584323.663199}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_tia_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_tia_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_tia_event_position_modified0\"", "created_at": 1723584323.6633568}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_tia_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_tia_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_tia_event_position_modified1\"", "created_at": 1723584323.6635053}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trb_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trb_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trb_event_delayed_order_removed\"", "created_at": 1723584323.6636508}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trb_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trb_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trb_event_delayed_order_submitted\"", "created_at": 1723584323.6637962}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trb_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trb_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trb_event_funding_recomputed\"", "created_at": 1723584323.6639423}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trb_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trb_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trb_event_margin_transferred\"", "created_at": 1723584323.6640937}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trb_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trb_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trb_event_perps_tracking\"", "created_at": 1723584323.6642394}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trb_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trb_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trb_event_position_flagged\"", "created_at": 1723584323.6643918}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trb_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trb_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trb_event_position_liquidated0\"", "created_at": 1723584323.6645389}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trb_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trb_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trb_event_position_liquidated1\"", "created_at": 1723584323.6646864}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trb_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trb_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trb_event_position_modified0\"", "created_at": 1723584323.664836}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trb_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trb_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trb_event_position_modified1\"", "created_at": 1723584323.6649823}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trx_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trx_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trx_event_delayed_order_removed\"", "created_at": 1723584323.6651373}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trx_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trx_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trx_event_delayed_order_submitted\"", "created_at": 1723584323.6652849}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trx_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trx_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trx_event_funding_recomputed\"", "created_at": 1723584323.6654305}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trx_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trx_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trx_event_margin_transferred\"", "created_at": 1723584323.6655755}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trx_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trx_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trx_event_perps_tracking\"", "created_at": 1723584323.6657274}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trx_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trx_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trx_event_position_flagged\"", "created_at": 1723584323.665874}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trx_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trx_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trx_event_position_liquidated0\"", "created_at": 1723584323.666023}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trx_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trx_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trx_event_position_liquidated1\"", "created_at": 1723584323.6661701}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trx_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trx_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trx_event_position_modified0\"", "created_at": 1723584323.6663198}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trx_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trx_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trx_event_position_modified1\"", "created_at": 1723584323.6664708}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uma_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uma_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uma_event_delayed_order_removed\"", "created_at": 1723584323.666616}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uma_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uma_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uma_event_delayed_order_submitted\"", "created_at": 1723584323.6667643}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uma_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uma_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uma_event_funding_recomputed\"", "created_at": 1723584323.6669166}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uma_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uma_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uma_event_margin_transferred\"", "created_at": 1723584323.6670647}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uma_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uma_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uma_event_perps_tracking\"", "created_at": 1723584323.667238}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uma_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uma_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uma_event_position_flagged\"", "created_at": 1723584323.6673868}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uma_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uma_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uma_event_position_liquidated0\"", "created_at": 1723584323.667539}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uma_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uma_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uma_event_position_liquidated1\"", "created_at": 1723584323.6676857}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uma_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uma_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uma_event_position_modified0\"", "created_at": 1723584323.6678345}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uma_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uma_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uma_event_position_modified1\"", "created_at": 1723584323.667986}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uni_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uni_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uni_event_delayed_order_removed\"", "created_at": 1723584323.668135}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uni_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uni_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uni_event_delayed_order_submitted\"", "created_at": 1723584323.6682806}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uni_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uni_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uni_event_funding_recomputed\"", "created_at": 1723584323.6684246}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uni_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uni_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uni_event_margin_transferred\"", "created_at": 1723584323.6685705}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uni_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uni_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uni_event_perps_tracking\"", "created_at": 1723584323.6687238}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uni_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uni_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uni_event_position_flagged\"", "created_at": 1723584323.6688762}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uni_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uni_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uni_event_position_liquidated0\"", "created_at": 1723584323.669023}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uni_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uni_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uni_event_position_liquidated1\"", "created_at": 1723584323.6691685}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uni_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uni_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uni_event_position_modified0\"", "created_at": 1723584323.6693397}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uni_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uni_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uni_event_position_modified1\"", "created_at": 1723584323.6694875}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_usdt_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_usdt_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_usdt_event_delayed_order_removed\"", "created_at": 1723584323.669641}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_usdt_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_usdt_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_usdt_event_delayed_order_submitted\"", "created_at": 1723584323.6697881}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_usdt_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_usdt_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_usdt_event_funding_recomputed\"", "created_at": 1723584323.6699347}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_usdt_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_usdt_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_usdt_event_margin_transferred\"", "created_at": 1723584323.6700819}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_usdt_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_usdt_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_usdt_event_perps_tracking\"", "created_at": 1723584323.670227}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_usdt_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_usdt_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_usdt_event_position_flagged\"", "created_at": 1723584323.6703775}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_usdt_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_usdt_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_usdt_event_position_liquidated0\"", "created_at": 1723584323.6705315}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_usdt_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_usdt_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_usdt_event_position_liquidated1\"", "created_at": 1723584323.6706786}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_usdt_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_usdt_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_usdt_event_position_modified0\"", "created_at": 1723584323.6708236}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_usdt_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_usdt_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_usdt_event_position_modified1\"", "created_at": 1723584323.6709678}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_wld_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_wld_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_wld_event_delayed_order_removed\"", "created_at": 1723584323.6711342}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_wld_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_wld_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_wld_event_delayed_order_submitted\"", "created_at": 1723584323.6712923}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_wld_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_wld_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_wld_event_funding_recomputed\"", "created_at": 1723584323.6714404}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_wld_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_wld_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_wld_event_margin_transferred\"", "created_at": 1723584323.671593}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_wld_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_wld_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_wld_event_perps_tracking\"", "created_at": 1723584323.6717405}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_wld_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_wld_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_wld_event_position_flagged\"", "created_at": 1723584323.6718855}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_wld_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_wld_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_wld_event_position_liquidated0\"", "created_at": 1723584323.6720371}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_wld_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_wld_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_wld_event_position_liquidated1\"", "created_at": 1723584323.672184}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_wld_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_wld_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_wld_event_position_modified0\"", "created_at": 1723584323.6723344}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_wld_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_wld_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_wld_event_position_modified1\"", "created_at": 1723584323.6724808}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xag_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xag_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xag_event_delayed_order_removed\"", "created_at": 1723584323.6726258}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xag_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xag_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xag_event_delayed_order_submitted\"", "created_at": 1723584323.6727767}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xag_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xag_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xag_event_funding_recomputed\"", "created_at": 1723584323.6729238}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xag_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xag_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xag_event_margin_transferred\"", "created_at": 1723584323.6730704}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xag_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xag_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xag_event_perps_tracking\"", "created_at": 1723584323.6732202}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xag_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xag_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xag_event_position_flagged\"", "created_at": 1723584323.6733677}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xag_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xag_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xag_event_position_liquidated0\"", "created_at": 1723584323.6735134}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xag_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xag_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xag_event_position_liquidated1\"", "created_at": 1723584323.6736805}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xag_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xag_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xag_event_position_modified0\"", "created_at": 1723584323.6738298}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xag_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xag_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xag_event_position_modified1\"", "created_at": 1723584323.6739757}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xau_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xau_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xau_event_delayed_order_removed\"", "created_at": 1723584323.6741264}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xau_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xau_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xau_event_delayed_order_submitted\"", "created_at": 1723584323.674272}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xau_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xau_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xau_event_funding_recomputed\"", "created_at": 1723584323.6744213}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xau_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xau_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xau_event_margin_transferred\"", "created_at": 1723584323.674567}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xau_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xau_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xau_event_perps_tracking\"", "created_at": 1723584323.6747117}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xau_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xau_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xau_event_position_flagged\"", "created_at": 1723584323.674856}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xau_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xau_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xau_event_position_liquidated0\"", "created_at": 1723584323.675003}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xau_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xau_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xau_event_position_liquidated1\"", "created_at": 1723584323.675173}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xau_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xau_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xau_event_position_modified0\"", "created_at": 1723584323.6753235}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xau_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xau_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xau_event_position_modified1\"", "created_at": 1723584323.675494}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xlm_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xlm_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xlm_event_delayed_order_removed\"", "created_at": 1723584323.6756523}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xlm_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xlm_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xlm_event_delayed_order_submitted\"", "created_at": 1723584323.675814}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xlm_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xlm_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xlm_event_funding_recomputed\"", "created_at": 1723584323.6759646}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xlm_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xlm_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xlm_event_margin_transferred\"", "created_at": 1723584323.676121}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xlm_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xlm_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xlm_event_perps_tracking\"", "created_at": 1723584323.6762664}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xlm_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xlm_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xlm_event_position_flagged\"", "created_at": 1723584323.6764112}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xlm_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xlm_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xlm_event_position_liquidated0\"", "created_at": 1723584323.676555}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xlm_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xlm_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xlm_event_position_liquidated1\"", "created_at": 1723584323.6766999}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xlm_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xlm_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xlm_event_position_modified0\"", "created_at": 1723584323.6768525}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xlm_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xlm_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xlm_event_position_modified1\"", "created_at": 1723584323.677001}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xmr_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xmr_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xmr_event_delayed_order_removed\"", "created_at": 1723584323.6771455}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xmr_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xmr_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xmr_event_delayed_order_submitted\"", "created_at": 1723584323.6772897}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xmr_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xmr_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xmr_event_funding_recomputed\"", "created_at": 1723584323.677434}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xmr_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xmr_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xmr_event_margin_transferred\"", "created_at": 1723584323.6775823}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xmr_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xmr_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xmr_event_perps_tracking\"", "created_at": 1723584323.6777282}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xmr_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xmr_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xmr_event_position_flagged\"", "created_at": 1723584323.6778793}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xmr_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xmr_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xmr_event_position_liquidated0\"", "created_at": 1723584323.678023}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xmr_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xmr_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xmr_event_position_liquidated1\"", "created_at": 1723584323.6781666}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xmr_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xmr_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xmr_event_position_modified0\"", "created_at": 1723584323.6783104}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xmr_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xmr_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xmr_event_position_modified1\"", "created_at": 1723584323.6784596}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xrp_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xrp_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xrp_event_delayed_order_removed\"", "created_at": 1723584323.6786041}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xrp_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xrp_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xrp_event_delayed_order_submitted\"", "created_at": 1723584323.678754}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xrp_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xrp_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xrp_event_funding_recomputed\"", "created_at": 1723584323.6788995}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xrp_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xrp_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xrp_event_margin_transferred\"", "created_at": 1723584323.6790447}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xrp_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xrp_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xrp_event_perps_tracking\"", "created_at": 1723584323.6792135}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xrp_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xrp_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xrp_event_position_flagged\"", "created_at": 1723584323.6793766}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xrp_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xrp_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xrp_event_position_liquidated0\"", "created_at": 1723584323.6795225}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xrp_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xrp_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xrp_event_position_liquidated1\"", "created_at": 1723584323.6796741}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xrp_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xrp_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xrp_event_position_modified0\"", "created_at": 1723584323.6798205}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xrp_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xrp_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xrp_event_position_modified1\"", "created_at": 1723584323.6799703}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xtz_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xtz_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xtz_event_delayed_order_removed\"", "created_at": 1723584323.680117}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xtz_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xtz_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xtz_event_delayed_order_submitted\"", "created_at": 1723584323.6802611}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xtz_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xtz_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xtz_event_funding_recomputed\"", "created_at": 1723584323.6804082}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xtz_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xtz_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xtz_event_margin_transferred\"", "created_at": 1723584323.6805542}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xtz_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xtz_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xtz_event_perps_tracking\"", "created_at": 1723584323.680708}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xtz_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xtz_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xtz_event_position_flagged\"", "created_at": 1723584323.6808555}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xtz_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xtz_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xtz_event_position_liquidated0\"", "created_at": 1723584323.6810007}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xtz_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xtz_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xtz_event_position_liquidated1\"", "created_at": 1723584323.6811464}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xtz_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xtz_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xtz_event_position_modified0\"", "created_at": 1723584323.6812904}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xtz_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xtz_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xtz_event_position_modified1\"", "created_at": 1723584323.681441}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_yfi_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_yfi_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_yfi_event_delayed_order_removed\"", "created_at": 1723584323.6816087}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_yfi_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_yfi_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_yfi_event_delayed_order_submitted\"", "created_at": 1723584323.6817548}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_yfi_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_yfi_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_yfi_event_funding_recomputed\"", "created_at": 1723584323.6819015}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_yfi_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_yfi_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_yfi_event_margin_transferred\"", "created_at": 1723584323.682047}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_yfi_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_yfi_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_yfi_event_perps_tracking\"", "created_at": 1723584323.6821983}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_yfi_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_yfi_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_yfi_event_position_flagged\"", "created_at": 1723584323.6823509}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_yfi_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_yfi_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_yfi_event_position_liquidated0\"", "created_at": 1723584323.6824977}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_yfi_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_yfi_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_yfi_event_position_liquidated1\"", "created_at": 1723584323.6826417}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_yfi_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_yfi_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_yfi_event_position_modified0\"", "created_at": 1723584323.6827853}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_yfi_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_yfi_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_yfi_event_position_modified1\"", "created_at": 1723584323.6829288}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zec_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zec_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zec_event_delayed_order_removed\"", "created_at": 1723584323.68308}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zec_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zec_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zec_event_delayed_order_submitted\"", "created_at": 1723584323.6832554}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zec_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zec_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zec_event_funding_recomputed\"", "created_at": 1723584323.6834044}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zec_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zec_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zec_event_margin_transferred\"", "created_at": 1723584323.683551}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zec_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zec_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zec_event_perps_tracking\"", "created_at": 1723584323.6836953}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zec_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zec_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zec_event_position_flagged\"", "created_at": 1723584323.6838403}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zec_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zec_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zec_event_position_liquidated0\"", "created_at": 1723584323.6839921}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zec_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zec_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zec_event_position_liquidated1\"", "created_at": 1723584323.6841414}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zec_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zec_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zec_event_position_modified0\"", "created_at": 1723584323.6842873}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zec_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zec_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zec_event_position_modified1\"", "created_at": 1723584323.6844335}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zil_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zil_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zil_event_delayed_order_removed\"", "created_at": 1723584323.6845772}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zil_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zil_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zil_event_delayed_order_submitted\"", "created_at": 1723584323.684728}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zil_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zil_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zil_event_funding_recomputed\"", "created_at": 1723584323.6848736}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zil_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zil_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zil_event_margin_transferred\"", "created_at": 1723584323.6850219}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zil_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zil_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zil_event_perps_tracking\"", "created_at": 1723584323.6851673}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zil_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zil_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zil_event_position_flagged\"", "created_at": 1723584323.6853118}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zil_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zil_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zil_event_position_liquidated0\"", "created_at": 1723584323.6854637}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zil_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zil_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zil_event_position_liquidated1\"", "created_at": 1723584323.6856089}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zil_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zil_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zil_event_position_modified0\"", "created_at": 1723584323.6857548}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zil_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zil_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zil_event_position_modified1\"", "created_at": 1723584323.6859045}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zrx_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zrx_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zrx_event_delayed_order_removed\"", "created_at": 1723584323.6860507}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zrx_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zrx_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zrx_event_delayed_order_submitted\"", "created_at": 1723584323.686195}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zrx_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zrx_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zrx_event_funding_recomputed\"", "created_at": 1723584323.6863449}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zrx_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zrx_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zrx_event_margin_transferred\"", "created_at": 1723584323.6864903}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zrx_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zrx_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zrx_event_perps_tracking\"", "created_at": 1723584323.6866407}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zrx_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zrx_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zrx_event_position_flagged\"", "created_at": 1723584323.68679}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zrx_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zrx_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zrx_event_position_liquidated0\"", "created_at": 1723584323.6869347}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zrx_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zrx_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zrx_event_position_liquidated1\"", "created_at": 1723584323.6870842}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zrx_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zrx_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zrx_event_position_modified0\"", "created_at": 1723584323.6872509}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zrx_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zrx_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zrx_event_position_modified1\"", "created_at": 1723584323.6873984}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ordi_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ordi_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ordi_event_delayed_order_removed\"", "created_at": 1723584323.687549}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ordi_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ordi_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ordi_event_delayed_order_submitted\"", "created_at": 1723584323.687714}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ordi_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ordi_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ordi_event_funding_recomputed\"", "created_at": 1723584323.6878645}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ordi_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ordi_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ordi_event_margin_transferred\"", "created_at": 1723584323.6880105}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ordi_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ordi_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ordi_event_perps_tracking\"", "created_at": 1723584323.6881642}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ordi_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ordi_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ordi_event_position_flagged\"", "created_at": 1723584323.6883142}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ordi_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ordi_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ordi_event_position_liquidated0\"", "created_at": 1723584323.6884599}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ordi_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ordi_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ordi_event_position_liquidated1\"", "created_at": 1723584323.6886134}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ordi_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ordi_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ordi_event_position_modified0\"", "created_at": 1723584323.6887593}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ordi_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ordi_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ordi_event_position_modified1\"", "created_at": 1723584323.6889026}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_cvx_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_cvx_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_cvx_event_delayed_order_removed\"", "created_at": 1723584323.6890454}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_cvx_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_cvx_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_cvx_event_delayed_order_submitted\"", "created_at": 1723584323.6891887}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_cvx_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_cvx_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_cvx_event_funding_recomputed\"", "created_at": 1723584323.6893406}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_cvx_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_cvx_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_cvx_event_margin_transferred\"", "created_at": 1723584323.6894944}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_cvx_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_cvx_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_cvx_event_perps_tracking\"", "created_at": 1723584323.689642}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_cvx_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_cvx_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_cvx_event_position_flagged\"", "created_at": 1723584323.6897912}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_cvx_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_cvx_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_cvx_event_position_liquidated0\"", "created_at": 1723584323.6899376}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_cvx_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_cvx_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_cvx_event_position_liquidated1\"", "created_at": 1723584323.6900828}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_cvx_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_cvx_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_cvx_event_position_modified0\"", "created_at": 1723584323.690233}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_cvx_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_cvx_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_cvx_event_position_modified1\"", "created_at": 1723584323.6903844}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jup_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jup_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jup_event_delayed_order_removed\"", "created_at": 1723584323.690531}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jup_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jup_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jup_event_delayed_order_submitted\"", "created_at": 1723584323.690676}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jup_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jup_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jup_event_funding_recomputed\"", "created_at": 1723584323.6908185}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jup_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jup_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jup_event_margin_transferred\"", "created_at": 1723584323.690967}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jup_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jup_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jup_event_perps_tracking\"", "created_at": 1723584323.6911366}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jup_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jup_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jup_event_position_flagged\"", "created_at": 1723584323.6913078}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jup_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jup_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jup_event_position_liquidated0\"", "created_at": 1723584323.6914625}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jup_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jup_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jup_event_position_liquidated1\"", "created_at": 1723584323.691608}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jup_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jup_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jup_event_position_modified0\"", "created_at": 1723584323.6917536}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jup_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jup_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jup_event_position_modified1\"", "created_at": 1723584323.6919036}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jto_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jto_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jto_event_delayed_order_removed\"", "created_at": 1723584323.692048}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jto_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jto_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jto_event_delayed_order_submitted\"", "created_at": 1723584323.692197}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jto_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jto_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jto_event_funding_recomputed\"", "created_at": 1723584323.6923428}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jto_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jto_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jto_event_margin_transferred\"", "created_at": 1723584323.6924875}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jto_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jto_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jto_event_perps_tracking\"", "created_at": 1723584323.6926377}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jto_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jto_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jto_event_position_flagged\"", "created_at": 1723584323.6927838}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jto_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jto_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jto_event_position_liquidated0\"", "created_at": 1723584323.692929}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jto_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jto_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jto_event_position_liquidated1\"", "created_at": 1723584323.6930783}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jto_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jto_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jto_event_position_modified0\"", "created_at": 1723584323.6932235}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jto_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jto_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jto_event_position_modified1\"", "created_at": 1723584323.6933737}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_strk_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_strk_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_strk_event_delayed_order_removed\"", "created_at": 1723584323.693518}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_strk_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_strk_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_strk_event_delayed_order_submitted\"", "created_at": 1723584323.693662}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_strk_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_strk_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_strk_event_funding_recomputed\"", "created_at": 1723584323.693824}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_strk_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_strk_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_strk_event_margin_transferred\"", "created_at": 1723584323.693973}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_strk_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_strk_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_strk_event_perps_tracking\"", "created_at": 1723584323.6941178}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_strk_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_strk_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_strk_event_position_flagged\"", "created_at": 1723584323.6942666}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_strk_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_strk_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_strk_event_position_liquidated0\"", "created_at": 1723584323.6944096}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_strk_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_strk_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_strk_event_position_liquidated1\"", "created_at": 1723584323.6945515}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_strk_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_strk_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_strk_event_position_modified0\"", "created_at": 1723584323.6947017}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_strk_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_strk_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_strk_event_position_modified1\"", "created_at": 1723584323.694848}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pendle_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pendle_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pendle_event_delayed_order_removed\"", "created_at": 1723584323.6949983}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pendle_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pendle_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pendle_event_delayed_order_submitted\"", "created_at": 1723584323.695177}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pendle_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pendle_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pendle_event_funding_recomputed\"", "created_at": 1723584323.695327}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pendle_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pendle_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pendle_event_margin_transferred\"", "created_at": 1723584323.695473}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pendle_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pendle_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pendle_event_perps_tracking\"", "created_at": 1723584323.6956186}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pendle_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pendle_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pendle_event_position_flagged\"", "created_at": 1723584323.6957703}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pendle_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pendle_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pendle_event_position_liquidated0\"", "created_at": 1723584323.695923}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pendle_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pendle_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pendle_event_position_liquidated1\"", "created_at": 1723584323.6960685}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pendle_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pendle_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pendle_event_position_modified0\"", "created_at": 1723584323.6962128}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pendle_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pendle_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pendle_event_position_modified1\"", "created_at": 1723584323.6963558}}, "macros": {"macro.synthetix.get_v2_event_data": {"name": "get_v2_event_data", "resource_type": "macro", "package_name": "synthetix", "path": "macros/get_v2_event_data.sql", "original_file_path": "macros/get_v2_event_data.sql", "unique_id": "macro.synthetix.get_v2_event_data", "macro_sql": "{%- macro get_v2_event_data(\n chain,\n network,\n event_name\n ) -%}\n {%- set markets = var('v2_markets') -%}\n {%- set relations = [] -%}\n {%- for market in markets -%}\n {%- do relations.append(\n source(\n 'raw_' ~ chain ~ '_' ~ network,\n 'perps_v2_' ~ market ~ '_event_' ~ event_name if market != '1_inch' else 'perps_v2' ~ market ~ '_event_' ~ event_name\n )\n ) -%}\n {%- endfor -%}\n\n WITH raw_data AS (\n {{ dbt_utils.union_relations(\n relations = relations\n ) }}\n )\nSELECT\n *,\n COALESCE(\n REGEXP_SUBSTR(\n \"_dbt_source_relation\",\n 'perps_v2_([^_]+)_event',\n 1,\n 1,\n 'i',\n 1\n ),\n '1inch'\n ) AS market\nFROM\n raw_data\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_utils.union_relations"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4671679, "supported_languages": null}, "macro.synthetix.convert_hex": {"name": "convert_hex", "resource_type": "macro", "package_name": "synthetix", "path": "macros/convert_hex.sql", "original_file_path": "macros/convert_hex.sql", "unique_id": "macro.synthetix.convert_hex", "macro_sql": "{% macro convert_hex(\n hex_column,\n max_length = 20\n ) %}\n LEFT(\n REGEXP_REPLACE(\n encode(\n DECODE(REPLACE({{ hex_column }}, '0x', ''), 'hex'),\n 'escape'\n ) :: text,\n '\\\\000',\n '',\n 'g'\n ),\n {{ max_length }}\n )\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4676516, "supported_languages": null}, "macro.synthetix.copy_raw": {"name": "copy_raw", "resource_type": "macro", "package_name": "synthetix", "path": "macros/copy_raw.sql", "original_file_path": "macros/copy_raw.sql", "unique_id": "macro.synthetix.copy_raw", "macro_sql": "{% macro copy_raw() %}\n{% set target_name = target.name %}\n{% set sql %}\n CALL copy_schema_tables('{{ target_name }}', 'public', 'analytics', 'raw_{{ target_name }}');\n{% endset %}\n\n{% do run_query(sql) %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4683418, "supported_languages": null}, "macro.synthetix.convert_wei": {"name": "convert_wei", "resource_type": "macro", "package_name": "synthetix", "path": "macros/convert_wei.sql", "original_file_path": "macros/convert_wei.sql", "unique_id": "macro.synthetix.convert_wei", "macro_sql": "{% macro convert_wei(column_name) %}\n {{ column_name }} / 1e18\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4686284, "supported_languages": null}, "macro.synthetix.get_event_data": {"name": "get_event_data", "resource_type": "macro", "package_name": "synthetix", "path": "macros/get_event_data.sql", "original_file_path": "macros/get_event_data.sql", "unique_id": "macro.synthetix.get_event_data", "macro_sql": "{% macro get_event_data(\n chain,\n network,\n contract_name,\n event_name\n ) %}\nSELECT\n *\nFROM\n {{ source(\n 'raw_' ~ chain ~ '_' ~ network,\n contract_name ~ '_event_' ~ event_name\n ) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4691646, "supported_languages": null}, "macro.dbt_postgres.postgres__create_table_as": {"name": "postgres__create_table_as", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__create_table_as", "macro_sql": "{% macro postgres__create_table_as(temporary, relation, sql) -%}\n {%- set unlogged = config.get('unlogged', default=false) -%}\n {%- set sql_header = config.get('sql_header', none) -%}\n\n {{ sql_header if sql_header is not none }}\n\n create {% if temporary -%}\n temporary\n {%- elif unlogged -%}\n unlogged\n {%- endif %} table {{ relation }}\n {% set contract_config = config.get('contract') %}\n {% if contract_config.enforced %}\n {{ get_assert_columns_equivalent(sql) }}\n {% endif -%}\n {% if contract_config.enforced and (not temporary) -%}\n {{ get_table_columns_and_constraints() }} ;\n insert into {{ relation }} (\n {{ adapter.dispatch('get_column_names', 'dbt')() }}\n )\n {%- set sql = get_select_subquery(sql) %}\n {% else %}\n as\n {% endif %}\n (\n {{ sql }}\n );\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.get_assert_columns_equivalent", "macro.dbt.get_table_columns_and_constraints", "macro.dbt.default__get_column_names", "macro.dbt.get_select_subquery"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4816308, "supported_languages": null}, "macro.dbt_postgres.postgres__get_create_index_sql": {"name": "postgres__get_create_index_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__get_create_index_sql", "macro_sql": "{% macro postgres__get_create_index_sql(relation, index_dict) -%}\n {%- set index_config = adapter.parse_index(index_dict) -%}\n {%- set comma_separated_columns = \", \".join(index_config.columns) -%}\n {%- set index_name = index_config.render(relation) -%}\n\n create {% if index_config.unique -%}\n unique\n {%- endif %} index if not exists\n \"{{ index_name }}\"\n on {{ relation }} {% if index_config.type -%}\n using {{ index_config.type }}\n {%- endif %}\n ({{ comma_separated_columns }})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4826365, "supported_languages": null}, "macro.dbt_postgres.postgres__create_schema": {"name": "postgres__create_schema", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__create_schema", "macro_sql": "{% macro postgres__create_schema(relation) -%}\n {% if relation.database -%}\n {{ adapter.verify_database(relation.database) }}\n {%- endif -%}\n {%- call statement('create_schema') -%}\n create schema if not exists {{ relation.without_identifier().include(database=False) }}\n {%- endcall -%}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4833133, "supported_languages": null}, "macro.dbt_postgres.postgres__drop_schema": {"name": "postgres__drop_schema", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__drop_schema", "macro_sql": "{% macro postgres__drop_schema(relation) -%}\n {% if relation.database -%}\n {{ adapter.verify_database(relation.database) }}\n {%- endif -%}\n {%- call statement('drop_schema') -%}\n drop schema if exists {{ relation.without_identifier().include(database=False) }} cascade\n {%- endcall -%}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4839358, "supported_languages": null}, "macro.dbt_postgres.postgres__get_columns_in_relation": {"name": "postgres__get_columns_in_relation", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__get_columns_in_relation", "macro_sql": "{% macro postgres__get_columns_in_relation(relation) -%}\n {% call statement('get_columns_in_relation', fetch_result=True) %}\n select\n column_name,\n data_type,\n character_maximum_length,\n numeric_precision,\n numeric_scale\n\n from {{ relation.information_schema('columns') }}\n where table_name = '{{ relation.identifier }}'\n {% if relation.schema %}\n and table_schema = '{{ relation.schema }}'\n {% endif %}\n order by ordinal_position\n\n {% endcall %}\n {% set table = load_result('get_columns_in_relation').table %}\n {{ return(sql_convert_columns_in_relation(table)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt.sql_convert_columns_in_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4848301, "supported_languages": null}, "macro.dbt_postgres.postgres__list_relations_without_caching": {"name": "postgres__list_relations_without_caching", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__list_relations_without_caching", "macro_sql": "{% macro postgres__list_relations_without_caching(schema_relation) %}\n {% call statement('list_relations_without_caching', fetch_result=True) -%}\n select\n '{{ schema_relation.database }}' as database,\n tablename as name,\n schemaname as schema,\n 'table' as type\n from pg_tables\n where schemaname ilike '{{ schema_relation.schema }}'\n union all\n select\n '{{ schema_relation.database }}' as database,\n viewname as name,\n schemaname as schema,\n 'view' as type\n from pg_views\n where schemaname ilike '{{ schema_relation.schema }}'\n union all\n select\n '{{ schema_relation.database }}' as database,\n matviewname as name,\n schemaname as schema,\n 'materialized_view' as type\n from pg_matviews\n where schemaname ilike '{{ schema_relation.schema }}'\n {% endcall %}\n {{ return(load_result('list_relations_without_caching').table) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4856603, "supported_languages": null}, "macro.dbt_postgres.postgres__information_schema_name": {"name": "postgres__information_schema_name", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__information_schema_name", "macro_sql": "{% macro postgres__information_schema_name(database) -%}\n {% if database_name -%}\n {{ adapter.verify_database(database_name) }}\n {%- endif -%}\n information_schema\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4859982, "supported_languages": null}, "macro.dbt_postgres.postgres__list_schemas": {"name": "postgres__list_schemas", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__list_schemas", "macro_sql": "{% macro postgres__list_schemas(database) %}\n {% if database -%}\n {{ adapter.verify_database(database) }}\n {%- endif -%}\n {% call statement('list_schemas', fetch_result=True, auto_begin=False) %}\n select distinct nspname from pg_namespace\n {% endcall %}\n {{ return(load_result('list_schemas').table) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4866726, "supported_languages": null}, "macro.dbt_postgres.postgres__check_schema_exists": {"name": "postgres__check_schema_exists", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__check_schema_exists", "macro_sql": "{% macro postgres__check_schema_exists(information_schema, schema) -%}\n {% if information_schema.database -%}\n {{ adapter.verify_database(information_schema.database) }}\n {%- endif -%}\n {% call statement('check_schema_exists', fetch_result=True, auto_begin=False) %}\n select count(*) from pg_namespace where nspname = '{{ schema }}'\n {% endcall %}\n {{ return(load_result('check_schema_exists').table) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4874392, "supported_languages": null}, "macro.dbt_postgres.postgres__make_relation_with_suffix": {"name": "postgres__make_relation_with_suffix", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__make_relation_with_suffix", "macro_sql": "{% macro postgres__make_relation_with_suffix(base_relation, suffix, dstring) %}\n {% if dstring %}\n {% set dt = modules.datetime.datetime.now() %}\n {% set dtstring = dt.strftime(\"%H%M%S%f\") %}\n {% set suffix = suffix ~ dtstring %}\n {% endif %}\n {% set suffix_length = suffix|length %}\n {% set relation_max_name_length = base_relation.relation_max_name_length() %}\n {% if suffix_length > relation_max_name_length %}\n {% do exceptions.raise_compiler_error('Relation suffix is too long (' ~ suffix_length ~ ' characters). Maximum length is ' ~ relation_max_name_length ~ ' characters.') %}\n {% endif %}\n {% set identifier = base_relation.identifier[:relation_max_name_length - suffix_length] ~ suffix %}\n\n {{ return(base_relation.incorporate(path={\"identifier\": identifier })) }}\n\n {% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4890144, "supported_languages": null}, "macro.dbt_postgres.postgres__make_intermediate_relation": {"name": "postgres__make_intermediate_relation", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__make_intermediate_relation", "macro_sql": "{% macro postgres__make_intermediate_relation(base_relation, suffix) %}\n {{ return(postgres__make_relation_with_suffix(base_relation, suffix, dstring=False)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__make_relation_with_suffix"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4893847, "supported_languages": null}, "macro.dbt_postgres.postgres__make_temp_relation": {"name": "postgres__make_temp_relation", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__make_temp_relation", "macro_sql": "{% macro postgres__make_temp_relation(base_relation, suffix) %}\n {% set temp_relation = postgres__make_relation_with_suffix(base_relation, suffix, dstring=True) %}\n {{ return(temp_relation.incorporate(path={\"schema\": none,\n \"database\": none})) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__make_relation_with_suffix"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4899812, "supported_languages": null}, "macro.dbt_postgres.postgres__make_backup_relation": {"name": "postgres__make_backup_relation", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__make_backup_relation", "macro_sql": "{% macro postgres__make_backup_relation(base_relation, backup_relation_type, suffix) %}\n {% set backup_relation = postgres__make_relation_with_suffix(base_relation, suffix, dstring=False) %}\n {{ return(backup_relation.incorporate(type=backup_relation_type)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__make_relation_with_suffix"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4904926, "supported_languages": null}, "macro.dbt_postgres.postgres_escape_comment": {"name": "postgres_escape_comment", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres_escape_comment", "macro_sql": "{% macro postgres_escape_comment(comment) -%}\n {% if comment is not string %}\n {% do exceptions.raise_compiler_error('cannot escape a non-string: ' ~ comment) %}\n {% endif %}\n {%- set magic = '$dbt_comment_literal_block$' -%}\n {%- if magic in comment -%}\n {%- do exceptions.raise_compiler_error('The string ' ~ magic ~ ' is not allowed in comments.') -%}\n {%- endif -%}\n {{ magic }}{{ comment }}{{ magic }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4913301, "supported_languages": null}, "macro.dbt_postgres.postgres__alter_relation_comment": {"name": "postgres__alter_relation_comment", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__alter_relation_comment", "macro_sql": "{% macro postgres__alter_relation_comment(relation, comment) %}\n {% set escaped_comment = postgres_escape_comment(comment) %}\n comment on {{ relation.type }} {{ relation }} is {{ escaped_comment }};\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres_escape_comment"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4917674, "supported_languages": null}, "macro.dbt_postgres.postgres__alter_column_comment": {"name": "postgres__alter_column_comment", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__alter_column_comment", "macro_sql": "{% macro postgres__alter_column_comment(relation, column_dict) %}\n {% set existing_columns = adapter.get_columns_in_relation(relation) | map(attribute=\"name\") | list %}\n {% for column_name in column_dict if (column_name in existing_columns) %}\n {% set comment = column_dict[column_name]['description'] %}\n {% set escaped_comment = postgres_escape_comment(comment) %}\n comment on column {{ relation }}.{{ adapter.quote(column_name) if column_dict[column_name]['quote'] else column_name }} is {{ escaped_comment }};\n {% endfor %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres_escape_comment"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4928825, "supported_languages": null}, "macro.dbt_postgres.postgres__get_show_grant_sql": {"name": "postgres__get_show_grant_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__get_show_grant_sql", "macro_sql": "\n\n{%- macro postgres__get_show_grant_sql(relation) -%}\n select grantee, privilege_type\n from {{ relation.information_schema('role_table_grants') }}\n where grantor = current_role\n and grantee != current_role\n and table_schema = '{{ relation.schema }}'\n and table_name = '{{ relation.identifier }}'\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4932733, "supported_languages": null}, "macro.dbt_postgres.postgres__copy_grants": {"name": "postgres__copy_grants", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__copy_grants", "macro_sql": "{% macro postgres__copy_grants() %}\n {{ return(False) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4935067, "supported_languages": null}, "macro.dbt_postgres.postgres__get_show_indexes_sql": {"name": "postgres__get_show_indexes_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__get_show_indexes_sql", "macro_sql": "{% macro postgres__get_show_indexes_sql(relation) %}\n select\n i.relname as name,\n m.amname as method,\n ix.indisunique as \"unique\",\n array_to_string(array_agg(a.attname), ',') as column_names\n from pg_index ix\n join pg_class i\n on i.oid = ix.indexrelid\n join pg_am m\n on m.oid=i.relam\n join pg_class t\n on t.oid = ix.indrelid\n join pg_namespace n\n on n.oid = t.relnamespace\n join pg_attribute a\n on a.attrelid = t.oid\n and a.attnum = ANY(ix.indkey)\n where t.relname = '{{ relation.identifier }}'\n and n.nspname = '{{ relation.schema }}'\n and t.relkind in ('r', 'm')\n group by 1, 2, 3\n order by 1, 2, 3\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4938388, "supported_languages": null}, "macro.dbt_postgres.postgres__get_drop_index_sql": {"name": "postgres__get_drop_index_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__get_drop_index_sql", "macro_sql": "\n\n\n{%- macro postgres__get_drop_index_sql(relation, index_name) -%}\n drop index if exists \"{{ relation.schema }}\".\"{{ index_name }}\"\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.494123, "supported_languages": null}, "macro.dbt_postgres.postgres__get_catalog_relations": {"name": "postgres__get_catalog_relations", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/catalog.sql", "original_file_path": "macros/catalog.sql", "unique_id": "macro.dbt_postgres.postgres__get_catalog_relations", "macro_sql": "{% macro postgres__get_catalog_relations(information_schema, relations) -%}\n {%- call statement('catalog', fetch_result=True) -%}\n\n {#\n If the user has multiple databases set and the first one is wrong, this will fail.\n But we won't fail in the case where there are multiple quoting-difference-only dbs, which is better.\n #}\n {% set database = information_schema.database %}\n {{ adapter.verify_database(database) }}\n\n select\n '{{ database }}' as table_database,\n sch.nspname as table_schema,\n tbl.relname as table_name,\n case tbl.relkind\n when 'v' then 'VIEW'\n when 'm' then 'MATERIALIZED VIEW'\n else 'BASE TABLE'\n end as table_type,\n tbl_desc.description as table_comment,\n col.attname as column_name,\n col.attnum as column_index,\n pg_catalog.format_type(col.atttypid, col.atttypmod) as column_type,\n col_desc.description as column_comment,\n pg_get_userbyid(tbl.relowner) as table_owner\n\n from pg_catalog.pg_namespace sch\n join pg_catalog.pg_class tbl on tbl.relnamespace = sch.oid\n join pg_catalog.pg_attribute col on col.attrelid = tbl.oid\n left outer join pg_catalog.pg_description tbl_desc on (tbl_desc.objoid = tbl.oid and tbl_desc.objsubid = 0)\n left outer join pg_catalog.pg_description col_desc on (col_desc.objoid = tbl.oid and col_desc.objsubid = col.attnum)\n where (\n {%- for relation in relations -%}\n {%- if relation.identifier -%}\n (upper(sch.nspname) = upper('{{ relation.schema }}') and\n upper(tbl.relname) = upper('{{ relation.identifier }}'))\n {%- else-%}\n upper(sch.nspname) = upper('{{ relation.schema }}')\n {%- endif -%}\n {%- if not loop.last %} or {% endif -%}\n {%- endfor -%}\n )\n and not pg_is_other_temp_schema(sch.oid) -- not a temporary schema belonging to another session\n and tbl.relpersistence in ('p', 'u') -- [p]ermanent table or [u]nlogged table. Exclude [t]emporary tables\n and tbl.relkind in ('r', 'v', 'f', 'p', 'm') -- o[r]dinary table, [v]iew, [f]oreign table, [p]artitioned table, [m]aterialized view. Other values are [i]ndex, [S]equence, [c]omposite type, [t]OAST table\n and col.attnum > 0 -- negative numbers are used for system columns such as oid\n and not col.attisdropped -- column as not been dropped\n\n order by\n sch.nspname,\n tbl.relname,\n col.attnum\n\n {%- endcall -%}\n\n {{ return(load_result('catalog').table) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4966767, "supported_languages": null}, "macro.dbt_postgres.postgres__get_catalog": {"name": "postgres__get_catalog", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/catalog.sql", "original_file_path": "macros/catalog.sql", "unique_id": "macro.dbt_postgres.postgres__get_catalog", "macro_sql": "{% macro postgres__get_catalog(information_schema, schemas) -%}\n {%- set relations = [] -%}\n {%- for schema in schemas -%}\n {%- set dummy = relations.append({'schema': schema}) -%}\n {%- endfor -%}\n {{ return(postgres__get_catalog_relations(information_schema, relations)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_catalog_relations"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4973526, "supported_languages": null}, "macro.dbt_postgres.postgres__current_timestamp": {"name": "postgres__current_timestamp", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/timestamps.sql", "original_file_path": "macros/timestamps.sql", "unique_id": "macro.dbt_postgres.postgres__current_timestamp", "macro_sql": "{% macro postgres__current_timestamp() -%}\n now()\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4978385, "supported_languages": null}, "macro.dbt_postgres.postgres__snapshot_string_as_time": {"name": "postgres__snapshot_string_as_time", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/timestamps.sql", "original_file_path": "macros/timestamps.sql", "unique_id": "macro.dbt_postgres.postgres__snapshot_string_as_time", "macro_sql": "{% macro postgres__snapshot_string_as_time(timestamp) -%}\n {%- set result = \"'\" ~ timestamp ~ \"'::timestamp without time zone\" -%}\n {{ return(result) }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4981923, "supported_languages": null}, "macro.dbt_postgres.postgres__snapshot_get_time": {"name": "postgres__snapshot_get_time", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/timestamps.sql", "original_file_path": "macros/timestamps.sql", "unique_id": "macro.dbt_postgres.postgres__snapshot_get_time", "macro_sql": "{% macro postgres__snapshot_get_time() -%}\n {{ current_timestamp() }}::timestamp without time zone\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.current_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.498401, "supported_languages": null}, "macro.dbt_postgres.postgres__current_timestamp_backcompat": {"name": "postgres__current_timestamp_backcompat", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/timestamps.sql", "original_file_path": "macros/timestamps.sql", "unique_id": "macro.dbt_postgres.postgres__current_timestamp_backcompat", "macro_sql": "{% macro postgres__current_timestamp_backcompat() %}\n current_timestamp::{{ type_timestamp() }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4986134, "supported_languages": null}, "macro.dbt_postgres.postgres__current_timestamp_in_utc_backcompat": {"name": "postgres__current_timestamp_in_utc_backcompat", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/timestamps.sql", "original_file_path": "macros/timestamps.sql", "unique_id": "macro.dbt_postgres.postgres__current_timestamp_in_utc_backcompat", "macro_sql": "{% macro postgres__current_timestamp_in_utc_backcompat() %}\n (current_timestamp at time zone 'utc')::{{ type_timestamp() }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4988246, "supported_languages": null}, "macro.dbt_postgres.postgres__get_relations": {"name": "postgres__get_relations", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations.sql", "original_file_path": "macros/relations.sql", "unique_id": "macro.dbt_postgres.postgres__get_relations", "macro_sql": "{% macro postgres__get_relations() -%}\n\n {#\n -- in pg_depend, objid is the dependent, refobjid is the referenced object\n -- > a pg_depend entry indicates that the referenced object cannot be\n -- > dropped without also dropping the dependent object.\n #}\n\n {%- call statement('relations', fetch_result=True) -%}\n with relation as (\n select\n pg_rewrite.ev_class as class,\n pg_rewrite.oid as id\n from pg_rewrite\n ),\n class as (\n select\n oid as id,\n relname as name,\n relnamespace as schema,\n relkind as kind\n from pg_class\n ),\n dependency as (\n select distinct\n pg_depend.objid as id,\n pg_depend.refobjid as ref\n from pg_depend\n ),\n schema as (\n select\n pg_namespace.oid as id,\n pg_namespace.nspname as name\n from pg_namespace\n where nspname != 'information_schema' and nspname not like 'pg\\_%'\n ),\n referenced as (\n select\n relation.id AS id,\n referenced_class.name ,\n referenced_class.schema ,\n referenced_class.kind\n from relation\n join class as referenced_class on relation.class=referenced_class.id\n where referenced_class.kind in ('r', 'v', 'm')\n ),\n relationships as (\n select\n referenced.name as referenced_name,\n referenced.schema as referenced_schema_id,\n dependent_class.name as dependent_name,\n dependent_class.schema as dependent_schema_id,\n referenced.kind as kind\n from referenced\n join dependency on referenced.id=dependency.id\n join class as dependent_class on dependency.ref=dependent_class.id\n where\n (referenced.name != dependent_class.name or\n referenced.schema != dependent_class.schema)\n )\n\n select\n referenced_schema.name as referenced_schema,\n relationships.referenced_name as referenced_name,\n dependent_schema.name as dependent_schema,\n relationships.dependent_name as dependent_name\n from relationships\n join schema as dependent_schema on relationships.dependent_schema_id=dependent_schema.id\n join schema as referenced_schema on relationships.referenced_schema_id=referenced_schema.id\n group by referenced_schema, referenced_name, dependent_schema, dependent_name\n order by referenced_schema, referenced_name, dependent_schema, dependent_name;\n\n {%- endcall -%}\n\n {{ return(load_result('relations').table) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.4998746, "supported_languages": null}, "macro.dbt_postgres.postgres_get_relations": {"name": "postgres_get_relations", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations.sql", "original_file_path": "macros/relations.sql", "unique_id": "macro.dbt_postgres.postgres_get_relations", "macro_sql": "{% macro postgres_get_relations() %}\n {{ return(postgres__get_relations()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_relations"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5001285, "supported_languages": null}, "macro.dbt_postgres.postgres__get_replace_table_sql": {"name": "postgres__get_replace_table_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/table/replace.sql", "original_file_path": "macros/relations/table/replace.sql", "unique_id": "macro.dbt_postgres.postgres__get_replace_table_sql", "macro_sql": "{% macro postgres__get_replace_table_sql(relation, sql) -%}\n\n {%- set sql_header = config.get('sql_header', none) -%}\n {{ sql_header if sql_header is not none }}\n\n create or replace table {{ relation }}\n {% set contract_config = config.get('contract') %}\n {% if contract_config.enforced %}\n {{ get_assert_columns_equivalent(sql) }}\n {{ get_table_columns_and_constraints() }}\n {%- set sql = get_select_subquery(sql) %}\n {% endif %}\n as (\n {{ sql }}\n );\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.get_assert_columns_equivalent", "macro.dbt.get_table_columns_and_constraints", "macro.dbt.get_select_subquery"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5013802, "supported_languages": null}, "macro.dbt_postgres.postgres__get_rename_table_sql": {"name": "postgres__get_rename_table_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/table/rename.sql", "original_file_path": "macros/relations/table/rename.sql", "unique_id": "macro.dbt_postgres.postgres__get_rename_table_sql", "macro_sql": "{% macro postgres__get_rename_table_sql(relation, new_name) %}\n alter table {{ relation }} rename to {{ new_name }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.501717, "supported_languages": null}, "macro.dbt_postgres.postgres__drop_table": {"name": "postgres__drop_table", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/table/drop.sql", "original_file_path": "macros/relations/table/drop.sql", "unique_id": "macro.dbt_postgres.postgres__drop_table", "macro_sql": "{% macro postgres__drop_table(relation) -%}\n drop table if exists {{ relation }} cascade\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5019784, "supported_languages": null}, "macro.dbt_postgres.postgres__get_replace_view_sql": {"name": "postgres__get_replace_view_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/view/replace.sql", "original_file_path": "macros/relations/view/replace.sql", "unique_id": "macro.dbt_postgres.postgres__get_replace_view_sql", "macro_sql": "{% macro postgres__get_replace_view_sql(relation, sql) -%}\n\n {%- set sql_header = config.get('sql_header', none) -%}\n {{ sql_header if sql_header is not none }}\n\n create or replace view {{ relation }}\n {% set contract_config = config.get('contract') %}\n {% if contract_config.enforced %}\n {{ get_assert_columns_equivalent(sql) }}\n {%- endif %}\n as (\n {{ sql }}\n );\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.get_assert_columns_equivalent"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.502981, "supported_languages": null}, "macro.dbt_postgres.postgres__get_rename_view_sql": {"name": "postgres__get_rename_view_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/view/rename.sql", "original_file_path": "macros/relations/view/rename.sql", "unique_id": "macro.dbt_postgres.postgres__get_rename_view_sql", "macro_sql": "{% macro postgres__get_rename_view_sql(relation, new_name) %}\n alter view {{ relation }} rename to {{ new_name }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5033307, "supported_languages": null}, "macro.dbt_postgres.postgres__drop_view": {"name": "postgres__drop_view", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/view/drop.sql", "original_file_path": "macros/relations/view/drop.sql", "unique_id": "macro.dbt_postgres.postgres__drop_view", "macro_sql": "{% macro postgres__drop_view(relation) -%}\n drop view if exists {{ relation }} cascade\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5036006, "supported_languages": null}, "macro.dbt_postgres.postgres__get_rename_materialized_view_sql": {"name": "postgres__get_rename_materialized_view_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/materialized_view/rename.sql", "original_file_path": "macros/relations/materialized_view/rename.sql", "unique_id": "macro.dbt_postgres.postgres__get_rename_materialized_view_sql", "macro_sql": "{% macro postgres__get_rename_materialized_view_sql(relation, new_name) %}\n alter materialized view {{ relation }} rename to {{ new_name }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5039613, "supported_languages": null}, "macro.dbt_postgres.postgres__get_create_materialized_view_as_sql": {"name": "postgres__get_create_materialized_view_as_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/materialized_view/create.sql", "original_file_path": "macros/relations/materialized_view/create.sql", "unique_id": "macro.dbt_postgres.postgres__get_create_materialized_view_as_sql", "macro_sql": "{% macro postgres__get_create_materialized_view_as_sql(relation, sql) %}\n create materialized view if not exists {{ relation }} as {{ sql }};\n\n {% for _index_dict in config.get('indexes', []) -%}\n {{- get_create_index_sql(relation, _index_dict) -}}{{ ';' if not loop.last else \"\" }}\n {%- endfor -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_create_index_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5047772, "supported_languages": null}, "macro.dbt_postgres.postgres__refresh_materialized_view": {"name": "postgres__refresh_materialized_view", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/materialized_view/refresh.sql", "original_file_path": "macros/relations/materialized_view/refresh.sql", "unique_id": "macro.dbt_postgres.postgres__refresh_materialized_view", "macro_sql": "{% macro postgres__refresh_materialized_view(relation) %}\n refresh materialized view {{ relation }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5050442, "supported_languages": null}, "macro.dbt_postgres.postgres__get_alter_materialized_view_as_sql": {"name": "postgres__get_alter_materialized_view_as_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/materialized_view/alter.sql", "original_file_path": "macros/relations/materialized_view/alter.sql", "unique_id": "macro.dbt_postgres.postgres__get_alter_materialized_view_as_sql", "macro_sql": "{% macro postgres__get_alter_materialized_view_as_sql(\n relation,\n configuration_changes,\n sql,\n existing_relation,\n backup_relation,\n intermediate_relation\n) %}\n\n -- apply a full refresh immediately if needed\n {% if configuration_changes.requires_full_refresh %}\n\n {{ get_replace_sql(existing_relation, relation, sql) }}\n\n -- otherwise apply individual changes as needed\n {% else %}\n\n {{ postgres__update_indexes_on_materialized_view(relation, configuration_changes.indexes) }}\n\n {%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_replace_sql", "macro.dbt_postgres.postgres__update_indexes_on_materialized_view"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5064406, "supported_languages": null}, "macro.dbt_postgres.postgres__update_indexes_on_materialized_view": {"name": "postgres__update_indexes_on_materialized_view", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/materialized_view/alter.sql", "original_file_path": "macros/relations/materialized_view/alter.sql", "unique_id": "macro.dbt_postgres.postgres__update_indexes_on_materialized_view", "macro_sql": "\n\n\n{%- macro postgres__update_indexes_on_materialized_view(relation, index_changes) -%}\n {{- log(\"Applying UPDATE INDEXES to: \" ~ relation) -}}\n\n {%- for _index_change in index_changes -%}\n {%- set _index = _index_change.context -%}\n\n {%- if _index_change.action == \"drop\" -%}\n\n {{ postgres__get_drop_index_sql(relation, _index.name) }}\n\n {%- elif _index_change.action == \"create\" -%}\n\n {{ postgres__get_create_index_sql(relation, _index.as_node_config) }}\n\n {%- endif -%}\n\t{{ ';' if not loop.last else \"\" }}\n\n {%- endfor -%}\n\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_drop_index_sql", "macro.dbt_postgres.postgres__get_create_index_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.507603, "supported_languages": null}, "macro.dbt_postgres.postgres__get_materialized_view_configuration_changes": {"name": "postgres__get_materialized_view_configuration_changes", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/materialized_view/alter.sql", "original_file_path": "macros/relations/materialized_view/alter.sql", "unique_id": "macro.dbt_postgres.postgres__get_materialized_view_configuration_changes", "macro_sql": "{% macro postgres__get_materialized_view_configuration_changes(existing_relation, new_config) %}\n {% set _existing_materialized_view = postgres__describe_materialized_view(existing_relation) %}\n {% set _configuration_changes = existing_relation.get_materialized_view_config_change_collection(_existing_materialized_view, new_config.model) %}\n {% do return(_configuration_changes) %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__describe_materialized_view"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5081768, "supported_languages": null}, "macro.dbt_postgres.postgres__drop_materialized_view": {"name": "postgres__drop_materialized_view", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/materialized_view/drop.sql", "original_file_path": "macros/relations/materialized_view/drop.sql", "unique_id": "macro.dbt_postgres.postgres__drop_materialized_view", "macro_sql": "{% macro postgres__drop_materialized_view(relation) -%}\n drop materialized view if exists {{ relation }} cascade\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5084536, "supported_languages": null}, "macro.dbt_postgres.postgres__describe_materialized_view": {"name": "postgres__describe_materialized_view", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/materialized_view/describe.sql", "original_file_path": "macros/relations/materialized_view/describe.sql", "unique_id": "macro.dbt_postgres.postgres__describe_materialized_view", "macro_sql": "{% macro postgres__describe_materialized_view(relation) %}\n -- for now just get the indexes, we don't need the name or the query yet\n {% set _indexes = run_query(get_show_indexes_sql(relation)) %}\n {% do return({'indexes': _indexes}) %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query", "macro.dbt.get_show_indexes_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.509002, "supported_languages": null}, "macro.dbt_postgres.postgres__dateadd": {"name": "postgres__dateadd", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/utils/dateadd.sql", "original_file_path": "macros/utils/dateadd.sql", "unique_id": "macro.dbt_postgres.postgres__dateadd", "macro_sql": "{% macro postgres__dateadd(datepart, interval, from_date_or_timestamp) %}\n\n {{ from_date_or_timestamp }} + ((interval '1 {{ datepart }}') * ({{ interval }}))\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5094066, "supported_languages": null}, "macro.dbt_postgres.postgres__last_day": {"name": "postgres__last_day", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/utils/last_day.sql", "original_file_path": "macros/utils/last_day.sql", "unique_id": "macro.dbt_postgres.postgres__last_day", "macro_sql": "{% macro postgres__last_day(date, datepart) -%}\n\n {%- if datepart == 'quarter' -%}\n -- postgres dateadd does not support quarter interval.\n cast(\n {{dbt.dateadd('day', '-1',\n dbt.dateadd('month', '3', dbt.date_trunc(datepart, date))\n )}}\n as date)\n {%- else -%}\n {{dbt.default_last_day(date, datepart)}}\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.dateadd", "macro.dbt.date_trunc", "macro.dbt.default_last_day"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.510319, "supported_languages": null}, "macro.dbt_postgres.postgres__any_value": {"name": "postgres__any_value", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/utils/any_value.sql", "original_file_path": "macros/utils/any_value.sql", "unique_id": "macro.dbt_postgres.postgres__any_value", "macro_sql": "{% macro postgres__any_value(expression) -%}\n\n min({{ expression }})\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5106122, "supported_languages": null}, "macro.dbt_postgres.postgres__split_part": {"name": "postgres__split_part", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/utils/split_part.sql", "original_file_path": "macros/utils/split_part.sql", "unique_id": "macro.dbt_postgres.postgres__split_part", "macro_sql": "{% macro postgres__split_part(string_text, delimiter_text, part_number) %}\n\n {% if part_number >= 0 %}\n {{ dbt.default__split_part(string_text, delimiter_text, part_number) }}\n {% else %}\n {{ dbt._split_part_negative(string_text, delimiter_text, part_number) }}\n {% endif %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__split_part", "macro.dbt._split_part_negative"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5113907, "supported_languages": null}, "macro.dbt_postgres.postgres__listagg": {"name": "postgres__listagg", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/utils/listagg.sql", "original_file_path": "macros/utils/listagg.sql", "unique_id": "macro.dbt_postgres.postgres__listagg", "macro_sql": "{% macro postgres__listagg(measure, delimiter_text, order_by_clause, limit_num) -%}\n\n {% if limit_num -%}\n array_to_string(\n (array_agg(\n {{ measure }}\n {% if order_by_clause -%}\n {{ order_by_clause }}\n {%- endif %}\n ))[1:{{ limit_num }}],\n {{ delimiter_text }}\n )\n {%- else %}\n string_agg(\n {{ measure }},\n {{ delimiter_text }}\n {% if order_by_clause -%}\n {{ order_by_clause }}\n {%- endif %}\n )\n {%- endif %}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5124905, "supported_languages": null}, "macro.dbt_postgres.postgres__datediff": {"name": "postgres__datediff", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/utils/datediff.sql", "original_file_path": "macros/utils/datediff.sql", "unique_id": "macro.dbt_postgres.postgres__datediff", "macro_sql": "{% macro postgres__datediff(first_date, second_date, datepart) -%}\n\n {% if datepart == 'year' %}\n (date_part('year', ({{second_date}})::date) - date_part('year', ({{first_date}})::date))\n {% elif datepart == 'quarter' %}\n ({{ datediff(first_date, second_date, 'year') }} * 4 + date_part('quarter', ({{second_date}})::date) - date_part('quarter', ({{first_date}})::date))\n {% elif datepart == 'month' %}\n ({{ datediff(first_date, second_date, 'year') }} * 12 + date_part('month', ({{second_date}})::date) - date_part('month', ({{first_date}})::date))\n {% elif datepart == 'day' %}\n (({{second_date}})::date - ({{first_date}})::date)\n {% elif datepart == 'week' %}\n ({{ datediff(first_date, second_date, 'day') }} / 7 + case\n when date_part('dow', ({{first_date}})::timestamp) <= date_part('dow', ({{second_date}})::timestamp) then\n case when {{first_date}} <= {{second_date}} then 0 else -1 end\n else\n case when {{first_date}} <= {{second_date}} then 1 else 0 end\n end)\n {% elif datepart == 'hour' %}\n ({{ datediff(first_date, second_date, 'day') }} * 24 + date_part('hour', ({{second_date}})::timestamp) - date_part('hour', ({{first_date}})::timestamp))\n {% elif datepart == 'minute' %}\n ({{ datediff(first_date, second_date, 'hour') }} * 60 + date_part('minute', ({{second_date}})::timestamp) - date_part('minute', ({{first_date}})::timestamp))\n {% elif datepart == 'second' %}\n ({{ datediff(first_date, second_date, 'minute') }} * 60 + floor(date_part('second', ({{second_date}})::timestamp)) - floor(date_part('second', ({{first_date}})::timestamp)))\n {% elif datepart == 'millisecond' %}\n ({{ datediff(first_date, second_date, 'minute') }} * 60000 + floor(date_part('millisecond', ({{second_date}})::timestamp)) - floor(date_part('millisecond', ({{first_date}})::timestamp)))\n {% elif datepart == 'microsecond' %}\n ({{ datediff(first_date, second_date, 'minute') }} * 60000000 + floor(date_part('microsecond', ({{second_date}})::timestamp)) - floor(date_part('microsecond', ({{first_date}})::timestamp)))\n {% else %}\n {{ exceptions.raise_compiler_error(\"Unsupported datepart for macro datediff in postgres: {!r}\".format(datepart)) }}\n {% endif %}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.datediff"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5178013, "supported_languages": null}, "macro.dbt_postgres.postgres__get_incremental_default_sql": {"name": "postgres__get_incremental_default_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/materializations/incremental_strategies.sql", "original_file_path": "macros/materializations/incremental_strategies.sql", "unique_id": "macro.dbt_postgres.postgres__get_incremental_default_sql", "macro_sql": "{% macro postgres__get_incremental_default_sql(arg_dict) %}\n\n {% if arg_dict[\"unique_key\"] %}\n {% do return(get_incremental_delete_insert_sql(arg_dict)) %}\n {% else %}\n {% do return(get_incremental_append_sql(arg_dict)) %}\n {% endif %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_incremental_delete_insert_sql", "macro.dbt.get_incremental_append_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5185256, "supported_languages": null}, "macro.dbt_postgres.postgres__snapshot_merge_sql": {"name": "postgres__snapshot_merge_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/materializations/snapshot_merge.sql", "original_file_path": "macros/materializations/snapshot_merge.sql", "unique_id": "macro.dbt_postgres.postgres__snapshot_merge_sql", "macro_sql": "{% macro postgres__snapshot_merge_sql(target, source, insert_cols) -%}\n {%- set insert_cols_csv = insert_cols | join(', ') -%}\n\n update {{ target }}\n set dbt_valid_to = DBT_INTERNAL_SOURCE.dbt_valid_to\n from {{ source }} as DBT_INTERNAL_SOURCE\n where DBT_INTERNAL_SOURCE.dbt_scd_id::text = {{ target }}.dbt_scd_id::text\n and DBT_INTERNAL_SOURCE.dbt_change_type::text in ('update'::text, 'delete'::text)\n and {{ target }}.dbt_valid_to is null;\n\n insert into {{ target }} ({{ insert_cols_csv }})\n select {% for column in insert_cols -%}\n DBT_INTERNAL_SOURCE.{{ column }} {%- if not loop.last %}, {%- endif %}\n {%- endfor %}\n from {{ source }} as DBT_INTERNAL_SOURCE\n where DBT_INTERNAL_SOURCE.dbt_change_type::text = 'insert'::text;\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.51981, "supported_languages": null}, "macro.dbt.default__test_unique": {"name": "default__test_unique", "resource_type": "macro", "package_name": "dbt", "path": "macros/generic_test_sql/unique.sql", "original_file_path": "macros/generic_test_sql/unique.sql", "unique_id": "macro.dbt.default__test_unique", "macro_sql": "{% macro default__test_unique(model, column_name) %}\n\nselect\n {{ column_name }} as unique_field,\n count(*) as n_records\n\nfrom {{ model }}\nwhere {{ column_name }} is not null\ngroup by {{ column_name }}\nhaving count(*) > 1\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5202773, "supported_languages": null}, "macro.dbt.default__test_not_null": {"name": "default__test_not_null", "resource_type": "macro", "package_name": "dbt", "path": "macros/generic_test_sql/not_null.sql", "original_file_path": "macros/generic_test_sql/not_null.sql", "unique_id": "macro.dbt.default__test_not_null", "macro_sql": "{% macro default__test_not_null(model, column_name) %}\n\n{% set column_list = '*' if should_store_failures() else column_name %}\n\nselect {{ column_list }}\nfrom {{ model }}\nwhere {{ column_name }} is null\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.should_store_failures"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5208442, "supported_languages": null}, "macro.dbt.default__test_relationships": {"name": "default__test_relationships", "resource_type": "macro", "package_name": "dbt", "path": "macros/generic_test_sql/relationships.sql", "original_file_path": "macros/generic_test_sql/relationships.sql", "unique_id": "macro.dbt.default__test_relationships", "macro_sql": "{% macro default__test_relationships(model, column_name, to, field) %}\n\nwith child as (\n select {{ column_name }} as from_field\n from {{ model }}\n where {{ column_name }} is not null\n),\n\nparent as (\n select {{ field }} as to_field\n from {{ to }}\n)\n\nselect\n from_field\n\nfrom child\nleft join parent\n on child.from_field = parent.to_field\n\nwhere parent.to_field is null\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5214481, "supported_languages": null}, "macro.dbt.default__test_accepted_values": {"name": "default__test_accepted_values", "resource_type": "macro", "package_name": "dbt", "path": "macros/generic_test_sql/accepted_values.sql", "original_file_path": "macros/generic_test_sql/accepted_values.sql", "unique_id": "macro.dbt.default__test_accepted_values", "macro_sql": "{% macro default__test_accepted_values(model, column_name, values, quote=True) %}\n\nwith all_values as (\n\n select\n {{ column_name }} as value_field,\n count(*) as n_records\n\n from {{ model }}\n group by {{ column_name }}\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n {% for value in values -%}\n {% if quote -%}\n '{{ value }}'\n {%- else -%}\n {{ value }}\n {%- endif -%}\n {%- if not loop.last -%},{%- endif %}\n {%- endfor %}\n)\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5224586, "supported_languages": null}, "macro.dbt.get_replace_sql": {"name": "get_replace_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/replace.sql", "original_file_path": "macros/relations/replace.sql", "unique_id": "macro.dbt.get_replace_sql", "macro_sql": "{% macro get_replace_sql(existing_relation, target_relation, sql) %}\n {{- log('Applying REPLACE to: ' ~ existing_relation) -}}\n {{- adapter.dispatch('get_replace_sql', 'dbt')(existing_relation, target_relation, sql) -}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_replace_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5237489, "supported_languages": null}, "macro.dbt.default__get_replace_sql": {"name": "default__get_replace_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/replace.sql", "original_file_path": "macros/relations/replace.sql", "unique_id": "macro.dbt.default__get_replace_sql", "macro_sql": "{% macro default__get_replace_sql(existing_relation, target_relation, sql) %}\n\n {# /* use a create or replace statement if possible */ #}\n\n {% set is_replaceable = existing_relation.type == target_relation_type and existing_relation.can_be_replaced %}\n\n {% if is_replaceable and existing_relation.is_view %}\n {{ get_replace_view_sql(target_relation, sql) }}\n\n {% elif is_replaceable and existing_relation.is_table %}\n {{ get_replace_table_sql(target_relation, sql) }}\n\n {% elif is_replaceable and existing_relation.is_materialized_view %}\n {{ get_replace_materialized_view_sql(target_relation, sql) }}\n\n {# /* a create or replace statement is not possible, so try to stage and/or backup to be safe */ #}\n\n {# /* create target_relation as an intermediate relation, then swap it out with the existing one using a backup */ #}\n {%- elif target_relation.can_be_renamed and existing_relation.can_be_renamed -%}\n {{ get_create_intermediate_sql(target_relation, sql) }};\n {{ get_create_backup_sql(existing_relation) }};\n {{ get_rename_intermediate_sql(target_relation) }};\n {{ get_drop_backup_sql(existing_relation) }}\n\n {# /* create target_relation as an intermediate relation, then swap it out with the existing one without using a backup */ #}\n {%- elif target_relation.can_be_renamed -%}\n {{ get_create_intermediate_sql(target_relation, sql) }};\n {{ get_drop_sql(existing_relation) }};\n {{ get_rename_intermediate_sql(target_relation) }}\n\n {# /* create target_relation in place by first backing up the existing relation */ #}\n {%- elif existing_relation.can_be_renamed -%}\n {{ get_create_backup_sql(existing_relation) }};\n {{ get_create_sql(target_relation, sql) }};\n {{ get_drop_backup_sql(existing_relation) }}\n\n {# /* no renaming is allowed, so just drop and create */ #}\n {%- else -%}\n {{ get_drop_sql(existing_relation) }};\n {{ get_create_sql(target_relation, sql) }}\n\n {%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_replace_view_sql", "macro.dbt.get_replace_table_sql", "macro.dbt.get_replace_materialized_view_sql", "macro.dbt.get_create_intermediate_sql", "macro.dbt.get_create_backup_sql", "macro.dbt.get_rename_intermediate_sql", "macro.dbt.get_drop_backup_sql", "macro.dbt.get_drop_sql", "macro.dbt.get_create_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5261328, "supported_languages": null}, "macro.dbt.get_create_backup_sql": {"name": "get_create_backup_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/create_backup.sql", "original_file_path": "macros/relations/create_backup.sql", "unique_id": "macro.dbt.get_create_backup_sql", "macro_sql": "{%- macro get_create_backup_sql(relation) -%}\n {{- log('Applying CREATE BACKUP to: ' ~ relation) -}}\n {{- adapter.dispatch('get_create_backup_sql', 'dbt')(relation) -}}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": ["macro.dbt.default__get_create_backup_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5267596, "supported_languages": null}, "macro.dbt.default__get_create_backup_sql": {"name": "default__get_create_backup_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/create_backup.sql", "original_file_path": "macros/relations/create_backup.sql", "unique_id": "macro.dbt.default__get_create_backup_sql", "macro_sql": "{%- macro default__get_create_backup_sql(relation) -%}\n\n -- get the standard backup name\n {% set backup_relation = make_backup_relation(relation, relation.type) %}\n\n -- drop any pre-existing backup\n {{ get_drop_sql(backup_relation) }};\n\n {{ get_rename_sql(relation, backup_relation.identifier) }}\n\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.make_backup_relation", "macro.dbt.get_drop_sql", "macro.dbt.get_rename_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5272968, "supported_languages": null}, "macro.dbt.get_rename_sql": {"name": "get_rename_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/rename.sql", "original_file_path": "macros/relations/rename.sql", "unique_id": "macro.dbt.get_rename_sql", "macro_sql": "{%- macro get_rename_sql(relation, new_name) -%}\n {{- log('Applying RENAME to: ' ~ relation) -}}\n {{- adapter.dispatch('get_rename_sql', 'dbt')(relation, new_name) -}}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": ["macro.dbt.default__get_rename_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5284433, "supported_languages": null}, "macro.dbt.default__get_rename_sql": {"name": "default__get_rename_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/rename.sql", "original_file_path": "macros/relations/rename.sql", "unique_id": "macro.dbt.default__get_rename_sql", "macro_sql": "{%- macro default__get_rename_sql(relation, new_name) -%}\n\n {%- if relation.is_view -%}\n {{ get_rename_view_sql(relation, new_name) }}\n\n {%- elif relation.is_table -%}\n {{ get_rename_table_sql(relation, new_name) }}\n\n {%- elif relation.is_materialized_view -%}\n {{ get_rename_materialized_view_sql(relation, new_name) }}\n\n {%- else -%}\n {{- exceptions.raise_compiler_error(\"`get_rename_sql` has not been implemented for: \" ~ relation.type ) -}}\n\n {%- endif -%}\n\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": ["macro.dbt.get_rename_view_sql", "macro.dbt.get_rename_table_sql", "macro.dbt.get_rename_materialized_view_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5292826, "supported_languages": null}, "macro.dbt.rename_relation": {"name": "rename_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/rename.sql", "original_file_path": "macros/relations/rename.sql", "unique_id": "macro.dbt.rename_relation", "macro_sql": "{% macro rename_relation(from_relation, to_relation) -%}\n {{ return(adapter.dispatch('rename_relation', 'dbt')(from_relation, to_relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__rename_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5296907, "supported_languages": null}, "macro.dbt.default__rename_relation": {"name": "default__rename_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/rename.sql", "original_file_path": "macros/relations/rename.sql", "unique_id": "macro.dbt.default__rename_relation", "macro_sql": "{% macro default__rename_relation(from_relation, to_relation) -%}\n {% set target_name = adapter.quote_as_configured(to_relation.identifier, 'identifier') %}\n {% call statement('rename_relation') -%}\n alter table {{ from_relation.render() }} rename to {{ target_name }}\n {%- endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5302694, "supported_languages": null}, "macro.dbt.get_create_sql": {"name": "get_create_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/create.sql", "original_file_path": "macros/relations/create.sql", "unique_id": "macro.dbt.get_create_sql", "macro_sql": "{%- macro get_create_sql(relation, sql) -%}\n {{- log('Applying CREATE to: ' ~ relation) -}}\n {{- adapter.dispatch('get_create_sql', 'dbt')(relation, sql) -}}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": ["macro.dbt.default__get_create_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5310893, "supported_languages": null}, "macro.dbt.default__get_create_sql": {"name": "default__get_create_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/create.sql", "original_file_path": "macros/relations/create.sql", "unique_id": "macro.dbt.default__get_create_sql", "macro_sql": "{%- macro default__get_create_sql(relation, sql) -%}\n\n {%- if relation.is_view -%}\n {{ get_create_view_as_sql(relation, sql) }}\n\n {%- elif relation.is_table -%}\n {{ get_create_table_as_sql(False, relation, sql) }}\n\n {%- elif relation.is_materialized_view -%}\n {{ get_create_materialized_view_as_sql(relation, sql) }}\n\n {%- else -%}\n {{- exceptions.raise_compiler_error(\"`get_create_sql` has not been implemented for: \" ~ relation.type ) -}}\n\n {%- endif -%}\n\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.get_create_view_as_sql", "macro.dbt.get_create_table_as_sql", "macro.dbt.get_create_materialized_view_as_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5319803, "supported_languages": null}, "macro.dbt.get_rename_intermediate_sql": {"name": "get_rename_intermediate_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/rename_intermediate.sql", "original_file_path": "macros/relations/rename_intermediate.sql", "unique_id": "macro.dbt.get_rename_intermediate_sql", "macro_sql": "{%- macro get_rename_intermediate_sql(relation) -%}\n {{- log('Applying RENAME INTERMEDIATE to: ' ~ relation) -}}\n {{- adapter.dispatch('get_rename_intermediate_sql', 'dbt')(relation) -}}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": ["macro.dbt.default__get_rename_intermediate_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5325813, "supported_languages": null}, "macro.dbt.default__get_rename_intermediate_sql": {"name": "default__get_rename_intermediate_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/rename_intermediate.sql", "original_file_path": "macros/relations/rename_intermediate.sql", "unique_id": "macro.dbt.default__get_rename_intermediate_sql", "macro_sql": "{%- macro default__get_rename_intermediate_sql(relation) -%}\n\n -- get the standard intermediate name\n {% set intermediate_relation = make_intermediate_relation(relation) %}\n\n {{ get_rename_sql(intermediate_relation, relation.identifier) }}\n\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.make_intermediate_relation", "macro.dbt.get_rename_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5329857, "supported_languages": null}, "macro.dbt.drop_schema_named": {"name": "drop_schema_named", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/schema.sql", "original_file_path": "macros/relations/schema.sql", "unique_id": "macro.dbt.drop_schema_named", "macro_sql": "{% macro drop_schema_named(schema_name) %}\n {{ return(adapter.dispatch('drop_schema_named', 'dbt') (schema_name)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__drop_schema_named"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5334883, "supported_languages": null}, "macro.dbt.default__drop_schema_named": {"name": "default__drop_schema_named", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/schema.sql", "original_file_path": "macros/relations/schema.sql", "unique_id": "macro.dbt.default__drop_schema_named", "macro_sql": "{% macro default__drop_schema_named(schema_name) %}\n {% set schema_relation = api.Relation.create(schema=schema_name) %}\n {{ adapter.drop_schema(schema_relation) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5339031, "supported_languages": null}, "macro.dbt.get_create_intermediate_sql": {"name": "get_create_intermediate_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/create_intermediate.sql", "original_file_path": "macros/relations/create_intermediate.sql", "unique_id": "macro.dbt.get_create_intermediate_sql", "macro_sql": "{%- macro get_create_intermediate_sql(relation, sql) -%}\n {{- log('Applying CREATE INTERMEDIATE to: ' ~ relation) -}}\n {{- adapter.dispatch('get_create_intermediate_sql', 'dbt')(relation, sql) -}}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": ["macro.dbt.default__get_create_intermediate_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5345683, "supported_languages": null}, "macro.dbt.default__get_create_intermediate_sql": {"name": "default__get_create_intermediate_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/create_intermediate.sql", "original_file_path": "macros/relations/create_intermediate.sql", "unique_id": "macro.dbt.default__get_create_intermediate_sql", "macro_sql": "{%- macro default__get_create_intermediate_sql(relation, sql) -%}\n\n -- get the standard intermediate name\n {% set intermediate_relation = make_intermediate_relation(relation) %}\n\n -- drop any pre-existing intermediate\n {{ get_drop_sql(intermediate_relation) }};\n\n {{ get_create_sql(intermediate_relation, sql) }}\n\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.make_intermediate_relation", "macro.dbt.get_drop_sql", "macro.dbt.get_create_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5351102, "supported_languages": null}, "macro.dbt.get_drop_sql": {"name": "get_drop_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/drop.sql", "original_file_path": "macros/relations/drop.sql", "unique_id": "macro.dbt.get_drop_sql", "macro_sql": "{%- macro get_drop_sql(relation) -%}\n {{- log('Applying DROP to: ' ~ relation) -}}\n {{- adapter.dispatch('get_drop_sql', 'dbt')(relation) -}}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": ["macro.dbt.default__get_drop_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.536244, "supported_languages": null}, "macro.dbt.default__get_drop_sql": {"name": "default__get_drop_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/drop.sql", "original_file_path": "macros/relations/drop.sql", "unique_id": "macro.dbt.default__get_drop_sql", "macro_sql": "{%- macro default__get_drop_sql(relation) -%}\n\n {%- if relation.is_view -%}\n {{ drop_view(relation) }}\n\n {%- elif relation.is_table -%}\n {{ drop_table(relation) }}\n\n {%- elif relation.is_materialized_view -%}\n {{ drop_materialized_view(relation) }}\n\n {%- else -%}\n drop {{ relation.type }} if exists {{ relation.render() }} cascade\n\n {%- endif -%}\n\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": ["macro.dbt.drop_view", "macro.dbt.drop_table", "macro.dbt.drop_materialized_view"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5369928, "supported_languages": null}, "macro.dbt.drop_relation": {"name": "drop_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/drop.sql", "original_file_path": "macros/relations/drop.sql", "unique_id": "macro.dbt.drop_relation", "macro_sql": "{% macro drop_relation(relation) -%}\n {{ return(adapter.dispatch('drop_relation', 'dbt')(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__drop_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5373554, "supported_languages": null}, "macro.dbt.default__drop_relation": {"name": "default__drop_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/drop.sql", "original_file_path": "macros/relations/drop.sql", "unique_id": "macro.dbt.default__drop_relation", "macro_sql": "{% macro default__drop_relation(relation) -%}\n {% call statement('drop_relation', auto_begin=False) -%}\n {{ get_drop_sql(relation) }}\n {%- endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt.get_drop_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5378578, "supported_languages": null}, "macro.dbt.drop_relation_if_exists": {"name": "drop_relation_if_exists", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/drop.sql", "original_file_path": "macros/relations/drop.sql", "unique_id": "macro.dbt.drop_relation_if_exists", "macro_sql": "{% macro drop_relation_if_exists(relation) %}\n {% if relation is not none %}\n {{ adapter.drop_relation(relation) }}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5382318, "supported_languages": null}, "macro.dbt.get_drop_backup_sql": {"name": "get_drop_backup_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/drop_backup.sql", "original_file_path": "macros/relations/drop_backup.sql", "unique_id": "macro.dbt.get_drop_backup_sql", "macro_sql": "{%- macro get_drop_backup_sql(relation) -%}\n {{- log('Applying DROP BACKUP to: ' ~ relation) -}}\n {{- adapter.dispatch('get_drop_backup_sql', 'dbt')(relation) -}}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": ["macro.dbt.default__get_drop_backup_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5387998, "supported_languages": null}, "macro.dbt.default__get_drop_backup_sql": {"name": "default__get_drop_backup_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/drop_backup.sql", "original_file_path": "macros/relations/drop_backup.sql", "unique_id": "macro.dbt.default__get_drop_backup_sql", "macro_sql": "{%- macro default__get_drop_backup_sql(relation) -%}\n\n -- get the standard backup name\n {% set backup_relation = make_backup_relation(relation, relation.type) %}\n\n {{ get_drop_sql(backup_relation) }}\n\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.make_backup_relation", "macro.dbt.get_drop_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5392156, "supported_languages": null}, "macro.dbt.get_replace_table_sql": {"name": "get_replace_table_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/replace.sql", "original_file_path": "macros/relations/table/replace.sql", "unique_id": "macro.dbt.get_replace_table_sql", "macro_sql": "{% macro get_replace_table_sql(relation, sql) %}\n {{- adapter.dispatch('get_replace_table_sql', 'dbt')(relation, sql) -}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_replace_table_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5397136, "supported_languages": null}, "macro.dbt.default__get_replace_table_sql": {"name": "default__get_replace_table_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/replace.sql", "original_file_path": "macros/relations/table/replace.sql", "unique_id": "macro.dbt.default__get_replace_table_sql", "macro_sql": "{% macro default__get_replace_table_sql(relation, sql) %}\n {{ exceptions.raise_compiler_error(\n \"`get_replace_table_sql` has not been implemented for this adapter.\"\n ) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5399992, "supported_languages": null}, "macro.dbt.get_rename_table_sql": {"name": "get_rename_table_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/rename.sql", "original_file_path": "macros/relations/table/rename.sql", "unique_id": "macro.dbt.get_rename_table_sql", "macro_sql": "{% macro get_rename_table_sql(relation, new_name) %}\n {{- adapter.dispatch('get_rename_table_sql', 'dbt')(relation, new_name) -}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_rename_table_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5404851, "supported_languages": null}, "macro.dbt.default__get_rename_table_sql": {"name": "default__get_rename_table_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/rename.sql", "original_file_path": "macros/relations/table/rename.sql", "unique_id": "macro.dbt.default__get_rename_table_sql", "macro_sql": "{% macro default__get_rename_table_sql(relation, new_name) %}\n {{ exceptions.raise_compiler_error(\n \"`get_rename_table_sql` has not been implemented for this adapter.\"\n ) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5407796, "supported_languages": null}, "macro.dbt.get_create_table_as_sql": {"name": "get_create_table_as_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/create.sql", "original_file_path": "macros/relations/table/create.sql", "unique_id": "macro.dbt.get_create_table_as_sql", "macro_sql": "{% macro get_create_table_as_sql(temporary, relation, sql) -%}\n {{ adapter.dispatch('get_create_table_as_sql', 'dbt')(temporary, relation, sql) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_create_table_as_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.542199, "supported_languages": null}, "macro.dbt.default__get_create_table_as_sql": {"name": "default__get_create_table_as_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/create.sql", "original_file_path": "macros/relations/table/create.sql", "unique_id": "macro.dbt.default__get_create_table_as_sql", "macro_sql": "{% macro default__get_create_table_as_sql(temporary, relation, sql) -%}\n {{ return(create_table_as(temporary, relation, sql)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.create_table_as"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5425627, "supported_languages": null}, "macro.dbt.create_table_as": {"name": "create_table_as", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/create.sql", "original_file_path": "macros/relations/table/create.sql", "unique_id": "macro.dbt.create_table_as", "macro_sql": "{% macro create_table_as(temporary, relation, compiled_code, language='sql') -%}\n {# backward compatibility for create_table_as that does not support language #}\n {% if language == \"sql\" %}\n {{ adapter.dispatch('create_table_as', 'dbt')(temporary, relation, compiled_code)}}\n {% else %}\n {{ adapter.dispatch('create_table_as', 'dbt')(temporary, relation, compiled_code, language) }}\n {% endif %}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__create_table_as"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5434272, "supported_languages": null}, "macro.dbt.default__create_table_as": {"name": "default__create_table_as", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/create.sql", "original_file_path": "macros/relations/table/create.sql", "unique_id": "macro.dbt.default__create_table_as", "macro_sql": "{% macro default__create_table_as(temporary, relation, sql) -%}\n {%- set sql_header = config.get('sql_header', none) -%}\n\n {{ sql_header if sql_header is not none }}\n\n create {% if temporary: -%}temporary{%- endif %} table\n {{ relation.include(database=(not temporary), schema=(not temporary)) }}\n {% set contract_config = config.get('contract') %}\n {% if contract_config.enforced and (not temporary) %}\n {{ get_assert_columns_equivalent(sql) }}\n {{ get_table_columns_and_constraints() }}\n {%- set sql = get_select_subquery(sql) %}\n {% endif %}\n as (\n {{ sql }}\n );\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.get_assert_columns_equivalent", "macro.dbt.get_table_columns_and_constraints", "macro.dbt.get_select_subquery"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5447536, "supported_languages": null}, "macro.dbt.default__get_column_names": {"name": "default__get_column_names", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/create.sql", "original_file_path": "macros/relations/table/create.sql", "unique_id": "macro.dbt.default__get_column_names", "macro_sql": "{% macro default__get_column_names() %}\n {#- loop through user_provided_columns to get column names -#}\n {%- set user_provided_columns = model['columns'] -%}\n {%- for i in user_provided_columns %}\n {%- set col = user_provided_columns[i] -%}\n {%- set col_name = adapter.quote(col['name']) if col.get('quote') else col['name'] -%}\n {{ col_name }}{{ \", \" if not loop.last }}\n {%- endfor -%}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5456352, "supported_languages": null}, "macro.dbt.get_select_subquery": {"name": "get_select_subquery", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/create.sql", "original_file_path": "macros/relations/table/create.sql", "unique_id": "macro.dbt.get_select_subquery", "macro_sql": "{% macro get_select_subquery(sql) %}\n {{ return(adapter.dispatch('get_select_subquery', 'dbt')(sql)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_select_subquery"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5460086, "supported_languages": null}, "macro.dbt.default__get_select_subquery": {"name": "default__get_select_subquery", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/create.sql", "original_file_path": "macros/relations/table/create.sql", "unique_id": "macro.dbt.default__get_select_subquery", "macro_sql": "{% macro default__get_select_subquery(sql) %}\n select {{ adapter.dispatch('get_column_names', 'dbt')() }}\n from (\n {{ sql }}\n ) as model_subq\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_column_names"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5463493, "supported_languages": null}, "macro.dbt.drop_table": {"name": "drop_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/drop.sql", "original_file_path": "macros/relations/table/drop.sql", "unique_id": "macro.dbt.drop_table", "macro_sql": "{% macro drop_table(relation) -%}\n {{- adapter.dispatch('drop_table', 'dbt')(relation) -}}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__drop_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.546792, "supported_languages": null}, "macro.dbt.default__drop_table": {"name": "default__drop_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/drop.sql", "original_file_path": "macros/relations/table/drop.sql", "unique_id": "macro.dbt.default__drop_table", "macro_sql": "{% macro default__drop_table(relation) -%}\n drop table if exists {{ relation.render() }} cascade\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.547034, "supported_languages": null}, "macro.dbt.get_replace_view_sql": {"name": "get_replace_view_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/replace.sql", "original_file_path": "macros/relations/view/replace.sql", "unique_id": "macro.dbt.get_replace_view_sql", "macro_sql": "{% macro get_replace_view_sql(relation, sql) %}\n {{- adapter.dispatch('get_replace_view_sql', 'dbt')(relation, sql) -}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_replace_view_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5483859, "supported_languages": null}, "macro.dbt.default__get_replace_view_sql": {"name": "default__get_replace_view_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/replace.sql", "original_file_path": "macros/relations/view/replace.sql", "unique_id": "macro.dbt.default__get_replace_view_sql", "macro_sql": "{% macro default__get_replace_view_sql(relation, sql) %}\n {{ exceptions.raise_compiler_error(\n \"`get_replace_view_sql` has not been implemented for this adapter.\"\n ) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.548669, "supported_languages": null}, "macro.dbt.create_or_replace_view": {"name": "create_or_replace_view", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/replace.sql", "original_file_path": "macros/relations/view/replace.sql", "unique_id": "macro.dbt.create_or_replace_view", "macro_sql": "{% macro create_or_replace_view() %}\n {%- set identifier = model['alias'] -%}\n\n {%- set old_relation = adapter.get_relation(database=database, schema=schema, identifier=identifier) -%}\n {%- set exists_as_view = (old_relation is not none and old_relation.is_view) -%}\n\n {%- set target_relation = api.Relation.create(\n identifier=identifier, schema=schema, database=database,\n type='view') -%}\n {% set grant_config = config.get('grants') %}\n\n {{ run_hooks(pre_hooks) }}\n\n -- If there's a table with the same name and we weren't told to full refresh,\n -- that's an error. If we were told to full refresh, drop it. This behavior differs\n -- for Snowflake and BigQuery, so multiple dispatch is used.\n {%- if old_relation is not none and old_relation.is_table -%}\n {{ handle_existing_table(should_full_refresh(), old_relation) }}\n {%- endif -%}\n\n -- build model\n {% call statement('main') -%}\n {{ get_create_view_as_sql(target_relation, sql) }}\n {%- endcall %}\n\n {% set should_revoke = should_revoke(exists_as_view, full_refresh_mode=True) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n\n {{ run_hooks(post_hooks) }}\n\n {{ return({'relations': [target_relation]}) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_hooks", "macro.dbt.handle_existing_table", "macro.dbt.should_full_refresh", "macro.dbt.statement", "macro.dbt.get_create_view_as_sql", "macro.dbt.should_revoke", "macro.dbt.apply_grants"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5511193, "supported_languages": null}, "macro.dbt.handle_existing_table": {"name": "handle_existing_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/replace.sql", "original_file_path": "macros/relations/view/replace.sql", "unique_id": "macro.dbt.handle_existing_table", "macro_sql": "{% macro handle_existing_table(full_refresh, old_relation) %}\n {{ adapter.dispatch('handle_existing_table', 'dbt')(full_refresh, old_relation) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__handle_existing_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5515172, "supported_languages": null}, "macro.dbt.default__handle_existing_table": {"name": "default__handle_existing_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/replace.sql", "original_file_path": "macros/relations/view/replace.sql", "unique_id": "macro.dbt.default__handle_existing_table", "macro_sql": "{% macro default__handle_existing_table(full_refresh, old_relation) %}\n {{ log(\"Dropping relation \" ~ old_relation.render() ~ \" because it is of type \" ~ old_relation.type) }}\n {{ adapter.drop_relation(old_relation) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5519798, "supported_languages": null}, "macro.dbt.get_rename_view_sql": {"name": "get_rename_view_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/rename.sql", "original_file_path": "macros/relations/view/rename.sql", "unique_id": "macro.dbt.get_rename_view_sql", "macro_sql": "{% macro get_rename_view_sql(relation, new_name) %}\n {{- adapter.dispatch('get_rename_view_sql', 'dbt')(relation, new_name) -}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_rename_view_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.552481, "supported_languages": null}, "macro.dbt.default__get_rename_view_sql": {"name": "default__get_rename_view_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/rename.sql", "original_file_path": "macros/relations/view/rename.sql", "unique_id": "macro.dbt.default__get_rename_view_sql", "macro_sql": "{% macro default__get_rename_view_sql(relation, new_name) %}\n {{ exceptions.raise_compiler_error(\n \"`get_rename_view_sql` has not been implemented for this adapter.\"\n ) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5527713, "supported_languages": null}, "macro.dbt.get_create_view_as_sql": {"name": "get_create_view_as_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/create.sql", "original_file_path": "macros/relations/view/create.sql", "unique_id": "macro.dbt.get_create_view_as_sql", "macro_sql": "{% macro get_create_view_as_sql(relation, sql) -%}\n {{ adapter.dispatch('get_create_view_as_sql', 'dbt')(relation, sql) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_create_view_as_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.553488, "supported_languages": null}, "macro.dbt.default__get_create_view_as_sql": {"name": "default__get_create_view_as_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/create.sql", "original_file_path": "macros/relations/view/create.sql", "unique_id": "macro.dbt.default__get_create_view_as_sql", "macro_sql": "{% macro default__get_create_view_as_sql(relation, sql) -%}\n {{ return(create_view_as(relation, sql)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.create_view_as"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.553801, "supported_languages": null}, "macro.dbt.create_view_as": {"name": "create_view_as", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/create.sql", "original_file_path": "macros/relations/view/create.sql", "unique_id": "macro.dbt.create_view_as", "macro_sql": "{% macro create_view_as(relation, sql) -%}\n {{ adapter.dispatch('create_view_as', 'dbt')(relation, sql) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__create_view_as"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5541527, "supported_languages": null}, "macro.dbt.default__create_view_as": {"name": "default__create_view_as", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/create.sql", "original_file_path": "macros/relations/view/create.sql", "unique_id": "macro.dbt.default__create_view_as", "macro_sql": "{% macro default__create_view_as(relation, sql) -%}\n {%- set sql_header = config.get('sql_header', none) -%}\n\n {{ sql_header if sql_header is not none }}\n create view {{ relation.render() }}\n {% set contract_config = config.get('contract') %}\n {% if contract_config.enforced %}\n {{ get_assert_columns_equivalent(sql) }}\n {%- endif %}\n as (\n {{ sql }}\n );\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.get_assert_columns_equivalent"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.554994, "supported_languages": null}, "macro.dbt.drop_view": {"name": "drop_view", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/drop.sql", "original_file_path": "macros/relations/view/drop.sql", "unique_id": "macro.dbt.drop_view", "macro_sql": "{% macro drop_view(relation) -%}\n {{- adapter.dispatch('drop_view', 'dbt')(relation) -}}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__drop_view"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5554664, "supported_languages": null}, "macro.dbt.default__drop_view": {"name": "default__drop_view", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/drop.sql", "original_file_path": "macros/relations/view/drop.sql", "unique_id": "macro.dbt.default__drop_view", "macro_sql": "{% macro default__drop_view(relation) -%}\n drop view if exists {{ relation.render() }} cascade\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5557075, "supported_languages": null}, "macro.dbt.get_table_columns_and_constraints": {"name": "get_table_columns_and_constraints", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/column/columns_spec_ddl.sql", "original_file_path": "macros/relations/column/columns_spec_ddl.sql", "unique_id": "macro.dbt.get_table_columns_and_constraints", "macro_sql": "{%- macro get_table_columns_and_constraints() -%}\n {{ adapter.dispatch('get_table_columns_and_constraints', 'dbt')() }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__get_table_columns_and_constraints"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.557318, "supported_languages": null}, "macro.dbt.default__get_table_columns_and_constraints": {"name": "default__get_table_columns_and_constraints", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/column/columns_spec_ddl.sql", "original_file_path": "macros/relations/column/columns_spec_ddl.sql", "unique_id": "macro.dbt.default__get_table_columns_and_constraints", "macro_sql": "{% macro default__get_table_columns_and_constraints() -%}\n {{ return(table_columns_and_constraints()) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.table_columns_and_constraints"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.557561, "supported_languages": null}, "macro.dbt.table_columns_and_constraints": {"name": "table_columns_and_constraints", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/column/columns_spec_ddl.sql", "original_file_path": "macros/relations/column/columns_spec_ddl.sql", "unique_id": "macro.dbt.table_columns_and_constraints", "macro_sql": "{% macro table_columns_and_constraints() %}\n {# loop through user_provided_columns to create DDL with data types and constraints #}\n {%- set raw_column_constraints = adapter.render_raw_columns_constraints(raw_columns=model['columns']) -%}\n {%- set raw_model_constraints = adapter.render_raw_model_constraints(raw_constraints=model['constraints']) -%}\n (\n {% for c in raw_column_constraints -%}\n {{ c }}{{ \",\" if not loop.last or raw_model_constraints }}\n {% endfor %}\n {% for c in raw_model_constraints -%}\n {{ c }}{{ \",\" if not loop.last }}\n {% endfor -%}\n )\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5585897, "supported_languages": null}, "macro.dbt.get_assert_columns_equivalent": {"name": "get_assert_columns_equivalent", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/column/columns_spec_ddl.sql", "original_file_path": "macros/relations/column/columns_spec_ddl.sql", "unique_id": "macro.dbt.get_assert_columns_equivalent", "macro_sql": "\n\n{%- macro get_assert_columns_equivalent(sql) -%}\n {{ adapter.dispatch('get_assert_columns_equivalent', 'dbt')(sql) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__get_assert_columns_equivalent"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.558914, "supported_languages": null}, "macro.dbt.default__get_assert_columns_equivalent": {"name": "default__get_assert_columns_equivalent", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/column/columns_spec_ddl.sql", "original_file_path": "macros/relations/column/columns_spec_ddl.sql", "unique_id": "macro.dbt.default__get_assert_columns_equivalent", "macro_sql": "{% macro default__get_assert_columns_equivalent(sql) -%}\n {{ return(assert_columns_equivalent(sql)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.assert_columns_equivalent"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5592053, "supported_languages": null}, "macro.dbt.assert_columns_equivalent": {"name": "assert_columns_equivalent", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/column/columns_spec_ddl.sql", "original_file_path": "macros/relations/column/columns_spec_ddl.sql", "unique_id": "macro.dbt.assert_columns_equivalent", "macro_sql": "{% macro assert_columns_equivalent(sql) %}\n\n {#-- First ensure the user has defined 'columns' in yaml specification --#}\n {%- set user_defined_columns = model['columns'] -%}\n {%- if not user_defined_columns -%}\n {{ exceptions.raise_contract_error([], []) }}\n {%- endif -%}\n\n {#-- Obtain the column schema provided by sql file. #}\n {%- set sql_file_provided_columns = get_column_schema_from_query(sql, config.get('sql_header', none)) -%}\n {#--Obtain the column schema provided by the schema file by generating an 'empty schema' query from the model's columns. #}\n {%- set schema_file_provided_columns = get_column_schema_from_query(get_empty_schema_sql(user_defined_columns)) -%}\n\n {#-- create dictionaries with name and formatted data type and strings for exception #}\n {%- set sql_columns = format_columns(sql_file_provided_columns) -%}\n {%- set yaml_columns = format_columns(schema_file_provided_columns) -%}\n\n {%- if sql_columns|length != yaml_columns|length -%}\n {%- do exceptions.raise_contract_error(yaml_columns, sql_columns) -%}\n {%- endif -%}\n\n {%- for sql_col in sql_columns -%}\n {%- set yaml_col = [] -%}\n {%- for this_col in yaml_columns -%}\n {%- if this_col['name'] == sql_col['name'] -%}\n {%- do yaml_col.append(this_col) -%}\n {%- break -%}\n {%- endif -%}\n {%- endfor -%}\n {%- if not yaml_col -%}\n {#-- Column with name not found in yaml #}\n {%- do exceptions.raise_contract_error(yaml_columns, sql_columns) -%}\n {%- endif -%}\n {%- if sql_col['formatted'] != yaml_col[0]['formatted'] -%}\n {#-- Column data types don't match #}\n {%- do exceptions.raise_contract_error(yaml_columns, sql_columns) -%}\n {%- endif -%}\n {%- endfor -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_column_schema_from_query", "macro.dbt.get_empty_schema_sql", "macro.dbt.format_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.595276, "supported_languages": null}, "macro.dbt.format_columns": {"name": "format_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/column/columns_spec_ddl.sql", "original_file_path": "macros/relations/column/columns_spec_ddl.sql", "unique_id": "macro.dbt.format_columns", "macro_sql": "{% macro format_columns(columns) %}\n {% set formatted_columns = [] %}\n {% for column in columns %}\n {%- set formatted_column = adapter.dispatch('format_column', 'dbt')(column) -%}\n {%- do formatted_columns.append(formatted_column) -%}\n {% endfor %}\n {{ return(formatted_columns) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__format_column"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5960846, "supported_languages": null}, "macro.dbt.default__format_column": {"name": "default__format_column", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/column/columns_spec_ddl.sql", "original_file_path": "macros/relations/column/columns_spec_ddl.sql", "unique_id": "macro.dbt.default__format_column", "macro_sql": "{% macro default__format_column(column) -%}\n {% set data_type = column.dtype %}\n {% set formatted = column.column.lower() ~ \" \" ~ data_type %}\n {{ return({'name': column.name, 'data_type': data_type, 'formatted': formatted}) }}\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5967655, "supported_languages": null}, "macro.dbt.get_replace_materialized_view_sql": {"name": "get_replace_materialized_view_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/replace.sql", "original_file_path": "macros/relations/materialized_view/replace.sql", "unique_id": "macro.dbt.get_replace_materialized_view_sql", "macro_sql": "{% macro get_replace_materialized_view_sql(relation, sql) %}\n {{- adapter.dispatch('get_replace_materialized_view_sql', 'dbt')(relation, sql) -}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_replace_materialized_view_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5973103, "supported_languages": null}, "macro.dbt.default__get_replace_materialized_view_sql": {"name": "default__get_replace_materialized_view_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/replace.sql", "original_file_path": "macros/relations/materialized_view/replace.sql", "unique_id": "macro.dbt.default__get_replace_materialized_view_sql", "macro_sql": "{% macro default__get_replace_materialized_view_sql(relation, sql) %}\n {{ exceptions.raise_compiler_error(\n \"`get_replace_materialized_view_sql` has not been implemented for this adapter.\"\n ) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5976324, "supported_languages": null}, "macro.dbt.get_rename_materialized_view_sql": {"name": "get_rename_materialized_view_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/rename.sql", "original_file_path": "macros/relations/materialized_view/rename.sql", "unique_id": "macro.dbt.get_rename_materialized_view_sql", "macro_sql": "{% macro get_rename_materialized_view_sql(relation, new_name) %}\n {{- adapter.dispatch('get_rename_materialized_view_sql', 'dbt')(relation, new_name) -}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_rename_materialized_view_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.598138, "supported_languages": null}, "macro.dbt.default__get_rename_materialized_view_sql": {"name": "default__get_rename_materialized_view_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/rename.sql", "original_file_path": "macros/relations/materialized_view/rename.sql", "unique_id": "macro.dbt.default__get_rename_materialized_view_sql", "macro_sql": "{% macro default__get_rename_materialized_view_sql(relation, new_name) %}\n {{ exceptions.raise_compiler_error(\n \"`get_rename_materialized_view_sql` has not been implemented for this adapter.\"\n ) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5984337, "supported_languages": null}, "macro.dbt.get_create_materialized_view_as_sql": {"name": "get_create_materialized_view_as_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/create.sql", "original_file_path": "macros/relations/materialized_view/create.sql", "unique_id": "macro.dbt.get_create_materialized_view_as_sql", "macro_sql": "{% macro get_create_materialized_view_as_sql(relation, sql) -%}\n {{- adapter.dispatch('get_create_materialized_view_as_sql', 'dbt')(relation, sql) -}}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_create_materialized_view_as_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5989487, "supported_languages": null}, "macro.dbt.default__get_create_materialized_view_as_sql": {"name": "default__get_create_materialized_view_as_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/create.sql", "original_file_path": "macros/relations/materialized_view/create.sql", "unique_id": "macro.dbt.default__get_create_materialized_view_as_sql", "macro_sql": "{% macro default__get_create_materialized_view_as_sql(relation, sql) -%}\n {{ exceptions.raise_compiler_error(\n \"`get_create_materialized_view_as_sql` has not been implemented for this adapter.\"\n ) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5992777, "supported_languages": null}, "macro.dbt.refresh_materialized_view": {"name": "refresh_materialized_view", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/refresh.sql", "original_file_path": "macros/relations/materialized_view/refresh.sql", "unique_id": "macro.dbt.refresh_materialized_view", "macro_sql": "{% macro refresh_materialized_view(relation) %}\n {{- log('Applying REFRESH to: ' ~ relation) -}}\n {{- adapter.dispatch('refresh_materialized_view', 'dbt')(relation) -}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__refresh_materialized_view"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.5998619, "supported_languages": null}, "macro.dbt.default__refresh_materialized_view": {"name": "default__refresh_materialized_view", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/refresh.sql", "original_file_path": "macros/relations/materialized_view/refresh.sql", "unique_id": "macro.dbt.default__refresh_materialized_view", "macro_sql": "{% macro default__refresh_materialized_view(relation) %}\n {{ exceptions.raise_compiler_error(\"`refresh_materialized_view` has not been implemented for this adapter.\") }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.600135, "supported_languages": null}, "macro.dbt.get_alter_materialized_view_as_sql": {"name": "get_alter_materialized_view_as_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/alter.sql", "original_file_path": "macros/relations/materialized_view/alter.sql", "unique_id": "macro.dbt.get_alter_materialized_view_as_sql", "macro_sql": "{% macro get_alter_materialized_view_as_sql(\n relation,\n configuration_changes,\n sql,\n existing_relation,\n backup_relation,\n intermediate_relation\n) %}\n {{- log('Applying ALTER to: ' ~ relation) -}}\n {{- adapter.dispatch('get_alter_materialized_view_as_sql', 'dbt')(\n relation,\n configuration_changes,\n sql,\n existing_relation,\n backup_relation,\n intermediate_relation\n ) -}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_alter_materialized_view_as_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.601211, "supported_languages": null}, "macro.dbt.default__get_alter_materialized_view_as_sql": {"name": "default__get_alter_materialized_view_as_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/alter.sql", "original_file_path": "macros/relations/materialized_view/alter.sql", "unique_id": "macro.dbt.default__get_alter_materialized_view_as_sql", "macro_sql": "{% macro default__get_alter_materialized_view_as_sql(\n relation,\n configuration_changes,\n sql,\n existing_relation,\n backup_relation,\n intermediate_relation\n) %}\n {{ exceptions.raise_compiler_error(\"Materialized views have not been implemented for this adapter.\") }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.601584, "supported_languages": null}, "macro.dbt.get_materialized_view_configuration_changes": {"name": "get_materialized_view_configuration_changes", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/alter.sql", "original_file_path": "macros/relations/materialized_view/alter.sql", "unique_id": "macro.dbt.get_materialized_view_configuration_changes", "macro_sql": "{% macro get_materialized_view_configuration_changes(existing_relation, new_config) %}\n /* {#\n It's recommended that configuration changes be formatted as follows:\n {\"\": [{\"action\": \"\", \"context\": ...}]}\n\n For example:\n {\n \"indexes\": [\n {\"action\": \"drop\", \"context\": \"index_abc\"},\n {\"action\": \"create\", \"context\": {\"columns\": [\"column_1\", \"column_2\"], \"type\": \"hash\", \"unique\": True}},\n ],\n }\n\n Either way, `get_materialized_view_configuration_changes` needs to align with `get_alter_materialized_view_as_sql`.\n #} */\n {{- log('Determining configuration changes on: ' ~ existing_relation) -}}\n {%- do return(adapter.dispatch('get_materialized_view_configuration_changes', 'dbt')(existing_relation, new_config)) -%}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_materialized_view_configuration_changes"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6021342, "supported_languages": null}, "macro.dbt.default__get_materialized_view_configuration_changes": {"name": "default__get_materialized_view_configuration_changes", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/alter.sql", "original_file_path": "macros/relations/materialized_view/alter.sql", "unique_id": "macro.dbt.default__get_materialized_view_configuration_changes", "macro_sql": "{% macro default__get_materialized_view_configuration_changes(existing_relation, new_config) %}\n {{ exceptions.raise_compiler_error(\"Materialized views have not been implemented for this adapter.\") }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6024308, "supported_languages": null}, "macro.dbt.drop_materialized_view": {"name": "drop_materialized_view", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/drop.sql", "original_file_path": "macros/relations/materialized_view/drop.sql", "unique_id": "macro.dbt.drop_materialized_view", "macro_sql": "{% macro drop_materialized_view(relation) -%}\n {{- adapter.dispatch('drop_materialized_view', 'dbt')(relation) -}}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__drop_materialized_view"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.602892, "supported_languages": null}, "macro.dbt.default__drop_materialized_view": {"name": "default__drop_materialized_view", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/drop.sql", "original_file_path": "macros/relations/materialized_view/drop.sql", "unique_id": "macro.dbt.default__drop_materialized_view", "macro_sql": "{% macro default__drop_materialized_view(relation) -%}\n drop materialized view if exists {{ relation.render() }} cascade\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6031578, "supported_languages": null}, "macro.dbt.replace": {"name": "replace", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/replace.sql", "original_file_path": "macros/utils/replace.sql", "unique_id": "macro.dbt.replace", "macro_sql": "{% macro replace(field, old_chars, new_chars) -%}\n {{ return(adapter.dispatch('replace', 'dbt') (field, old_chars, new_chars)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__replace"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6037626, "supported_languages": null}, "macro.dbt.default__replace": {"name": "default__replace", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/replace.sql", "original_file_path": "macros/utils/replace.sql", "unique_id": "macro.dbt.default__replace", "macro_sql": "{% macro default__replace(field, old_chars, new_chars) %}\n\n replace(\n {{ field }},\n {{ old_chars }},\n {{ new_chars }}\n )\n\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6040974, "supported_languages": null}, "macro.dbt.cast": {"name": "cast", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/cast.sql", "original_file_path": "macros/utils/cast.sql", "unique_id": "macro.dbt.cast", "macro_sql": "{% macro cast(field, type) %}\n {{ return(adapter.dispatch('cast', 'dbt') (field, type)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__cast"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6046197, "supported_languages": null}, "macro.dbt.default__cast": {"name": "default__cast", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/cast.sql", "original_file_path": "macros/utils/cast.sql", "unique_id": "macro.dbt.default__cast", "macro_sql": "{% macro default__cast(field, type) %}\n cast({{field}} as {{type}})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6048822, "supported_languages": null}, "macro.dbt.array_concat": {"name": "array_concat", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/array_concat.sql", "original_file_path": "macros/utils/array_concat.sql", "unique_id": "macro.dbt.array_concat", "macro_sql": "{% macro array_concat(array_1, array_2) -%}\n {{ return(adapter.dispatch('array_concat', 'dbt')(array_1, array_2)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__array_concat"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6055262, "supported_languages": null}, "macro.dbt.default__array_concat": {"name": "default__array_concat", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/array_concat.sql", "original_file_path": "macros/utils/array_concat.sql", "unique_id": "macro.dbt.default__array_concat", "macro_sql": "{% macro default__array_concat(array_1, array_2) -%}\n array_cat({{ array_1 }}, {{ array_2 }})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.605797, "supported_languages": null}, "macro.dbt.dateadd": {"name": "dateadd", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/dateadd.sql", "original_file_path": "macros/utils/dateadd.sql", "unique_id": "macro.dbt.dateadd", "macro_sql": "{% macro dateadd(datepart, interval, from_date_or_timestamp) %}\n {{ return(adapter.dispatch('dateadd', 'dbt')(datepart, interval, from_date_or_timestamp)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.606403, "supported_languages": null}, "macro.dbt.default__dateadd": {"name": "default__dateadd", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/dateadd.sql", "original_file_path": "macros/utils/dateadd.sql", "unique_id": "macro.dbt.default__dateadd", "macro_sql": "{% macro default__dateadd(datepart, interval, from_date_or_timestamp) %}\n\n dateadd(\n {{ datepart }},\n {{ interval }},\n {{ from_date_or_timestamp }}\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.606732, "supported_languages": null}, "macro.dbt.safe_cast": {"name": "safe_cast", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/safe_cast.sql", "original_file_path": "macros/utils/safe_cast.sql", "unique_id": "macro.dbt.safe_cast", "macro_sql": "{% macro safe_cast(field, type) %}\n {{ return(adapter.dispatch('safe_cast', 'dbt') (field, type)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__safe_cast"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6072865, "supported_languages": null}, "macro.dbt.default__safe_cast": {"name": "default__safe_cast", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/safe_cast.sql", "original_file_path": "macros/utils/safe_cast.sql", "unique_id": "macro.dbt.default__safe_cast", "macro_sql": "{% macro default__safe_cast(field, type) %}\n {# most databases don't support this function yet\n so we just need to use cast #}\n cast({{field}} as {{type}})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6075711, "supported_languages": null}, "macro.dbt.last_day": {"name": "last_day", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/last_day.sql", "original_file_path": "macros/utils/last_day.sql", "unique_id": "macro.dbt.last_day", "macro_sql": "{% macro last_day(date, datepart) %}\n {{ return(adapter.dispatch('last_day', 'dbt') (date, datepart)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__last_day"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6081805, "supported_languages": null}, "macro.dbt.default_last_day": {"name": "default_last_day", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/last_day.sql", "original_file_path": "macros/utils/last_day.sql", "unique_id": "macro.dbt.default_last_day", "macro_sql": "\n\n{%- macro default_last_day(date, datepart) -%}\n cast(\n {{dbt.dateadd('day', '-1',\n dbt.dateadd(datepart, '1', dbt.date_trunc(datepart, date))\n )}}\n as date)\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.dateadd", "macro.dbt.date_trunc"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6086996, "supported_languages": null}, "macro.dbt.default__last_day": {"name": "default__last_day", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/last_day.sql", "original_file_path": "macros/utils/last_day.sql", "unique_id": "macro.dbt.default__last_day", "macro_sql": "{% macro default__last_day(date, datepart) -%}\n {{dbt.default_last_day(date, datepart)}}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default_last_day"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6089962, "supported_languages": null}, "macro.dbt.date_trunc": {"name": "date_trunc", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/date_trunc.sql", "original_file_path": "macros/utils/date_trunc.sql", "unique_id": "macro.dbt.date_trunc", "macro_sql": "{% macro date_trunc(datepart, date) -%}\n {{ return(adapter.dispatch('date_trunc', 'dbt') (datepart, date)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__date_trunc"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.609512, "supported_languages": null}, "macro.dbt.default__date_trunc": {"name": "default__date_trunc", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/date_trunc.sql", "original_file_path": "macros/utils/date_trunc.sql", "unique_id": "macro.dbt.default__date_trunc", "macro_sql": "{% macro default__date_trunc(datepart, date) -%}\n date_trunc('{{datepart}}', {{date}})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.609776, "supported_languages": null}, "macro.dbt.intersect": {"name": "intersect", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/intersect.sql", "original_file_path": "macros/utils/intersect.sql", "unique_id": "macro.dbt.intersect", "macro_sql": "{% macro intersect() %}\n {{ return(adapter.dispatch('intersect', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__intersect"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6101975, "supported_languages": null}, "macro.dbt.default__intersect": {"name": "default__intersect", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/intersect.sql", "original_file_path": "macros/utils/intersect.sql", "unique_id": "macro.dbt.default__intersect", "macro_sql": "{% macro default__intersect() %}\n\n intersect\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6103718, "supported_languages": null}, "macro.dbt.length": {"name": "length", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/length.sql", "original_file_path": "macros/utils/length.sql", "unique_id": "macro.dbt.length", "macro_sql": "{% macro length(expression) -%}\n {{ return(adapter.dispatch('length', 'dbt') (expression)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__length"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6108465, "supported_languages": null}, "macro.dbt.default__length": {"name": "default__length", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/length.sql", "original_file_path": "macros/utils/length.sql", "unique_id": "macro.dbt.default__length", "macro_sql": "{% macro default__length(expression) %}\n\n length(\n {{ expression }}\n )\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6110604, "supported_languages": null}, "macro.dbt.any_value": {"name": "any_value", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/any_value.sql", "original_file_path": "macros/utils/any_value.sql", "unique_id": "macro.dbt.any_value", "macro_sql": "{% macro any_value(expression) -%}\n {{ return(adapter.dispatch('any_value', 'dbt') (expression)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__any_value"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.61158, "supported_languages": null}, "macro.dbt.default__any_value": {"name": "default__any_value", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/any_value.sql", "original_file_path": "macros/utils/any_value.sql", "unique_id": "macro.dbt.default__any_value", "macro_sql": "{% macro default__any_value(expression) -%}\n\n any_value({{ expression }})\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6117942, "supported_languages": null}, "macro.dbt.right": {"name": "right", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/right.sql", "original_file_path": "macros/utils/right.sql", "unique_id": "macro.dbt.right", "macro_sql": "{% macro right(string_text, length_expression) -%}\n {{ return(adapter.dispatch('right', 'dbt') (string_text, length_expression)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__right"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6123247, "supported_languages": null}, "macro.dbt.default__right": {"name": "default__right", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/right.sql", "original_file_path": "macros/utils/right.sql", "unique_id": "macro.dbt.default__right", "macro_sql": "{% macro default__right(string_text, length_expression) %}\n\n right(\n {{ string_text }},\n {{ length_expression }}\n )\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6125982, "supported_languages": null}, "macro.dbt.get_powers_of_two": {"name": "get_powers_of_two", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/generate_series.sql", "original_file_path": "macros/utils/generate_series.sql", "unique_id": "macro.dbt.get_powers_of_two", "macro_sql": "{% macro get_powers_of_two(upper_bound) %}\n {{ return(adapter.dispatch('get_powers_of_two', 'dbt')(upper_bound)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_powers_of_two"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.613863, "supported_languages": null}, "macro.dbt.default__get_powers_of_two": {"name": "default__get_powers_of_two", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/generate_series.sql", "original_file_path": "macros/utils/generate_series.sql", "unique_id": "macro.dbt.default__get_powers_of_two", "macro_sql": "{% macro default__get_powers_of_two(upper_bound) %}\n\n {% if upper_bound <= 0 %}\n {{ exceptions.raise_compiler_error(\"upper bound must be positive\") }}\n {% endif %}\n\n {% for _ in range(1, 100) %}\n {% if upper_bound <= 2 ** loop.index %}{{ return(loop.index) }}{% endif %}\n {% endfor %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6147816, "supported_languages": null}, "macro.dbt.generate_series": {"name": "generate_series", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/generate_series.sql", "original_file_path": "macros/utils/generate_series.sql", "unique_id": "macro.dbt.generate_series", "macro_sql": "{% macro generate_series(upper_bound) %}\n {{ return(adapter.dispatch('generate_series', 'dbt')(upper_bound)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__generate_series"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.615171, "supported_languages": null}, "macro.dbt.default__generate_series": {"name": "default__generate_series", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/generate_series.sql", "original_file_path": "macros/utils/generate_series.sql", "unique_id": "macro.dbt.default__generate_series", "macro_sql": "{% macro default__generate_series(upper_bound) %}\n\n {% set n = dbt.get_powers_of_two(upper_bound) %}\n\n with p as (\n select 0 as generated_number union all select 1\n ), unioned as (\n\n select\n\n {% for i in range(n) %}\n p{{i}}.generated_number * power(2, {{i}})\n {% if not loop.last %} + {% endif %}\n {% endfor %}\n + 1\n as generated_number\n\n from\n\n {% for i in range(n) %}\n p as p{{i}}\n {% if not loop.last %} cross join {% endif %}\n {% endfor %}\n\n )\n\n select *\n from unioned\n where generated_number <= {{upper_bound}}\n order by generated_number\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_powers_of_two"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.616184, "supported_languages": null}, "macro.dbt.position": {"name": "position", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/position.sql", "original_file_path": "macros/utils/position.sql", "unique_id": "macro.dbt.position", "macro_sql": "{% macro position(substring_text, string_text) -%}\n {{ return(adapter.dispatch('position', 'dbt') (substring_text, string_text)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__position"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6167278, "supported_languages": null}, "macro.dbt.default__position": {"name": "default__position", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/position.sql", "original_file_path": "macros/utils/position.sql", "unique_id": "macro.dbt.default__position", "macro_sql": "{% macro default__position(substring_text, string_text) %}\n\n position(\n {{ substring_text }} in {{ string_text }}\n )\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6170022, "supported_languages": null}, "macro.dbt.string_literal": {"name": "string_literal", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/literal.sql", "original_file_path": "macros/utils/literal.sql", "unique_id": "macro.dbt.string_literal", "macro_sql": "{%- macro string_literal(value) -%}\n {{ return(adapter.dispatch('string_literal', 'dbt') (value)) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__string_literal"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6174536, "supported_languages": null}, "macro.dbt.default__string_literal": {"name": "default__string_literal", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/literal.sql", "original_file_path": "macros/utils/literal.sql", "unique_id": "macro.dbt.default__string_literal", "macro_sql": "{% macro default__string_literal(value) -%}\n '{{ value }}'\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6176639, "supported_languages": null}, "macro.dbt.split_part": {"name": "split_part", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/split_part.sql", "original_file_path": "macros/utils/split_part.sql", "unique_id": "macro.dbt.split_part", "macro_sql": "{% macro split_part(string_text, delimiter_text, part_number) %}\n {{ return(adapter.dispatch('split_part', 'dbt') (string_text, delimiter_text, part_number)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__split_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6184857, "supported_languages": null}, "macro.dbt.default__split_part": {"name": "default__split_part", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/split_part.sql", "original_file_path": "macros/utils/split_part.sql", "unique_id": "macro.dbt.default__split_part", "macro_sql": "{% macro default__split_part(string_text, delimiter_text, part_number) %}\n\n split_part(\n {{ string_text }},\n {{ delimiter_text }},\n {{ part_number }}\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.618815, "supported_languages": null}, "macro.dbt._split_part_negative": {"name": "_split_part_negative", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/split_part.sql", "original_file_path": "macros/utils/split_part.sql", "unique_id": "macro.dbt._split_part_negative", "macro_sql": "{% macro _split_part_negative(string_text, delimiter_text, part_number) %}\n\n split_part(\n {{ string_text }},\n {{ delimiter_text }},\n length({{ string_text }})\n - length(\n replace({{ string_text }}, {{ delimiter_text }}, '')\n ) + 2 + {{ part_number }}\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.619305, "supported_languages": null}, "macro.dbt.array_append": {"name": "array_append", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/array_append.sql", "original_file_path": "macros/utils/array_append.sql", "unique_id": "macro.dbt.array_append", "macro_sql": "{% macro array_append(array, new_element) -%}\n {{ return(adapter.dispatch('array_append', 'dbt')(array, new_element)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__array_append"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6198347, "supported_languages": null}, "macro.dbt.default__array_append": {"name": "default__array_append", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/array_append.sql", "original_file_path": "macros/utils/array_append.sql", "unique_id": "macro.dbt.default__array_append", "macro_sql": "{% macro default__array_append(array, new_element) -%}\n array_append({{ array }}, {{ new_element }})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.620108, "supported_languages": null}, "macro.dbt.bool_or": {"name": "bool_or", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/bool_or.sql", "original_file_path": "macros/utils/bool_or.sql", "unique_id": "macro.dbt.bool_or", "macro_sql": "{% macro bool_or(expression) -%}\n {{ return(adapter.dispatch('bool_or', 'dbt') (expression)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__bool_or"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6205778, "supported_languages": null}, "macro.dbt.default__bool_or": {"name": "default__bool_or", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/bool_or.sql", "original_file_path": "macros/utils/bool_or.sql", "unique_id": "macro.dbt.default__bool_or", "macro_sql": "{% macro default__bool_or(expression) -%}\n\n bool_or({{ expression }})\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6207926, "supported_languages": null}, "macro.dbt.escape_single_quotes": {"name": "escape_single_quotes", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/escape_single_quotes.sql", "original_file_path": "macros/utils/escape_single_quotes.sql", "unique_id": "macro.dbt.escape_single_quotes", "macro_sql": "{% macro escape_single_quotes(expression) %}\n {{ return(adapter.dispatch('escape_single_quotes', 'dbt') (expression)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__escape_single_quotes"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6213171, "supported_languages": null}, "macro.dbt.default__escape_single_quotes": {"name": "default__escape_single_quotes", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/escape_single_quotes.sql", "original_file_path": "macros/utils/escape_single_quotes.sql", "unique_id": "macro.dbt.default__escape_single_quotes", "macro_sql": "{% macro default__escape_single_quotes(expression) -%}\n{{ expression | replace(\"'\",\"''\") }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.621601, "supported_languages": null}, "macro.dbt.concat": {"name": "concat", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/concat.sql", "original_file_path": "macros/utils/concat.sql", "unique_id": "macro.dbt.concat", "macro_sql": "{% macro concat(fields) -%}\n {{ return(adapter.dispatch('concat', 'dbt')(fields)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__concat"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.622078, "supported_languages": null}, "macro.dbt.default__concat": {"name": "default__concat", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/concat.sql", "original_file_path": "macros/utils/concat.sql", "unique_id": "macro.dbt.default__concat", "macro_sql": "{% macro default__concat(fields) -%}\n {{ fields|join(' || ') }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6223278, "supported_languages": null}, "macro.dbt.except": {"name": "except", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/except.sql", "original_file_path": "macros/utils/except.sql", "unique_id": "macro.dbt.except", "macro_sql": "{% macro except() %}\n {{ return(adapter.dispatch('except', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__except"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.622743, "supported_languages": null}, "macro.dbt.default__except": {"name": "default__except", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/except.sql", "original_file_path": "macros/utils/except.sql", "unique_id": "macro.dbt.default__except", "macro_sql": "{% macro default__except() %}\n\n except\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6228995, "supported_languages": null}, "macro.dbt.listagg": {"name": "listagg", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/listagg.sql", "original_file_path": "macros/utils/listagg.sql", "unique_id": "macro.dbt.listagg", "macro_sql": "{% macro listagg(measure, delimiter_text=\"','\", order_by_clause=none, limit_num=none) -%}\n {{ return(adapter.dispatch('listagg', 'dbt') (measure, delimiter_text, order_by_clause, limit_num)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__listagg"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6240683, "supported_languages": null}, "macro.dbt.default__listagg": {"name": "default__listagg", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/listagg.sql", "original_file_path": "macros/utils/listagg.sql", "unique_id": "macro.dbt.default__listagg", "macro_sql": "{% macro default__listagg(measure, delimiter_text, order_by_clause, limit_num) -%}\n\n {% if limit_num -%}\n array_to_string(\n array_slice(\n array_agg(\n {{ measure }}\n ){% if order_by_clause -%}\n within group ({{ order_by_clause }})\n {%- endif %}\n ,0\n ,{{ limit_num }}\n ),\n {{ delimiter_text }}\n )\n {%- else %}\n listagg(\n {{ measure }},\n {{ delimiter_text }}\n )\n {% if order_by_clause -%}\n within group ({{ order_by_clause }})\n {%- endif %}\n {%- endif %}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6248784, "supported_languages": null}, "macro.dbt.datediff": {"name": "datediff", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/datediff.sql", "original_file_path": "macros/utils/datediff.sql", "unique_id": "macro.dbt.datediff", "macro_sql": "{% macro datediff(first_date, second_date, datepart) %}\n {{ return(adapter.dispatch('datediff', 'dbt')(first_date, second_date, datepart)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__datediff"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6254876, "supported_languages": null}, "macro.dbt.default__datediff": {"name": "default__datediff", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/datediff.sql", "original_file_path": "macros/utils/datediff.sql", "unique_id": "macro.dbt.default__datediff", "macro_sql": "{% macro default__datediff(first_date, second_date, datepart) -%}\n\n datediff(\n {{ datepart }},\n {{ first_date }},\n {{ second_date }}\n )\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6258194, "supported_languages": null}, "macro.dbt.array_construct": {"name": "array_construct", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/array_construct.sql", "original_file_path": "macros/utils/array_construct.sql", "unique_id": "macro.dbt.array_construct", "macro_sql": "{% macro array_construct(inputs=[], data_type=api.Column.translate_type('integer')) -%}\n {{ return(adapter.dispatch('array_construct', 'dbt')(inputs, data_type)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__array_construct"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6264992, "supported_languages": null}, "macro.dbt.default__array_construct": {"name": "default__array_construct", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/array_construct.sql", "original_file_path": "macros/utils/array_construct.sql", "unique_id": "macro.dbt.default__array_construct", "macro_sql": "{% macro default__array_construct(inputs, data_type) -%}\n {% if inputs|length > 0 %}\n array[ {{ inputs|join(' , ') }} ]\n {% else %}\n array[]::{{data_type}}[]\n {% endif %}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6270177, "supported_languages": null}, "macro.dbt.get_intervals_between": {"name": "get_intervals_between", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/date_spine.sql", "original_file_path": "macros/utils/date_spine.sql", "unique_id": "macro.dbt.get_intervals_between", "macro_sql": "{% macro get_intervals_between(start_date, end_date, datepart) -%}\n {{ return(adapter.dispatch('get_intervals_between', 'dbt')(start_date, end_date, datepart)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_intervals_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6281912, "supported_languages": null}, "macro.dbt.default__get_intervals_between": {"name": "default__get_intervals_between", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/date_spine.sql", "original_file_path": "macros/utils/date_spine.sql", "unique_id": "macro.dbt.default__get_intervals_between", "macro_sql": "{% macro default__get_intervals_between(start_date, end_date, datepart) -%}\n {%- call statement('get_intervals_between', fetch_result=True) %}\n\n select {{ dbt.datediff(start_date, end_date, datepart) }}\n\n {%- endcall -%}\n\n {%- set value_list = load_result('get_intervals_between') -%}\n\n {%- if value_list and value_list['data'] -%}\n {%- set values = value_list['data'] | map(attribute=0) | list %}\n {{ return(values[0]) }}\n {%- else -%}\n {{ return(1) }}\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt.datediff"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6293755, "supported_languages": null}, "macro.dbt.date_spine": {"name": "date_spine", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/date_spine.sql", "original_file_path": "macros/utils/date_spine.sql", "unique_id": "macro.dbt.date_spine", "macro_sql": "{% macro date_spine(datepart, start_date, end_date) %}\n {{ return(adapter.dispatch('date_spine', 'dbt')(datepart, start_date, end_date)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__date_spine"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6298418, "supported_languages": null}, "macro.dbt.default__date_spine": {"name": "default__date_spine", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/date_spine.sql", "original_file_path": "macros/utils/date_spine.sql", "unique_id": "macro.dbt.default__date_spine", "macro_sql": "{% macro default__date_spine(datepart, start_date, end_date) %}\n\n\n {# call as follows:\n\n date_spine(\n \"day\",\n \"to_date('01/01/2016', 'mm/dd/yyyy')\",\n \"dbt.dateadd(week, 1, current_date)\"\n ) #}\n\n\n with rawdata as (\n\n {{dbt.generate_series(\n dbt.get_intervals_between(start_date, end_date, datepart)\n )}}\n\n ),\n\n all_periods as (\n\n select (\n {{\n dbt.dateadd(\n datepart,\n \"row_number() over (order by 1) - 1\",\n start_date\n )\n }}\n ) as date_{{datepart}}\n from rawdata\n\n ),\n\n filtered as (\n\n select *\n from all_periods\n where date_{{datepart}} <= {{ end_date }}\n\n )\n\n select * from filtered\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.generate_series", "macro.dbt.get_intervals_between", "macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6305485, "supported_languages": null}, "macro.dbt.hash": {"name": "hash", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/hash.sql", "original_file_path": "macros/utils/hash.sql", "unique_id": "macro.dbt.hash", "macro_sql": "{% macro hash(field) -%}\n {{ return(adapter.dispatch('hash', 'dbt') (field)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__hash"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6310902, "supported_languages": null}, "macro.dbt.default__hash": {"name": "default__hash", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/hash.sql", "original_file_path": "macros/utils/hash.sql", "unique_id": "macro.dbt.default__hash", "macro_sql": "{% macro default__hash(field) -%}\n md5(cast({{ field }} as {{ api.Column.translate_type('string') }}))\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6314383, "supported_languages": null}, "macro.dbt.type_string": {"name": "type_string", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_string", "macro_sql": "\n\n{%- macro type_string() -%}\n {{ return(adapter.dispatch('type_string', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6329927, "supported_languages": null}, "macro.dbt.default__type_string": {"name": "default__type_string", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_string", "macro_sql": "{% macro default__type_string() %}\n {{ return(api.Column.translate_type(\"string\")) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6332984, "supported_languages": null}, "macro.dbt.type_timestamp": {"name": "type_timestamp", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_timestamp", "macro_sql": "\n\n{%- macro type_timestamp() -%}\n {{ return(adapter.dispatch('type_timestamp', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6336203, "supported_languages": null}, "macro.dbt.default__type_timestamp": {"name": "default__type_timestamp", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_timestamp", "macro_sql": "{% macro default__type_timestamp() %}\n {{ return(api.Column.translate_type(\"timestamp\")) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6339197, "supported_languages": null}, "macro.dbt.type_float": {"name": "type_float", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_float", "macro_sql": "\n\n{%- macro type_float() -%}\n {{ return(adapter.dispatch('type_float', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_float"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6342478, "supported_languages": null}, "macro.dbt.default__type_float": {"name": "default__type_float", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_float", "macro_sql": "{% macro default__type_float() %}\n {{ return(api.Column.translate_type(\"float\")) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6345453, "supported_languages": null}, "macro.dbt.type_numeric": {"name": "type_numeric", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_numeric", "macro_sql": "\n\n{%- macro type_numeric() -%}\n {{ return(adapter.dispatch('type_numeric', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_numeric"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6348605, "supported_languages": null}, "macro.dbt.default__type_numeric": {"name": "default__type_numeric", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_numeric", "macro_sql": "{% macro default__type_numeric() %}\n {{ return(api.Column.numeric_type(\"numeric\", 28, 6)) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6353607, "supported_languages": null}, "macro.dbt.type_bigint": {"name": "type_bigint", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_bigint", "macro_sql": "\n\n{%- macro type_bigint() -%}\n {{ return(adapter.dispatch('type_bigint', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_bigint"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6356857, "supported_languages": null}, "macro.dbt.default__type_bigint": {"name": "default__type_bigint", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_bigint", "macro_sql": "{% macro default__type_bigint() %}\n {{ return(api.Column.translate_type(\"bigint\")) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6359847, "supported_languages": null}, "macro.dbt.type_int": {"name": "type_int", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_int", "macro_sql": "\n\n{%- macro type_int() -%}\n {{ return(adapter.dispatch('type_int', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.636302, "supported_languages": null}, "macro.dbt.default__type_int": {"name": "default__type_int", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_int", "macro_sql": "{%- macro default__type_int() -%}\n {{ return(api.Column.translate_type(\"integer\")) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6365895, "supported_languages": null}, "macro.dbt.type_boolean": {"name": "type_boolean", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_boolean", "macro_sql": "\n\n{%- macro type_boolean() -%}\n {{ return(adapter.dispatch('type_boolean', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_boolean"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6369083, "supported_languages": null}, "macro.dbt.default__type_boolean": {"name": "default__type_boolean", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_boolean", "macro_sql": "{%- macro default__type_boolean() -%}\n {{ return(api.Column.translate_type(\"boolean\")) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6371937, "supported_languages": null}, "macro.dbt.date": {"name": "date", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/date.sql", "original_file_path": "macros/utils/date.sql", "unique_id": "macro.dbt.date", "macro_sql": "{% macro date(year, month, day) %}\n {{ return(adapter.dispatch('date', 'dbt') (year, month, day)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__date"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.637807, "supported_languages": null}, "macro.dbt.default__date": {"name": "default__date", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/date.sql", "original_file_path": "macros/utils/date.sql", "unique_id": "macro.dbt.default__date", "macro_sql": "{% macro default__date(year, month, day) -%}\n {%- set dt = modules.datetime.date(year, month, day) -%}\n {%- set iso_8601_formatted_date = dt.strftime('%Y-%m-%d') -%}\n to_date('{{ iso_8601_formatted_date }}', 'YYYY-MM-DD')\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6383615, "supported_languages": null}, "macro.dbt.cast_bool_to_text": {"name": "cast_bool_to_text", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/cast_bool_to_text.sql", "original_file_path": "macros/utils/cast_bool_to_text.sql", "unique_id": "macro.dbt.cast_bool_to_text", "macro_sql": "{% macro cast_bool_to_text(field) %}\n {{ adapter.dispatch('cast_bool_to_text', 'dbt') (field) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__cast_bool_to_text"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6388197, "supported_languages": null}, "macro.dbt.default__cast_bool_to_text": {"name": "default__cast_bool_to_text", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/cast_bool_to_text.sql", "original_file_path": "macros/utils/cast_bool_to_text.sql", "unique_id": "macro.dbt.default__cast_bool_to_text", "macro_sql": "{% macro default__cast_bool_to_text(field) %}\n cast({{ field }} as {{ api.Column.translate_type('string') }})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6391585, "supported_languages": null}, "macro.dbt.get_fixture_sql": {"name": "get_fixture_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/unit_test_sql/get_fixture_sql.sql", "original_file_path": "macros/unit_test_sql/get_fixture_sql.sql", "unique_id": "macro.dbt.get_fixture_sql", "macro_sql": "{% macro get_fixture_sql(rows, column_name_to_data_types) %}\n-- Fixture for {{ model.name }}\n{% set default_row = {} %}\n\n{%- if not column_name_to_data_types -%}\n{#-- Use defer_relation IFF it is available in the manifest and 'this' is missing from the database --#}\n{%- set this_or_defer_relation = defer_relation if (defer_relation and not load_relation(this)) else this -%}\n{%- set columns_in_relation = adapter.get_columns_in_relation(this_or_defer_relation) -%}\n\n{%- set column_name_to_data_types = {} -%}\n{%- for column in columns_in_relation -%}\n{#-- This needs to be a case-insensitive comparison --#}\n{%- do column_name_to_data_types.update({column.name|lower: column.data_type}) -%}\n{%- endfor -%}\n{%- endif -%}\n\n{%- if not column_name_to_data_types -%}\n {{ exceptions.raise_compiler_error(\"Not able to get columns for unit test '\" ~ model.name ~ \"' from relation \" ~ this ~ \" because the relation doesn't exist\") }}\n{%- endif -%}\n\n{%- for column_name, column_type in column_name_to_data_types.items() -%}\n {%- do default_row.update({column_name: (safe_cast(\"null\", column_type) | trim )}) -%}\n{%- endfor -%}\n\n{{ validate_fixture_rows(rows, row_number) }}\n\n{%- for row in rows -%}\n{%- set formatted_row = format_row(row, column_name_to_data_types) -%}\n{%- set default_row_copy = default_row.copy() -%}\n{%- do default_row_copy.update(formatted_row) -%}\nselect\n{%- for column_name, column_value in default_row_copy.items() %} {{ column_value }} as {{ column_name }}{% if not loop.last -%}, {%- endif %}\n{%- endfor %}\n{%- if not loop.last %}\nunion all\n{% endif %}\n{%- endfor -%}\n\n{%- if (rows | length) == 0 -%}\n select\n {%- for column_name, column_value in default_row.items() %} {{ column_value }} as {{ column_name }}{% if not loop.last -%},{%- endif %}\n {%- endfor %}\n limit 0\n{%- endif -%}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.load_relation", "macro.dbt.safe_cast", "macro.dbt.validate_fixture_rows", "macro.dbt.format_row"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.645237, "supported_languages": null}, "macro.dbt.get_expected_sql": {"name": "get_expected_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/unit_test_sql/get_fixture_sql.sql", "original_file_path": "macros/unit_test_sql/get_fixture_sql.sql", "unique_id": "macro.dbt.get_expected_sql", "macro_sql": "{% macro get_expected_sql(rows, column_name_to_data_types) %}\n\n{%- if (rows | length) == 0 -%}\n select * from dbt_internal_unit_test_actual\n limit 0\n{%- else -%}\n{%- for row in rows -%}\n{%- set formatted_row = format_row(row, column_name_to_data_types) -%}\nselect\n{%- for column_name, column_value in formatted_row.items() %} {{ column_value }} as {{ column_name }}{% if not loop.last -%}, {%- endif %}\n{%- endfor %}\n{%- if not loop.last %}\nunion all\n{% endif %}\n{%- endfor -%}\n{%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.format_row"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6463456, "supported_languages": null}, "macro.dbt.format_row": {"name": "format_row", "resource_type": "macro", "package_name": "dbt", "path": "macros/unit_test_sql/get_fixture_sql.sql", "original_file_path": "macros/unit_test_sql/get_fixture_sql.sql", "unique_id": "macro.dbt.format_row", "macro_sql": "\n\n{%- macro format_row(row, column_name_to_data_types) -%}\n {#-- generate case-insensitive formatted row --#}\n {% set formatted_row = {} %}\n {%- for column_name, column_value in row.items() -%}\n {% set column_name = column_name|lower %}\n\n {%- if column_name not in column_name_to_data_types %}\n {#-- if user-provided row contains column name that relation does not contain, raise an error --#}\n {% set fixture_name = \"expected output\" if model.resource_type == 'unit_test' else (\"'\" ~ model.name ~ \"'\") %}\n {{ exceptions.raise_compiler_error(\n \"Invalid column name: '\" ~ column_name ~ \"' in unit test fixture for \" ~ fixture_name ~ \".\"\n \"\\nAccepted columns for \" ~ fixture_name ~ \" are: \" ~ (column_name_to_data_types.keys()|list)\n ) }}\n {%- endif -%}\n\n {%- set column_type = column_name_to_data_types[column_name] %}\n\n {#-- sanitize column_value: wrap yaml strings in quotes, apply cast --#}\n {%- set column_value_clean = column_value -%}\n {%- if column_value is string -%}\n {%- set column_value_clean = dbt.string_literal(dbt.escape_single_quotes(column_value)) -%}\n {%- elif column_value is none -%}\n {%- set column_value_clean = 'null' -%}\n {%- endif -%}\n\n {%- set row_update = {column_name: safe_cast(column_value_clean, column_type) } -%}\n {%- do formatted_row.update(row_update) -%}\n {%- endfor -%}\n {{ return(formatted_row) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.string_literal", "macro.dbt.escape_single_quotes", "macro.dbt.safe_cast"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6485813, "supported_languages": null}, "macro.dbt.validate_fixture_rows": {"name": "validate_fixture_rows", "resource_type": "macro", "package_name": "dbt", "path": "macros/unit_test_sql/get_fixture_sql.sql", "original_file_path": "macros/unit_test_sql/get_fixture_sql.sql", "unique_id": "macro.dbt.validate_fixture_rows", "macro_sql": "{%- macro validate_fixture_rows(rows, row_number) -%}\n {{ return(adapter.dispatch('validate_fixture_rows', 'dbt')(rows, row_number)) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__validate_fixture_rows"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6490037, "supported_languages": null}, "macro.dbt.default__validate_fixture_rows": {"name": "default__validate_fixture_rows", "resource_type": "macro", "package_name": "dbt", "path": "macros/unit_test_sql/get_fixture_sql.sql", "original_file_path": "macros/unit_test_sql/get_fixture_sql.sql", "unique_id": "macro.dbt.default__validate_fixture_rows", "macro_sql": "{%- macro default__validate_fixture_rows(rows, row_number) -%}\n {# This is an abstract method for adapter overrides as needed #}\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6492033, "supported_languages": null}, "macro.dbt.generate_schema_name": {"name": "generate_schema_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_schema.sql", "original_file_path": "macros/get_custom_name/get_custom_schema.sql", "unique_id": "macro.dbt.generate_schema_name", "macro_sql": "{% macro generate_schema_name(custom_schema_name=none, node=none) -%}\n {{ return(adapter.dispatch('generate_schema_name', 'dbt')(custom_schema_name, node)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__generate_schema_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6501057, "supported_languages": null}, "macro.dbt.default__generate_schema_name": {"name": "default__generate_schema_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_schema.sql", "original_file_path": "macros/get_custom_name/get_custom_schema.sql", "unique_id": "macro.dbt.default__generate_schema_name", "macro_sql": "{% macro default__generate_schema_name(custom_schema_name, node) -%}\n\n {%- set default_schema = target.schema -%}\n {%- if custom_schema_name is none -%}\n\n {{ default_schema }}\n\n {%- else -%}\n\n {{ default_schema }}_{{ custom_schema_name | trim }}\n\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6506321, "supported_languages": null}, "macro.dbt.generate_schema_name_for_env": {"name": "generate_schema_name_for_env", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_schema.sql", "original_file_path": "macros/get_custom_name/get_custom_schema.sql", "unique_id": "macro.dbt.generate_schema_name_for_env", "macro_sql": "{% macro generate_schema_name_for_env(custom_schema_name, node) -%}\n\n {%- set default_schema = target.schema -%}\n {%- if target.name == 'prod' and custom_schema_name is not none -%}\n\n {{ custom_schema_name | trim }}\n\n {%- else -%}\n\n {{ default_schema }}\n\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6512067, "supported_languages": null}, "macro.dbt.generate_alias_name": {"name": "generate_alias_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_alias.sql", "original_file_path": "macros/get_custom_name/get_custom_alias.sql", "unique_id": "macro.dbt.generate_alias_name", "macro_sql": "{% macro generate_alias_name(custom_alias_name=none, node=none) -%}\n {% do return(adapter.dispatch('generate_alias_name', 'dbt')(custom_alias_name, node)) %}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__generate_alias_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6519387, "supported_languages": null}, "macro.dbt.default__generate_alias_name": {"name": "default__generate_alias_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_alias.sql", "original_file_path": "macros/get_custom_name/get_custom_alias.sql", "unique_id": "macro.dbt.default__generate_alias_name", "macro_sql": "{% macro default__generate_alias_name(custom_alias_name=none, node=none) -%}\n\n {%- if custom_alias_name -%}\n\n {{ custom_alias_name | trim }}\n\n {%- elif node.version -%}\n\n {{ return(node.name ~ \"_v\" ~ (node.version | replace(\".\", \"_\"))) }}\n\n {%- else -%}\n\n {{ node.name }}\n\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6526694, "supported_languages": null}, "macro.dbt.generate_database_name": {"name": "generate_database_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_database.sql", "original_file_path": "macros/get_custom_name/get_custom_database.sql", "unique_id": "macro.dbt.generate_database_name", "macro_sql": "{% macro generate_database_name(custom_database_name=none, node=none) -%}\n {% do return(adapter.dispatch('generate_database_name', 'dbt')(custom_database_name, node)) %}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__generate_database_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6533504, "supported_languages": null}, "macro.dbt.default__generate_database_name": {"name": "default__generate_database_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_database.sql", "original_file_path": "macros/get_custom_name/get_custom_database.sql", "unique_id": "macro.dbt.default__generate_database_name", "macro_sql": "{% macro default__generate_database_name(custom_database_name=none, node=none) -%}\n {%- set default_database = target.database -%}\n {%- if custom_database_name is none -%}\n\n {{ default_database }}\n\n {%- else -%}\n\n {{ custom_database_name }}\n\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.653855, "supported_languages": null}, "macro.dbt.set_sql_header": {"name": "set_sql_header", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/configs.sql", "original_file_path": "macros/materializations/configs.sql", "unique_id": "macro.dbt.set_sql_header", "macro_sql": "{% macro set_sql_header(config) -%}\n {{ config.set('sql_header', caller()) }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.654488, "supported_languages": null}, "macro.dbt.should_full_refresh": {"name": "should_full_refresh", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/configs.sql", "original_file_path": "macros/materializations/configs.sql", "unique_id": "macro.dbt.should_full_refresh", "macro_sql": "{% macro should_full_refresh() %}\n {% set config_full_refresh = config.get('full_refresh') %}\n {% if config_full_refresh is none %}\n {% set config_full_refresh = flags.FULL_REFRESH %}\n {% endif %}\n {% do return(config_full_refresh) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6550708, "supported_languages": null}, "macro.dbt.should_store_failures": {"name": "should_store_failures", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/configs.sql", "original_file_path": "macros/materializations/configs.sql", "unique_id": "macro.dbt.should_store_failures", "macro_sql": "{% macro should_store_failures() %}\n {% set config_store_failures = config.get('store_failures') %}\n {% if config_store_failures is none %}\n {% set config_store_failures = flags.STORE_FAILURES %}\n {% endif %}\n {% do return(config_store_failures) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6556997, "supported_languages": null}, "macro.dbt.run_hooks": {"name": "run_hooks", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/hooks.sql", "original_file_path": "macros/materializations/hooks.sql", "unique_id": "macro.dbt.run_hooks", "macro_sql": "{% macro run_hooks(hooks, inside_transaction=True) %}\n {% for hook in hooks | selectattr('transaction', 'equalto', inside_transaction) %}\n {% if not inside_transaction and loop.first %}\n {% call statement(auto_begin=inside_transaction) %}\n commit;\n {% endcall %}\n {% endif %}\n {% set rendered = render(hook.get('sql')) | trim %}\n {% if (rendered | length) > 0 %}\n {% call statement(auto_begin=inside_transaction) %}\n {{ rendered }}\n {% endcall %}\n {% endif %}\n {% endfor %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6575792, "supported_languages": null}, "macro.dbt.make_hook_config": {"name": "make_hook_config", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/hooks.sql", "original_file_path": "macros/materializations/hooks.sql", "unique_id": "macro.dbt.make_hook_config", "macro_sql": "{% macro make_hook_config(sql, inside_transaction) %}\n {{ tojson({\"sql\": sql, \"transaction\": inside_transaction}) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6579833, "supported_languages": null}, "macro.dbt.before_begin": {"name": "before_begin", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/hooks.sql", "original_file_path": "macros/materializations/hooks.sql", "unique_id": "macro.dbt.before_begin", "macro_sql": "{% macro before_begin(sql) %}\n {{ make_hook_config(sql, inside_transaction=False) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.make_hook_config"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6582704, "supported_languages": null}, "macro.dbt.in_transaction": {"name": "in_transaction", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/hooks.sql", "original_file_path": "macros/materializations/hooks.sql", "unique_id": "macro.dbt.in_transaction", "macro_sql": "{% macro in_transaction(sql) %}\n {{ make_hook_config(sql, inside_transaction=True) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.make_hook_config"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6585522, "supported_languages": null}, "macro.dbt.after_commit": {"name": "after_commit", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/hooks.sql", "original_file_path": "macros/materializations/hooks.sql", "unique_id": "macro.dbt.after_commit", "macro_sql": "{% macro after_commit(sql) %}\n {{ make_hook_config(sql, inside_transaction=False) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.make_hook_config"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.658836, "supported_languages": null}, "macro.dbt.get_where_subquery": {"name": "get_where_subquery", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/where_subquery.sql", "original_file_path": "macros/materializations/tests/where_subquery.sql", "unique_id": "macro.dbt.get_where_subquery", "macro_sql": "{% macro get_where_subquery(relation) -%}\n {% do return(adapter.dispatch('get_where_subquery', 'dbt')(relation)) %}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_where_subquery"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6595104, "supported_languages": null}, "macro.dbt.default__get_where_subquery": {"name": "default__get_where_subquery", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/where_subquery.sql", "original_file_path": "macros/materializations/tests/where_subquery.sql", "unique_id": "macro.dbt.default__get_where_subquery", "macro_sql": "{% macro default__get_where_subquery(relation) -%}\n {% set where = config.get('where', '') %}\n {% if where %}\n {%- set filtered -%}\n (select * from {{ relation }} where {{ where }}) dbt_subquery\n {%- endset -%}\n {% do return(filtered) %}\n {%- else -%}\n {% do return(relation) %}\n {%- endif -%}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.660266, "supported_languages": null}, "macro.dbt.materialization_test_default": {"name": "materialization_test_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/test.sql", "original_file_path": "macros/materializations/tests/test.sql", "unique_id": "macro.dbt.materialization_test_default", "macro_sql": "{%- materialization test, default -%}\n\n {% set relations = [] %}\n\n {% if should_store_failures() %}\n\n {% set identifier = model['alias'] %}\n {% set old_relation = adapter.get_relation(database=database, schema=schema, identifier=identifier) %}\n\n {% set store_failures_as = config.get('store_failures_as') %}\n -- if `--store-failures` is invoked via command line and `store_failures_as` is not set,\n -- config.get('store_failures_as', 'table') returns None, not 'table'\n {% if store_failures_as == none %}{% set store_failures_as = 'table' %}{% endif %}\n {% if store_failures_as not in ['table', 'view'] %}\n {{ exceptions.raise_compiler_error(\n \"'\" ~ store_failures_as ~ \"' is not a valid value for `store_failures_as`. \"\n \"Accepted values are: ['ephemeral', 'table', 'view']\"\n ) }}\n {% endif %}\n\n {% set target_relation = api.Relation.create(\n identifier=identifier, schema=schema, database=database, type=store_failures_as) -%} %}\n\n {% if old_relation %}\n {% do adapter.drop_relation(old_relation) %}\n {% endif %}\n\n {% call statement(auto_begin=True) %}\n {{ get_create_sql(target_relation, sql) }}\n {% endcall %}\n\n {% do relations.append(target_relation) %}\n\n {% set main_sql %}\n select *\n from {{ target_relation }}\n {% endset %}\n\n {{ adapter.commit() }}\n\n {% else %}\n\n {% set main_sql = sql %}\n\n {% endif %}\n\n {% set limit = config.get('limit') %}\n {% set fail_calc = config.get('fail_calc') %}\n {% set warn_if = config.get('warn_if') %}\n {% set error_if = config.get('error_if') %}\n\n {% call statement('main', fetch_result=True) -%}\n\n {{ get_test_sql(main_sql, fail_calc, warn_if, error_if, limit)}}\n\n {%- endcall %}\n\n {{ return({'relations': relations}) }}\n\n{%- endmaterialization -%}", "depends_on": {"macros": ["macro.dbt.should_store_failures", "macro.dbt.statement", "macro.dbt.get_create_sql", "macro.dbt.get_test_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6652844, "supported_languages": ["sql"]}, "macro.dbt.materialization_unit_default": {"name": "materialization_unit_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/unit.sql", "original_file_path": "macros/materializations/tests/unit.sql", "unique_id": "macro.dbt.materialization_unit_default", "macro_sql": "{%- materialization unit, default -%}\n\n {% set relations = [] %}\n\n {% set expected_rows = config.get('expected_rows') %}\n {% set expected_sql = config.get('expected_sql') %}\n {% set tested_expected_column_names = expected_rows[0].keys() if (expected_rows | length ) > 0 else get_columns_in_query(sql) %} %}\n\n {%- set target_relation = this.incorporate(type='table') -%}\n {%- set temp_relation = make_temp_relation(target_relation)-%}\n {% do run_query(get_create_table_as_sql(True, temp_relation, get_empty_subquery_sql(sql))) %}\n {%- set columns_in_relation = adapter.get_columns_in_relation(temp_relation) -%}\n {%- set column_name_to_data_types = {} -%}\n {%- for column in columns_in_relation -%}\n {%- do column_name_to_data_types.update({column.name|lower: column.data_type}) -%}\n {%- endfor -%}\n\n {% if not expected_sql %}\n {% set expected_sql = get_expected_sql(expected_rows, column_name_to_data_types) %}\n {% endif %}\n {% set unit_test_sql = get_unit_test_sql(sql, expected_sql, tested_expected_column_names) %}\n\n {% call statement('main', fetch_result=True) -%}\n\n {{ unit_test_sql }}\n\n {%- endcall %}\n\n {% do adapter.drop_relation(temp_relation) %}\n\n {{ return({'relations': relations}) }}\n\n{%- endmaterialization -%}", "depends_on": {"macros": ["macro.dbt.get_columns_in_query", "macro.dbt.make_temp_relation", "macro.dbt.run_query", "macro.dbt.get_create_table_as_sql", "macro.dbt.get_empty_subquery_sql", "macro.dbt.get_expected_sql", "macro.dbt.get_unit_test_sql", "macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6685288, "supported_languages": ["sql"]}, "macro.dbt.get_test_sql": {"name": "get_test_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/helpers.sql", "original_file_path": "macros/materializations/tests/helpers.sql", "unique_id": "macro.dbt.get_test_sql", "macro_sql": "{% macro get_test_sql(main_sql, fail_calc, warn_if, error_if, limit) -%}\n {{ adapter.dispatch('get_test_sql', 'dbt')(main_sql, fail_calc, warn_if, error_if, limit) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_test_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6702888, "supported_languages": null}, "macro.dbt.default__get_test_sql": {"name": "default__get_test_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/helpers.sql", "original_file_path": "macros/materializations/tests/helpers.sql", "unique_id": "macro.dbt.default__get_test_sql", "macro_sql": "{% macro default__get_test_sql(main_sql, fail_calc, warn_if, error_if, limit) -%}\n select\n {{ fail_calc }} as failures,\n {{ fail_calc }} {{ warn_if }} as should_warn,\n {{ fail_calc }} {{ error_if }} as should_error\n from (\n {{ main_sql }}\n {{ \"limit \" ~ limit if limit != none }}\n ) dbt_internal_test\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6709049, "supported_languages": null}, "macro.dbt.get_unit_test_sql": {"name": "get_unit_test_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/helpers.sql", "original_file_path": "macros/materializations/tests/helpers.sql", "unique_id": "macro.dbt.get_unit_test_sql", "macro_sql": "{% macro get_unit_test_sql(main_sql, expected_fixture_sql, expected_column_names) -%}\n {{ adapter.dispatch('get_unit_test_sql', 'dbt')(main_sql, expected_fixture_sql, expected_column_names) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_unit_test_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6713388, "supported_languages": null}, "macro.dbt.default__get_unit_test_sql": {"name": "default__get_unit_test_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/helpers.sql", "original_file_path": "macros/materializations/tests/helpers.sql", "unique_id": "macro.dbt.default__get_unit_test_sql", "macro_sql": "{% macro default__get_unit_test_sql(main_sql, expected_fixture_sql, expected_column_names) -%}\n-- Build actual result given inputs\nwith dbt_internal_unit_test_actual as (\n select\n {% for expected_column_name in expected_column_names %}{{expected_column_name}}{% if not loop.last -%},{% endif %}{%- endfor -%}, {{ dbt.string_literal(\"actual\") }} as {{ adapter.quote(\"actual_or_expected\") }}\n from (\n {{ main_sql }}\n ) _dbt_internal_unit_test_actual\n),\n-- Build expected result\ndbt_internal_unit_test_expected as (\n select\n {% for expected_column_name in expected_column_names %}{{expected_column_name}}{% if not loop.last -%}, {% endif %}{%- endfor -%}, {{ dbt.string_literal(\"expected\") }} as {{ adapter.quote(\"actual_or_expected\") }}\n from (\n {{ expected_fixture_sql }}\n ) _dbt_internal_unit_test_expected\n)\n-- Union actual and expected results\nselect * from dbt_internal_unit_test_actual\nunion all\nselect * from dbt_internal_unit_test_expected\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.string_literal"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6725147, "supported_languages": null}, "macro.dbt.materialization_snapshot_default": {"name": "materialization_snapshot_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/snapshot.sql", "original_file_path": "macros/materializations/snapshots/snapshot.sql", "unique_id": "macro.dbt.materialization_snapshot_default", "macro_sql": "{% materialization snapshot, default %}\n {%- set config = model['config'] -%}\n\n {%- set target_table = model.get('alias', model.get('name')) -%}\n\n {%- set strategy_name = config.get('strategy') -%}\n {%- set unique_key = config.get('unique_key') %}\n -- grab current tables grants config for comparision later on\n {%- set grant_config = config.get('grants') -%}\n\n {% set target_relation_exists, target_relation = get_or_create_relation(\n database=model.database,\n schema=model.schema,\n identifier=target_table,\n type='table') -%}\n\n {%- if not target_relation.is_table -%}\n {% do exceptions.relation_wrong_type(target_relation, 'table') %}\n {%- endif -%}\n\n\n {{ run_hooks(pre_hooks, inside_transaction=False) }}\n\n {{ run_hooks(pre_hooks, inside_transaction=True) }}\n\n {% set strategy_macro = strategy_dispatch(strategy_name) %}\n {% set strategy = strategy_macro(model, \"snapshotted_data\", \"source_data\", config, target_relation_exists) %}\n\n {% if not target_relation_exists %}\n\n {% set build_sql = build_snapshot_table(strategy, model['compiled_code']) %}\n {% set final_sql = create_table_as(False, target_relation, build_sql) %}\n\n {% else %}\n\n {{ adapter.valid_snapshot_target(target_relation) }}\n\n {% set staging_table = build_snapshot_staging_table(strategy, sql, target_relation) %}\n\n -- this may no-op if the database does not require column expansion\n {% do adapter.expand_target_column_types(from_relation=staging_table,\n to_relation=target_relation) %}\n\n {% set missing_columns = adapter.get_missing_columns(staging_table, target_relation)\n | rejectattr('name', 'equalto', 'dbt_change_type')\n | rejectattr('name', 'equalto', 'DBT_CHANGE_TYPE')\n | rejectattr('name', 'equalto', 'dbt_unique_key')\n | rejectattr('name', 'equalto', 'DBT_UNIQUE_KEY')\n | list %}\n\n {% do create_columns(target_relation, missing_columns) %}\n\n {% set source_columns = adapter.get_columns_in_relation(staging_table)\n | rejectattr('name', 'equalto', 'dbt_change_type')\n | rejectattr('name', 'equalto', 'DBT_CHANGE_TYPE')\n | rejectattr('name', 'equalto', 'dbt_unique_key')\n | rejectattr('name', 'equalto', 'DBT_UNIQUE_KEY')\n | list %}\n\n {% set quoted_source_columns = [] %}\n {% for column in source_columns %}\n {% do quoted_source_columns.append(adapter.quote(column.name)) %}\n {% endfor %}\n\n {% set final_sql = snapshot_merge_sql(\n target = target_relation,\n source = staging_table,\n insert_cols = quoted_source_columns\n )\n %}\n\n {% endif %}\n\n {% call statement('main') %}\n {{ final_sql }}\n {% endcall %}\n\n {% set should_revoke = should_revoke(target_relation_exists, full_refresh_mode=False) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n {% if not target_relation_exists %}\n {% do create_indexes(target_relation) %}\n {% endif %}\n\n {{ run_hooks(post_hooks, inside_transaction=True) }}\n\n {{ adapter.commit() }}\n\n {% if staging_table is defined %}\n {% do post_snapshot(staging_table) %}\n {% endif %}\n\n {{ run_hooks(post_hooks, inside_transaction=False) }}\n\n {{ return({'relations': [target_relation]}) }}\n\n{% endmaterialization %}", "depends_on": {"macros": ["macro.dbt.get_or_create_relation", "macro.dbt.run_hooks", "macro.dbt.strategy_dispatch", "macro.dbt.build_snapshot_table", "macro.dbt.create_table_as", "macro.dbt.build_snapshot_staging_table", "macro.dbt.create_columns", "macro.dbt.snapshot_merge_sql", "macro.dbt.statement", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs", "macro.dbt.create_indexes", "macro.dbt.post_snapshot"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.685673, "supported_languages": ["sql"]}, "macro.dbt.create_columns": {"name": "create_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.create_columns", "macro_sql": "{% macro create_columns(relation, columns) %}\n {{ adapter.dispatch('create_columns', 'dbt')(relation, columns) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__create_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6930876, "supported_languages": null}, "macro.dbt.default__create_columns": {"name": "default__create_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.default__create_columns", "macro_sql": "{% macro default__create_columns(relation, columns) %}\n {% for column in columns %}\n {% call statement() %}\n alter table {{ relation.render() }} add column \"{{ column.name }}\" {{ column.data_type }};\n {% endcall %}\n {% endfor %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6939433, "supported_languages": null}, "macro.dbt.post_snapshot": {"name": "post_snapshot", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.post_snapshot", "macro_sql": "{% macro post_snapshot(staging_relation) %}\n {{ adapter.dispatch('post_snapshot', 'dbt')(staging_relation) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__post_snapshot"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6944144, "supported_languages": null}, "macro.dbt.default__post_snapshot": {"name": "default__post_snapshot", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.default__post_snapshot", "macro_sql": "{% macro default__post_snapshot(staging_relation) %}\n {# no-op #}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6946633, "supported_languages": null}, "macro.dbt.get_true_sql": {"name": "get_true_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.get_true_sql", "macro_sql": "{% macro get_true_sql() %}\n {{ adapter.dispatch('get_true_sql', 'dbt')() }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_true_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.69507, "supported_languages": null}, "macro.dbt.default__get_true_sql": {"name": "default__get_true_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.default__get_true_sql", "macro_sql": "{% macro default__get_true_sql() %}\n {{ return('TRUE') }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.695513, "supported_languages": null}, "macro.dbt.snapshot_staging_table": {"name": "snapshot_staging_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.snapshot_staging_table", "macro_sql": "{% macro snapshot_staging_table(strategy, source_sql, target_relation) -%}\n {{ adapter.dispatch('snapshot_staging_table', 'dbt')(strategy, source_sql, target_relation) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__snapshot_staging_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.696068, "supported_languages": null}, "macro.dbt.default__snapshot_staging_table": {"name": "default__snapshot_staging_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.default__snapshot_staging_table", "macro_sql": "{% macro default__snapshot_staging_table(strategy, source_sql, target_relation) -%}\n\n with snapshot_query as (\n\n {{ source_sql }}\n\n ),\n\n snapshotted_data as (\n\n select *,\n {{ strategy.unique_key }} as dbt_unique_key\n\n from {{ target_relation }}\n where dbt_valid_to is null\n\n ),\n\n insertions_source_data as (\n\n select\n *,\n {{ strategy.unique_key }} as dbt_unique_key,\n {{ strategy.updated_at }} as dbt_updated_at,\n {{ strategy.updated_at }} as dbt_valid_from,\n nullif({{ strategy.updated_at }}, {{ strategy.updated_at }}) as dbt_valid_to,\n {{ strategy.scd_id }} as dbt_scd_id\n\n from snapshot_query\n ),\n\n updates_source_data as (\n\n select\n *,\n {{ strategy.unique_key }} as dbt_unique_key,\n {{ strategy.updated_at }} as dbt_updated_at,\n {{ strategy.updated_at }} as dbt_valid_from,\n {{ strategy.updated_at }} as dbt_valid_to\n\n from snapshot_query\n ),\n\n {%- if strategy.invalidate_hard_deletes %}\n\n deletes_source_data as (\n\n select\n *,\n {{ strategy.unique_key }} as dbt_unique_key\n from snapshot_query\n ),\n {% endif %}\n\n insertions as (\n\n select\n 'insert' as dbt_change_type,\n source_data.*\n\n from insertions_source_data as source_data\n left outer join snapshotted_data on snapshotted_data.dbt_unique_key = source_data.dbt_unique_key\n where snapshotted_data.dbt_unique_key is null\n or (\n snapshotted_data.dbt_unique_key is not null\n and (\n {{ strategy.row_changed }}\n )\n )\n\n ),\n\n updates as (\n\n select\n 'update' as dbt_change_type,\n source_data.*,\n snapshotted_data.dbt_scd_id\n\n from updates_source_data as source_data\n join snapshotted_data on snapshotted_data.dbt_unique_key = source_data.dbt_unique_key\n where (\n {{ strategy.row_changed }}\n )\n )\n\n {%- if strategy.invalidate_hard_deletes -%}\n ,\n\n deletes as (\n\n select\n 'delete' as dbt_change_type,\n source_data.*,\n {{ snapshot_get_time() }} as dbt_valid_from,\n {{ snapshot_get_time() }} as dbt_updated_at,\n {{ snapshot_get_time() }} as dbt_valid_to,\n snapshotted_data.dbt_scd_id\n\n from snapshotted_data\n left join deletes_source_data as source_data on snapshotted_data.dbt_unique_key = source_data.dbt_unique_key\n where source_data.dbt_unique_key is null\n )\n {%- endif %}\n\n select * from insertions\n union all\n select * from updates\n {%- if strategy.invalidate_hard_deletes %}\n union all\n select * from deletes\n {%- endif %}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.snapshot_get_time"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6984565, "supported_languages": null}, "macro.dbt.build_snapshot_table": {"name": "build_snapshot_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.build_snapshot_table", "macro_sql": "{% macro build_snapshot_table(strategy, sql) -%}\n {{ adapter.dispatch('build_snapshot_table', 'dbt')(strategy, sql) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__build_snapshot_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6990225, "supported_languages": null}, "macro.dbt.default__build_snapshot_table": {"name": "default__build_snapshot_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.default__build_snapshot_table", "macro_sql": "{% macro default__build_snapshot_table(strategy, sql) %}\n\n select *,\n {{ strategy.scd_id }} as dbt_scd_id,\n {{ strategy.updated_at }} as dbt_updated_at,\n {{ strategy.updated_at }} as dbt_valid_from,\n nullif({{ strategy.updated_at }}, {{ strategy.updated_at }}) as dbt_valid_to\n from (\n {{ sql }}\n ) sbq\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.6997545, "supported_languages": null}, "macro.dbt.build_snapshot_staging_table": {"name": "build_snapshot_staging_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.build_snapshot_staging_table", "macro_sql": "{% macro build_snapshot_staging_table(strategy, sql, target_relation) %}\n {% set temp_relation = make_temp_relation(target_relation) %}\n\n {% set select = snapshot_staging_table(strategy, sql, target_relation) %}\n\n {% call statement('build_snapshot_staging_relation') %}\n {{ create_table_as(True, temp_relation, select) }}\n {% endcall %}\n\n {% do return(temp_relation) %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.make_temp_relation", "macro.dbt.snapshot_staging_table", "macro.dbt.statement", "macro.dbt.create_table_as"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.701015, "supported_languages": null}, "macro.dbt.snapshot_merge_sql": {"name": "snapshot_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/snapshot_merge.sql", "original_file_path": "macros/materializations/snapshots/snapshot_merge.sql", "unique_id": "macro.dbt.snapshot_merge_sql", "macro_sql": "{% macro snapshot_merge_sql(target, source, insert_cols) -%}\n {{ adapter.dispatch('snapshot_merge_sql', 'dbt')(target, source, insert_cols) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__snapshot_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7020538, "supported_languages": null}, "macro.dbt.default__snapshot_merge_sql": {"name": "default__snapshot_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/snapshot_merge.sql", "original_file_path": "macros/materializations/snapshots/snapshot_merge.sql", "unique_id": "macro.dbt.default__snapshot_merge_sql", "macro_sql": "{% macro default__snapshot_merge_sql(target, source, insert_cols) -%}\n {%- set insert_cols_csv = insert_cols | join(', ') -%}\n\n merge into {{ target.render() }} as DBT_INTERNAL_DEST\n using {{ source }} as DBT_INTERNAL_SOURCE\n on DBT_INTERNAL_SOURCE.dbt_scd_id = DBT_INTERNAL_DEST.dbt_scd_id\n\n when matched\n and DBT_INTERNAL_DEST.dbt_valid_to is null\n and DBT_INTERNAL_SOURCE.dbt_change_type in ('update', 'delete')\n then update\n set dbt_valid_to = DBT_INTERNAL_SOURCE.dbt_valid_to\n\n when not matched\n and DBT_INTERNAL_SOURCE.dbt_change_type = 'insert'\n then insert ({{ insert_cols_csv }})\n values ({{ insert_cols_csv }})\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7028904, "supported_languages": null}, "macro.dbt.strategy_dispatch": {"name": "strategy_dispatch", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.strategy_dispatch", "macro_sql": "{% macro strategy_dispatch(name) -%}\n{% set original_name = name %}\n {% if '.' in name %}\n {% set package_name, name = name.split(\".\", 1) %}\n {% else %}\n {% set package_name = none %}\n {% endif %}\n\n {% if package_name is none %}\n {% set package_context = context %}\n {% elif package_name in context %}\n {% set package_context = context[package_name] %}\n {% else %}\n {% set error_msg %}\n Could not find package '{{package_name}}', called with '{{original_name}}'\n {% endset %}\n {{ exceptions.raise_compiler_error(error_msg | trim) }}\n {% endif %}\n\n {%- set search_name = 'snapshot_' ~ name ~ '_strategy' -%}\n\n {% if search_name not in package_context %}\n {% set error_msg %}\n The specified strategy macro '{{name}}' was not found in package '{{ package_name }}'\n {% endset %}\n {{ exceptions.raise_compiler_error(error_msg | trim) }}\n {% endif %}\n {{ return(package_context[search_name]) }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7113736, "supported_languages": null}, "macro.dbt.snapshot_hash_arguments": {"name": "snapshot_hash_arguments", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.snapshot_hash_arguments", "macro_sql": "{% macro snapshot_hash_arguments(args) -%}\n {{ adapter.dispatch('snapshot_hash_arguments', 'dbt')(args) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__snapshot_hash_arguments"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.711718, "supported_languages": null}, "macro.dbt.default__snapshot_hash_arguments": {"name": "default__snapshot_hash_arguments", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.default__snapshot_hash_arguments", "macro_sql": "{% macro default__snapshot_hash_arguments(args) -%}\n md5({%- for arg in args -%}\n coalesce(cast({{ arg }} as varchar ), '')\n {% if not loop.last %} || '|' || {% endif %}\n {%- endfor -%})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7121627, "supported_languages": null}, "macro.dbt.snapshot_timestamp_strategy": {"name": "snapshot_timestamp_strategy", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.snapshot_timestamp_strategy", "macro_sql": "{% macro snapshot_timestamp_strategy(node, snapshotted_rel, current_rel, config, target_exists) %}\n {% set primary_key = config['unique_key'] %}\n {% set updated_at = config['updated_at'] %}\n {% set invalidate_hard_deletes = config.get('invalidate_hard_deletes', false) %}\n\n {#/*\n The snapshot relation might not have an {{ updated_at }} value if the\n snapshot strategy is changed from `check` to `timestamp`. We\n should use a dbt-created column for the comparison in the snapshot\n table instead of assuming that the user-supplied {{ updated_at }}\n will be present in the historical data.\n\n See https://github.com/dbt-labs/dbt-core/issues/2350\n */ #}\n {% set row_changed_expr -%}\n ({{ snapshotted_rel }}.dbt_valid_from < {{ current_rel }}.{{ updated_at }})\n {%- endset %}\n\n {% set scd_id_expr = snapshot_hash_arguments([primary_key, updated_at]) %}\n\n {% do return({\n \"unique_key\": primary_key,\n \"updated_at\": updated_at,\n \"row_changed\": row_changed_expr,\n \"scd_id\": scd_id_expr,\n \"invalidate_hard_deletes\": invalidate_hard_deletes\n }) %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.snapshot_hash_arguments"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7135234, "supported_languages": null}, "macro.dbt.snapshot_string_as_time": {"name": "snapshot_string_as_time", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.snapshot_string_as_time", "macro_sql": "{% macro snapshot_string_as_time(timestamp) -%}\n {{ adapter.dispatch('snapshot_string_as_time', 'dbt')(timestamp) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__snapshot_string_as_time"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7138448, "supported_languages": null}, "macro.dbt.default__snapshot_string_as_time": {"name": "default__snapshot_string_as_time", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.default__snapshot_string_as_time", "macro_sql": "{% macro default__snapshot_string_as_time(timestamp) %}\n {% do exceptions.raise_not_implemented(\n 'snapshot_string_as_time macro not implemented for adapter '+adapter.type()\n ) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7141836, "supported_languages": null}, "macro.dbt.snapshot_check_all_get_existing_columns": {"name": "snapshot_check_all_get_existing_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.snapshot_check_all_get_existing_columns", "macro_sql": "{% macro snapshot_check_all_get_existing_columns(node, target_exists, check_cols_config) -%}\n {%- if not target_exists -%}\n {#-- no table yet -> return whatever the query does --#}\n {{ return((false, query_columns)) }}\n {%- endif -%}\n\n {#-- handle any schema changes --#}\n {%- set target_relation = adapter.get_relation(database=node.database, schema=node.schema, identifier=node.alias) -%}\n\n {% if check_cols_config == 'all' %}\n {%- set query_columns = get_columns_in_query(node['compiled_code']) -%}\n\n {% elif check_cols_config is iterable and (check_cols_config | length) > 0 %}\n {#-- query for proper casing/quoting, to support comparison below --#}\n {%- set select_check_cols_from_target -%}\n {#-- N.B. The whitespace below is necessary to avoid edge case issue with comments --#}\n {#-- See: https://github.com/dbt-labs/dbt-core/issues/6781 --#}\n select {{ check_cols_config | join(', ') }} from (\n {{ node['compiled_code'] }}\n ) subq\n {%- endset -%}\n {% set query_columns = get_columns_in_query(select_check_cols_from_target) %}\n\n {% else %}\n {% do exceptions.raise_compiler_error(\"Invalid value for 'check_cols': \" ~ check_cols_config) %}\n {% endif %}\n\n {%- set existing_cols = adapter.get_columns_in_relation(target_relation) | map(attribute = 'name') | list -%}\n {%- set ns = namespace() -%} {#-- handle for-loop scoping with a namespace --#}\n {%- set ns.column_added = false -%}\n\n {%- set intersection = [] -%}\n {%- for col in query_columns -%}\n {%- if col in existing_cols -%}\n {%- do intersection.append(adapter.quote(col)) -%}\n {%- else -%}\n {% set ns.column_added = true %}\n {%- endif -%}\n {%- endfor -%}\n {{ return((ns.column_added, intersection)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.get_columns_in_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7168434, "supported_languages": null}, "macro.dbt.snapshot_check_strategy": {"name": "snapshot_check_strategy", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.snapshot_check_strategy", "macro_sql": "{% macro snapshot_check_strategy(node, snapshotted_rel, current_rel, config, target_exists) %}\n {% set check_cols_config = config['check_cols'] %}\n {% set primary_key = config['unique_key'] %}\n {% set invalidate_hard_deletes = config.get('invalidate_hard_deletes', false) %}\n {% set updated_at = config.get('updated_at', snapshot_get_time()) %}\n\n {% set column_added = false %}\n\n {% set column_added, check_cols = snapshot_check_all_get_existing_columns(node, target_exists, check_cols_config) %}\n\n {%- set row_changed_expr -%}\n (\n {%- if column_added -%}\n {{ get_true_sql() }}\n {%- else -%}\n {%- for col in check_cols -%}\n {{ snapshotted_rel }}.{{ col }} != {{ current_rel }}.{{ col }}\n or\n (\n (({{ snapshotted_rel }}.{{ col }} is null) and not ({{ current_rel }}.{{ col }} is null))\n or\n ((not {{ snapshotted_rel }}.{{ col }} is null) and ({{ current_rel }}.{{ col }} is null))\n )\n {%- if not loop.last %} or {% endif -%}\n {%- endfor -%}\n {%- endif -%}\n )\n {%- endset %}\n\n {% set scd_id_expr = snapshot_hash_arguments([primary_key, updated_at]) %}\n\n {% do return({\n \"unique_key\": primary_key,\n \"updated_at\": updated_at,\n \"row_changed\": row_changed_expr,\n \"scd_id\": scd_id_expr,\n \"invalidate_hard_deletes\": invalidate_hard_deletes\n }) %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.snapshot_get_time", "macro.dbt.snapshot_check_all_get_existing_columns", "macro.dbt.get_true_sql", "macro.dbt.snapshot_hash_arguments"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7194643, "supported_languages": null}, "macro.dbt.materialization_view_default": {"name": "materialization_view_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/view.sql", "original_file_path": "macros/materializations/models/view.sql", "unique_id": "macro.dbt.materialization_view_default", "macro_sql": "{%- materialization view, default -%}\n\n {%- set existing_relation = load_cached_relation(this) -%}\n {%- set target_relation = this.incorporate(type='view') -%}\n {%- set intermediate_relation = make_intermediate_relation(target_relation) -%}\n\n -- the intermediate_relation should not already exist in the database; get_relation\n -- will return None in that case. Otherwise, we get a relation that we can drop\n -- later, before we try to use this name for the current operation\n {%- set preexisting_intermediate_relation = load_cached_relation(intermediate_relation) -%}\n /*\n This relation (probably) doesn't exist yet. If it does exist, it's a leftover from\n a previous run, and we're going to try to drop it immediately. At the end of this\n materialization, we're going to rename the \"existing_relation\" to this identifier,\n and then we're going to drop it. In order to make sure we run the correct one of:\n - drop view ...\n - drop table ...\n\n We need to set the type of this relation to be the type of the existing_relation, if it exists,\n or else \"view\" as a sane default if it does not. Note that if the existing_relation does not\n exist, then there is nothing to move out of the way and subsequentally drop. In that case,\n this relation will be effectively unused.\n */\n {%- set backup_relation_type = 'view' if existing_relation is none else existing_relation.type -%}\n {%- set backup_relation = make_backup_relation(target_relation, backup_relation_type) -%}\n -- as above, the backup_relation should not already exist\n {%- set preexisting_backup_relation = load_cached_relation(backup_relation) -%}\n -- grab current tables grants config for comparision later on\n {% set grant_config = config.get('grants') %}\n\n {{ run_hooks(pre_hooks, inside_transaction=False) }}\n\n -- drop the temp relations if they exist already in the database\n {{ drop_relation_if_exists(preexisting_intermediate_relation) }}\n {{ drop_relation_if_exists(preexisting_backup_relation) }}\n\n -- `BEGIN` happens here:\n {{ run_hooks(pre_hooks, inside_transaction=True) }}\n\n -- build model\n {% call statement('main') -%}\n {{ get_create_view_as_sql(intermediate_relation, sql) }}\n {%- endcall %}\n\n -- cleanup\n -- move the existing view out of the way\n {% if existing_relation is not none %}\n /* Do the equivalent of rename_if_exists. 'existing_relation' could have been dropped\n since the variable was first set. */\n {% set existing_relation = load_cached_relation(existing_relation) %}\n {% if existing_relation is not none %}\n {{ adapter.rename_relation(existing_relation, backup_relation) }}\n {% endif %}\n {% endif %}\n {{ adapter.rename_relation(intermediate_relation, target_relation) }}\n\n {% set should_revoke = should_revoke(existing_relation, full_refresh_mode=True) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n {{ run_hooks(post_hooks, inside_transaction=True) }}\n\n {{ adapter.commit() }}\n\n {{ drop_relation_if_exists(backup_relation) }}\n\n {{ run_hooks(post_hooks, inside_transaction=False) }}\n\n {{ return({'relations': [target_relation]}) }}\n\n{%- endmaterialization -%}", "depends_on": {"macros": ["macro.dbt.load_cached_relation", "macro.dbt.make_intermediate_relation", "macro.dbt.make_backup_relation", "macro.dbt.run_hooks", "macro.dbt.drop_relation_if_exists", "macro.dbt.statement", "macro.dbt.get_create_view_as_sql", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.724314, "supported_languages": ["sql"]}, "macro.dbt.materialization_table_default": {"name": "materialization_table_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/table.sql", "original_file_path": "macros/materializations/models/table.sql", "unique_id": "macro.dbt.materialization_table_default", "macro_sql": "{% materialization table, default %}\n\n {%- set existing_relation = load_cached_relation(this) -%}\n {%- set target_relation = this.incorporate(type='table') %}\n {%- set intermediate_relation = make_intermediate_relation(target_relation) -%}\n -- the intermediate_relation should not already exist in the database; get_relation\n -- will return None in that case. Otherwise, we get a relation that we can drop\n -- later, before we try to use this name for the current operation\n {%- set preexisting_intermediate_relation = load_cached_relation(intermediate_relation) -%}\n /*\n See ../view/view.sql for more information about this relation.\n */\n {%- set backup_relation_type = 'table' if existing_relation is none else existing_relation.type -%}\n {%- set backup_relation = make_backup_relation(target_relation, backup_relation_type) -%}\n -- as above, the backup_relation should not already exist\n {%- set preexisting_backup_relation = load_cached_relation(backup_relation) -%}\n -- grab current tables grants config for comparision later on\n {% set grant_config = config.get('grants') %}\n\n -- drop the temp relations if they exist already in the database\n {{ drop_relation_if_exists(preexisting_intermediate_relation) }}\n {{ drop_relation_if_exists(preexisting_backup_relation) }}\n\n {{ run_hooks(pre_hooks, inside_transaction=False) }}\n\n -- `BEGIN` happens here:\n {{ run_hooks(pre_hooks, inside_transaction=True) }}\n\n -- build model\n {% call statement('main') -%}\n {{ get_create_table_as_sql(False, intermediate_relation, sql) }}\n {%- endcall %}\n\n -- cleanup\n {% if existing_relation is not none %}\n /* Do the equivalent of rename_if_exists. 'existing_relation' could have been dropped\n since the variable was first set. */\n {% set existing_relation = load_cached_relation(existing_relation) %}\n {% if existing_relation is not none %}\n {{ adapter.rename_relation(existing_relation, backup_relation) }}\n {% endif %}\n {% endif %}\n\n {{ adapter.rename_relation(intermediate_relation, target_relation) }}\n\n {% do create_indexes(target_relation) %}\n\n {{ run_hooks(post_hooks, inside_transaction=True) }}\n\n {% set should_revoke = should_revoke(existing_relation, full_refresh_mode=True) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n -- `COMMIT` happens here\n {{ adapter.commit() }}\n\n -- finally, drop the existing/backup relation after the commit\n {{ drop_relation_if_exists(backup_relation) }}\n\n {{ run_hooks(post_hooks, inside_transaction=False) }}\n\n {{ return({'relations': [target_relation]}) }}\n{% endmaterialization %}", "depends_on": {"macros": ["macro.dbt.load_cached_relation", "macro.dbt.make_intermediate_relation", "macro.dbt.make_backup_relation", "macro.dbt.drop_relation_if_exists", "macro.dbt.run_hooks", "macro.dbt.statement", "macro.dbt.get_create_table_as_sql", "macro.dbt.create_indexes", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7292292, "supported_languages": ["sql"]}, "macro.dbt.materialization_materialized_view_default": {"name": "materialization_materialized_view_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/materialized_view.sql", "original_file_path": "macros/materializations/models/materialized_view.sql", "unique_id": "macro.dbt.materialization_materialized_view_default", "macro_sql": "{% materialization materialized_view, default %}\n {% set existing_relation = load_cached_relation(this) %}\n {% set target_relation = this.incorporate(type=this.MaterializedView) %}\n {% set intermediate_relation = make_intermediate_relation(target_relation) %}\n {% set backup_relation_type = target_relation.MaterializedView if existing_relation is none else existing_relation.type %}\n {% set backup_relation = make_backup_relation(target_relation, backup_relation_type) %}\n\n {{ materialized_view_setup(backup_relation, intermediate_relation, pre_hooks) }}\n\n {% set build_sql = materialized_view_get_build_sql(existing_relation, target_relation, backup_relation, intermediate_relation) %}\n\n {% if build_sql == '' %}\n {{ materialized_view_execute_no_op(target_relation) }}\n {% else %}\n {{ materialized_view_execute_build_sql(build_sql, existing_relation, target_relation, post_hooks) }}\n {% endif %}\n\n {{ materialized_view_teardown(backup_relation, intermediate_relation, post_hooks) }}\n\n {{ return({'relations': [target_relation]}) }}\n\n{% endmaterialization %}", "depends_on": {"macros": ["macro.dbt.load_cached_relation", "macro.dbt.make_intermediate_relation", "macro.dbt.make_backup_relation", "macro.dbt.materialized_view_setup", "macro.dbt.materialized_view_get_build_sql", "macro.dbt.materialized_view_execute_no_op", "macro.dbt.materialized_view_execute_build_sql", "macro.dbt.materialized_view_teardown"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.736131, "supported_languages": ["sql"]}, "macro.dbt.materialized_view_setup": {"name": "materialized_view_setup", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/materialized_view.sql", "original_file_path": "macros/materializations/models/materialized_view.sql", "unique_id": "macro.dbt.materialized_view_setup", "macro_sql": "{% macro materialized_view_setup(backup_relation, intermediate_relation, pre_hooks) %}\n\n -- backup_relation and intermediate_relation should not already exist in the database\n -- it's possible these exist because of a previous run that exited unexpectedly\n {% set preexisting_backup_relation = load_cached_relation(backup_relation) %}\n {% set preexisting_intermediate_relation = load_cached_relation(intermediate_relation) %}\n\n -- drop the temp relations if they exist already in the database\n {{ drop_relation_if_exists(preexisting_backup_relation) }}\n {{ drop_relation_if_exists(preexisting_intermediate_relation) }}\n\n {{ run_hooks(pre_hooks, inside_transaction=False) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.load_cached_relation", "macro.dbt.drop_relation_if_exists", "macro.dbt.run_hooks"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7368863, "supported_languages": null}, "macro.dbt.materialized_view_teardown": {"name": "materialized_view_teardown", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/materialized_view.sql", "original_file_path": "macros/materializations/models/materialized_view.sql", "unique_id": "macro.dbt.materialized_view_teardown", "macro_sql": "{% macro materialized_view_teardown(backup_relation, intermediate_relation, post_hooks) %}\n\n -- drop the temp relations if they exist to leave the database clean for the next run\n {{ drop_relation_if_exists(backup_relation) }}\n {{ drop_relation_if_exists(intermediate_relation) }}\n\n {{ run_hooks(post_hooks, inside_transaction=False) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.drop_relation_if_exists", "macro.dbt.run_hooks"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.737374, "supported_languages": null}, "macro.dbt.materialized_view_get_build_sql": {"name": "materialized_view_get_build_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/materialized_view.sql", "original_file_path": "macros/materializations/models/materialized_view.sql", "unique_id": "macro.dbt.materialized_view_get_build_sql", "macro_sql": "{% macro materialized_view_get_build_sql(existing_relation, target_relation, backup_relation, intermediate_relation) %}\n\n {% set full_refresh_mode = should_full_refresh() %}\n\n -- determine the scenario we're in: create, full_refresh, alter, refresh data\n {% if existing_relation is none %}\n {% set build_sql = get_create_materialized_view_as_sql(target_relation, sql) %}\n {% elif full_refresh_mode or not existing_relation.is_materialized_view %}\n {% set build_sql = get_replace_sql(existing_relation, target_relation, sql) %}\n {% else %}\n\n -- get config options\n {% set on_configuration_change = config.get('on_configuration_change') %}\n {% set configuration_changes = get_materialized_view_configuration_changes(existing_relation, config) %}\n\n {% if configuration_changes is none %}\n {% set build_sql = refresh_materialized_view(target_relation) %}\n\n {% elif on_configuration_change == 'apply' %}\n {% set build_sql = get_alter_materialized_view_as_sql(target_relation, configuration_changes, sql, existing_relation, backup_relation, intermediate_relation) %}\n {% elif on_configuration_change == 'continue' %}\n {% set build_sql = '' %}\n {{ exceptions.warn(\"Configuration changes were identified and `on_configuration_change` was set to `continue` for `\" ~ target_relation.render() ~ \"`\") }}\n {% elif on_configuration_change == 'fail' %}\n {{ exceptions.raise_fail_fast_error(\"Configuration changes were identified and `on_configuration_change` was set to `fail` for `\" ~ target_relation.render() ~ \"`\") }}\n\n {% else %}\n -- this only happens if the user provides a value other than `apply`, 'skip', 'fail'\n {{ exceptions.raise_compiler_error(\"Unexpected configuration scenario\") }}\n\n {% endif %}\n\n {% endif %}\n\n {% do return(build_sql) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.should_full_refresh", "macro.dbt.get_create_materialized_view_as_sql", "macro.dbt.get_replace_sql", "macro.dbt.get_materialized_view_configuration_changes", "macro.dbt.refresh_materialized_view", "macro.dbt.get_alter_materialized_view_as_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7400985, "supported_languages": null}, "macro.dbt.materialized_view_execute_no_op": {"name": "materialized_view_execute_no_op", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/materialized_view.sql", "original_file_path": "macros/materializations/models/materialized_view.sql", "unique_id": "macro.dbt.materialized_view_execute_no_op", "macro_sql": "{% macro materialized_view_execute_no_op(target_relation) %}\n {% do store_raw_result(\n name=\"main\",\n message=\"skip \" ~ target_relation,\n code=\"skip\",\n rows_affected=\"-1\"\n ) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.741497, "supported_languages": null}, "macro.dbt.materialized_view_execute_build_sql": {"name": "materialized_view_execute_build_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/materialized_view.sql", "original_file_path": "macros/materializations/models/materialized_view.sql", "unique_id": "macro.dbt.materialized_view_execute_build_sql", "macro_sql": "{% macro materialized_view_execute_build_sql(build_sql, existing_relation, target_relation, post_hooks) %}\n\n -- `BEGIN` happens here:\n {{ run_hooks(pre_hooks, inside_transaction=True) }}\n\n {% set grant_config = config.get('grants') %}\n\n {% call statement(name=\"main\") %}\n {{ build_sql }}\n {% endcall %}\n\n {% set should_revoke = should_revoke(existing_relation, full_refresh_mode=True) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n {{ run_hooks(post_hooks, inside_transaction=True) }}\n\n {{ adapter.commit() }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_hooks", "macro.dbt.statement", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7428114, "supported_languages": null}, "macro.dbt.can_clone_table": {"name": "can_clone_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/clone/can_clone_table.sql", "original_file_path": "macros/materializations/models/clone/can_clone_table.sql", "unique_id": "macro.dbt.can_clone_table", "macro_sql": "{% macro can_clone_table() %}\n {{ return(adapter.dispatch('can_clone_table', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__can_clone_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7432864, "supported_languages": null}, "macro.dbt.default__can_clone_table": {"name": "default__can_clone_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/clone/can_clone_table.sql", "original_file_path": "macros/materializations/models/clone/can_clone_table.sql", "unique_id": "macro.dbt.default__can_clone_table", "macro_sql": "{% macro default__can_clone_table() %}\n {{ return(False) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7435231, "supported_languages": null}, "macro.dbt.create_or_replace_clone": {"name": "create_or_replace_clone", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/clone/create_or_replace_clone.sql", "original_file_path": "macros/materializations/models/clone/create_or_replace_clone.sql", "unique_id": "macro.dbt.create_or_replace_clone", "macro_sql": "{% macro create_or_replace_clone(this_relation, defer_relation) %}\n {{ return(adapter.dispatch('create_or_replace_clone', 'dbt')(this_relation, defer_relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__create_or_replace_clone"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7440608, "supported_languages": null}, "macro.dbt.default__create_or_replace_clone": {"name": "default__create_or_replace_clone", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/clone/create_or_replace_clone.sql", "original_file_path": "macros/materializations/models/clone/create_or_replace_clone.sql", "unique_id": "macro.dbt.default__create_or_replace_clone", "macro_sql": "{% macro default__create_or_replace_clone(this_relation, defer_relation) %}\n create or replace table {{ this_relation.render() }} clone {{ defer_relation.render() }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7444012, "supported_languages": null}, "macro.dbt.materialization_clone_default": {"name": "materialization_clone_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/clone/clone.sql", "original_file_path": "macros/materializations/models/clone/clone.sql", "unique_id": "macro.dbt.materialization_clone_default", "macro_sql": "{%- materialization clone, default -%}\n\n {%- set relations = {'relations': []} -%}\n\n {%- if not defer_relation -%}\n -- nothing to do\n {{ log(\"No relation found in state manifest for \" ~ model.unique_id, info=True) }}\n {{ return(relations) }}\n {%- endif -%}\n\n {%- set existing_relation = load_cached_relation(this) -%}\n\n {%- if existing_relation and not flags.FULL_REFRESH -%}\n -- noop!\n {{ log(\"Relation \" ~ existing_relation ~ \" already exists\", info=True) }}\n {{ return(relations) }}\n {%- endif -%}\n\n {%- set other_existing_relation = load_cached_relation(defer_relation) -%}\n\n -- If this is a database that can do zero-copy cloning of tables, and the other relation is a table, then this will be a table\n -- Otherwise, this will be a view\n\n {% set can_clone_table = can_clone_table() %}\n\n {%- if other_existing_relation and other_existing_relation.type == 'table' and can_clone_table -%}\n\n {%- set target_relation = this.incorporate(type='table') -%}\n {% if existing_relation is not none and not existing_relation.is_table %}\n {{ log(\"Dropping relation \" ~ existing_relation.render() ~ \" because it is of type \" ~ existing_relation.type) }}\n {{ drop_relation_if_exists(existing_relation) }}\n {% endif %}\n\n -- as a general rule, data platforms that can clone tables can also do atomic 'create or replace'\n {% call statement('main') %}\n {% if target_relation and defer_relation and target_relation == defer_relation %}\n {{ log(\"Target relation and defer relation are the same, skipping clone for relation: \" ~ target_relation.render()) }}\n {% else %}\n {{ create_or_replace_clone(target_relation, defer_relation) }}\n {% endif %}\n\n {% endcall %}\n\n {% set should_revoke = should_revoke(existing_relation, full_refresh_mode=True) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n {% do persist_docs(target_relation, model) %}\n\n {{ return({'relations': [target_relation]}) }}\n\n {%- else -%}\n\n {%- set target_relation = this.incorporate(type='view') -%}\n\n -- reuse the view materialization\n -- TODO: support actual dispatch for materialization macros\n -- Tracking ticket: https://github.com/dbt-labs/dbt-core/issues/7799\n {% set search_name = \"materialization_view_\" ~ adapter.type() %}\n {% if not search_name in context %}\n {% set search_name = \"materialization_view_default\" %}\n {% endif %}\n {% set materialization_macro = context[search_name] %}\n {% set relations = materialization_macro() %}\n {{ return(relations) }}\n\n {%- endif -%}\n\n{%- endmaterialization -%}", "depends_on": {"macros": ["macro.dbt.load_cached_relation", "macro.dbt.can_clone_table", "macro.dbt.drop_relation_if_exists", "macro.dbt.statement", "macro.dbt.create_or_replace_clone", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7505727, "supported_languages": ["sql"]}, "macro.dbt.materialization_incremental_default": {"name": "materialization_incremental_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/incremental.sql", "original_file_path": "macros/materializations/models/incremental/incremental.sql", "unique_id": "macro.dbt.materialization_incremental_default", "macro_sql": "{% materialization incremental, default -%}\n\n -- relations\n {%- set existing_relation = load_cached_relation(this) -%}\n {%- set target_relation = this.incorporate(type='table') -%}\n {%- set temp_relation = make_temp_relation(target_relation)-%}\n {%- set intermediate_relation = make_intermediate_relation(target_relation)-%}\n {%- set backup_relation_type = 'table' if existing_relation is none else existing_relation.type -%}\n {%- set backup_relation = make_backup_relation(target_relation, backup_relation_type) -%}\n\n -- configs\n {%- set unique_key = config.get('unique_key') -%}\n {%- set full_refresh_mode = (should_full_refresh() or existing_relation.is_view) -%}\n {%- set on_schema_change = incremental_validate_on_schema_change(config.get('on_schema_change'), default='ignore') -%}\n\n -- the temp_ and backup_ relations should not already exist in the database; get_relation\n -- will return None in that case. Otherwise, we get a relation that we can drop\n -- later, before we try to use this name for the current operation. This has to happen before\n -- BEGIN, in a separate transaction\n {%- set preexisting_intermediate_relation = load_cached_relation(intermediate_relation)-%}\n {%- set preexisting_backup_relation = load_cached_relation(backup_relation) -%}\n -- grab current tables grants config for comparision later on\n {% set grant_config = config.get('grants') %}\n {{ drop_relation_if_exists(preexisting_intermediate_relation) }}\n {{ drop_relation_if_exists(preexisting_backup_relation) }}\n\n {{ run_hooks(pre_hooks, inside_transaction=False) }}\n\n -- `BEGIN` happens here:\n {{ run_hooks(pre_hooks, inside_transaction=True) }}\n\n {% set to_drop = [] %}\n\n {% if existing_relation is none %}\n {% set build_sql = get_create_table_as_sql(False, target_relation, sql) %}\n {% elif full_refresh_mode %}\n {% set build_sql = get_create_table_as_sql(False, intermediate_relation, sql) %}\n {% set need_swap = true %}\n {% else %}\n {% do run_query(get_create_table_as_sql(True, temp_relation, sql)) %}\n {% set contract_config = config.get('contract') %}\n {% if not contract_config or not contract_config.enforced %}\n {% do adapter.expand_target_column_types(\n from_relation=temp_relation,\n to_relation=target_relation) %}\n {% endif %}\n {#-- Process schema changes. Returns dict of changes if successful. Use source columns for upserting/merging --#}\n {% set dest_columns = process_schema_changes(on_schema_change, temp_relation, existing_relation) %}\n {% if not dest_columns %}\n {% set dest_columns = adapter.get_columns_in_relation(existing_relation) %}\n {% endif %}\n\n {#-- Get the incremental_strategy, the macro to use for the strategy, and build the sql --#}\n {% set incremental_strategy = config.get('incremental_strategy') or 'default' %}\n {% set incremental_predicates = config.get('predicates', none) or config.get('incremental_predicates', none) %}\n {% set strategy_sql_macro_func = adapter.get_incremental_strategy_macro(context, incremental_strategy) %}\n {% set strategy_arg_dict = ({'target_relation': target_relation, 'temp_relation': temp_relation, 'unique_key': unique_key, 'dest_columns': dest_columns, 'incremental_predicates': incremental_predicates }) %}\n {% set build_sql = strategy_sql_macro_func(strategy_arg_dict) %}\n\n {% endif %}\n\n {% call statement(\"main\") %}\n {{ build_sql }}\n {% endcall %}\n\n {% if need_swap %}\n {% do adapter.rename_relation(target_relation, backup_relation) %}\n {% do adapter.rename_relation(intermediate_relation, target_relation) %}\n {% do to_drop.append(backup_relation) %}\n {% endif %}\n\n {% set should_revoke = should_revoke(existing_relation, full_refresh_mode) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n {% if existing_relation is none or existing_relation.is_view or should_full_refresh() %}\n {% do create_indexes(target_relation) %}\n {% endif %}\n\n {{ run_hooks(post_hooks, inside_transaction=True) }}\n\n -- `COMMIT` happens here\n {% do adapter.commit() %}\n\n {% for rel in to_drop %}\n {% do adapter.drop_relation(rel) %}\n {% endfor %}\n\n {{ run_hooks(post_hooks, inside_transaction=False) }}\n\n {{ return({'relations': [target_relation]}) }}\n\n{%- endmaterialization %}", "depends_on": {"macros": ["macro.dbt.load_cached_relation", "macro.dbt.make_temp_relation", "macro.dbt.make_intermediate_relation", "macro.dbt.make_backup_relation", "macro.dbt.should_full_refresh", "macro.dbt.incremental_validate_on_schema_change", "macro.dbt.drop_relation_if_exists", "macro.dbt.run_hooks", "macro.dbt.get_create_table_as_sql", "macro.dbt.run_query", "macro.dbt.process_schema_changes", "macro.dbt.statement", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs", "macro.dbt.create_indexes"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7597926, "supported_languages": ["sql"]}, "macro.dbt.get_quoted_csv": {"name": "get_quoted_csv", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/column_helpers.sql", "original_file_path": "macros/materializations/models/incremental/column_helpers.sql", "unique_id": "macro.dbt.get_quoted_csv", "macro_sql": "{% macro get_quoted_csv(column_names) %}\n\n {% set quoted = [] %}\n {% for col in column_names -%}\n {%- do quoted.append(adapter.quote(col)) -%}\n {%- endfor %}\n\n {%- set dest_cols_csv = quoted | join(', ') -%}\n {{ return(dest_cols_csv) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7622583, "supported_languages": null}, "macro.dbt.diff_columns": {"name": "diff_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/column_helpers.sql", "original_file_path": "macros/materializations/models/incremental/column_helpers.sql", "unique_id": "macro.dbt.diff_columns", "macro_sql": "{% macro diff_columns(source_columns, target_columns) %}\n\n {% set result = [] %}\n {% set source_names = source_columns | map(attribute = 'column') | list %}\n {% set target_names = target_columns | map(attribute = 'column') | list %}\n\n {# --check whether the name attribute exists in the target - this does not perform a data type check #}\n {% for sc in source_columns %}\n {% if sc.name not in target_names %}\n {{ result.append(sc) }}\n {% endif %}\n {% endfor %}\n\n {{ return(result) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7633593, "supported_languages": null}, "macro.dbt.diff_column_data_types": {"name": "diff_column_data_types", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/column_helpers.sql", "original_file_path": "macros/materializations/models/incremental/column_helpers.sql", "unique_id": "macro.dbt.diff_column_data_types", "macro_sql": "{% macro diff_column_data_types(source_columns, target_columns) %}\n\n {% set result = [] %}\n {% for sc in source_columns %}\n {% set tc = target_columns | selectattr(\"name\", \"equalto\", sc.name) | list | first %}\n {% if tc %}\n {% if sc.data_type != tc.data_type and not sc.can_expand_to(other_column=tc) %}\n {{ result.append( { 'column_name': tc.name, 'new_type': sc.data_type } ) }}\n {% endif %}\n {% endif %}\n {% endfor %}\n\n {{ return(result) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7646174, "supported_languages": null}, "macro.dbt.get_merge_update_columns": {"name": "get_merge_update_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/column_helpers.sql", "original_file_path": "macros/materializations/models/incremental/column_helpers.sql", "unique_id": "macro.dbt.get_merge_update_columns", "macro_sql": "{% macro get_merge_update_columns(merge_update_columns, merge_exclude_columns, dest_columns) %}\n {{ return(adapter.dispatch('get_merge_update_columns', 'dbt')(merge_update_columns, merge_exclude_columns, dest_columns)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_merge_update_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7650695, "supported_languages": null}, "macro.dbt.default__get_merge_update_columns": {"name": "default__get_merge_update_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/column_helpers.sql", "original_file_path": "macros/materializations/models/incremental/column_helpers.sql", "unique_id": "macro.dbt.default__get_merge_update_columns", "macro_sql": "{% macro default__get_merge_update_columns(merge_update_columns, merge_exclude_columns, dest_columns) %}\n {%- set default_cols = dest_columns | map(attribute=\"quoted\") | list -%}\n\n {%- if merge_update_columns and merge_exclude_columns -%}\n {{ exceptions.raise_compiler_error(\n 'Model cannot specify merge_update_columns and merge_exclude_columns. Please update model to use only one config'\n )}}\n {%- elif merge_update_columns -%}\n {%- set update_columns = merge_update_columns -%}\n {%- elif merge_exclude_columns -%}\n {%- set update_columns = [] -%}\n {%- for column in dest_columns -%}\n {% if column.column | lower not in merge_exclude_columns | map(\"lower\") | list %}\n {%- do update_columns.append(column.quoted) -%}\n {% endif %}\n {%- endfor -%}\n {%- else -%}\n {%- set update_columns = default_cols -%}\n {%- endif -%}\n\n {{ return(update_columns) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7664576, "supported_languages": null}, "macro.dbt.incremental_validate_on_schema_change": {"name": "incremental_validate_on_schema_change", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/on_schema_change.sql", "original_file_path": "macros/materializations/models/incremental/on_schema_change.sql", "unique_id": "macro.dbt.incremental_validate_on_schema_change", "macro_sql": "{% macro incremental_validate_on_schema_change(on_schema_change, default='ignore') %}\n\n {% if on_schema_change not in ['sync_all_columns', 'append_new_columns', 'fail', 'ignore'] %}\n\n {% set log_message = 'Invalid value for on_schema_change (%s) specified. Setting default value of %s.' % (on_schema_change, default) %}\n {% do log(log_message) %}\n\n {{ return(default) }}\n\n {% else %}\n\n {{ return(on_schema_change) }}\n\n {% endif %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7738423, "supported_languages": null}, "macro.dbt.check_for_schema_changes": {"name": "check_for_schema_changes", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/on_schema_change.sql", "original_file_path": "macros/materializations/models/incremental/on_schema_change.sql", "unique_id": "macro.dbt.check_for_schema_changes", "macro_sql": "{% macro check_for_schema_changes(source_relation, target_relation) %}\n\n {% set schema_changed = False %}\n\n {%- set source_columns = adapter.get_columns_in_relation(source_relation) -%}\n {%- set target_columns = adapter.get_columns_in_relation(target_relation) -%}\n {%- set source_not_in_target = diff_columns(source_columns, target_columns) -%}\n {%- set target_not_in_source = diff_columns(target_columns, source_columns) -%}\n\n {% set new_target_types = diff_column_data_types(source_columns, target_columns) %}\n\n {% if source_not_in_target != [] %}\n {% set schema_changed = True %}\n {% elif target_not_in_source != [] or new_target_types != [] %}\n {% set schema_changed = True %}\n {% elif new_target_types != [] %}\n {% set schema_changed = True %}\n {% endif %}\n\n {% set changes_dict = {\n 'schema_changed': schema_changed,\n 'source_not_in_target': source_not_in_target,\n 'target_not_in_source': target_not_in_source,\n 'source_columns': source_columns,\n 'target_columns': target_columns,\n 'new_target_types': new_target_types\n } %}\n\n {% set msg %}\n In {{ target_relation }}:\n Schema changed: {{ schema_changed }}\n Source columns not in target: {{ source_not_in_target }}\n Target columns not in source: {{ target_not_in_source }}\n New column types: {{ new_target_types }}\n {% endset %}\n\n {% do log(msg) %}\n\n {{ return(changes_dict) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.diff_columns", "macro.dbt.diff_column_data_types"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.77618, "supported_languages": null}, "macro.dbt.sync_column_schemas": {"name": "sync_column_schemas", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/on_schema_change.sql", "original_file_path": "macros/materializations/models/incremental/on_schema_change.sql", "unique_id": "macro.dbt.sync_column_schemas", "macro_sql": "{% macro sync_column_schemas(on_schema_change, target_relation, schema_changes_dict) %}\n\n {%- set add_to_target_arr = schema_changes_dict['source_not_in_target'] -%}\n\n {%- if on_schema_change == 'append_new_columns'-%}\n {%- if add_to_target_arr | length > 0 -%}\n {%- do alter_relation_add_remove_columns(target_relation, add_to_target_arr, none) -%}\n {%- endif -%}\n\n {% elif on_schema_change == 'sync_all_columns' %}\n {%- set remove_from_target_arr = schema_changes_dict['target_not_in_source'] -%}\n {%- set new_target_types = schema_changes_dict['new_target_types'] -%}\n\n {% if add_to_target_arr | length > 0 or remove_from_target_arr | length > 0 %}\n {%- do alter_relation_add_remove_columns(target_relation, add_to_target_arr, remove_from_target_arr) -%}\n {% endif %}\n\n {% if new_target_types != [] %}\n {% for ntt in new_target_types %}\n {% set column_name = ntt['column_name'] %}\n {% set new_type = ntt['new_type'] %}\n {% do alter_column_type(target_relation, column_name, new_type) %}\n {% endfor %}\n {% endif %}\n\n {% endif %}\n\n {% set schema_change_message %}\n In {{ target_relation }}:\n Schema change approach: {{ on_schema_change }}\n Columns added: {{ add_to_target_arr }}\n Columns removed: {{ remove_from_target_arr }}\n Data types changed: {{ new_target_types }}\n {% endset %}\n\n {% do log(schema_change_message) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.alter_relation_add_remove_columns", "macro.dbt.alter_column_type"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.778707, "supported_languages": null}, "macro.dbt.process_schema_changes": {"name": "process_schema_changes", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/on_schema_change.sql", "original_file_path": "macros/materializations/models/incremental/on_schema_change.sql", "unique_id": "macro.dbt.process_schema_changes", "macro_sql": "{% macro process_schema_changes(on_schema_change, source_relation, target_relation) %}\n\n {% if on_schema_change == 'ignore' %}\n\n {{ return({}) }}\n\n {% else %}\n\n {% set schema_changes_dict = check_for_schema_changes(source_relation, target_relation) %}\n\n {% if schema_changes_dict['schema_changed'] %}\n\n {% if on_schema_change == 'fail' %}\n\n {% set fail_msg %}\n The source and target schemas on this incremental model are out of sync!\n They can be reconciled in several ways:\n - set the `on_schema_change` config to either append_new_columns or sync_all_columns, depending on your situation.\n - Re-run the incremental model with `full_refresh: True` to update the target schema.\n - update the schema manually and re-run the process.\n\n Additional troubleshooting context:\n Source columns not in target: {{ schema_changes_dict['source_not_in_target'] }}\n Target columns not in source: {{ schema_changes_dict['target_not_in_source'] }}\n New column types: {{ schema_changes_dict['new_target_types'] }}\n {% endset %}\n\n {% do exceptions.raise_compiler_error(fail_msg) %}\n\n {# -- unless we ignore, run the sync operation per the config #}\n {% else %}\n\n {% do sync_column_schemas(on_schema_change, target_relation, schema_changes_dict) %}\n\n {% endif %}\n\n {% endif %}\n\n {{ return(schema_changes_dict['source_columns']) }}\n\n {% endif %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.check_for_schema_changes", "macro.dbt.sync_column_schemas"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7803473, "supported_languages": null}, "macro.dbt.is_incremental": {"name": "is_incremental", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/is_incremental.sql", "original_file_path": "macros/materializations/models/incremental/is_incremental.sql", "unique_id": "macro.dbt.is_incremental", "macro_sql": "{% macro is_incremental() %}\n {#-- do not run introspective queries in parsing #}\n {% if not execute %}\n {{ return(False) }}\n {% else %}\n {% set relation = adapter.get_relation(this.database, this.schema, this.table) %}\n {{ return(relation is not none\n and relation.type == 'table'\n and model.config.materialized == 'incremental'\n and not should_full_refresh()) }}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.should_full_refresh"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7814798, "supported_languages": null}, "macro.dbt.get_merge_sql": {"name": "get_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/merge.sql", "original_file_path": "macros/materializations/models/incremental/merge.sql", "unique_id": "macro.dbt.get_merge_sql", "macro_sql": "{% macro get_merge_sql(target, source, unique_key, dest_columns, incremental_predicates=none) -%}\n -- back compat for old kwarg name\n {% set incremental_predicates = kwargs.get('predicates', incremental_predicates) %}\n {{ adapter.dispatch('get_merge_sql', 'dbt')(target, source, unique_key, dest_columns, incremental_predicates) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7893808, "supported_languages": null}, "macro.dbt.default__get_merge_sql": {"name": "default__get_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/merge.sql", "original_file_path": "macros/materializations/models/incremental/merge.sql", "unique_id": "macro.dbt.default__get_merge_sql", "macro_sql": "{% macro default__get_merge_sql(target, source, unique_key, dest_columns, incremental_predicates=none) -%}\n {%- set predicates = [] if incremental_predicates is none else [] + incremental_predicates -%}\n {%- set dest_cols_csv = get_quoted_csv(dest_columns | map(attribute=\"name\")) -%}\n {%- set merge_update_columns = config.get('merge_update_columns') -%}\n {%- set merge_exclude_columns = config.get('merge_exclude_columns') -%}\n {%- set update_columns = get_merge_update_columns(merge_update_columns, merge_exclude_columns, dest_columns) -%}\n {%- set sql_header = config.get('sql_header', none) -%}\n\n {% if unique_key %}\n {% if unique_key is sequence and unique_key is not mapping and unique_key is not string %}\n {% for key in unique_key %}\n {% set this_key_match %}\n DBT_INTERNAL_SOURCE.{{ key }} = DBT_INTERNAL_DEST.{{ key }}\n {% endset %}\n {% do predicates.append(this_key_match) %}\n {% endfor %}\n {% else %}\n {% set unique_key_match %}\n DBT_INTERNAL_SOURCE.{{ unique_key }} = DBT_INTERNAL_DEST.{{ unique_key }}\n {% endset %}\n {% do predicates.append(unique_key_match) %}\n {% endif %}\n {% else %}\n {% do predicates.append('FALSE') %}\n {% endif %}\n\n {{ sql_header if sql_header is not none }}\n\n merge into {{ target }} as DBT_INTERNAL_DEST\n using {{ source }} as DBT_INTERNAL_SOURCE\n on {{\"(\" ~ predicates | join(\") and (\") ~ \")\"}}\n\n {% if unique_key %}\n when matched then update set\n {% for column_name in update_columns -%}\n {{ column_name }} = DBT_INTERNAL_SOURCE.{{ column_name }}\n {%- if not loop.last %}, {%- endif %}\n {%- endfor %}\n {% endif %}\n\n when not matched then insert\n ({{ dest_cols_csv }})\n values\n ({{ dest_cols_csv }})\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_quoted_csv", "macro.dbt.get_merge_update_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7924998, "supported_languages": null}, "macro.dbt.get_delete_insert_merge_sql": {"name": "get_delete_insert_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/merge.sql", "original_file_path": "macros/materializations/models/incremental/merge.sql", "unique_id": "macro.dbt.get_delete_insert_merge_sql", "macro_sql": "{% macro get_delete_insert_merge_sql(target, source, unique_key, dest_columns, incremental_predicates) -%}\n {{ adapter.dispatch('get_delete_insert_merge_sql', 'dbt')(target, source, unique_key, dest_columns, incremental_predicates) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_delete_insert_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7930098, "supported_languages": null}, "macro.dbt.default__get_delete_insert_merge_sql": {"name": "default__get_delete_insert_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/merge.sql", "original_file_path": "macros/materializations/models/incremental/merge.sql", "unique_id": "macro.dbt.default__get_delete_insert_merge_sql", "macro_sql": "{% macro default__get_delete_insert_merge_sql(target, source, unique_key, dest_columns, incremental_predicates) -%}\n\n {%- set dest_cols_csv = get_quoted_csv(dest_columns | map(attribute=\"name\")) -%}\n\n {% if unique_key %}\n {% if unique_key is sequence and unique_key is not string %}\n delete from {{target }}\n using {{ source }}\n where (\n {% for key in unique_key %}\n {{ source }}.{{ key }} = {{ target }}.{{ key }}\n {{ \"and \" if not loop.last}}\n {% endfor %}\n {% if incremental_predicates %}\n {% for predicate in incremental_predicates %}\n and {{ predicate }}\n {% endfor %}\n {% endif %}\n );\n {% else %}\n delete from {{ target }}\n where (\n {{ unique_key }}) in (\n select ({{ unique_key }})\n from {{ source }}\n )\n {%- if incremental_predicates %}\n {% for predicate in incremental_predicates %}\n and {{ predicate }}\n {% endfor %}\n {%- endif -%};\n\n {% endif %}\n {% endif %}\n\n insert into {{ target }} ({{ dest_cols_csv }})\n (\n select {{ dest_cols_csv }}\n from {{ source }}\n )\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.get_quoted_csv"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7949548, "supported_languages": null}, "macro.dbt.get_insert_overwrite_merge_sql": {"name": "get_insert_overwrite_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/merge.sql", "original_file_path": "macros/materializations/models/incremental/merge.sql", "unique_id": "macro.dbt.get_insert_overwrite_merge_sql", "macro_sql": "{% macro get_insert_overwrite_merge_sql(target, source, dest_columns, predicates, include_sql_header=false) -%}\n {{ adapter.dispatch('get_insert_overwrite_merge_sql', 'dbt')(target, source, dest_columns, predicates, include_sql_header) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_insert_overwrite_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7954962, "supported_languages": null}, "macro.dbt.default__get_insert_overwrite_merge_sql": {"name": "default__get_insert_overwrite_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/merge.sql", "original_file_path": "macros/materializations/models/incremental/merge.sql", "unique_id": "macro.dbt.default__get_insert_overwrite_merge_sql", "macro_sql": "{% macro default__get_insert_overwrite_merge_sql(target, source, dest_columns, predicates, include_sql_header) -%}\n {#-- The only time include_sql_header is True: --#}\n {#-- BigQuery + insert_overwrite strategy + \"static\" partitions config --#}\n {#-- We should consider including the sql header at the materialization level instead --#}\n\n {%- set predicates = [] if predicates is none else [] + predicates -%}\n {%- set dest_cols_csv = get_quoted_csv(dest_columns | map(attribute=\"name\")) -%}\n {%- set sql_header = config.get('sql_header', none) -%}\n\n {{ sql_header if sql_header is not none and include_sql_header }}\n\n merge into {{ target }} as DBT_INTERNAL_DEST\n using {{ source }} as DBT_INTERNAL_SOURCE\n on FALSE\n\n when not matched by source\n {% if predicates %} and {{ predicates | join(' and ') }} {% endif %}\n then delete\n\n when not matched then insert\n ({{ dest_cols_csv }})\n values\n ({{ dest_cols_csv }})\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_quoted_csv"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.79674, "supported_languages": null}, "macro.dbt.get_incremental_append_sql": {"name": "get_incremental_append_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.get_incremental_append_sql", "macro_sql": "{% macro get_incremental_append_sql(arg_dict) %}\n\n {{ return(adapter.dispatch('get_incremental_append_sql', 'dbt')(arg_dict)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_incremental_append_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.79816, "supported_languages": null}, "macro.dbt.default__get_incremental_append_sql": {"name": "default__get_incremental_append_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.default__get_incremental_append_sql", "macro_sql": "{% macro default__get_incremental_append_sql(arg_dict) %}\n\n {% do return(get_insert_into_sql(arg_dict[\"target_relation\"], arg_dict[\"temp_relation\"], arg_dict[\"dest_columns\"])) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_insert_into_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.798619, "supported_languages": null}, "macro.dbt.get_incremental_delete_insert_sql": {"name": "get_incremental_delete_insert_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.get_incremental_delete_insert_sql", "macro_sql": "{% macro get_incremental_delete_insert_sql(arg_dict) %}\n\n {{ return(adapter.dispatch('get_incremental_delete_insert_sql', 'dbt')(arg_dict)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_incremental_delete_insert_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7989833, "supported_languages": null}, "macro.dbt.default__get_incremental_delete_insert_sql": {"name": "default__get_incremental_delete_insert_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.default__get_incremental_delete_insert_sql", "macro_sql": "{% macro default__get_incremental_delete_insert_sql(arg_dict) %}\n\n {% do return(get_delete_insert_merge_sql(arg_dict[\"target_relation\"], arg_dict[\"temp_relation\"], arg_dict[\"unique_key\"], arg_dict[\"dest_columns\"], arg_dict[\"incremental_predicates\"])) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_delete_insert_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.799598, "supported_languages": null}, "macro.dbt.get_incremental_merge_sql": {"name": "get_incremental_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.get_incremental_merge_sql", "macro_sql": "{% macro get_incremental_merge_sql(arg_dict) %}\n\n {{ return(adapter.dispatch('get_incremental_merge_sql', 'dbt')(arg_dict)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_incremental_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.7999682, "supported_languages": null}, "macro.dbt.default__get_incremental_merge_sql": {"name": "default__get_incremental_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.default__get_incremental_merge_sql", "macro_sql": "{% macro default__get_incremental_merge_sql(arg_dict) %}\n\n {% do return(get_merge_sql(arg_dict[\"target_relation\"], arg_dict[\"temp_relation\"], arg_dict[\"unique_key\"], arg_dict[\"dest_columns\"], arg_dict[\"incremental_predicates\"])) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.800537, "supported_languages": null}, "macro.dbt.get_incremental_insert_overwrite_sql": {"name": "get_incremental_insert_overwrite_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.get_incremental_insert_overwrite_sql", "macro_sql": "{% macro get_incremental_insert_overwrite_sql(arg_dict) %}\n\n {{ return(adapter.dispatch('get_incremental_insert_overwrite_sql', 'dbt')(arg_dict)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_incremental_insert_overwrite_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8009074, "supported_languages": null}, "macro.dbt.default__get_incremental_insert_overwrite_sql": {"name": "default__get_incremental_insert_overwrite_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.default__get_incremental_insert_overwrite_sql", "macro_sql": "{% macro default__get_incremental_insert_overwrite_sql(arg_dict) %}\n\n {% do return(get_insert_overwrite_merge_sql(arg_dict[\"target_relation\"], arg_dict[\"temp_relation\"], arg_dict[\"dest_columns\"], arg_dict[\"incremental_predicates\"])) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_insert_overwrite_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8014133, "supported_languages": null}, "macro.dbt.get_incremental_default_sql": {"name": "get_incremental_default_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.get_incremental_default_sql", "macro_sql": "{% macro get_incremental_default_sql(arg_dict) %}\n\n {{ return(adapter.dispatch('get_incremental_default_sql', 'dbt')(arg_dict)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_incremental_default_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8017735, "supported_languages": null}, "macro.dbt.default__get_incremental_default_sql": {"name": "default__get_incremental_default_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.default__get_incremental_default_sql", "macro_sql": "{% macro default__get_incremental_default_sql(arg_dict) %}\n\n {% do return(get_incremental_append_sql(arg_dict)) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_incremental_append_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8020718, "supported_languages": null}, "macro.dbt.get_insert_into_sql": {"name": "get_insert_into_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.get_insert_into_sql", "macro_sql": "{% macro get_insert_into_sql(target_relation, temp_relation, dest_columns) %}\n\n {%- set dest_cols_csv = get_quoted_csv(dest_columns | map(attribute=\"name\")) -%}\n\n insert into {{ target_relation }} ({{ dest_cols_csv }})\n (\n select {{ dest_cols_csv }}\n from {{ temp_relation }}\n )\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_quoted_csv"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.802731, "supported_languages": null}, "macro.dbt.materialization_seed_default": {"name": "materialization_seed_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/seed.sql", "original_file_path": "macros/materializations/seeds/seed.sql", "unique_id": "macro.dbt.materialization_seed_default", "macro_sql": "{% materialization seed, default %}\n\n {%- set identifier = model['alias'] -%}\n {%- set full_refresh_mode = (should_full_refresh()) -%}\n\n {%- set old_relation = adapter.get_relation(database=database, schema=schema, identifier=identifier) -%}\n\n {%- set exists_as_table = (old_relation is not none and old_relation.is_table) -%}\n {%- set exists_as_view = (old_relation is not none and old_relation.is_view) -%}\n\n {%- set grant_config = config.get('grants') -%}\n {%- set agate_table = load_agate_table() -%}\n -- grab current tables grants config for comparison later on\n\n {%- do store_result('agate_table', response='OK', agate_table=agate_table) -%}\n\n {{ run_hooks(pre_hooks, inside_transaction=False) }}\n\n -- `BEGIN` happens here:\n {{ run_hooks(pre_hooks, inside_transaction=True) }}\n\n -- build model\n {% set create_table_sql = \"\" %}\n {% if exists_as_view %}\n {{ exceptions.raise_compiler_error(\"Cannot seed to '{}', it is a view\".format(old_relation.render())) }}\n {% elif exists_as_table %}\n {% set create_table_sql = reset_csv_table(model, full_refresh_mode, old_relation, agate_table) %}\n {% else %}\n {% set create_table_sql = create_csv_table(model, agate_table) %}\n {% endif %}\n\n {% set code = 'CREATE' if full_refresh_mode else 'INSERT' %}\n {% set rows_affected = (agate_table.rows | length) %}\n {% set sql = load_csv_rows(model, agate_table) %}\n\n {% call noop_statement('main', code ~ ' ' ~ rows_affected, code, rows_affected) %}\n {{ get_csv_sql(create_table_sql, sql) }};\n {% endcall %}\n\n {% set target_relation = this.incorporate(type='table') %}\n\n {% set should_revoke = should_revoke(old_relation, full_refresh_mode) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n {% if full_refresh_mode or not exists_as_table %}\n {% do create_indexes(target_relation) %}\n {% endif %}\n\n {{ run_hooks(post_hooks, inside_transaction=True) }}\n\n -- `COMMIT` happens here\n {{ adapter.commit() }}\n\n {{ run_hooks(post_hooks, inside_transaction=False) }}\n\n {{ return({'relations': [target_relation]}) }}\n\n{% endmaterialization %}", "depends_on": {"macros": ["macro.dbt.should_full_refresh", "macro.dbt.run_hooks", "macro.dbt.reset_csv_table", "macro.dbt.create_csv_table", "macro.dbt.load_csv_rows", "macro.dbt.noop_statement", "macro.dbt.get_csv_sql", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs", "macro.dbt.create_indexes"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8083937, "supported_languages": ["sql"]}, "macro.dbt.create_csv_table": {"name": "create_csv_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.create_csv_table", "macro_sql": "{% macro create_csv_table(model, agate_table) -%}\n {{ adapter.dispatch('create_csv_table', 'dbt')(model, agate_table) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__create_csv_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8152428, "supported_languages": null}, "macro.dbt.default__create_csv_table": {"name": "default__create_csv_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.default__create_csv_table", "macro_sql": "{% macro default__create_csv_table(model, agate_table) %}\n {%- set column_override = model['config'].get('column_types', {}) -%}\n {%- set quote_seed_column = model['config'].get('quote_columns', None) -%}\n\n {% set sql %}\n create table {{ this.render() }} (\n {%- for col_name in agate_table.column_names -%}\n {%- set inferred_type = adapter.convert_type(agate_table, loop.index0) -%}\n {%- set type = column_override.get(col_name, inferred_type) -%}\n {%- set column_name = (col_name | string) -%}\n {{ adapter.quote_seed_column(column_name, quote_seed_column) }} {{ type }} {%- if not loop.last -%}, {%- endif -%}\n {%- endfor -%}\n )\n {% endset %}\n\n {% call statement('_') -%}\n {{ sql }}\n {%- endcall %}\n\n {{ return(sql) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8169737, "supported_languages": null}, "macro.dbt.reset_csv_table": {"name": "reset_csv_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.reset_csv_table", "macro_sql": "{% macro reset_csv_table(model, full_refresh, old_relation, agate_table) -%}\n {{ adapter.dispatch('reset_csv_table', 'dbt')(model, full_refresh, old_relation, agate_table) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__reset_csv_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.817429, "supported_languages": null}, "macro.dbt.default__reset_csv_table": {"name": "default__reset_csv_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.default__reset_csv_table", "macro_sql": "{% macro default__reset_csv_table(model, full_refresh, old_relation, agate_table) %}\n {% set sql = \"\" %}\n {% if full_refresh %}\n {{ adapter.drop_relation(old_relation) }}\n {% set sql = create_csv_table(model, agate_table) %}\n {% else %}\n {{ adapter.truncate_relation(old_relation) }}\n {% set sql = \"truncate table \" ~ old_relation.render() %}\n {% endif %}\n\n {{ return(sql) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.create_csv_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8183787, "supported_languages": null}, "macro.dbt.get_csv_sql": {"name": "get_csv_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.get_csv_sql", "macro_sql": "{% macro get_csv_sql(create_or_truncate_sql, insert_sql) %}\n {{ adapter.dispatch('get_csv_sql', 'dbt')(create_or_truncate_sql, insert_sql) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_csv_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8187518, "supported_languages": null}, "macro.dbt.default__get_csv_sql": {"name": "default__get_csv_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.default__get_csv_sql", "macro_sql": "{% macro default__get_csv_sql(create_or_truncate_sql, insert_sql) %}\n {{ create_or_truncate_sql }};\n -- dbt seed --\n {{ insert_sql }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8190272, "supported_languages": null}, "macro.dbt.get_binding_char": {"name": "get_binding_char", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.get_binding_char", "macro_sql": "{% macro get_binding_char() -%}\n {{ adapter.dispatch('get_binding_char', 'dbt')() }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_binding_char"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8193653, "supported_languages": null}, "macro.dbt.default__get_binding_char": {"name": "default__get_binding_char", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.default__get_binding_char", "macro_sql": "{% macro default__get_binding_char() %}\n {{ return('%s') }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8196173, "supported_languages": null}, "macro.dbt.get_batch_size": {"name": "get_batch_size", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.get_batch_size", "macro_sql": "{% macro get_batch_size() -%}\n {{ return(adapter.dispatch('get_batch_size', 'dbt')()) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_batch_size"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.819936, "supported_languages": null}, "macro.dbt.default__get_batch_size": {"name": "default__get_batch_size", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.default__get_batch_size", "macro_sql": "{% macro default__get_batch_size() %}\n {{ return(10000) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.820179, "supported_languages": null}, "macro.dbt.get_seed_column_quoted_csv": {"name": "get_seed_column_quoted_csv", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.get_seed_column_quoted_csv", "macro_sql": "{% macro get_seed_column_quoted_csv(model, column_names) %}\n {%- set quote_seed_column = model['config'].get('quote_columns', None) -%}\n {% set quoted = [] %}\n {% for col in column_names -%}\n {%- do quoted.append(adapter.quote_seed_column(col, quote_seed_column)) -%}\n {%- endfor %}\n\n {%- set dest_cols_csv = quoted | join(', ') -%}\n {{ return(dest_cols_csv) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8211207, "supported_languages": null}, "macro.dbt.load_csv_rows": {"name": "load_csv_rows", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.load_csv_rows", "macro_sql": "{% macro load_csv_rows(model, agate_table) -%}\n {{ adapter.dispatch('load_csv_rows', 'dbt')(model, agate_table) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__load_csv_rows"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8214839, "supported_languages": null}, "macro.dbt.default__load_csv_rows": {"name": "default__load_csv_rows", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.default__load_csv_rows", "macro_sql": "{% macro default__load_csv_rows(model, agate_table) %}\n\n {% set batch_size = get_batch_size() %}\n\n {% set cols_sql = get_seed_column_quoted_csv(model, agate_table.column_names) %}\n {% set bindings = [] %}\n\n {% set statements = [] %}\n\n {% for chunk in agate_table.rows | batch(batch_size) %}\n {% set bindings = [] %}\n\n {% for row in chunk %}\n {% do bindings.extend(row) %}\n {% endfor %}\n\n {% set sql %}\n insert into {{ this.render() }} ({{ cols_sql }}) values\n {% for row in chunk -%}\n ({%- for column in agate_table.column_names -%}\n {{ get_binding_char() }}\n {%- if not loop.last%},{%- endif %}\n {%- endfor -%})\n {%- if not loop.last%},{%- endif %}\n {%- endfor %}\n {% endset %}\n\n {% do adapter.add_query(sql, bindings=bindings, abridge_sql_log=True) %}\n\n {% if loop.index0 == 0 %}\n {% do statements.append(sql) %}\n {% endif %}\n {% endfor %}\n\n {# Return SQL so we can render it out into the compiled files #}\n {{ return(statements[0]) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_batch_size", "macro.dbt.get_seed_column_quoted_csv", "macro.dbt.get_binding_char"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8239644, "supported_languages": null}, "macro.dbt.resolve_model_name": {"name": "resolve_model_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.resolve_model_name", "macro_sql": "{% macro resolve_model_name(input_model_name) %}\n {{ return(adapter.dispatch('resolve_model_name', 'dbt')(input_model_name)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__resolve_model_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8264244, "supported_languages": null}, "macro.dbt.default__resolve_model_name": {"name": "default__resolve_model_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.default__resolve_model_name", "macro_sql": "\n\n{%- macro default__resolve_model_name(input_model_name) -%}\n {{ input_model_name | string | replace('\"', '\\\"') }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8267372, "supported_languages": null}, "macro.dbt.build_ref_function": {"name": "build_ref_function", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.build_ref_function", "macro_sql": "{% macro build_ref_function(model) %}\n\n {%- set ref_dict = {} -%}\n {%- for _ref in model.refs -%}\n {% set _ref_args = [_ref.get('package'), _ref['name']] if _ref.get('package') else [_ref['name'],] %}\n {%- set resolved = ref(*_ref_args, v=_ref.get('version')) -%}\n {%- if _ref.get('version') -%}\n {% do _ref_args.extend([\"v\" ~ _ref['version']]) %}\n {%- endif -%}\n {%- do ref_dict.update({_ref_args | join('.'): resolve_model_name(resolved)}) -%}\n {%- endfor -%}\n\ndef ref(*args, **kwargs):\n refs = {{ ref_dict | tojson }}\n key = '.'.join(args)\n version = kwargs.get(\"v\") or kwargs.get(\"version\")\n if version:\n key += f\".v{version}\"\n dbt_load_df_function = kwargs.get(\"dbt_load_df_function\")\n return dbt_load_df_function(refs[key])\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.resolve_model_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.828313, "supported_languages": null}, "macro.dbt.build_source_function": {"name": "build_source_function", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.build_source_function", "macro_sql": "{% macro build_source_function(model) %}\n\n {%- set source_dict = {} -%}\n {%- for _source in model.sources -%}\n {%- set resolved = source(*_source) -%}\n {%- do source_dict.update({_source | join('.'): resolve_model_name(resolved)}) -%}\n {%- endfor -%}\n\ndef source(*args, dbt_load_df_function):\n sources = {{ source_dict | tojson }}\n key = '.'.join(args)\n return dbt_load_df_function(sources[key])\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.resolve_model_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8290968, "supported_languages": null}, "macro.dbt.build_config_dict": {"name": "build_config_dict", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.build_config_dict", "macro_sql": "{% macro build_config_dict(model) %}\n {%- set config_dict = {} -%}\n {% set config_dbt_used = zip(model.config.config_keys_used, model.config.config_keys_defaults) | list %}\n {%- for key, default in config_dbt_used -%}\n {# weird type testing with enum, would be much easier to write this logic in Python! #}\n {%- if key == \"language\" -%}\n {%- set value = \"python\" -%}\n {%- endif -%}\n {%- set value = model.config.get(key, default) -%}\n {%- do config_dict.update({key: value}) -%}\n {%- endfor -%}\nconfig_dict = {{ config_dict }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.830202, "supported_languages": null}, "macro.dbt.py_script_postfix": {"name": "py_script_postfix", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.py_script_postfix", "macro_sql": "{% macro py_script_postfix(model) %}\n# This part is user provided model code\n# you will need to copy the next section to run the code\n# COMMAND ----------\n# this part is dbt logic for get ref work, do not modify\n\n{{ build_ref_function(model ) }}\n{{ build_source_function(model ) }}\n{{ build_config_dict(model) }}\n\nclass config:\n def __init__(self, *args, **kwargs):\n pass\n\n @staticmethod\n def get(key, default=None):\n return config_dict.get(key, default)\n\nclass this:\n \"\"\"dbt.this() or dbt.this.identifier\"\"\"\n database = \"{{ this.database }}\"\n schema = \"{{ this.schema }}\"\n identifier = \"{{ this.identifier }}\"\n {% set this_relation_name = resolve_model_name(this) %}\n def __repr__(self):\n return '{{ this_relation_name }}'\n\n\nclass dbtObj:\n def __init__(self, load_df_function) -> None:\n self.source = lambda *args: source(*args, dbt_load_df_function=load_df_function)\n self.ref = lambda *args, **kwargs: ref(*args, **kwargs, dbt_load_df_function=load_df_function)\n self.config = config\n self.this = this()\n self.is_incremental = {{ is_incremental() }}\n\n# COMMAND ----------\n{{py_script_comment()}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.build_ref_function", "macro.dbt.build_source_function", "macro.dbt.build_config_dict", "macro.dbt.resolve_model_name", "macro.dbt.is_incremental", "macro.dbt.py_script_comment"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8311243, "supported_languages": null}, "macro.dbt.py_script_comment": {"name": "py_script_comment", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.py_script_comment", "macro_sql": "{%macro py_script_comment()%}\n{%endmacro%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8312836, "supported_languages": null}, "macro.dbt.copy_grants": {"name": "copy_grants", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.copy_grants", "macro_sql": "{% macro copy_grants() %}\n {{ return(adapter.dispatch('copy_grants', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__copy_grants"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8339298, "supported_languages": null}, "macro.dbt.default__copy_grants": {"name": "default__copy_grants", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__copy_grants", "macro_sql": "{% macro default__copy_grants() %}\n {{ return(True) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8341703, "supported_languages": null}, "macro.dbt.support_multiple_grantees_per_dcl_statement": {"name": "support_multiple_grantees_per_dcl_statement", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.support_multiple_grantees_per_dcl_statement", "macro_sql": "{% macro support_multiple_grantees_per_dcl_statement() %}\n {{ return(adapter.dispatch('support_multiple_grantees_per_dcl_statement', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__support_multiple_grantees_per_dcl_statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8345013, "supported_languages": null}, "macro.dbt.default__support_multiple_grantees_per_dcl_statement": {"name": "default__support_multiple_grantees_per_dcl_statement", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__support_multiple_grantees_per_dcl_statement", "macro_sql": "\n\n{%- macro default__support_multiple_grantees_per_dcl_statement() -%}\n {{ return(True) }}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8347275, "supported_languages": null}, "macro.dbt.should_revoke": {"name": "should_revoke", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.should_revoke", "macro_sql": "{% macro should_revoke(existing_relation, full_refresh_mode=True) %}\n\n {% if not existing_relation %}\n {#-- The table doesn't already exist, so no grants to copy over --#}\n {{ return(False) }}\n {% elif full_refresh_mode %}\n {#-- The object is being REPLACED -- whether grants are copied over depends on the value of user config --#}\n {{ return(copy_grants()) }}\n {% else %}\n {#-- The table is being merged/upserted/inserted -- grants will be carried over --#}\n {{ return(True) }}\n {% endif %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.copy_grants"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8354278, "supported_languages": null}, "macro.dbt.get_show_grant_sql": {"name": "get_show_grant_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.get_show_grant_sql", "macro_sql": "{% macro get_show_grant_sql(relation) %}\n {{ return(adapter.dispatch(\"get_show_grant_sql\", \"dbt\")(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_show_grant_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.835797, "supported_languages": null}, "macro.dbt.default__get_show_grant_sql": {"name": "default__get_show_grant_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__get_show_grant_sql", "macro_sql": "{% macro default__get_show_grant_sql(relation) %}\n show grants on {{ relation.render() }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8360455, "supported_languages": null}, "macro.dbt.get_grant_sql": {"name": "get_grant_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.get_grant_sql", "macro_sql": "{% macro get_grant_sql(relation, privilege, grantees) %}\n {{ return(adapter.dispatch('get_grant_sql', 'dbt')(relation, privilege, grantees)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_grant_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8364832, "supported_languages": null}, "macro.dbt.default__get_grant_sql": {"name": "default__get_grant_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__get_grant_sql", "macro_sql": "\n\n{%- macro default__get_grant_sql(relation, privilege, grantees) -%}\n grant {{ privilege }} on {{ relation.render() }} to {{ grantees | join(', ') }}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8368876, "supported_languages": null}, "macro.dbt.get_revoke_sql": {"name": "get_revoke_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.get_revoke_sql", "macro_sql": "{% macro get_revoke_sql(relation, privilege, grantees) %}\n {{ return(adapter.dispatch('get_revoke_sql', 'dbt')(relation, privilege, grantees)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_revoke_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.837333, "supported_languages": null}, "macro.dbt.default__get_revoke_sql": {"name": "default__get_revoke_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__get_revoke_sql", "macro_sql": "\n\n{%- macro default__get_revoke_sql(relation, privilege, grantees) -%}\n revoke {{ privilege }} on {{ relation.render() }} from {{ grantees | join(', ') }}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8378537, "supported_languages": null}, "macro.dbt.get_dcl_statement_list": {"name": "get_dcl_statement_list", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.get_dcl_statement_list", "macro_sql": "{% macro get_dcl_statement_list(relation, grant_config, get_dcl_macro) %}\n {{ return(adapter.dispatch('get_dcl_statement_list', 'dbt')(relation, grant_config, get_dcl_macro)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_dcl_statement_list"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8384163, "supported_languages": null}, "macro.dbt.default__get_dcl_statement_list": {"name": "default__get_dcl_statement_list", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__get_dcl_statement_list", "macro_sql": "\n\n{%- macro default__get_dcl_statement_list(relation, grant_config, get_dcl_macro) -%}\n {#\n -- Unpack grant_config into specific privileges and the set of users who need them granted/revoked.\n -- Depending on whether this database supports multiple grantees per statement, pass in the list of\n -- all grantees per privilege, or (if not) template one statement per privilege-grantee pair.\n -- `get_dcl_macro` will be either `get_grant_sql` or `get_revoke_sql`\n #}\n {%- set dcl_statements = [] -%}\n {%- for privilege, grantees in grant_config.items() %}\n {%- if support_multiple_grantees_per_dcl_statement() and grantees -%}\n {%- set dcl = get_dcl_macro(relation, privilege, grantees) -%}\n {%- do dcl_statements.append(dcl) -%}\n {%- else -%}\n {%- for grantee in grantees -%}\n {% set dcl = get_dcl_macro(relation, privilege, [grantee]) %}\n {%- do dcl_statements.append(dcl) -%}\n {% endfor -%}\n {%- endif -%}\n {%- endfor -%}\n {{ return(dcl_statements) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.support_multiple_grantees_per_dcl_statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.841246, "supported_languages": null}, "macro.dbt.call_dcl_statements": {"name": "call_dcl_statements", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.call_dcl_statements", "macro_sql": "{% macro call_dcl_statements(dcl_statement_list) %}\n {{ return(adapter.dispatch(\"call_dcl_statements\", \"dbt\")(dcl_statement_list)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__call_dcl_statements"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8420837, "supported_languages": null}, "macro.dbt.default__call_dcl_statements": {"name": "default__call_dcl_statements", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__call_dcl_statements", "macro_sql": "{% macro default__call_dcl_statements(dcl_statement_list) %}\n {#\n -- By default, supply all grant + revoke statements in a single semicolon-separated block,\n -- so that they're all processed together.\n\n -- Some databases do not support this. Those adapters will need to override this macro\n -- to run each statement individually.\n #}\n {% call statement('grants') %}\n {% for dcl_statement in dcl_statement_list %}\n {{ dcl_statement }};\n {% endfor %}\n {% endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8434525, "supported_languages": null}, "macro.dbt.apply_grants": {"name": "apply_grants", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.apply_grants", "macro_sql": "{% macro apply_grants(relation, grant_config, should_revoke) %}\n {{ return(adapter.dispatch(\"apply_grants\", \"dbt\")(relation, grant_config, should_revoke)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__apply_grants"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8445315, "supported_languages": null}, "macro.dbt.default__apply_grants": {"name": "default__apply_grants", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__apply_grants", "macro_sql": "{% macro default__apply_grants(relation, grant_config, should_revoke=True) %}\n {#-- If grant_config is {} or None, this is a no-op --#}\n {% if grant_config %}\n {% if should_revoke %}\n {#-- We think previous grants may have carried over --#}\n {#-- Show current grants and calculate diffs --#}\n {% set current_grants_table = run_query(get_show_grant_sql(relation)) %}\n {% set current_grants_dict = adapter.standardize_grants_dict(current_grants_table) %}\n {% set needs_granting = diff_of_two_dicts(grant_config, current_grants_dict) %}\n {% set needs_revoking = diff_of_two_dicts(current_grants_dict, grant_config) %}\n {% if not (needs_granting or needs_revoking) %}\n {{ log('On ' ~ relation.render() ~': All grants are in place, no revocation or granting needed.')}}\n {% endif %}\n {% else %}\n {#-- We don't think there's any chance of previous grants having carried over. --#}\n {#-- Jump straight to granting what the user has configured. --#}\n {% set needs_revoking = {} %}\n {% set needs_granting = grant_config %}\n {% endif %}\n {% if needs_granting or needs_revoking %}\n {% set revoke_statement_list = get_dcl_statement_list(relation, needs_revoking, get_revoke_sql) %}\n {% set grant_statement_list = get_dcl_statement_list(relation, needs_granting, get_grant_sql) %}\n {% set dcl_statement_list = revoke_statement_list + grant_statement_list %}\n {% if dcl_statement_list %}\n {{ call_dcl_statements(dcl_statement_list) }}\n {% endif %}\n {% endif %}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query", "macro.dbt.get_show_grant_sql", "macro.dbt.get_dcl_statement_list", "macro.dbt.call_dcl_statements"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8495648, "supported_languages": null}, "macro.dbt.get_catalog_relations": {"name": "get_catalog_relations", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.get_catalog_relations", "macro_sql": "{% macro get_catalog_relations(information_schema, relations) -%}\n {{ return(adapter.dispatch('get_catalog_relations', 'dbt')(information_schema, relations)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_catalog_relations"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.862148, "supported_languages": null}, "macro.dbt.default__get_catalog_relations": {"name": "default__get_catalog_relations", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__get_catalog_relations", "macro_sql": "{% macro default__get_catalog_relations(information_schema, relations) -%}\n {% set typename = adapter.type() %}\n {% set msg -%}\n get_catalog_relations not implemented for {{ typename }}\n {%- endset %}\n\n {{ exceptions.raise_compiler_error(msg) }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8627458, "supported_languages": null}, "macro.dbt.get_catalog": {"name": "get_catalog", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.get_catalog", "macro_sql": "{% macro get_catalog(information_schema, schemas) -%}\n {{ return(adapter.dispatch('get_catalog', 'dbt')(information_schema, schemas)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_catalog"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8635437, "supported_languages": null}, "macro.dbt.default__get_catalog": {"name": "default__get_catalog", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__get_catalog", "macro_sql": "{% macro default__get_catalog(information_schema, schemas) -%}\n\n {% set typename = adapter.type() %}\n {% set msg -%}\n get_catalog not implemented for {{ typename }}\n {%- endset %}\n\n {{ exceptions.raise_compiler_error(msg) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8643565, "supported_languages": null}, "macro.dbt.information_schema_name": {"name": "information_schema_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.information_schema_name", "macro_sql": "{% macro information_schema_name(database) %}\n {{ return(adapter.dispatch('information_schema_name', 'dbt')(database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__information_schema_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8649287, "supported_languages": null}, "macro.dbt.default__information_schema_name": {"name": "default__information_schema_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__information_schema_name", "macro_sql": "{% macro default__information_schema_name(database) -%}\n {%- if database -%}\n {{ database }}.INFORMATION_SCHEMA\n {%- else -%}\n INFORMATION_SCHEMA\n {%- endif -%}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8654394, "supported_languages": null}, "macro.dbt.list_schemas": {"name": "list_schemas", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.list_schemas", "macro_sql": "{% macro list_schemas(database) -%}\n {{ return(adapter.dispatch('list_schemas', 'dbt')(database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__list_schemas"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.866, "supported_languages": null}, "macro.dbt.default__list_schemas": {"name": "default__list_schemas", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__list_schemas", "macro_sql": "{% macro default__list_schemas(database) -%}\n {% set sql %}\n select distinct schema_name\n from {{ information_schema_name(database) }}.SCHEMATA\n where catalog_name ilike '{{ database }}'\n {% endset %}\n {{ return(run_query(sql)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.information_schema_name", "macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8667262, "supported_languages": null}, "macro.dbt.check_schema_exists": {"name": "check_schema_exists", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.check_schema_exists", "macro_sql": "{% macro check_schema_exists(information_schema, schema) -%}\n {{ return(adapter.dispatch('check_schema_exists', 'dbt')(information_schema, schema)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__check_schema_exists"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.867561, "supported_languages": null}, "macro.dbt.default__check_schema_exists": {"name": "default__check_schema_exists", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__check_schema_exists", "macro_sql": "{% macro default__check_schema_exists(information_schema, schema) -%}\n {% set sql -%}\n select count(*)\n from {{ information_schema.replace(information_schema_view='SCHEMATA') }}\n where catalog_name='{{ information_schema.database }}'\n and schema_name='{{ schema }}'\n {%- endset %}\n {{ return(run_query(sql)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.replace", "macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8685565, "supported_languages": null}, "macro.dbt.list_relations_without_caching": {"name": "list_relations_without_caching", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.list_relations_without_caching", "macro_sql": "{% macro list_relations_without_caching(schema_relation) %}\n {{ return(adapter.dispatch('list_relations_without_caching', 'dbt')(schema_relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__list_relations_without_caching"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.869174, "supported_languages": null}, "macro.dbt.default__list_relations_without_caching": {"name": "default__list_relations_without_caching", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__list_relations_without_caching", "macro_sql": "{% macro default__list_relations_without_caching(schema_relation) %}\n {{ exceptions.raise_not_implemented(\n 'list_relations_without_caching macro not implemented for adapter '+adapter.type()) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.869699, "supported_languages": null}, "macro.dbt.get_catalog_for_single_relation": {"name": "get_catalog_for_single_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.get_catalog_for_single_relation", "macro_sql": "{% macro get_catalog_for_single_relation(relation) %}\n {{ return(adapter.dispatch('get_catalog_for_single_relation', 'dbt')(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_catalog_for_single_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.870521, "supported_languages": null}, "macro.dbt.default__get_catalog_for_single_relation": {"name": "default__get_catalog_for_single_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__get_catalog_for_single_relation", "macro_sql": "{% macro default__get_catalog_for_single_relation(relation) %}\n {{ exceptions.raise_not_implemented(\n 'get_catalog_for_single_relation macro not implemented for adapter '+adapter.type()) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8710415, "supported_languages": null}, "macro.dbt.get_relations": {"name": "get_relations", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.get_relations", "macro_sql": "{% macro get_relations() %}\n {{ return(adapter.dispatch('get_relations', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_relations"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8715382, "supported_languages": null}, "macro.dbt.default__get_relations": {"name": "default__get_relations", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__get_relations", "macro_sql": "{% macro default__get_relations() %}\n {{ exceptions.raise_not_implemented(\n 'get_relations macro not implemented for adapter '+adapter.type()) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8719718, "supported_languages": null}, "macro.dbt.get_relation_last_modified": {"name": "get_relation_last_modified", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.get_relation_last_modified", "macro_sql": "{% macro get_relation_last_modified(information_schema, relations) %}\n {{ return(adapter.dispatch('get_relation_last_modified', 'dbt')(information_schema, relations)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_relation_last_modified"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8725598, "supported_languages": null}, "macro.dbt.default__get_relation_last_modified": {"name": "default__get_relation_last_modified", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__get_relation_last_modified", "macro_sql": "{% macro default__get_relation_last_modified(information_schema, relations) %}\n {{ exceptions.raise_not_implemented(\n 'get_relation_last_modified macro not implemented for adapter ' + adapter.type()) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8730733, "supported_languages": null}, "macro.dbt.alter_column_comment": {"name": "alter_column_comment", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/persist_docs.sql", "original_file_path": "macros/adapters/persist_docs.sql", "unique_id": "macro.dbt.alter_column_comment", "macro_sql": "{% macro alter_column_comment(relation, column_dict) -%}\n {{ return(adapter.dispatch('alter_column_comment', 'dbt')(relation, column_dict)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__alter_column_comment"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8749354, "supported_languages": null}, "macro.dbt.default__alter_column_comment": {"name": "default__alter_column_comment", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/persist_docs.sql", "original_file_path": "macros/adapters/persist_docs.sql", "unique_id": "macro.dbt.default__alter_column_comment", "macro_sql": "{% macro default__alter_column_comment(relation, column_dict) -%}\n {{ exceptions.raise_not_implemented(\n 'alter_column_comment macro not implemented for adapter '+adapter.type()) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8754787, "supported_languages": null}, "macro.dbt.alter_relation_comment": {"name": "alter_relation_comment", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/persist_docs.sql", "original_file_path": "macros/adapters/persist_docs.sql", "unique_id": "macro.dbt.alter_relation_comment", "macro_sql": "{% macro alter_relation_comment(relation, relation_comment) -%}\n {{ return(adapter.dispatch('alter_relation_comment', 'dbt')(relation, relation_comment)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__alter_relation_comment"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8760746, "supported_languages": null}, "macro.dbt.default__alter_relation_comment": {"name": "default__alter_relation_comment", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/persist_docs.sql", "original_file_path": "macros/adapters/persist_docs.sql", "unique_id": "macro.dbt.default__alter_relation_comment", "macro_sql": "{% macro default__alter_relation_comment(relation, relation_comment) -%}\n {{ exceptions.raise_not_implemented(\n 'alter_relation_comment macro not implemented for adapter '+adapter.type()) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8765993, "supported_languages": null}, "macro.dbt.persist_docs": {"name": "persist_docs", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/persist_docs.sql", "original_file_path": "macros/adapters/persist_docs.sql", "unique_id": "macro.dbt.persist_docs", "macro_sql": "{% macro persist_docs(relation, model, for_relation=true, for_columns=true) -%}\n {{ return(adapter.dispatch('persist_docs', 'dbt')(relation, model, for_relation, for_columns)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__persist_docs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.877499, "supported_languages": null}, "macro.dbt.default__persist_docs": {"name": "default__persist_docs", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/persist_docs.sql", "original_file_path": "macros/adapters/persist_docs.sql", "unique_id": "macro.dbt.default__persist_docs", "macro_sql": "{% macro default__persist_docs(relation, model, for_relation, for_columns) -%}\n {% if for_relation and config.persist_relation_docs() and model.description %}\n {% do run_query(alter_relation_comment(relation, model.description)) %}\n {% endif %}\n\n {% if for_columns and config.persist_column_docs() and model.columns %}\n {% do run_query(alter_column_comment(relation, model.columns)) %}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query", "macro.dbt.alter_relation_comment", "macro.dbt.alter_column_comment"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8789165, "supported_languages": null}, "macro.dbt.validate_sql": {"name": "validate_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/validate_sql.sql", "original_file_path": "macros/adapters/validate_sql.sql", "unique_id": "macro.dbt.validate_sql", "macro_sql": "{% macro validate_sql(sql) -%}\n {{ return(adapter.dispatch('validate_sql', 'dbt')(sql)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__validate_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8797252, "supported_languages": null}, "macro.dbt.default__validate_sql": {"name": "default__validate_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/validate_sql.sql", "original_file_path": "macros/adapters/validate_sql.sql", "unique_id": "macro.dbt.default__validate_sql", "macro_sql": "{% macro default__validate_sql(sql) -%}\n {% call statement('validate_sql') -%}\n explain {{ sql }}\n {% endcall %}\n {{ return(load_result('validate_sql')) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8804944, "supported_languages": null}, "macro.dbt.get_show_sql": {"name": "get_show_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/show.sql", "original_file_path": "macros/adapters/show.sql", "unique_id": "macro.dbt.get_show_sql", "macro_sql": "{% macro get_show_sql(compiled_code, sql_header, limit) -%}\n {%- if sql_header is not none -%}\n {{ sql_header }}\n {%- endif %}\n {{ get_limit_subquery_sql(compiled_code, limit) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_limit_subquery_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8819222, "supported_languages": null}, "macro.dbt.get_limit_subquery_sql": {"name": "get_limit_subquery_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/show.sql", "original_file_path": "macros/adapters/show.sql", "unique_id": "macro.dbt.get_limit_subquery_sql", "macro_sql": "\n{%- macro get_limit_subquery_sql(sql, limit) -%}\n {{ adapter.dispatch('get_limit_sql', 'dbt')(sql, limit) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__get_limit_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8825564, "supported_languages": null}, "macro.dbt.default__get_limit_sql": {"name": "default__get_limit_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/show.sql", "original_file_path": "macros/adapters/show.sql", "unique_id": "macro.dbt.default__get_limit_sql", "macro_sql": "{% macro default__get_limit_sql(sql, limit) %}\n {{ compiled_code }}\n {% if limit is not none %}\n limit {{ limit }}\n {%- endif -%}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.883264, "supported_languages": null}, "macro.dbt.create_schema": {"name": "create_schema", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/schema.sql", "original_file_path": "macros/adapters/schema.sql", "unique_id": "macro.dbt.create_schema", "macro_sql": "{% macro create_schema(relation) -%}\n {{ adapter.dispatch('create_schema', 'dbt')(relation) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__create_schema"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8842788, "supported_languages": null}, "macro.dbt.default__create_schema": {"name": "default__create_schema", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/schema.sql", "original_file_path": "macros/adapters/schema.sql", "unique_id": "macro.dbt.default__create_schema", "macro_sql": "{% macro default__create_schema(relation) -%}\n {%- call statement('create_schema') -%}\n create schema if not exists {{ relation.without_identifier() }}\n {% endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8848548, "supported_languages": null}, "macro.dbt.drop_schema": {"name": "drop_schema", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/schema.sql", "original_file_path": "macros/adapters/schema.sql", "unique_id": "macro.dbt.drop_schema", "macro_sql": "{% macro drop_schema(relation) -%}\n {{ adapter.dispatch('drop_schema', 'dbt')(relation) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__drop_schema"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8853424, "supported_languages": null}, "macro.dbt.default__drop_schema": {"name": "default__drop_schema", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/schema.sql", "original_file_path": "macros/adapters/schema.sql", "unique_id": "macro.dbt.default__drop_schema", "macro_sql": "{% macro default__drop_schema(relation) -%}\n {%- call statement('drop_schema') -%}\n drop schema if exists {{ relation.without_identifier() }} cascade\n {% endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8860188, "supported_languages": null}, "macro.dbt.get_columns_in_relation": {"name": "get_columns_in_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.get_columns_in_relation", "macro_sql": "{% macro get_columns_in_relation(relation) -%}\n {{ return(adapter.dispatch('get_columns_in_relation', 'dbt')(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_columns_in_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8914254, "supported_languages": null}, "macro.dbt.default__get_columns_in_relation": {"name": "default__get_columns_in_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.default__get_columns_in_relation", "macro_sql": "{% macro default__get_columns_in_relation(relation) -%}\n {{ exceptions.raise_not_implemented(\n 'get_columns_in_relation macro not implemented for adapter '+adapter.type()) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8919444, "supported_languages": null}, "macro.dbt.sql_convert_columns_in_relation": {"name": "sql_convert_columns_in_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.sql_convert_columns_in_relation", "macro_sql": "{% macro sql_convert_columns_in_relation(table) -%}\n {% set columns = [] %}\n {% for row in table %}\n {% do columns.append(api.Column(*row)) %}\n {% endfor %}\n {{ return(columns) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.892827, "supported_languages": null}, "macro.dbt.get_empty_subquery_sql": {"name": "get_empty_subquery_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.get_empty_subquery_sql", "macro_sql": "{% macro get_empty_subquery_sql(select_sql, select_sql_header=none) -%}\n {{ return(adapter.dispatch('get_empty_subquery_sql', 'dbt')(select_sql, select_sql_header)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_empty_subquery_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8934472, "supported_languages": null}, "macro.dbt.default__get_empty_subquery_sql": {"name": "default__get_empty_subquery_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.default__get_empty_subquery_sql", "macro_sql": "{% macro default__get_empty_subquery_sql(select_sql, select_sql_header=none) %}\n {%- if select_sql_header is not none -%}\n {{ select_sql_header }}\n {%- endif -%}\n select * from (\n {{ select_sql }}\n ) as __dbt_sbq\n where false\n limit 0\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8940454, "supported_languages": null}, "macro.dbt.get_empty_schema_sql": {"name": "get_empty_schema_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.get_empty_schema_sql", "macro_sql": "{% macro get_empty_schema_sql(columns) -%}\n {{ return(adapter.dispatch('get_empty_schema_sql', 'dbt')(columns)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_empty_schema_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8945816, "supported_languages": null}, "macro.dbt.default__get_empty_schema_sql": {"name": "default__get_empty_schema_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.default__get_empty_schema_sql", "macro_sql": "{% macro default__get_empty_schema_sql(columns) %}\n {%- set col_err = [] -%}\n {%- set col_naked_numeric = [] -%}\n select\n {% for i in columns %}\n {%- set col = columns[i] -%}\n {%- if col['data_type'] is not defined -%}\n {%- do col_err.append(col['name']) -%}\n {#-- If this column's type is just 'numeric' then it is missing precision/scale, raise a warning --#}\n {%- elif col['data_type'].strip().lower() in ('numeric', 'decimal', 'number') -%}\n {%- do col_naked_numeric.append(col['name']) -%}\n {%- endif -%}\n {% set col_name = adapter.quote(col['name']) if col.get('quote') else col['name'] %}\n {{ cast('null', col['data_type']) }} as {{ col_name }}{{ \", \" if not loop.last }}\n {%- endfor -%}\n {%- if (col_err | length) > 0 -%}\n {{ exceptions.column_type_missing(column_names=col_err) }}\n {%- elif (col_naked_numeric | length) > 0 -%}\n {{ exceptions.warn(\"Detected columns with numeric type and unspecified precision/scale, this can lead to unintended rounding: \" ~ col_naked_numeric ~ \"`\") }}\n {%- endif -%}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.cast"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8979235, "supported_languages": null}, "macro.dbt.get_column_schema_from_query": {"name": "get_column_schema_from_query", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.get_column_schema_from_query", "macro_sql": "{% macro get_column_schema_from_query(select_sql, select_sql_header=none) -%}\n {% set columns = [] %}\n {# -- Using an 'empty subquery' here to get the same schema as the given select_sql statement, without necessitating a data scan.#}\n {% set sql = get_empty_subquery_sql(select_sql, select_sql_header) %}\n {% set column_schema = adapter.get_column_schema_from_query(sql) %}\n {{ return(column_schema) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_empty_subquery_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.898909, "supported_languages": null}, "macro.dbt.get_columns_in_query": {"name": "get_columns_in_query", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.get_columns_in_query", "macro_sql": "{% macro get_columns_in_query(select_sql) -%}\n {{ return(adapter.dispatch('get_columns_in_query', 'dbt')(select_sql)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_columns_in_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.8994956, "supported_languages": null}, "macro.dbt.default__get_columns_in_query": {"name": "default__get_columns_in_query", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.default__get_columns_in_query", "macro_sql": "{% macro default__get_columns_in_query(select_sql) %}\n {% call statement('get_columns_in_query', fetch_result=True, auto_begin=False) -%}\n {{ get_empty_subquery_sql(select_sql) }}\n {% endcall %}\n {{ return(load_result('get_columns_in_query').table.columns | map(attribute='name') | list) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt.get_empty_subquery_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9004977, "supported_languages": null}, "macro.dbt.alter_column_type": {"name": "alter_column_type", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.alter_column_type", "macro_sql": "{% macro alter_column_type(relation, column_name, new_column_type) -%}\n {{ return(adapter.dispatch('alter_column_type', 'dbt')(relation, column_name, new_column_type)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__alter_column_type"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.901255, "supported_languages": null}, "macro.dbt.default__alter_column_type": {"name": "default__alter_column_type", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.default__alter_column_type", "macro_sql": "{% macro default__alter_column_type(relation, column_name, new_column_type) -%}\n {#\n 1. Create a new column (w/ temp name and correct type)\n 2. Copy data over to it\n 3. Drop the existing column (cascade!)\n 4. Rename the new column to existing column\n #}\n {%- set tmp_column = column_name + \"__dbt_alter\" -%}\n\n {% call statement('alter_column_type') %}\n alter table {{ relation.render() }} add column {{ adapter.quote(tmp_column) }} {{ new_column_type }};\n update {{ relation.render() }} set {{ adapter.quote(tmp_column) }} = {{ adapter.quote(column_name) }};\n alter table {{ relation.render() }} drop column {{ adapter.quote(column_name) }} cascade;\n alter table {{ relation.render() }} rename column {{ adapter.quote(tmp_column) }} to {{ adapter.quote(column_name) }}\n {% endcall %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9031417, "supported_languages": null}, "macro.dbt.alter_relation_add_remove_columns": {"name": "alter_relation_add_remove_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.alter_relation_add_remove_columns", "macro_sql": "{% macro alter_relation_add_remove_columns(relation, add_columns = none, remove_columns = none) -%}\n {{ return(adapter.dispatch('alter_relation_add_remove_columns', 'dbt')(relation, add_columns, remove_columns)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__alter_relation_add_remove_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9039073, "supported_languages": null}, "macro.dbt.default__alter_relation_add_remove_columns": {"name": "default__alter_relation_add_remove_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.default__alter_relation_add_remove_columns", "macro_sql": "{% macro default__alter_relation_add_remove_columns(relation, add_columns, remove_columns) %}\n\n {% if add_columns is none %}\n {% set add_columns = [] %}\n {% endif %}\n {% if remove_columns is none %}\n {% set remove_columns = [] %}\n {% endif %}\n\n {% set sql -%}\n\n alter {{ relation.type }} {{ relation.render() }}\n\n {% for column in add_columns %}\n add column {{ column.name }} {{ column.data_type }}{{ ',' if not loop.last }}\n {% endfor %}{{ ',' if add_columns and remove_columns }}\n\n {% for column in remove_columns %}\n drop column {{ column.name }}{{ ',' if not loop.last }}\n {% endfor %}\n\n {%- endset -%}\n\n {% do run_query(sql) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9063528, "supported_languages": null}, "macro.dbt.get_create_index_sql": {"name": "get_create_index_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/indexes.sql", "original_file_path": "macros/adapters/indexes.sql", "unique_id": "macro.dbt.get_create_index_sql", "macro_sql": "{% macro get_create_index_sql(relation, index_dict) -%}\n {{ return(adapter.dispatch('get_create_index_sql', 'dbt')(relation, index_dict)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_create_index_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9084306, "supported_languages": null}, "macro.dbt.default__get_create_index_sql": {"name": "default__get_create_index_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/indexes.sql", "original_file_path": "macros/adapters/indexes.sql", "unique_id": "macro.dbt.default__get_create_index_sql", "macro_sql": "{% macro default__get_create_index_sql(relation, index_dict) -%}\n {% do return(None) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9088433, "supported_languages": null}, "macro.dbt.create_indexes": {"name": "create_indexes", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/indexes.sql", "original_file_path": "macros/adapters/indexes.sql", "unique_id": "macro.dbt.create_indexes", "macro_sql": "{% macro create_indexes(relation) -%}\n {{ adapter.dispatch('create_indexes', 'dbt')(relation) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__create_indexes"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9092863, "supported_languages": null}, "macro.dbt.default__create_indexes": {"name": "default__create_indexes", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/indexes.sql", "original_file_path": "macros/adapters/indexes.sql", "unique_id": "macro.dbt.default__create_indexes", "macro_sql": "{% macro default__create_indexes(relation) -%}\n {%- set _indexes = config.get('indexes', default=[]) -%}\n\n {% for _index_dict in _indexes %}\n {% set create_index_sql = get_create_index_sql(relation, _index_dict) %}\n {% if create_index_sql %}\n {% do run_query(create_index_sql) %}\n {% endif %}\n {% endfor %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_create_index_sql", "macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.910373, "supported_languages": null}, "macro.dbt.get_drop_index_sql": {"name": "get_drop_index_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/indexes.sql", "original_file_path": "macros/adapters/indexes.sql", "unique_id": "macro.dbt.get_drop_index_sql", "macro_sql": "{% macro get_drop_index_sql(relation, index_name) -%}\n {{ adapter.dispatch('get_drop_index_sql', 'dbt')(relation, index_name) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_drop_index_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9109232, "supported_languages": null}, "macro.dbt.default__get_drop_index_sql": {"name": "default__get_drop_index_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/indexes.sql", "original_file_path": "macros/adapters/indexes.sql", "unique_id": "macro.dbt.default__get_drop_index_sql", "macro_sql": "{% macro default__get_drop_index_sql(relation, index_name) -%}\n {{ exceptions.raise_compiler_error(\"`get_drop_index_sql has not been implemented for this adapter.\") }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9113462, "supported_languages": null}, "macro.dbt.get_show_indexes_sql": {"name": "get_show_indexes_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/indexes.sql", "original_file_path": "macros/adapters/indexes.sql", "unique_id": "macro.dbt.get_show_indexes_sql", "macro_sql": "{% macro get_show_indexes_sql(relation) -%}\n {{ adapter.dispatch('get_show_indexes_sql', 'dbt')(relation) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_show_indexes_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9118276, "supported_languages": null}, "macro.dbt.default__get_show_indexes_sql": {"name": "default__get_show_indexes_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/indexes.sql", "original_file_path": "macros/adapters/indexes.sql", "unique_id": "macro.dbt.default__get_show_indexes_sql", "macro_sql": "{% macro default__get_show_indexes_sql(relation) -%}\n {{ exceptions.raise_compiler_error(\"`get_show_indexes_sql has not been implemented for this adapter.\") }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9121892, "supported_languages": null}, "macro.dbt.make_intermediate_relation": {"name": "make_intermediate_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.make_intermediate_relation", "macro_sql": "{% macro make_intermediate_relation(base_relation, suffix='__dbt_tmp') %}\n {{ return(adapter.dispatch('make_intermediate_relation', 'dbt')(base_relation, suffix)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__make_intermediate_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.916971, "supported_languages": null}, "macro.dbt.default__make_intermediate_relation": {"name": "default__make_intermediate_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.default__make_intermediate_relation", "macro_sql": "{% macro default__make_intermediate_relation(base_relation, suffix) %}\n {{ return(default__make_temp_relation(base_relation, suffix)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__make_temp_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.917575, "supported_languages": null}, "macro.dbt.make_temp_relation": {"name": "make_temp_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.make_temp_relation", "macro_sql": "{% macro make_temp_relation(base_relation, suffix='__dbt_tmp') %}\n {{ return(adapter.dispatch('make_temp_relation', 'dbt')(base_relation, suffix)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__make_temp_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9182756, "supported_languages": null}, "macro.dbt.default__make_temp_relation": {"name": "default__make_temp_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.default__make_temp_relation", "macro_sql": "{% macro default__make_temp_relation(base_relation, suffix) %}\n {%- set temp_identifier = base_relation.identifier ~ suffix -%}\n {%- set temp_relation = base_relation.incorporate(\n path={\"identifier\": temp_identifier}) -%}\n\n {{ return(temp_relation) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9193852, "supported_languages": null}, "macro.dbt.make_backup_relation": {"name": "make_backup_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.make_backup_relation", "macro_sql": "{% macro make_backup_relation(base_relation, backup_relation_type, suffix='__dbt_backup') %}\n {{ return(adapter.dispatch('make_backup_relation', 'dbt')(base_relation, backup_relation_type, suffix)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__make_backup_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9202466, "supported_languages": null}, "macro.dbt.default__make_backup_relation": {"name": "default__make_backup_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.default__make_backup_relation", "macro_sql": "{% macro default__make_backup_relation(base_relation, backup_relation_type, suffix) %}\n {%- set backup_identifier = base_relation.identifier ~ suffix -%}\n {%- set backup_relation = base_relation.incorporate(\n path={\"identifier\": backup_identifier},\n type=backup_relation_type\n ) -%}\n {{ return(backup_relation) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.921313, "supported_languages": null}, "macro.dbt.truncate_relation": {"name": "truncate_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.truncate_relation", "macro_sql": "{% macro truncate_relation(relation) -%}\n {{ return(adapter.dispatch('truncate_relation', 'dbt')(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__truncate_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.921925, "supported_languages": null}, "macro.dbt.default__truncate_relation": {"name": "default__truncate_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.default__truncate_relation", "macro_sql": "{% macro default__truncate_relation(relation) -%}\n {% call statement('truncate_relation') -%}\n truncate table {{ relation.render() }}\n {%- endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9224863, "supported_languages": null}, "macro.dbt.get_or_create_relation": {"name": "get_or_create_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.get_or_create_relation", "macro_sql": "{% macro get_or_create_relation(database, schema, identifier, type) -%}\n {{ return(adapter.dispatch('get_or_create_relation', 'dbt')(database, schema, identifier, type)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_or_create_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9234087, "supported_languages": null}, "macro.dbt.default__get_or_create_relation": {"name": "default__get_or_create_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.default__get_or_create_relation", "macro_sql": "{% macro default__get_or_create_relation(database, schema, identifier, type) %}\n {%- set target_relation = adapter.get_relation(database=database, schema=schema, identifier=identifier) %}\n\n {% if target_relation %}\n {% do return([true, target_relation]) %}\n {% endif %}\n\n {%- set new_relation = api.Relation.create(\n database=database,\n schema=schema,\n identifier=identifier,\n type=type\n ) -%}\n {% do return([false, new_relation]) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9254057, "supported_languages": null}, "macro.dbt.load_cached_relation": {"name": "load_cached_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.load_cached_relation", "macro_sql": "{% macro load_cached_relation(relation) %}\n {% do return(adapter.get_relation(\n database=relation.database,\n schema=relation.schema,\n identifier=relation.identifier\n )) -%}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9261591, "supported_languages": null}, "macro.dbt.load_relation": {"name": "load_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.load_relation", "macro_sql": "{% macro load_relation(relation) %}\n {{ return(load_cached_relation(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.load_cached_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9265852, "supported_languages": null}, "macro.dbt.current_timestamp": {"name": "current_timestamp", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.current_timestamp", "macro_sql": "{%- macro current_timestamp() -%}\n {{ adapter.dispatch('current_timestamp', 'dbt')() }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_postgres.postgres__current_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9281676, "supported_languages": null}, "macro.dbt.default__current_timestamp": {"name": "default__current_timestamp", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.default__current_timestamp", "macro_sql": "{% macro default__current_timestamp() -%}\n {{ exceptions.raise_not_implemented(\n 'current_timestamp macro not implemented for adapter ' + adapter.type()) }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9286509, "supported_languages": null}, "macro.dbt.snapshot_get_time": {"name": "snapshot_get_time", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.snapshot_get_time", "macro_sql": "\n\n{%- macro snapshot_get_time() -%}\n {{ adapter.dispatch('snapshot_get_time', 'dbt')() }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_postgres.postgres__snapshot_get_time"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.929127, "supported_languages": null}, "macro.dbt.default__snapshot_get_time": {"name": "default__snapshot_get_time", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.default__snapshot_get_time", "macro_sql": "{% macro default__snapshot_get_time() %}\n {{ current_timestamp() }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.current_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.929477, "supported_languages": null}, "macro.dbt.current_timestamp_backcompat": {"name": "current_timestamp_backcompat", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.current_timestamp_backcompat", "macro_sql": "{% macro current_timestamp_backcompat() %}\n {{ return(adapter.dispatch('current_timestamp_backcompat', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__current_timestamp_backcompat"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9300542, "supported_languages": null}, "macro.dbt.default__current_timestamp_backcompat": {"name": "default__current_timestamp_backcompat", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.default__current_timestamp_backcompat", "macro_sql": "{% macro default__current_timestamp_backcompat() %}\n current_timestamp::timestamp\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9302864, "supported_languages": null}, "macro.dbt.current_timestamp_in_utc_backcompat": {"name": "current_timestamp_in_utc_backcompat", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.current_timestamp_in_utc_backcompat", "macro_sql": "{% macro current_timestamp_in_utc_backcompat() %}\n {{ return(adapter.dispatch('current_timestamp_in_utc_backcompat', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__current_timestamp_in_utc_backcompat"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.930874, "supported_languages": null}, "macro.dbt.default__current_timestamp_in_utc_backcompat": {"name": "default__current_timestamp_in_utc_backcompat", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.default__current_timestamp_in_utc_backcompat", "macro_sql": "{% macro default__current_timestamp_in_utc_backcompat() %}\n {{ return(adapter.dispatch('current_timestamp_backcompat', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.current_timestamp_backcompat", "macro.dbt_postgres.postgres__current_timestamp_backcompat"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.931412, "supported_languages": null}, "macro.dbt.collect_freshness": {"name": "collect_freshness", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/freshness.sql", "original_file_path": "macros/adapters/freshness.sql", "unique_id": "macro.dbt.collect_freshness", "macro_sql": "{% macro collect_freshness(source, loaded_at_field, filter) %}\n {{ return(adapter.dispatch('collect_freshness', 'dbt')(source, loaded_at_field, filter))}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__collect_freshness"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9326189, "supported_languages": null}, "macro.dbt.default__collect_freshness": {"name": "default__collect_freshness", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/freshness.sql", "original_file_path": "macros/adapters/freshness.sql", "unique_id": "macro.dbt.default__collect_freshness", "macro_sql": "{% macro default__collect_freshness(source, loaded_at_field, filter) %}\n {% call statement('collect_freshness', fetch_result=True, auto_begin=False) -%}\n select\n max({{ loaded_at_field }}) as max_loaded_at,\n {{ current_timestamp() }} as snapshotted_at\n from {{ source }}\n {% if filter %}\n where {{ filter }}\n {% endif %}\n {% endcall %}\n {{ return(load_result('collect_freshness')) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt.current_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.933996, "supported_languages": null}, "macro.dbt.statement": {"name": "statement", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/statement.sql", "original_file_path": "macros/etc/statement.sql", "unique_id": "macro.dbt.statement", "macro_sql": "\n{%- macro statement(name=None, fetch_result=False, auto_begin=True, language='sql') -%}\n {%- if execute: -%}\n {%- set compiled_code = caller() -%}\n\n {%- if name == 'main' -%}\n {{ log('Writing runtime {} for node \"{}\"'.format(language, model['unique_id'])) }}\n {{ write(compiled_code) }}\n {%- endif -%}\n {%- if language == 'sql'-%}\n {%- set res, table = adapter.execute(compiled_code, auto_begin=auto_begin, fetch=fetch_result) -%}\n {%- elif language == 'python' -%}\n {%- set res = submit_python_job(model, compiled_code) -%}\n {#-- TODO: What should table be for python models? --#}\n {%- set table = None -%}\n {%- else -%}\n {% do exceptions.raise_compiler_error(\"statement macro didn't get supported language\") %}\n {%- endif -%}\n\n {%- if name is not none -%}\n {{ store_result(name, response=res, agate_table=table) }}\n {%- endif -%}\n\n {%- endif -%}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9386506, "supported_languages": null}, "macro.dbt.noop_statement": {"name": "noop_statement", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/statement.sql", "original_file_path": "macros/etc/statement.sql", "unique_id": "macro.dbt.noop_statement", "macro_sql": "{% macro noop_statement(name=None, message=None, code=None, rows_affected=None, res=None) -%}\n {%- set sql = caller() -%}\n\n {%- if name == 'main' -%}\n {{ log('Writing runtime SQL for node \"{}\"'.format(model['unique_id'])) }}\n {{ write(sql) }}\n {%- endif -%}\n\n {%- if name is not none -%}\n {{ store_raw_result(name, message=message, code=code, rows_affected=rows_affected, agate_table=res) }}\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9401238, "supported_languages": null}, "macro.dbt.run_query": {"name": "run_query", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/statement.sql", "original_file_path": "macros/etc/statement.sql", "unique_id": "macro.dbt.run_query", "macro_sql": "{% macro run_query(sql) %}\n {% call statement(\"run_query_statement\", fetch_result=true, auto_begin=false) %}\n {{ sql }}\n {% endcall %}\n\n {% do return(load_result(\"run_query_statement\").table) %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9406962, "supported_languages": null}, "macro.dbt.convert_datetime": {"name": "convert_datetime", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/datetime.sql", "original_file_path": "macros/etc/datetime.sql", "unique_id": "macro.dbt.convert_datetime", "macro_sql": "{% macro convert_datetime(date_str, date_fmt) %}\n\n {% set error_msg -%}\n The provided partition date '{{ date_str }}' does not match the expected format '{{ date_fmt }}'\n {%- endset %}\n\n {% set res = try_or_compiler_error(error_msg, modules.datetime.datetime.strptime, date_str.strip(), date_fmt) %}\n {{ return(res) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9434164, "supported_languages": null}, "macro.dbt.dates_in_range": {"name": "dates_in_range", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/datetime.sql", "original_file_path": "macros/etc/datetime.sql", "unique_id": "macro.dbt.dates_in_range", "macro_sql": "{% macro dates_in_range(start_date_str, end_date_str=none, in_fmt=\"%Y%m%d\", out_fmt=\"%Y%m%d\") %}\n {% set end_date_str = start_date_str if end_date_str is none else end_date_str %}\n\n {% set start_date = convert_datetime(start_date_str, in_fmt) %}\n {% set end_date = convert_datetime(end_date_str, in_fmt) %}\n\n {% set day_count = (end_date - start_date).days %}\n {% if day_count < 0 %}\n {% set msg -%}\n Partition start date is after the end date ({{ start_date }}, {{ end_date }})\n {%- endset %}\n\n {{ exceptions.raise_compiler_error(msg, model) }}\n {% endif %}\n\n {% set date_list = [] %}\n {% for i in range(0, day_count + 1) %}\n {% set the_date = (modules.datetime.timedelta(days=i) + start_date) %}\n {% if not out_fmt %}\n {% set _ = date_list.append(the_date) %}\n {% else %}\n {% set _ = date_list.append(the_date.strftime(out_fmt)) %}\n {% endif %}\n {% endfor %}\n\n {{ return(date_list) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.convert_datetime"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9456286, "supported_languages": null}, "macro.dbt.partition_range": {"name": "partition_range", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/datetime.sql", "original_file_path": "macros/etc/datetime.sql", "unique_id": "macro.dbt.partition_range", "macro_sql": "{% macro partition_range(raw_partition_date, date_fmt='%Y%m%d') %}\n {% set partition_range = (raw_partition_date | string).split(\",\") %}\n\n {% if (partition_range | length) == 1 %}\n {% set start_date = partition_range[0] %}\n {% set end_date = none %}\n {% elif (partition_range | length) == 2 %}\n {% set start_date = partition_range[0] %}\n {% set end_date = partition_range[1] %}\n {% else %}\n {{ exceptions.raise_compiler_error(\"Invalid partition time. Expected format: {Start Date}[,{End Date}]. Got: \" ~ raw_partition_date) }}\n {% endif %}\n\n {{ return(dates_in_range(start_date, end_date, in_fmt=date_fmt)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.dates_in_range"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9470656, "supported_languages": null}, "macro.dbt.py_current_timestring": {"name": "py_current_timestring", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/datetime.sql", "original_file_path": "macros/etc/datetime.sql", "unique_id": "macro.dbt.py_current_timestring", "macro_sql": "{% macro py_current_timestring() %}\n {% set dt = modules.datetime.datetime.now() %}\n {% do return(dt.strftime(\"%Y%m%d%H%M%S%f\")) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9475348, "supported_languages": null}, "macro.dbt.test_unique": {"name": "test_unique", "resource_type": "macro", "package_name": "dbt", "path": "tests/generic/builtin.sql", "original_file_path": "tests/generic/builtin.sql", "unique_id": "macro.dbt.test_unique", "macro_sql": "{% test unique(model, column_name) %}\n {% set macro = adapter.dispatch('test_unique', 'dbt') %}\n {{ macro(model, column_name) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt.default__test_unique"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.94843, "supported_languages": null}, "macro.dbt.test_not_null": {"name": "test_not_null", "resource_type": "macro", "package_name": "dbt", "path": "tests/generic/builtin.sql", "original_file_path": "tests/generic/builtin.sql", "unique_id": "macro.dbt.test_not_null", "macro_sql": "{% test not_null(model, column_name) %}\n {% set macro = adapter.dispatch('test_not_null', 'dbt') %}\n {{ macro(model, column_name) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt.default__test_not_null"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9489026, "supported_languages": null}, "macro.dbt.test_accepted_values": {"name": "test_accepted_values", "resource_type": "macro", "package_name": "dbt", "path": "tests/generic/builtin.sql", "original_file_path": "tests/generic/builtin.sql", "unique_id": "macro.dbt.test_accepted_values", "macro_sql": "{% test accepted_values(model, column_name, values, quote=True) %}\n {% set macro = adapter.dispatch('test_accepted_values', 'dbt') %}\n {{ macro(model, column_name, values, quote) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt.default__test_accepted_values"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9494865, "supported_languages": null}, "macro.dbt.test_relationships": {"name": "test_relationships", "resource_type": "macro", "package_name": "dbt", "path": "tests/generic/builtin.sql", "original_file_path": "tests/generic/builtin.sql", "unique_id": "macro.dbt.test_relationships", "macro_sql": "{% test relationships(model, column_name, to, field) %}\n {% set macro = adapter.dispatch('test_relationships', 'dbt') %}\n {{ macro(model, column_name, to, field) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt.default__test_relationships"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.950046, "supported_languages": null}, "macro.dbt_utils.degrees_to_radians": {"name": "degrees_to_radians", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/haversine_distance.sql", "original_file_path": "macros/sql/haversine_distance.sql", "unique_id": "macro.dbt_utils.degrees_to_radians", "macro_sql": "{% macro degrees_to_radians(degrees) -%}\n acos(-1) * {{degrees}} / 180\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9516563, "supported_languages": null}, "macro.dbt_utils.haversine_distance": {"name": "haversine_distance", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/haversine_distance.sql", "original_file_path": "macros/sql/haversine_distance.sql", "unique_id": "macro.dbt_utils.haversine_distance", "macro_sql": "{% macro haversine_distance(lat1, lon1, lat2, lon2, unit='mi') -%}\n {{ return(adapter.dispatch('haversine_distance', 'dbt_utils')(lat1,lon1,lat2,lon2,unit)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__haversine_distance"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9521933, "supported_languages": null}, "macro.dbt_utils.default__haversine_distance": {"name": "default__haversine_distance", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/haversine_distance.sql", "original_file_path": "macros/sql/haversine_distance.sql", "unique_id": "macro.dbt_utils.default__haversine_distance", "macro_sql": "{% macro default__haversine_distance(lat1, lon1, lat2, lon2, unit='mi') -%}\n{%- if unit == 'mi' %}\n {% set conversion_rate = 1 %}\n{% elif unit == 'km' %}\n {% set conversion_rate = 1.60934 %}\n{% else %}\n {{ exceptions.raise_compiler_error(\"unit input must be one of 'mi' or 'km'. Got \" ~ unit) }}\n{% endif %}\n\n 2 * 3961 * asin(sqrt(power((sin(radians(({{ lat2 }} - {{ lat1 }}) / 2))), 2) +\n cos(radians({{lat1}})) * cos(radians({{lat2}})) *\n power((sin(radians(({{ lon2 }} - {{ lon1 }}) / 2))), 2))) * {{ conversion_rate }}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9532692, "supported_languages": null}, "macro.dbt_utils.bigquery__haversine_distance": {"name": "bigquery__haversine_distance", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/haversine_distance.sql", "original_file_path": "macros/sql/haversine_distance.sql", "unique_id": "macro.dbt_utils.bigquery__haversine_distance", "macro_sql": "{% macro bigquery__haversine_distance(lat1, lon1, lat2, lon2, unit='mi') -%}\n{% set radians_lat1 = dbt_utils.degrees_to_radians(lat1) %}\n{% set radians_lat2 = dbt_utils.degrees_to_radians(lat2) %}\n{% set radians_lon1 = dbt_utils.degrees_to_radians(lon1) %}\n{% set radians_lon2 = dbt_utils.degrees_to_radians(lon2) %}\n{%- if unit == 'mi' %}\n {% set conversion_rate = 1 %}\n{% elif unit == 'km' %}\n {% set conversion_rate = 1.60934 %}\n{% else %}\n {{ exceptions.raise_compiler_error(\"unit input must be one of 'mi' or 'km'. Got \" ~ unit) }}\n{% endif %}\n 2 * 3961 * asin(sqrt(power(sin(({{ radians_lat2 }} - {{ radians_lat1 }}) / 2), 2) +\n cos({{ radians_lat1 }}) * cos({{ radians_lat2 }}) *\n power(sin(({{ radians_lon2 }} - {{ radians_lon1 }}) / 2), 2))) * {{ conversion_rate }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.degrees_to_radians"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9549353, "supported_languages": null}, "macro.dbt_utils.get_tables_by_prefix_sql": {"name": "get_tables_by_prefix_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_tables_by_prefix_sql.sql", "original_file_path": "macros/sql/get_tables_by_prefix_sql.sql", "unique_id": "macro.dbt_utils.get_tables_by_prefix_sql", "macro_sql": "{% macro get_tables_by_prefix_sql(schema, prefix, exclude='', database=target.database) %}\n {{ return(adapter.dispatch('get_tables_by_prefix_sql', 'dbt_utils')(schema, prefix, exclude, database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_tables_by_prefix_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9557004, "supported_languages": null}, "macro.dbt_utils.default__get_tables_by_prefix_sql": {"name": "default__get_tables_by_prefix_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_tables_by_prefix_sql.sql", "original_file_path": "macros/sql/get_tables_by_prefix_sql.sql", "unique_id": "macro.dbt_utils.default__get_tables_by_prefix_sql", "macro_sql": "{% macro default__get_tables_by_prefix_sql(schema, prefix, exclude='', database=target.database) %}\n\n {{ dbt_utils.get_tables_by_pattern_sql(\n schema_pattern = schema,\n table_pattern = prefix ~ '%',\n exclude = exclude,\n database = database\n ) }}\n \n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.get_tables_by_pattern_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9562454, "supported_languages": null}, "macro.dbt_utils.safe_divide": {"name": "safe_divide", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/safe_divide.sql", "original_file_path": "macros/sql/safe_divide.sql", "unique_id": "macro.dbt_utils.safe_divide", "macro_sql": "{% macro safe_divide(numerator, denominator) -%}\n {{ return(adapter.dispatch('safe_divide', 'dbt_utils')(numerator, denominator)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__safe_divide"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.956767, "supported_languages": null}, "macro.dbt_utils.default__safe_divide": {"name": "default__safe_divide", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/safe_divide.sql", "original_file_path": "macros/sql/safe_divide.sql", "unique_id": "macro.dbt_utils.default__safe_divide", "macro_sql": "{% macro default__safe_divide(numerator, denominator) %}\n ( {{ numerator }} ) / nullif( ( {{ denominator }} ), 0)\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9570324, "supported_languages": null}, "macro.dbt_utils.get_single_value": {"name": "get_single_value", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_single_value.sql", "original_file_path": "macros/sql/get_single_value.sql", "unique_id": "macro.dbt_utils.get_single_value", "macro_sql": "{% macro get_single_value(query, default=none) %}\n {{ return(adapter.dispatch('get_single_value', 'dbt_utils')(query, default)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_single_value"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9579122, "supported_languages": null}, "macro.dbt_utils.default__get_single_value": {"name": "default__get_single_value", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_single_value.sql", "original_file_path": "macros/sql/get_single_value.sql", "unique_id": "macro.dbt_utils.default__get_single_value", "macro_sql": "{% macro default__get_single_value(query, default) %}\n\n{# This macro returns the (0, 0) record in a query, i.e. the first row of the first column #}\n\n {%- call statement('get_query_result', fetch_result=True, auto_begin=false) -%}\n\n {{ query }}\n\n {%- endcall -%}\n\n {%- if execute -%}\n\n {% set r = load_result('get_query_result').table.columns[0].values() %}\n {% if r | length == 0 %}\n {% do print('Query `' ~ query ~ '` returned no rows. Using the default value: ' ~ default) %}\n {% set sql_result = default %}\n {% else %}\n {% set sql_result = r[0] %}\n {% endif %}\n \n {%- else -%}\n \n {% set sql_result = default %}\n \n {%- endif -%}\n\n {% do return(sql_result) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9593372, "supported_languages": null}, "macro.dbt_utils.surrogate_key": {"name": "surrogate_key", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/surrogate_key.sql", "original_file_path": "macros/sql/surrogate_key.sql", "unique_id": "macro.dbt_utils.surrogate_key", "macro_sql": "{%- macro surrogate_key(field_list) -%}\n {% set frustrating_jinja_feature = varargs %}\n {{ return(adapter.dispatch('surrogate_key', 'dbt_utils')(field_list, *varargs)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__surrogate_key"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.960048, "supported_languages": null}, "macro.dbt_utils.default__surrogate_key": {"name": "default__surrogate_key", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/surrogate_key.sql", "original_file_path": "macros/sql/surrogate_key.sql", "unique_id": "macro.dbt_utils.default__surrogate_key", "macro_sql": "\n\n{%- macro default__surrogate_key(field_list) -%}\n\n{%- set error_message = '\nWarning: `dbt_utils.surrogate_key` has been replaced by \\\n`dbt_utils.generate_surrogate_key`. The new macro treats null values \\\ndifferently to empty strings. To restore the behaviour of the original \\\nmacro, add a global variable in dbt_project.yml called \\\n`surrogate_key_treat_nulls_as_empty_strings` to your \\\ndbt_project.yml file with a value of True. \\\nThe {}.{} model triggered this warning. \\\n'.format(model.package_name, model.name) -%}\n\n{%- do exceptions.raise_compiler_error(error_message) -%}\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.960506, "supported_languages": null}, "macro.dbt_utils.safe_subtract": {"name": "safe_subtract", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/safe_subtract.sql", "original_file_path": "macros/sql/safe_subtract.sql", "unique_id": "macro.dbt_utils.safe_subtract", "macro_sql": "{%- macro safe_subtract(field_list) -%}\n {{ return(adapter.dispatch('safe_subtract', 'dbt_utils')(field_list)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__safe_subtract"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.961188, "supported_languages": null}, "macro.dbt_utils.default__safe_subtract": {"name": "default__safe_subtract", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/safe_subtract.sql", "original_file_path": "macros/sql/safe_subtract.sql", "unique_id": "macro.dbt_utils.default__safe_subtract", "macro_sql": "\n\n{%- macro default__safe_subtract(field_list) -%}\n\n{%- if field_list is not iterable or field_list is string or field_list is mapping -%}\n\n{%- set error_message = '\nWarning: the `safe_subtract` macro takes a single list argument instead of \\\nstring arguments. The {}.{} model triggered this warning. \\\n'.format(model.package_name, model.name) -%}\n\n{%- do exceptions.raise_compiler_error(error_message) -%}\n\n{%- endif -%}\n\n{% set fields = [] %}\n\n{%- for field in field_list -%}\n\n {% do fields.append(\"coalesce(\" ~ field ~ \", 0)\") %}\n\n{%- endfor -%}\n\n{{ fields|join(' -\\n ') }}\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9622395, "supported_languages": null}, "macro.dbt_utils.star": {"name": "star", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/star.sql", "original_file_path": "macros/sql/star.sql", "unique_id": "macro.dbt_utils.star", "macro_sql": "{% macro star(from, relation_alias=False, except=[], prefix='', suffix='', quote_identifiers=True) -%}\r\n {{ return(adapter.dispatch('star', 'dbt_utils')(from, relation_alias, except, prefix, suffix, quote_identifiers)) }}\r\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__star"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9641955, "supported_languages": null}, "macro.dbt_utils.default__star": {"name": "default__star", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/star.sql", "original_file_path": "macros/sql/star.sql", "unique_id": "macro.dbt_utils.default__star", "macro_sql": "{% macro default__star(from, relation_alias=False, except=[], prefix='', suffix='', quote_identifiers=True) -%}\r\n {%- do dbt_utils._is_relation(from, 'star') -%}\r\n {%- do dbt_utils._is_ephemeral(from, 'star') -%}\r\n\r\n {#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #}\r\n {%- if not execute -%}\r\n {% do return('*') %}\r\n {%- endif -%}\r\n\r\n {% set cols = dbt_utils.get_filtered_columns_in_relation(from, except) %}\r\n\r\n {%- if cols|length <= 0 -%}\r\n {% if flags.WHICH == 'compile' %}\r\n {% set response %}\r\n*\r\n/* No columns were returned. Maybe the relation doesn't exist yet \r\nor all columns were excluded. This star is only output during \r\ndbt compile, and exists to keep SQLFluff happy. */\r\n {% endset %}\r\n {% do return(response) %}\r\n {% else %}\r\n {% do return(\"/* no columns returned from star() macro */\") %}\r\n {% endif %}\r\n {%- else -%}\r\n {%- for col in cols %}\r\n {%- if relation_alias %}{{ relation_alias }}.{% else %}{%- endif -%}\r\n {%- if quote_identifiers -%}\r\n {{ adapter.quote(col)|trim }} {%- if prefix!='' or suffix!='' %} as {{ adapter.quote(prefix ~ col ~ suffix)|trim }} {%- endif -%}\r\n {%- else -%}\r\n {{ col|trim }} {%- if prefix!='' or suffix!='' %} as {{ (prefix ~ col ~ suffix)|trim }} {%- endif -%}\r\n {% endif %}\r\n {%- if not loop.last %},{{ '\\n ' }}{%- endif -%}\r\n {%- endfor -%}\r\n {% endif %}\r\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt_utils._is_ephemeral", "macro.dbt_utils.get_filtered_columns_in_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.966979, "supported_languages": null}, "macro.dbt_utils.get_query_results_as_dict": {"name": "get_query_results_as_dict", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_query_results_as_dict.sql", "original_file_path": "macros/sql/get_query_results_as_dict.sql", "unique_id": "macro.dbt_utils.get_query_results_as_dict", "macro_sql": "{% macro get_query_results_as_dict(query) %}\n {{ return(adapter.dispatch('get_query_results_as_dict', 'dbt_utils')(query)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_query_results_as_dict"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9677024, "supported_languages": null}, "macro.dbt_utils.default__get_query_results_as_dict": {"name": "default__get_query_results_as_dict", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_query_results_as_dict.sql", "original_file_path": "macros/sql/get_query_results_as_dict.sql", "unique_id": "macro.dbt_utils.default__get_query_results_as_dict", "macro_sql": "{% macro default__get_query_results_as_dict(query) %}\n\n{# This macro returns a dictionary of the form {column_name: (tuple_of_results)} #}\n\n {%- call statement('get_query_results', fetch_result=True,auto_begin=false) -%}\n\n {{ query }}\n\n {%- endcall -%}\n\n {% set sql_results={} %}\n\n {%- if execute -%}\n {% set sql_results_table = load_result('get_query_results').table.columns %}\n {% for column_name, column in sql_results_table.items() %}\n {% do sql_results.update({column_name: column.values()}) %}\n {% endfor %}\n {%- endif -%}\n\n {{ return(sql_results) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9688282, "supported_languages": null}, "macro.dbt_utils.group_by": {"name": "group_by", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/groupby.sql", "original_file_path": "macros/sql/groupby.sql", "unique_id": "macro.dbt_utils.group_by", "macro_sql": "{%- macro group_by(n) -%}\n {{ return(adapter.dispatch('group_by', 'dbt_utils')(n)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__group_by"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.96935, "supported_languages": null}, "macro.dbt_utils.default__group_by": {"name": "default__group_by", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/groupby.sql", "original_file_path": "macros/sql/groupby.sql", "unique_id": "macro.dbt_utils.default__group_by", "macro_sql": "\n\n{%- macro default__group_by(n) -%}\n\n group by {% for i in range(1, n + 1) -%}\n {{ i }}{{ ',' if not loop.last }} \n {%- endfor -%}\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9698312, "supported_languages": null}, "macro.dbt_utils.union_relations": {"name": "union_relations", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/union.sql", "original_file_path": "macros/sql/union.sql", "unique_id": "macro.dbt_utils.union_relations", "macro_sql": "{%- macro union_relations(relations, column_override=none, include=[], exclude=[], source_column_name='_dbt_source_relation', where=none) -%}\n {{ return(adapter.dispatch('union_relations', 'dbt_utils')(relations, column_override, include, exclude, source_column_name, where)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__union_relations"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9745026, "supported_languages": null}, "macro.dbt_utils.default__union_relations": {"name": "default__union_relations", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/union.sql", "original_file_path": "macros/sql/union.sql", "unique_id": "macro.dbt_utils.default__union_relations", "macro_sql": "\n\n{%- macro default__union_relations(relations, column_override=none, include=[], exclude=[], source_column_name='_dbt_source_relation', where=none) -%}\n\n {%- if exclude and include -%}\n {{ exceptions.raise_compiler_error(\"Both an exclude and include list were provided to the `union` macro. Only one is allowed\") }}\n {%- endif -%}\n\n {#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. -#}\n {%- if not execute %}\n {{ return('') }}\n {% endif -%}\n\n {%- set column_override = column_override if column_override is not none else {} -%}\n\n {%- set relation_columns = {} -%}\n {%- set column_superset = {} -%}\n {%- set all_excludes = [] -%}\n {%- set all_includes = [] -%}\n\n {%- if exclude -%}\n {%- for exc in exclude -%}\n {%- do all_excludes.append(exc | lower) -%}\n {%- endfor -%}\n {%- endif -%}\n\n {%- if include -%}\n {%- for inc in include -%}\n {%- do all_includes.append(inc | lower) -%}\n {%- endfor -%}\n {%- endif -%}\n\n {%- for relation in relations -%}\n\n {%- do relation_columns.update({relation: []}) -%}\n\n {%- do dbt_utils._is_relation(relation, 'union_relations') -%}\n {%- do dbt_utils._is_ephemeral(relation, 'union_relations') -%}\n {%- set cols = adapter.get_columns_in_relation(relation) -%}\n {%- for col in cols -%}\n\n {#- If an exclude list was provided and the column is in the list, do nothing -#}\n {%- if exclude and col.column | lower in all_excludes -%}\n\n {#- If an include list was provided and the column is not in the list, do nothing -#}\n {%- elif include and col.column | lower not in all_includes -%}\n\n {#- Otherwise add the column to the column superset -#}\n {%- else -%}\n\n {#- update the list of columns in this relation -#}\n {%- do relation_columns[relation].append(col.column) -%}\n\n {%- if col.column in column_superset -%}\n\n {%- set stored = column_superset[col.column] -%}\n {%- if col.is_string() and stored.is_string() and col.string_size() > stored.string_size() -%}\n\n {%- do column_superset.update({col.column: col}) -%}\n\n {%- endif %}\n\n {%- else -%}\n\n {%- do column_superset.update({col.column: col}) -%}\n\n {%- endif -%}\n\n {%- endif -%}\n\n {%- endfor -%}\n {%- endfor -%}\n\n {%- set ordered_column_names = column_superset.keys() -%}\n {%- set dbt_command = flags.WHICH -%}\n\n\n {% if dbt_command in ['run', 'build'] %}\n {% if (include | length > 0 or exclude | length > 0) and not column_superset.keys() %}\n {%- set relations_string -%}\n {%- for relation in relations -%}\n {{ relation.name }}\n {%- if not loop.last %}, {% endif -%}\n {%- endfor -%}\n {%- endset -%}\n\n {%- set error_message -%}\n There were no columns found to union for relations {{ relations_string }}\n {%- endset -%}\n\n {{ exceptions.raise_compiler_error(error_message) }}\n {%- endif -%}\n {%- endif -%}\n\n {%- for relation in relations %}\n\n (\n select\n\n {%- if source_column_name is not none %}\n cast({{ dbt.string_literal(relation) }} as {{ dbt.type_string() }}) as {{ source_column_name }},\n {%- endif %}\n\n {% for col_name in ordered_column_names -%}\n\n {%- set col = column_superset[col_name] %}\n {%- set col_type = column_override.get(col.column, col.data_type) %}\n {%- set col_name = adapter.quote(col_name) if col_name in relation_columns[relation] else 'null' %}\n cast({{ col_name }} as {{ col_type }}) as {{ col.quoted }} {% if not loop.last %},{% endif -%}\n\n {%- endfor %}\n\n from {{ relation }}\n\n {% if where -%}\n where {{ where }}\n {%- endif %}\n )\n\n {% if not loop.last -%}\n union all\n {% endif -%}\n\n {%- endfor -%}\n\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt_utils._is_ephemeral", "macro.dbt.string_literal", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9811192, "supported_languages": null}, "macro.dbt_utils.unpivot": {"name": "unpivot", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/unpivot.sql", "original_file_path": "macros/sql/unpivot.sql", "unique_id": "macro.dbt_utils.unpivot", "macro_sql": "{% macro unpivot(relation=none, cast_to='varchar', exclude=none, remove=none, field_name='field_name', value_name='value') -%}\n {{ return(adapter.dispatch('unpivot', 'dbt_utils')(relation, cast_to, exclude, remove, field_name, value_name)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__unpivot"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9832373, "supported_languages": null}, "macro.dbt_utils.default__unpivot": {"name": "default__unpivot", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/unpivot.sql", "original_file_path": "macros/sql/unpivot.sql", "unique_id": "macro.dbt_utils.default__unpivot", "macro_sql": "{% macro default__unpivot(relation=none, cast_to='varchar', exclude=none, remove=none, field_name='field_name', value_name='value') -%}\n\n {% if not relation %}\n {{ exceptions.raise_compiler_error(\"Error: argument `relation` is required for `unpivot` macro.\") }}\n {% endif %}\n\n {%- set exclude = exclude if exclude is not none else [] %}\n {%- set remove = remove if remove is not none else [] %}\n\n {%- set include_cols = [] %}\n\n {%- set table_columns = {} %}\n\n {%- do table_columns.update({relation: []}) %}\n\n {%- do dbt_utils._is_relation(relation, 'unpivot') -%}\n {%- do dbt_utils._is_ephemeral(relation, 'unpivot') -%}\n {%- set cols = adapter.get_columns_in_relation(relation) %}\n\n {%- for col in cols -%}\n {%- if col.column.lower() not in remove|map('lower') and col.column.lower() not in exclude|map('lower') -%}\n {% do include_cols.append(col) %}\n {%- endif %}\n {%- endfor %}\n\n\n {%- for col in include_cols -%}\n select\n {%- for exclude_col in exclude %}\n {{ exclude_col }},\n {%- endfor %}\n\n cast('{{ col.column }}' as {{ dbt.type_string() }}) as {{ field_name }},\n cast( {% if col.data_type == 'boolean' %}\n {{ dbt.cast_bool_to_text(col.column) }}\n {% else %}\n {{ col.column }}\n {% endif %}\n as {{ cast_to }}) as {{ value_name }}\n\n from {{ relation }}\n\n {% if not loop.last -%}\n union all\n {% endif -%}\n {%- endfor -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt_utils._is_ephemeral", "macro.dbt.type_string", "macro.dbt.cast_bool_to_text"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9862041, "supported_languages": null}, "macro.dbt_utils.get_table_types_sql": {"name": "get_table_types_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_table_types_sql.sql", "original_file_path": "macros/sql/get_table_types_sql.sql", "unique_id": "macro.dbt_utils.get_table_types_sql", "macro_sql": "{%- macro get_table_types_sql() -%}\n {{ return(adapter.dispatch('get_table_types_sql', 'dbt_utils')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_utils.postgres__get_table_types_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9870512, "supported_languages": null}, "macro.dbt_utils.default__get_table_types_sql": {"name": "default__get_table_types_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_table_types_sql.sql", "original_file_path": "macros/sql/get_table_types_sql.sql", "unique_id": "macro.dbt_utils.default__get_table_types_sql", "macro_sql": "{% macro default__get_table_types_sql() %}\n case table_type\n when 'BASE TABLE' then 'table'\n when 'EXTERNAL TABLE' then 'external'\n when 'MATERIALIZED VIEW' then 'materializedview'\n else lower(table_type)\n end as {{ adapter.quote('table_type') }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9873497, "supported_languages": null}, "macro.dbt_utils.postgres__get_table_types_sql": {"name": "postgres__get_table_types_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_table_types_sql.sql", "original_file_path": "macros/sql/get_table_types_sql.sql", "unique_id": "macro.dbt_utils.postgres__get_table_types_sql", "macro_sql": "{% macro postgres__get_table_types_sql() %}\n case table_type\n when 'BASE TABLE' then 'table'\n when 'FOREIGN' then 'external'\n when 'MATERIALIZED VIEW' then 'materializedview'\n else lower(table_type)\n end as {{ adapter.quote('table_type') }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9876215, "supported_languages": null}, "macro.dbt_utils.databricks__get_table_types_sql": {"name": "databricks__get_table_types_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_table_types_sql.sql", "original_file_path": "macros/sql/get_table_types_sql.sql", "unique_id": "macro.dbt_utils.databricks__get_table_types_sql", "macro_sql": "{% macro databricks__get_table_types_sql() %}\n case table_type\n when 'MANAGED' then 'table'\n when 'BASE TABLE' then 'table'\n when 'MATERIALIZED VIEW' then 'materializedview'\n else lower(table_type)\n end as {{ adapter.quote('table_type') }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9878898, "supported_languages": null}, "macro.dbt_utils.get_powers_of_two": {"name": "get_powers_of_two", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/generate_series.sql", "original_file_path": "macros/sql/generate_series.sql", "unique_id": "macro.dbt_utils.get_powers_of_two", "macro_sql": "{% macro get_powers_of_two(upper_bound) %}\n {{ return(adapter.dispatch('get_powers_of_two', 'dbt_utils')(upper_bound)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_powers_of_two"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9891822, "supported_languages": null}, "macro.dbt_utils.default__get_powers_of_two": {"name": "default__get_powers_of_two", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/generate_series.sql", "original_file_path": "macros/sql/generate_series.sql", "unique_id": "macro.dbt_utils.default__get_powers_of_two", "macro_sql": "{% macro default__get_powers_of_two(upper_bound) %}\n\n {% if upper_bound <= 0 %}\n {{ exceptions.raise_compiler_error(\"upper bound must be positive\") }}\n {% endif %}\n\n {% for _ in range(1, 100) %}\n {% if upper_bound <= 2 ** loop.index %}{{ return(loop.index) }}{% endif %}\n {% endfor %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.989959, "supported_languages": null}, "macro.dbt_utils.generate_series": {"name": "generate_series", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/generate_series.sql", "original_file_path": "macros/sql/generate_series.sql", "unique_id": "macro.dbt_utils.generate_series", "macro_sql": "{% macro generate_series(upper_bound) %}\n {{ return(adapter.dispatch('generate_series', 'dbt_utils')(upper_bound)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__generate_series"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.990321, "supported_languages": null}, "macro.dbt_utils.default__generate_series": {"name": "default__generate_series", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/generate_series.sql", "original_file_path": "macros/sql/generate_series.sql", "unique_id": "macro.dbt_utils.default__generate_series", "macro_sql": "{% macro default__generate_series(upper_bound) %}\n\n {% set n = dbt_utils.get_powers_of_two(upper_bound) %}\n\n with p as (\n select 0 as generated_number union all select 1\n ), unioned as (\n\n select\n\n {% for i in range(n) %}\n p{{i}}.generated_number * power(2, {{i}})\n {% if not loop.last %} + {% endif %}\n {% endfor %}\n + 1\n as generated_number\n\n from\n\n {% for i in range(n) %}\n p as p{{i}}\n {% if not loop.last %} cross join {% endif %}\n {% endfor %}\n\n )\n\n select *\n from unioned\n where generated_number <= {{upper_bound}}\n order by generated_number\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.get_powers_of_two"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9913166, "supported_languages": null}, "macro.dbt_utils.get_relations_by_pattern": {"name": "get_relations_by_pattern", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_relations_by_pattern.sql", "original_file_path": "macros/sql/get_relations_by_pattern.sql", "unique_id": "macro.dbt_utils.get_relations_by_pattern", "macro_sql": "{% macro get_relations_by_pattern(schema_pattern, table_pattern, exclude='', database=target.database) %}\n {{ return(adapter.dispatch('get_relations_by_pattern', 'dbt_utils')(schema_pattern, table_pattern, exclude, database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_relations_by_pattern"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9924457, "supported_languages": null}, "macro.dbt_utils.default__get_relations_by_pattern": {"name": "default__get_relations_by_pattern", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_relations_by_pattern.sql", "original_file_path": "macros/sql/get_relations_by_pattern.sql", "unique_id": "macro.dbt_utils.default__get_relations_by_pattern", "macro_sql": "{% macro default__get_relations_by_pattern(schema_pattern, table_pattern, exclude='', database=target.database) %}\n\n {%- call statement('get_tables', fetch_result=True) %}\n\n {{ dbt_utils.get_tables_by_pattern_sql(schema_pattern, table_pattern, exclude, database) }}\n\n {%- endcall -%}\n\n {%- set table_list = load_result('get_tables') -%}\n\n {%- if table_list and table_list['table'] -%}\n {%- set tbl_relations = [] -%}\n {%- for row in table_list['table'] -%}\n {%- set tbl_relation = api.Relation.create(\n database=database,\n schema=row.table_schema,\n identifier=row.table_name,\n type=row.table_type\n ) -%}\n {%- do tbl_relations.append(tbl_relation) -%}\n {%- endfor -%}\n\n {{ return(tbl_relations) }}\n {%- else -%}\n {{ return([]) }}\n {%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt_utils.get_tables_by_pattern_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9940164, "supported_languages": null}, "macro.dbt_utils.get_tables_by_pattern_sql": {"name": "get_tables_by_pattern_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_tables_by_pattern_sql.sql", "original_file_path": "macros/sql/get_tables_by_pattern_sql.sql", "unique_id": "macro.dbt_utils.get_tables_by_pattern_sql", "macro_sql": "{% macro get_tables_by_pattern_sql(schema_pattern, table_pattern, exclude='', database=target.database) %}\n {{ return(adapter.dispatch('get_tables_by_pattern_sql', 'dbt_utils')\n (schema_pattern, table_pattern, exclude, database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_tables_by_pattern_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9964933, "supported_languages": null}, "macro.dbt_utils.default__get_tables_by_pattern_sql": {"name": "default__get_tables_by_pattern_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_tables_by_pattern_sql.sql", "original_file_path": "macros/sql/get_tables_by_pattern_sql.sql", "unique_id": "macro.dbt_utils.default__get_tables_by_pattern_sql", "macro_sql": "{% macro default__get_tables_by_pattern_sql(schema_pattern, table_pattern, exclude='', database=target.database) %}\n\n select distinct\n table_schema as {{ adapter.quote('table_schema') }},\n table_name as {{ adapter.quote('table_name') }},\n {{ dbt_utils.get_table_types_sql() }}\n from {{ database }}.information_schema.tables\n where table_schema ilike '{{ schema_pattern }}'\n and table_name ilike '{{ table_pattern }}'\n and table_name not ilike '{{ exclude }}'\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.get_table_types_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9971812, "supported_languages": null}, "macro.dbt_utils.bigquery__get_tables_by_pattern_sql": {"name": "bigquery__get_tables_by_pattern_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_tables_by_pattern_sql.sql", "original_file_path": "macros/sql/get_tables_by_pattern_sql.sql", "unique_id": "macro.dbt_utils.bigquery__get_tables_by_pattern_sql", "macro_sql": "{% macro bigquery__get_tables_by_pattern_sql(schema_pattern, table_pattern, exclude='', database=target.database) %}\n\n {% if '%' in schema_pattern %}\n {% set schemata=dbt_utils._bigquery__get_matching_schemata(schema_pattern, database) %}\n {% else %}\n {% set schemata=[schema_pattern] %}\n {% endif %}\n\n {% set sql %}\n {% for schema in schemata %}\n select distinct\n table_schema,\n table_name,\n {{ dbt_utils.get_table_types_sql() }}\n\n from {{ adapter.quote(database) }}.{{ schema }}.INFORMATION_SCHEMA.TABLES\n where lower(table_name) like lower ('{{ table_pattern }}')\n and lower(table_name) not like lower ('{{ exclude }}')\n\n {% if not loop.last %} union all {% endif %}\n\n {% endfor %}\n {% endset %}\n\n {{ return(sql) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._bigquery__get_matching_schemata", "macro.dbt_utils.get_table_types_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9988377, "supported_languages": null}, "macro.dbt_utils._bigquery__get_matching_schemata": {"name": "_bigquery__get_matching_schemata", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_tables_by_pattern_sql.sql", "original_file_path": "macros/sql/get_tables_by_pattern_sql.sql", "unique_id": "macro.dbt_utils._bigquery__get_matching_schemata", "macro_sql": "{% macro _bigquery__get_matching_schemata(schema_pattern, database) %}\n {% if execute %}\n\n {% set sql %}\n select schema_name from {{ adapter.quote(database) }}.INFORMATION_SCHEMA.SCHEMATA\n where lower(schema_name) like lower('{{ schema_pattern }}')\n {% endset %}\n\n {% set results=run_query(sql) %}\n\n {% set schemata=results.columns['schema_name'].values() %}\n\n {{ return(schemata) }}\n\n {% else %}\n\n {{ return([]) }}\n\n {% endif %}\n\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584312.9998527, "supported_languages": null}, "macro.dbt_utils.get_relations_by_prefix": {"name": "get_relations_by_prefix", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_relations_by_prefix.sql", "original_file_path": "macros/sql/get_relations_by_prefix.sql", "unique_id": "macro.dbt_utils.get_relations_by_prefix", "macro_sql": "{% macro get_relations_by_prefix(schema, prefix, exclude='', database=target.database) %}\n {{ return(adapter.dispatch('get_relations_by_prefix', 'dbt_utils')(schema, prefix, exclude, database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_relations_by_prefix"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0010107, "supported_languages": null}, "macro.dbt_utils.default__get_relations_by_prefix": {"name": "default__get_relations_by_prefix", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_relations_by_prefix.sql", "original_file_path": "macros/sql/get_relations_by_prefix.sql", "unique_id": "macro.dbt_utils.default__get_relations_by_prefix", "macro_sql": "{% macro default__get_relations_by_prefix(schema, prefix, exclude='', database=target.database) %}\n\n {%- call statement('get_tables', fetch_result=True) %}\n\n {{ dbt_utils.get_tables_by_prefix_sql(schema, prefix, exclude, database) }}\n\n {%- endcall -%}\n\n {%- set table_list = load_result('get_tables') -%}\n\n {%- if table_list and table_list['table'] -%}\n {%- set tbl_relations = [] -%}\n {%- for row in table_list['table'] -%}\n {%- set tbl_relation = api.Relation.create(\n database=database,\n schema=row.table_schema,\n identifier=row.table_name,\n type=row.table_type\n ) -%}\n {%- do tbl_relations.append(tbl_relation) -%}\n {%- endfor -%}\n\n {{ return(tbl_relations) }}\n {%- else -%}\n {{ return([]) }}\n {%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt_utils.get_tables_by_prefix_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0026267, "supported_languages": null}, "macro.dbt_utils.get_column_values": {"name": "get_column_values", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_column_values.sql", "original_file_path": "macros/sql/get_column_values.sql", "unique_id": "macro.dbt_utils.get_column_values", "macro_sql": "{% macro get_column_values(table, column, order_by='count(*) desc', max_records=none, default=none, where=none) -%}\n {{ return(adapter.dispatch('get_column_values', 'dbt_utils')(table, column, order_by, max_records, default, where)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_column_values"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0043807, "supported_languages": null}, "macro.dbt_utils.default__get_column_values": {"name": "default__get_column_values", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_column_values.sql", "original_file_path": "macros/sql/get_column_values.sql", "unique_id": "macro.dbt_utils.default__get_column_values", "macro_sql": "{% macro default__get_column_values(table, column, order_by='count(*) desc', max_records=none, default=none, where=none) -%}\n {#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #}\n {%- if not execute -%}\n {% set default = [] if not default %}\n {{ return(default) }}\n {% endif %}\n\n {%- do dbt_utils._is_ephemeral(table, 'get_column_values') -%}\n\n {# Not all relations are tables. Renaming for internal clarity without breaking functionality for anyone using named arguments #}\n {# TODO: Change the method signature in a future 0.x.0 release #}\n {%- set target_relation = table -%}\n\n {# adapter.load_relation is a convenience wrapper to avoid building a Relation when we already have one #}\n {% set relation_exists = (load_relation(target_relation)) is not none %}\n\n {%- call statement('get_column_values', fetch_result=true) %}\n\n {%- if not relation_exists and default is none -%}\n\n {{ exceptions.raise_compiler_error(\"In get_column_values(): relation \" ~ target_relation ~ \" does not exist and no default value was provided.\") }}\n\n {%- elif not relation_exists and default is not none -%}\n\n {{ log(\"Relation \" ~ target_relation ~ \" does not exist. Returning the default value: \" ~ default) }}\n\n {{ return(default) }}\n\n {%- else -%}\n\n\n select\n {{ column }} as value\n\n from {{ target_relation }}\n\n {% if where is not none %}\n where {{ where }}\n {% endif %}\n\n group by {{ column }}\n order by {{ order_by }}\n\n {% if max_records is not none %}\n limit {{ max_records }}\n {% endif %}\n\n {% endif %}\n\n {%- endcall -%}\n\n {%- set value_list = load_result('get_column_values') -%}\n\n {%- if value_list and value_list['data'] -%}\n {%- set values = value_list['data'] | map(attribute=0) | list %}\n {{ return(values) }}\n {%- else -%}\n {{ return(default) }}\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._is_ephemeral", "macro.dbt.load_relation", "macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0072286, "supported_languages": null}, "macro.dbt_utils.safe_add": {"name": "safe_add", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/safe_add.sql", "original_file_path": "macros/sql/safe_add.sql", "unique_id": "macro.dbt_utils.safe_add", "macro_sql": "{%- macro safe_add(field_list) -%}\n {{ return(adapter.dispatch('safe_add', 'dbt_utils')(field_list)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__safe_add"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0079277, "supported_languages": null}, "macro.dbt_utils.default__safe_add": {"name": "default__safe_add", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/safe_add.sql", "original_file_path": "macros/sql/safe_add.sql", "unique_id": "macro.dbt_utils.default__safe_add", "macro_sql": "\n\n{%- macro default__safe_add(field_list) -%}\n\n{%- if field_list is not iterable or field_list is string or field_list is mapping -%}\n\n{%- set error_message = '\nWarning: the `safe_add` macro now takes a single list argument instead of \\\nstring arguments. The {}.{} model triggered this warning. \\\n'.format(model.package_name, model.name) -%}\n\n{%- do exceptions.warn(error_message) -%}\n\n{%- endif -%}\n\n{% set fields = [] %}\n\n{%- for field in field_list -%}\n\n {% do fields.append(\"coalesce(\" ~ field ~ \", 0)\") %}\n\n{%- endfor -%}\n\n{{ fields|join(' +\\n ') }}\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0089617, "supported_languages": null}, "macro.dbt_utils.get_filtered_columns_in_relation": {"name": "get_filtered_columns_in_relation", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_filtered_columns_in_relation.sql", "original_file_path": "macros/sql/get_filtered_columns_in_relation.sql", "unique_id": "macro.dbt_utils.get_filtered_columns_in_relation", "macro_sql": "{% macro get_filtered_columns_in_relation(from, except=[]) -%}\n {{ return(adapter.dispatch('get_filtered_columns_in_relation', 'dbt_utils')(from, except)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_filtered_columns_in_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0097728, "supported_languages": null}, "macro.dbt_utils.default__get_filtered_columns_in_relation": {"name": "default__get_filtered_columns_in_relation", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_filtered_columns_in_relation.sql", "original_file_path": "macros/sql/get_filtered_columns_in_relation.sql", "unique_id": "macro.dbt_utils.default__get_filtered_columns_in_relation", "macro_sql": "{% macro default__get_filtered_columns_in_relation(from, except=[]) -%}\n {%- do dbt_utils._is_relation(from, 'get_filtered_columns_in_relation') -%}\n {%- do dbt_utils._is_ephemeral(from, 'get_filtered_columns_in_relation') -%}\n\n {# -- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #}\n {%- if not execute -%}\n {{ return('') }}\n {% endif %}\n\n {%- set include_cols = [] %}\n {%- set cols = adapter.get_columns_in_relation(from) -%}\n {%- set except = except | map(\"lower\") | list %}\n {%- for col in cols -%}\n {%- if col.column|lower not in except -%}\n {% do include_cols.append(col.column) %}\n {%- endif %}\n {%- endfor %}\n\n {{ return(include_cols) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt_utils._is_ephemeral"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0111754, "supported_languages": null}, "macro.dbt_utils.width_bucket": {"name": "width_bucket", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/width_bucket.sql", "original_file_path": "macros/sql/width_bucket.sql", "unique_id": "macro.dbt_utils.width_bucket", "macro_sql": "{% macro width_bucket(expr, min_value, max_value, num_buckets) %}\n {{ return(adapter.dispatch('width_bucket', 'dbt_utils') (expr, min_value, max_value, num_buckets)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__width_bucket"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0123863, "supported_languages": null}, "macro.dbt_utils.default__width_bucket": {"name": "default__width_bucket", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/width_bucket.sql", "original_file_path": "macros/sql/width_bucket.sql", "unique_id": "macro.dbt_utils.default__width_bucket", "macro_sql": "{% macro default__width_bucket(expr, min_value, max_value, num_buckets) -%}\n\n {% set bin_size -%}\n (( {{ max_value }} - {{ min_value }} ) / {{ num_buckets }} )\n {%- endset %}\n (\n -- to break ties when the amount is eaxtly at the bucket egde\n case\n when\n mod(\n {{ dbt.safe_cast(expr, dbt.type_numeric() ) }},\n {{ dbt.safe_cast(bin_size, dbt.type_numeric() ) }}\n ) = 0\n then 1\n else 0\n end\n ) +\n -- Anything over max_value goes the N+1 bucket\n least(\n ceil(\n ({{ expr }} - {{ min_value }})/{{ bin_size }}\n ),\n {{ num_buckets }} + 1\n )\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.safe_cast", "macro.dbt.type_numeric"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0132587, "supported_languages": null}, "macro.dbt_utils.snowflake__width_bucket": {"name": "snowflake__width_bucket", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/width_bucket.sql", "original_file_path": "macros/sql/width_bucket.sql", "unique_id": "macro.dbt_utils.snowflake__width_bucket", "macro_sql": "{% macro snowflake__width_bucket(expr, min_value, max_value, num_buckets) %}\n width_bucket({{ expr }}, {{ min_value }}, {{ max_value }}, {{ num_buckets }} )\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.013633, "supported_languages": null}, "macro.dbt_utils.generate_surrogate_key": {"name": "generate_surrogate_key", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/generate_surrogate_key.sql", "original_file_path": "macros/sql/generate_surrogate_key.sql", "unique_id": "macro.dbt_utils.generate_surrogate_key", "macro_sql": "{%- macro generate_surrogate_key(field_list) -%}\n {{ return(adapter.dispatch('generate_surrogate_key', 'dbt_utils')(field_list)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__generate_surrogate_key"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0144153, "supported_languages": null}, "macro.dbt_utils.default__generate_surrogate_key": {"name": "default__generate_surrogate_key", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/generate_surrogate_key.sql", "original_file_path": "macros/sql/generate_surrogate_key.sql", "unique_id": "macro.dbt_utils.default__generate_surrogate_key", "macro_sql": "\n\n{%- macro default__generate_surrogate_key(field_list) -%}\n\n{%- if var('surrogate_key_treat_nulls_as_empty_strings', False) -%}\n {%- set default_null_value = \"\" -%}\n{%- else -%}\n {%- set default_null_value = '_dbt_utils_surrogate_key_null_' -%}\n{%- endif -%}\n\n{%- set fields = [] -%}\n\n{%- for field in field_list -%}\n\n {%- do fields.append(\n \"coalesce(cast(\" ~ field ~ \" as \" ~ dbt.type_string() ~ \"), '\" ~ default_null_value ~\"')\"\n ) -%}\n\n {%- if not loop.last %}\n {%- do fields.append(\"'-'\") -%}\n {%- endif -%}\n\n{%- endfor -%}\n\n{{ dbt.hash(dbt.concat(fields)) }}\n\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.hash", "macro.dbt.concat"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.015653, "supported_languages": null}, "macro.dbt_utils.nullcheck": {"name": "nullcheck", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/nullcheck.sql", "original_file_path": "macros/sql/nullcheck.sql", "unique_id": "macro.dbt_utils.nullcheck", "macro_sql": "{% macro nullcheck(cols) %}\n {{ return(adapter.dispatch('nullcheck', 'dbt_utils')(cols)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__nullcheck"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0162635, "supported_languages": null}, "macro.dbt_utils.default__nullcheck": {"name": "default__nullcheck", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/nullcheck.sql", "original_file_path": "macros/sql/nullcheck.sql", "unique_id": "macro.dbt_utils.default__nullcheck", "macro_sql": "{% macro default__nullcheck(cols) %}\n{%- for col in cols %}\n\n {% if col.is_string() -%}\n\n nullif({{col.name}},'') as {{col.name}}\n\n {%- else -%}\n\n {{col.name}}\n\n {%- endif -%}\n\n{%- if not loop.last -%} , {%- endif -%}\n\n{%- endfor -%}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0169137, "supported_languages": null}, "macro.dbt_utils.deduplicate": {"name": "deduplicate", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/deduplicate.sql", "original_file_path": "macros/sql/deduplicate.sql", "unique_id": "macro.dbt_utils.deduplicate", "macro_sql": "{%- macro deduplicate(relation, partition_by, order_by) -%}\n {{ return(adapter.dispatch('deduplicate', 'dbt_utils')(relation, partition_by, order_by)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.postgres__deduplicate"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0181043, "supported_languages": null}, "macro.dbt_utils.default__deduplicate": {"name": "default__deduplicate", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/deduplicate.sql", "original_file_path": "macros/sql/deduplicate.sql", "unique_id": "macro.dbt_utils.default__deduplicate", "macro_sql": "\n\n{%- macro default__deduplicate(relation, partition_by, order_by) -%}\n\n with row_numbered as (\n select\n _inner.*,\n row_number() over (\n partition by {{ partition_by }}\n order by {{ order_by }}\n ) as rn\n from {{ relation }} as _inner\n )\n\n select\n distinct data.*\n from {{ relation }} as data\n {#\n -- Not all DBs will support natural joins but the ones that do include:\n -- Oracle, MySQL, SQLite, Redshift, Teradata, Materialize, Databricks\n -- Apache Spark, SingleStore, Vertica\n -- Those that do not appear to support natural joins include:\n -- SQLServer, Trino, Presto, Rockset, Athena\n #}\n natural join row_numbered\n where row_numbered.rn = 1\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0185227, "supported_languages": null}, "macro.dbt_utils.redshift__deduplicate": {"name": "redshift__deduplicate", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/deduplicate.sql", "original_file_path": "macros/sql/deduplicate.sql", "unique_id": "macro.dbt_utils.redshift__deduplicate", "macro_sql": "{% macro redshift__deduplicate(relation, partition_by, order_by) -%}\n\n {{ return(dbt_utils.default__deduplicate(relation, partition_by, order_by=order_by)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__deduplicate"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0190263, "supported_languages": null}, "macro.dbt_utils.postgres__deduplicate": {"name": "postgres__deduplicate", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/deduplicate.sql", "original_file_path": "macros/sql/deduplicate.sql", "unique_id": "macro.dbt_utils.postgres__deduplicate", "macro_sql": "\n{%- macro postgres__deduplicate(relation, partition_by, order_by) -%}\n\n select\n distinct on ({{ partition_by }}) *\n from {{ relation }}\n order by {{ partition_by }}{{ ',' ~ order_by }}\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0194452, "supported_languages": null}, "macro.dbt_utils.snowflake__deduplicate": {"name": "snowflake__deduplicate", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/deduplicate.sql", "original_file_path": "macros/sql/deduplicate.sql", "unique_id": "macro.dbt_utils.snowflake__deduplicate", "macro_sql": "\n{%- macro snowflake__deduplicate(relation, partition_by, order_by) -%}\n\n select *\n from {{ relation }}\n qualify\n row_number() over (\n partition by {{ partition_by }}\n order by {{ order_by }}\n ) = 1\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0197797, "supported_languages": null}, "macro.dbt_utils.bigquery__deduplicate": {"name": "bigquery__deduplicate", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/deduplicate.sql", "original_file_path": "macros/sql/deduplicate.sql", "unique_id": "macro.dbt_utils.bigquery__deduplicate", "macro_sql": "\n{%- macro bigquery__deduplicate(relation, partition_by, order_by) -%}\n\n select unique.*\n from (\n select\n array_agg (\n original\n order by {{ order_by }}\n limit 1\n )[offset(0)] unique\n from {{ relation }} original\n group by {{ partition_by }}\n )\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0201159, "supported_languages": null}, "macro.dbt_utils.nullcheck_table": {"name": "nullcheck_table", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/nullcheck_table.sql", "original_file_path": "macros/sql/nullcheck_table.sql", "unique_id": "macro.dbt_utils.nullcheck_table", "macro_sql": "{% macro nullcheck_table(relation) %}\n {{ return(adapter.dispatch('nullcheck_table', 'dbt_utils')(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__nullcheck_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0206807, "supported_languages": null}, "macro.dbt_utils.default__nullcheck_table": {"name": "default__nullcheck_table", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/nullcheck_table.sql", "original_file_path": "macros/sql/nullcheck_table.sql", "unique_id": "macro.dbt_utils.default__nullcheck_table", "macro_sql": "{% macro default__nullcheck_table(relation) %}\n\n {%- do dbt_utils._is_relation(relation, 'nullcheck_table') -%}\n {%- do dbt_utils._is_ephemeral(relation, 'nullcheck_table') -%}\n {% set cols = adapter.get_columns_in_relation(relation) %}\n\n select {{ dbt_utils.nullcheck(cols) }}\n from {{relation}}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt_utils._is_ephemeral", "macro.dbt_utils.nullcheck"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.021344, "supported_languages": null}, "macro.dbt_utils.get_intervals_between": {"name": "get_intervals_between", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/date_spine.sql", "original_file_path": "macros/sql/date_spine.sql", "unique_id": "macro.dbt_utils.get_intervals_between", "macro_sql": "{% macro get_intervals_between(start_date, end_date, datepart) -%}\n {{ return(adapter.dispatch('get_intervals_between', 'dbt_utils')(start_date, end_date, datepart)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_intervals_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0224886, "supported_languages": null}, "macro.dbt_utils.default__get_intervals_between": {"name": "default__get_intervals_between", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/date_spine.sql", "original_file_path": "macros/sql/date_spine.sql", "unique_id": "macro.dbt_utils.default__get_intervals_between", "macro_sql": "{% macro default__get_intervals_between(start_date, end_date, datepart) -%}\n {%- call statement('get_intervals_between', fetch_result=True) %}\n\n select {{ dbt.datediff(start_date, end_date, datepart) }}\n\n {%- endcall -%}\n\n {%- set value_list = load_result('get_intervals_between') -%}\n\n {%- if value_list and value_list['data'] -%}\n {%- set values = value_list['data'] | map(attribute=0) | list %}\n {{ return(values[0]) }}\n {%- else -%}\n {{ return(1) }}\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt.datediff"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0236297, "supported_languages": null}, "macro.dbt_utils.date_spine": {"name": "date_spine", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/date_spine.sql", "original_file_path": "macros/sql/date_spine.sql", "unique_id": "macro.dbt_utils.date_spine", "macro_sql": "{% macro date_spine(datepart, start_date, end_date) %}\n {{ return(adapter.dispatch('date_spine', 'dbt_utils')(datepart, start_date, end_date)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__date_spine"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.024072, "supported_languages": null}, "macro.dbt_utils.default__date_spine": {"name": "default__date_spine", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/date_spine.sql", "original_file_path": "macros/sql/date_spine.sql", "unique_id": "macro.dbt_utils.default__date_spine", "macro_sql": "{% macro default__date_spine(datepart, start_date, end_date) %}\n\n\n{# call as follows:\n\ndate_spine(\n \"day\",\n \"to_date('01/01/2016', 'mm/dd/yyyy')\",\n \"dbt.dateadd(week, 1, current_date)\"\n) #}\n\n\nwith rawdata as (\n\n {{dbt_utils.generate_series(\n dbt_utils.get_intervals_between(start_date, end_date, datepart)\n )}}\n\n),\n\nall_periods as (\n\n select (\n {{\n dbt.dateadd(\n datepart,\n \"row_number() over (order by 1) - 1\",\n start_date\n )\n }}\n ) as date_{{datepart}}\n from rawdata\n\n),\n\nfiltered as (\n\n select *\n from all_periods\n where date_{{datepart}} <= {{ end_date }}\n\n)\n\nselect * from filtered\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.generate_series", "macro.dbt_utils.get_intervals_between", "macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0247536, "supported_languages": null}, "macro.dbt_utils.pivot": {"name": "pivot", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/pivot.sql", "original_file_path": "macros/sql/pivot.sql", "unique_id": "macro.dbt_utils.pivot", "macro_sql": "{% macro pivot(column,\n values,\n alias=True,\n agg='sum',\n cmp='=',\n prefix='',\n suffix='',\n then_value=1,\n else_value=0,\n quote_identifiers=True,\n distinct=False) %}\n {{ return(adapter.dispatch('pivot', 'dbt_utils')(column, values, alias, agg, cmp, prefix, suffix, then_value, else_value, quote_identifiers, distinct)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__pivot"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0264504, "supported_languages": null}, "macro.dbt_utils.default__pivot": {"name": "default__pivot", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/pivot.sql", "original_file_path": "macros/sql/pivot.sql", "unique_id": "macro.dbt_utils.default__pivot", "macro_sql": "{% macro default__pivot(column,\n values,\n alias=True,\n agg='sum',\n cmp='=',\n prefix='',\n suffix='',\n then_value=1,\n else_value=0,\n quote_identifiers=True,\n distinct=False) %}\n {% for value in values %}\n {{ agg }}(\n {% if distinct %} distinct {% endif %}\n case\n when {{ column }} {{ cmp }} '{{ dbt.escape_single_quotes(value) }}'\n then {{ then_value }}\n else {{ else_value }}\n end\n )\n {% if alias %}\n {% if quote_identifiers %}\n as {{ adapter.quote(prefix ~ value ~ suffix) }}\n {% else %}\n as {{ dbt_utils.slugify(prefix ~ value ~ suffix) }}\n {% endif %}\n {% endif %}\n {% if not loop.last %},{% endif %}\n {% endfor %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.escape_single_quotes", "macro.dbt_utils.slugify"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0280886, "supported_languages": null}, "macro.dbt_utils.get_url_host": {"name": "get_url_host", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/web/get_url_host.sql", "original_file_path": "macros/web/get_url_host.sql", "unique_id": "macro.dbt_utils.get_url_host", "macro_sql": "{% macro get_url_host(field) -%}\n {{ return(adapter.dispatch('get_url_host', 'dbt_utils')(field)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_url_host"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0287051, "supported_languages": null}, "macro.dbt_utils.default__get_url_host": {"name": "default__get_url_host", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/web/get_url_host.sql", "original_file_path": "macros/web/get_url_host.sql", "unique_id": "macro.dbt_utils.default__get_url_host", "macro_sql": "{% macro default__get_url_host(field) -%}\n\n{%- set parsed =\n dbt.split_part(\n dbt.split_part(\n dbt.replace(\n dbt.replace(\n dbt.replace(field, \"'android-app://'\", \"''\"\n ), \"'http://'\", \"''\"\n ), \"'https://'\", \"''\"\n ), \"'/'\", 1\n ), \"'?'\", 1\n )\n\n-%}\n\n\n {{ dbt.safe_cast(\n parsed,\n dbt.type_string()\n )}}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.split_part", "macro.dbt.replace", "macro.dbt.safe_cast", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.029591, "supported_languages": null}, "macro.dbt_utils.get_url_path": {"name": "get_url_path", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/web/get_url_path.sql", "original_file_path": "macros/web/get_url_path.sql", "unique_id": "macro.dbt_utils.get_url_path", "macro_sql": "{% macro get_url_path(field) -%}\n {{ return(adapter.dispatch('get_url_path', 'dbt_utils')(field)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_url_path"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0303562, "supported_languages": null}, "macro.dbt_utils.default__get_url_path": {"name": "default__get_url_path", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/web/get_url_path.sql", "original_file_path": "macros/web/get_url_path.sql", "unique_id": "macro.dbt_utils.default__get_url_path", "macro_sql": "{% macro default__get_url_path(field) -%}\n\n {%- set stripped_url =\n dbt.replace(\n dbt.replace(field, \"'http://'\", \"''\"), \"'https://'\", \"''\")\n -%}\n\n {%- set first_slash_pos -%}\n coalesce(\n nullif({{ dbt.position(\"'/'\", stripped_url) }}, 0),\n {{ dbt.position(\"'?'\", stripped_url) }} - 1\n )\n {%- endset -%}\n\n {%- set parsed_path =\n dbt.split_part(\n dbt.right(\n stripped_url,\n dbt.length(stripped_url) ~ \"-\" ~ first_slash_pos\n ),\n \"'?'\", 1\n )\n -%}\n\n {{ dbt.safe_cast(\n parsed_path,\n dbt.type_string()\n )}}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.replace", "macro.dbt.position", "macro.dbt.split_part", "macro.dbt.right", "macro.dbt.length", "macro.dbt.safe_cast", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.031624, "supported_languages": null}, "macro.dbt_utils.get_url_parameter": {"name": "get_url_parameter", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/web/get_url_parameter.sql", "original_file_path": "macros/web/get_url_parameter.sql", "unique_id": "macro.dbt_utils.get_url_parameter", "macro_sql": "{% macro get_url_parameter(field, url_parameter) -%}\n {{ return(adapter.dispatch('get_url_parameter', 'dbt_utils')(field, url_parameter)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_url_parameter"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0322094, "supported_languages": null}, "macro.dbt_utils.default__get_url_parameter": {"name": "default__get_url_parameter", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/web/get_url_parameter.sql", "original_file_path": "macros/web/get_url_parameter.sql", "unique_id": "macro.dbt_utils.default__get_url_parameter", "macro_sql": "{% macro default__get_url_parameter(field, url_parameter) -%}\n\n{%- set formatted_url_parameter = \"'\" + url_parameter + \"='\" -%}\n\n{%- set split = dbt.split_part(dbt.split_part(field, formatted_url_parameter, 2), \"'&'\", 1) -%}\n\nnullif({{ split }},'')\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.split_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.032828, "supported_languages": null}, "macro.dbt_utils.log_info": {"name": "log_info", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/log_info.sql", "original_file_path": "macros/jinja_helpers/log_info.sql", "unique_id": "macro.dbt_utils.log_info", "macro_sql": "{% macro log_info(message) %}\n {{ return(adapter.dispatch('log_info', 'dbt_utils')(message)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__log_info"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0332973, "supported_languages": null}, "macro.dbt_utils.default__log_info": {"name": "default__log_info", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/log_info.sql", "original_file_path": "macros/jinja_helpers/log_info.sql", "unique_id": "macro.dbt_utils.default__log_info", "macro_sql": "{% macro default__log_info(message) %}\n {{ log(dbt_utils.pretty_log_format(message), info=True) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.pretty_log_format"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0337458, "supported_languages": null}, "macro.dbt_utils._is_relation": {"name": "_is_relation", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/_is_relation.sql", "original_file_path": "macros/jinja_helpers/_is_relation.sql", "unique_id": "macro.dbt_utils._is_relation", "macro_sql": "{% macro _is_relation(obj, macro) %}\n {%- if not (obj is mapping and obj.get('metadata', {}).get('type', '').endswith('Relation')) -%}\n {%- do exceptions.raise_compiler_error(\"Macro \" ~ macro ~ \" expected a Relation but received the value: \" ~ obj) -%}\n {%- endif -%}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0345585, "supported_languages": null}, "macro.dbt_utils.pretty_time": {"name": "pretty_time", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/pretty_time.sql", "original_file_path": "macros/jinja_helpers/pretty_time.sql", "unique_id": "macro.dbt_utils.pretty_time", "macro_sql": "{% macro pretty_time(format='%H:%M:%S') %}\n {{ return(adapter.dispatch('pretty_time', 'dbt_utils')(format)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__pretty_time"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0350688, "supported_languages": null}, "macro.dbt_utils.default__pretty_time": {"name": "default__pretty_time", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/pretty_time.sql", "original_file_path": "macros/jinja_helpers/pretty_time.sql", "unique_id": "macro.dbt_utils.default__pretty_time", "macro_sql": "{% macro default__pretty_time(format='%H:%M:%S') %}\n {{ return(modules.datetime.datetime.now().strftime(format)) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.035467, "supported_languages": null}, "macro.dbt_utils.slugify": {"name": "slugify", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/slugify.sql", "original_file_path": "macros/jinja_helpers/slugify.sql", "unique_id": "macro.dbt_utils.slugify", "macro_sql": "{% macro slugify(string) %}\n\n{#- Lower case the string -#}\n{% set string = string | lower %}\n{#- Replace spaces and dashes with underscores -#}\n{% set string = modules.re.sub('[ -]+', '_', string) %}\n{#- Only take letters, numbers, and underscores -#}\n{% set string = modules.re.sub('[^a-z0-9_]+', '', string) %}\n{#- Prepends \"_\" if string begins with a number -#}\n{% set string = modules.re.sub('^[0-9]', '_' + string[0], string) %}\n\n{{ return(string) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0366127, "supported_languages": null}, "macro.dbt_utils._is_ephemeral": {"name": "_is_ephemeral", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/_is_ephemeral.sql", "original_file_path": "macros/jinja_helpers/_is_ephemeral.sql", "unique_id": "macro.dbt_utils._is_ephemeral", "macro_sql": "{% macro _is_ephemeral(obj, macro) %}\n {%- if obj.is_cte -%}\n {% set ephemeral_prefix = api.Relation.add_ephemeral_prefix('') %}\n {% if obj.name.startswith(ephemeral_prefix) %}\n {% set model_name = obj.name[(ephemeral_prefix|length):] %}\n {% else %}\n {% set model_name = obj.name %}\n {%- endif -%}\n {% set error_message %}\nThe `{{ macro }}` macro cannot be used with ephemeral models, as it relies on the information schema.\n\n`{{ model_name }}` is an ephemeral model. Consider making it a view or table instead.\n {% endset %}\n {%- do exceptions.raise_compiler_error(error_message) -%}\n {%- endif -%}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0380769, "supported_languages": null}, "macro.dbt_utils.pretty_log_format": {"name": "pretty_log_format", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/pretty_log_format.sql", "original_file_path": "macros/jinja_helpers/pretty_log_format.sql", "unique_id": "macro.dbt_utils.pretty_log_format", "macro_sql": "{% macro pretty_log_format(message) %}\n {{ return(adapter.dispatch('pretty_log_format', 'dbt_utils')(message)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__pretty_log_format"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0385613, "supported_languages": null}, "macro.dbt_utils.default__pretty_log_format": {"name": "default__pretty_log_format", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/pretty_log_format.sql", "original_file_path": "macros/jinja_helpers/pretty_log_format.sql", "unique_id": "macro.dbt_utils.default__pretty_log_format", "macro_sql": "{% macro default__pretty_log_format(message) %}\n {{ return( dbt_utils.pretty_time() ~ ' + ' ~ message) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.pretty_time"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.038883, "supported_languages": null}, "macro.dbt_utils.test_not_null_proportion": {"name": "test_not_null_proportion", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_null_proportion.sql", "original_file_path": "macros/generic_tests/not_null_proportion.sql", "unique_id": "macro.dbt_utils.test_not_null_proportion", "macro_sql": "{% macro test_not_null_proportion(model, group_by_columns = []) %}\n {{ return(adapter.dispatch('test_not_null_proportion', 'dbt_utils')(model, group_by_columns, **kwargs)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_not_null_proportion"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0399425, "supported_languages": null}, "macro.dbt_utils.default__test_not_null_proportion": {"name": "default__test_not_null_proportion", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_null_proportion.sql", "original_file_path": "macros/generic_tests/not_null_proportion.sql", "unique_id": "macro.dbt_utils.default__test_not_null_proportion", "macro_sql": "{% macro default__test_not_null_proportion(model, group_by_columns) %}\n\n{% set column_name = kwargs.get('column_name', kwargs.get('arg')) %}\n{% set at_least = kwargs.get('at_least', kwargs.get('arg')) %}\n{% set at_most = kwargs.get('at_most', kwargs.get('arg', 1)) %}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(' ,') + ', ' %}\n {% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n{% endif %}\n\nwith validation as (\n select\n {{select_gb_cols}}\n sum(case when {{ column_name }} is null then 0 else 1 end) / cast(count(*) as numeric) as not_null_proportion\n from {{ model }}\n {{groupby_gb_cols}}\n),\nvalidation_errors as (\n select\n {{select_gb_cols}}\n not_null_proportion\n from validation\n where not_null_proportion < {{ at_least }} or not_null_proportion > {{ at_most }}\n)\nselect\n *\nfrom validation_errors\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0414639, "supported_languages": null}, "macro.dbt_utils.test_not_constant": {"name": "test_not_constant", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_constant.sql", "original_file_path": "macros/generic_tests/not_constant.sql", "unique_id": "macro.dbt_utils.test_not_constant", "macro_sql": "{% test not_constant(model, column_name, group_by_columns = []) %}\n {{ return(adapter.dispatch('test_not_constant', 'dbt_utils')(model, column_name, group_by_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_not_constant"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0422416, "supported_languages": null}, "macro.dbt_utils.default__test_not_constant": {"name": "default__test_not_constant", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_constant.sql", "original_file_path": "macros/generic_tests/not_constant.sql", "unique_id": "macro.dbt_utils.default__test_not_constant", "macro_sql": "{% macro default__test_not_constant(model, column_name, group_by_columns) %}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(' ,') + ', ' %}\n {% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n{% endif %}\n\n\nselect\n {# In TSQL, subquery aggregate columns need aliases #}\n {# thus: a filler col name, 'filler_column' #}\n {{select_gb_cols}}\n count(distinct {{ column_name }}) as filler_column\n\nfrom {{ model }}\n\n {{groupby_gb_cols}}\n\nhaving count(distinct {{ column_name }}) = 1\n\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0431447, "supported_languages": null}, "macro.dbt_utils.test_mutually_exclusive_ranges": {"name": "test_mutually_exclusive_ranges", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/mutually_exclusive_ranges.sql", "original_file_path": "macros/generic_tests/mutually_exclusive_ranges.sql", "unique_id": "macro.dbt_utils.test_mutually_exclusive_ranges", "macro_sql": "{% test mutually_exclusive_ranges(model, lower_bound_column, upper_bound_column, partition_by=None, gaps='allowed', zero_length_range_allowed=False) %}\n {{ return(adapter.dispatch('test_mutually_exclusive_ranges', 'dbt_utils')(model, lower_bound_column, upper_bound_column, partition_by, gaps, zero_length_range_allowed)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_mutually_exclusive_ranges"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.04787, "supported_languages": null}, "macro.dbt_utils.default__test_mutually_exclusive_ranges": {"name": "default__test_mutually_exclusive_ranges", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/mutually_exclusive_ranges.sql", "original_file_path": "macros/generic_tests/mutually_exclusive_ranges.sql", "unique_id": "macro.dbt_utils.default__test_mutually_exclusive_ranges", "macro_sql": "{% macro default__test_mutually_exclusive_ranges(model, lower_bound_column, upper_bound_column, partition_by=None, gaps='allowed', zero_length_range_allowed=False) %}\n{% if gaps == 'not_allowed' %}\n {% set allow_gaps_operator='=' %}\n {% set allow_gaps_operator_in_words='equal_to' %}\n{% elif gaps == 'allowed' %}\n {% set allow_gaps_operator='<=' %}\n {% set allow_gaps_operator_in_words='less_than_or_equal_to' %}\n{% elif gaps == 'required' %}\n {% set allow_gaps_operator='<' %}\n {% set allow_gaps_operator_in_words='less_than' %}\n{% else %}\n {{ exceptions.raise_compiler_error(\n \"`gaps` argument for mutually_exclusive_ranges test must be one of ['not_allowed', 'allowed', 'required'] Got: '\" ~ gaps ~\"'.'\"\n ) }}\n{% endif %}\n{% if not zero_length_range_allowed %}\n {% set allow_zero_length_operator='<' %}\n {% set allow_zero_length_operator_in_words='less_than' %}\n{% elif zero_length_range_allowed %}\n {% set allow_zero_length_operator='<=' %}\n {% set allow_zero_length_operator_in_words='less_than_or_equal_to' %}\n{% else %}\n {{ exceptions.raise_compiler_error(\n \"`zero_length_range_allowed` argument for mutually_exclusive_ranges test must be one of [true, false] Got: '\" ~ zero_length_range_allowed ~\"'.'\"\n ) }}\n{% endif %}\n\n{% set partition_clause=\"partition by \" ~ partition_by if partition_by else '' %}\n\nwith window_functions as (\n\n select\n {% if partition_by %}\n {{ partition_by }} as partition_by_col,\n {% endif %}\n {{ lower_bound_column }} as lower_bound,\n {{ upper_bound_column }} as upper_bound,\n\n lead({{ lower_bound_column }}) over (\n {{ partition_clause }}\n order by {{ lower_bound_column }}, {{ upper_bound_column }}\n ) as next_lower_bound,\n\n row_number() over (\n {{ partition_clause }}\n order by {{ lower_bound_column }} desc, {{ upper_bound_column }} desc\n ) = 1 as is_last_record\n\n from {{ model }}\n\n),\n\ncalc as (\n -- We want to return records where one of our assumptions fails, so we'll use\n -- the `not` function with `and` statements so we can write our assumptions more cleanly\n select\n *,\n\n -- For each record: lower_bound should be < upper_bound.\n -- Coalesce it to return an error on the null case (implicit assumption\n -- these columns are not_null)\n coalesce(\n lower_bound {{ allow_zero_length_operator }} upper_bound,\n false\n ) as lower_bound_{{ allow_zero_length_operator_in_words }}_upper_bound,\n\n -- For each record: upper_bound {{ allow_gaps_operator }} the next lower_bound.\n -- Coalesce it to handle null cases for the last record.\n coalesce(\n upper_bound {{ allow_gaps_operator }} next_lower_bound,\n is_last_record,\n false\n ) as upper_bound_{{ allow_gaps_operator_in_words }}_next_lower_bound\n\n from window_functions\n\n),\n\nvalidation_errors as (\n\n select\n *\n from calc\n\n where not(\n -- THE FOLLOWING SHOULD BE TRUE --\n lower_bound_{{ allow_zero_length_operator_in_words }}_upper_bound\n and upper_bound_{{ allow_gaps_operator_in_words }}_next_lower_bound\n )\n)\n\nselect * from validation_errors\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.050906, "supported_languages": null}, "macro.dbt_utils.test_not_empty_string": {"name": "test_not_empty_string", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_empty_string.sql", "original_file_path": "macros/generic_tests/not_empty_string.sql", "unique_id": "macro.dbt_utils.test_not_empty_string", "macro_sql": "{% test not_empty_string(model, column_name, trim_whitespace=true) %}\n\n {{ return(adapter.dispatch('test_not_empty_string', 'dbt_utils')(model, column_name, trim_whitespace)) }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_not_empty_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0518057, "supported_languages": null}, "macro.dbt_utils.default__test_not_empty_string": {"name": "default__test_not_empty_string", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_empty_string.sql", "original_file_path": "macros/generic_tests/not_empty_string.sql", "unique_id": "macro.dbt_utils.default__test_not_empty_string", "macro_sql": "{% macro default__test_not_empty_string(model, column_name, trim_whitespace=true) %}\n\n with\n \n all_values as (\n\n select \n\n\n {% if trim_whitespace == true -%}\n\n trim({{ column_name }}) as {{ column_name }}\n\n {%- else -%}\n\n {{ column_name }}\n\n {%- endif %}\n \n from {{ model }}\n\n ),\n\n errors as (\n\n select * from all_values\n where {{ column_name }} = ''\n\n )\n\n select * from errors\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.052392, "supported_languages": null}, "macro.dbt_utils.test_accepted_range": {"name": "test_accepted_range", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/accepted_range.sql", "original_file_path": "macros/generic_tests/accepted_range.sql", "unique_id": "macro.dbt_utils.test_accepted_range", "macro_sql": "{% test accepted_range(model, column_name, min_value=none, max_value=none, inclusive=true) %}\n {{ return(adapter.dispatch('test_accepted_range', 'dbt_utils')(model, column_name, min_value, max_value, inclusive)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_accepted_range"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0534139, "supported_languages": null}, "macro.dbt_utils.default__test_accepted_range": {"name": "default__test_accepted_range", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/accepted_range.sql", "original_file_path": "macros/generic_tests/accepted_range.sql", "unique_id": "macro.dbt_utils.default__test_accepted_range", "macro_sql": "{% macro default__test_accepted_range(model, column_name, min_value=none, max_value=none, inclusive=true) %}\n\nwith meet_condition as(\n select *\n from {{ model }}\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n\n {%- if min_value is not none %}\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not {{ column_name }} > {{- \"=\" if inclusive }} {{ min_value }}\n {%- endif %}\n\n {%- if max_value is not none %}\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not {{ column_name }} < {{- \"=\" if inclusive }} {{ max_value }}\n {%- endif %}\n)\n\nselect *\nfrom validation_errors\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0543149, "supported_languages": null}, "macro.dbt_utils.test_expression_is_true": {"name": "test_expression_is_true", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/expression_is_true.sql", "original_file_path": "macros/generic_tests/expression_is_true.sql", "unique_id": "macro.dbt_utils.test_expression_is_true", "macro_sql": "{% test expression_is_true(model, expression, column_name=None) %}\n {{ return(adapter.dispatch('test_expression_is_true', 'dbt_utils')(model, expression, column_name)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0550334, "supported_languages": null}, "macro.dbt_utils.default__test_expression_is_true": {"name": "default__test_expression_is_true", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/expression_is_true.sql", "original_file_path": "macros/generic_tests/expression_is_true.sql", "unique_id": "macro.dbt_utils.default__test_expression_is_true", "macro_sql": "{% macro default__test_expression_is_true(model, expression, column_name) %}\n\n{% set column_list = '*' if should_store_failures() else \"1\" %}\n\nselect\n {{ column_list }}\nfrom {{ model }}\n{% if column_name is none %}\nwhere not({{ expression }})\n{%- else %}\nwhere not({{ column_name }} {{ expression }})\n{%- endif %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.should_store_failures"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.055773, "supported_languages": null}, "macro.dbt_utils.test_at_least_one": {"name": "test_at_least_one", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/at_least_one.sql", "original_file_path": "macros/generic_tests/at_least_one.sql", "unique_id": "macro.dbt_utils.test_at_least_one", "macro_sql": "{% test at_least_one(model, column_name, group_by_columns = []) %}\n {{ return(adapter.dispatch('test_at_least_one', 'dbt_utils')(model, column_name, group_by_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_at_least_one"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0568569, "supported_languages": null}, "macro.dbt_utils.default__test_at_least_one": {"name": "default__test_at_least_one", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/at_least_one.sql", "original_file_path": "macros/generic_tests/at_least_one.sql", "unique_id": "macro.dbt_utils.default__test_at_least_one", "macro_sql": "{% macro default__test_at_least_one(model, column_name, group_by_columns) %}\n\n{% set pruned_cols = [column_name] %}\n\n{% if group_by_columns|length() > 0 %}\n\n {% set select_gb_cols = group_by_columns|join(' ,') + ', ' %}\n {% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n {% set pruned_cols = group_by_columns %}\n\n {% if column_name not in pruned_cols %}\n {% do pruned_cols.append(column_name) %}\n {% endif %}\n\n{% endif %}\n\n{% set select_pruned_cols = pruned_cols|join(' ,') %}\n\nselect *\nfrom (\n with pruned_rows as (\n select\n {{ select_pruned_cols }}\n from {{ model }}\n where {{ column_name }} is not null\n limit 1\n )\n select\n {# In TSQL, subquery aggregate columns need aliases #}\n {# thus: a filler col name, 'filler_column' #}\n {{select_gb_cols}}\n count({{ column_name }}) as filler_column\n\n from pruned_rows\n\n {{groupby_gb_cols}}\n\n having count({{ column_name }}) = 0\n\n) validation_errors\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.058376, "supported_languages": null}, "macro.dbt_utils.test_relationships_where": {"name": "test_relationships_where", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/relationships_where.sql", "original_file_path": "macros/generic_tests/relationships_where.sql", "unique_id": "macro.dbt_utils.test_relationships_where", "macro_sql": "{% test relationships_where(model, column_name, to, field, from_condition=\"1=1\", to_condition=\"1=1\") %}\n {{ return(adapter.dispatch('test_relationships_where', 'dbt_utils')(model, column_name, to, field, from_condition, to_condition)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_relationships_where"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0594928, "supported_languages": null}, "macro.dbt_utils.default__test_relationships_where": {"name": "default__test_relationships_where", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/relationships_where.sql", "original_file_path": "macros/generic_tests/relationships_where.sql", "unique_id": "macro.dbt_utils.default__test_relationships_where", "macro_sql": "{% macro default__test_relationships_where(model, column_name, to, field, from_condition=\"1=1\", to_condition=\"1=1\") %}\n\n{# T-SQL has no boolean data type so we use 1=1 which returns TRUE #}\n{# ref https://stackoverflow.com/a/7170753/3842610 #}\n\nwith left_table as (\n\n select\n {{column_name}} as id\n\n from {{model}}\n\n where {{column_name}} is not null\n and {{from_condition}}\n\n),\n\nright_table as (\n\n select\n {{field}} as id\n\n from {{to}}\n\n where {{field}} is not null\n and {{to_condition}}\n\n),\n\nexceptions as (\n\n select\n left_table.id,\n right_table.id as right_id\n\n from left_table\n\n left join right_table\n on left_table.id = right_table.id\n\n where right_table.id is null\n\n)\n\nselect * from exceptions\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.060152, "supported_languages": null}, "macro.dbt_utils.test_cardinality_equality": {"name": "test_cardinality_equality", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/cardinality_equality.sql", "original_file_path": "macros/generic_tests/cardinality_equality.sql", "unique_id": "macro.dbt_utils.test_cardinality_equality", "macro_sql": "{% test cardinality_equality(model, column_name, to, field) %}\n {{ return(adapter.dispatch('test_cardinality_equality', 'dbt_utils')(model, column_name, to, field)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_cardinality_equality"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0610504, "supported_languages": null}, "macro.dbt_utils.default__test_cardinality_equality": {"name": "default__test_cardinality_equality", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/cardinality_equality.sql", "original_file_path": "macros/generic_tests/cardinality_equality.sql", "unique_id": "macro.dbt_utils.default__test_cardinality_equality", "macro_sql": "{% macro default__test_cardinality_equality(model, column_name, to, field) %}\n\n{# T-SQL does not let you use numbers as aliases for columns #}\n{# Thus, no \"GROUP BY 1\" #}\n\nwith table_a as (\nselect\n {{ column_name }},\n count(*) as num_rows\nfrom {{ model }}\ngroup by {{ column_name }}\n),\n\ntable_b as (\nselect\n {{ field }},\n count(*) as num_rows\nfrom {{ to }}\ngroup by {{ field }}\n),\n\nexcept_a as (\n select *\n from table_a\n {{ dbt.except() }}\n select *\n from table_b\n),\n\nexcept_b as (\n select *\n from table_b\n {{ dbt.except() }}\n select *\n from table_a\n),\n\nunioned as (\n select *\n from except_a\n union all\n select *\n from except_b\n)\n\nselect *\nfrom unioned\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.except"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0617108, "supported_languages": null}, "macro.dbt_utils.test_not_accepted_values": {"name": "test_not_accepted_values", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_accepted_values.sql", "original_file_path": "macros/generic_tests/not_accepted_values.sql", "unique_id": "macro.dbt_utils.test_not_accepted_values", "macro_sql": "{% test not_accepted_values(model, column_name, values, quote=True) %}\n {{ return(adapter.dispatch('test_not_accepted_values', 'dbt_utils')(model, column_name, values, quote)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_not_accepted_values"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0626225, "supported_languages": null}, "macro.dbt_utils.default__test_not_accepted_values": {"name": "default__test_not_accepted_values", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_accepted_values.sql", "original_file_path": "macros/generic_tests/not_accepted_values.sql", "unique_id": "macro.dbt_utils.default__test_not_accepted_values", "macro_sql": "{% macro default__test_not_accepted_values(model, column_name, values, quote=True) %}\nwith all_values as (\n\n select distinct\n {{ column_name }} as value_field\n\n from {{ model }}\n\n),\n\nvalidation_errors as (\n\n select\n value_field\n\n from all_values\n where value_field in (\n {% for value in values -%}\n {% if quote -%}\n '{{ value }}'\n {%- else -%}\n {{ value }}\n {%- endif -%}\n {%- if not loop.last -%},{%- endif %}\n {%- endfor %}\n )\n\n)\n\nselect *\nfrom validation_errors\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.063408, "supported_languages": null}, "macro.dbt_utils.test_unique_combination_of_columns": {"name": "test_unique_combination_of_columns", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/unique_combination_of_columns.sql", "original_file_path": "macros/generic_tests/unique_combination_of_columns.sql", "unique_id": "macro.dbt_utils.test_unique_combination_of_columns", "macro_sql": "{% test unique_combination_of_columns(model, combination_of_columns, quote_columns=false) %}\n {{ return(adapter.dispatch('test_unique_combination_of_columns', 'dbt_utils')(model, combination_of_columns, quote_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_unique_combination_of_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0644484, "supported_languages": null}, "macro.dbt_utils.default__test_unique_combination_of_columns": {"name": "default__test_unique_combination_of_columns", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/unique_combination_of_columns.sql", "original_file_path": "macros/generic_tests/unique_combination_of_columns.sql", "unique_id": "macro.dbt_utils.default__test_unique_combination_of_columns", "macro_sql": "{% macro default__test_unique_combination_of_columns(model, combination_of_columns, quote_columns=false) %}\n\n{% if not quote_columns %}\n {%- set column_list=combination_of_columns %}\n{% elif quote_columns %}\n {%- set column_list=[] %}\n {% for column in combination_of_columns -%}\n {% set column_list = column_list.append( adapter.quote(column) ) %}\n {%- endfor %}\n{% else %}\n {{ exceptions.raise_compiler_error(\n \"`quote_columns` argument for unique_combination_of_columns test must be one of [True, False] Got: '\" ~ quote ~\"'.'\"\n ) }}\n{% endif %}\n\n{%- set columns_csv=column_list | join(', ') %}\n\n\nwith validation_errors as (\n\n select\n {{ columns_csv }}\n from {{ model }}\n group by {{ columns_csv }}\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.065908, "supported_languages": null}, "macro.dbt_utils.test_fewer_rows_than": {"name": "test_fewer_rows_than", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/fewer_rows_than.sql", "original_file_path": "macros/generic_tests/fewer_rows_than.sql", "unique_id": "macro.dbt_utils.test_fewer_rows_than", "macro_sql": "{% test fewer_rows_than(model, compare_model, group_by_columns = []) %}\n {{ return(adapter.dispatch('test_fewer_rows_than', 'dbt_utils')(model, compare_model, group_by_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_fewer_rows_than"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0676768, "supported_languages": null}, "macro.dbt_utils.default__test_fewer_rows_than": {"name": "default__test_fewer_rows_than", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/fewer_rows_than.sql", "original_file_path": "macros/generic_tests/fewer_rows_than.sql", "unique_id": "macro.dbt_utils.default__test_fewer_rows_than", "macro_sql": "{% macro default__test_fewer_rows_than(model, compare_model, group_by_columns) %}\n\n{{ config(fail_calc = 'sum(coalesce(row_count_delta, 0))') }}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(' ,') + ', ' %}\n {% set join_gb_cols %}\n {% for c in group_by_columns %}\n and a.{{c}} = b.{{c}}\n {% endfor %}\n {% endset %}\n {% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n{% endif %}\n\n{#-- We must add a fake join key in case additional grouping variables are not provided --#}\n{#-- Redshift does not allow for dynamically created join conditions (e.g. full join on 1 = 1 --#}\n{#-- The same logic is used in equal_rowcount. In case of changes, maintain consistent logic --#}\n{% set group_by_columns = ['id_dbtutils_test_fewer_rows_than'] + group_by_columns %}\n{% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n\n\nwith a as (\n\n select \n {{select_gb_cols}}\n 1 as id_dbtutils_test_fewer_rows_than,\n count(*) as count_our_model \n from {{ model }}\n {{ groupby_gb_cols }}\n\n),\nb as (\n\n select \n {{select_gb_cols}}\n 1 as id_dbtutils_test_fewer_rows_than,\n count(*) as count_comparison_model \n from {{ compare_model }}\n {{ groupby_gb_cols }}\n\n),\ncounts as (\n\n select\n\n {% for c in group_by_columns -%}\n a.{{c}} as {{c}}_a,\n b.{{c}} as {{c}}_b,\n {% endfor %}\n\n count_our_model,\n count_comparison_model\n from a\n full join b on \n a.id_dbtutils_test_fewer_rows_than = b.id_dbtutils_test_fewer_rows_than\n {{ join_gb_cols }}\n\n),\nfinal as (\n\n select *,\n case\n -- fail the test if we have more rows than the reference model and return the row count delta\n when count_our_model > count_comparison_model then (count_our_model - count_comparison_model)\n -- fail the test if they are the same number\n when count_our_model = count_comparison_model then 1\n -- pass the test if the delta is positive (i.e. return the number 0)\n else 0\n end as row_count_delta\n from counts\n\n)\n\nselect * from final\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0697331, "supported_languages": null}, "macro.dbt_utils.test_recency": {"name": "test_recency", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/recency.sql", "original_file_path": "macros/generic_tests/recency.sql", "unique_id": "macro.dbt_utils.test_recency", "macro_sql": "{% test recency(model, field, datepart, interval, ignore_time_component=False, group_by_columns = []) %}\n {{ return(adapter.dispatch('test_recency', 'dbt_utils')(model, field, datepart, interval, ignore_time_component, group_by_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_recency"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0712812, "supported_languages": null}, "macro.dbt_utils.default__test_recency": {"name": "default__test_recency", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/recency.sql", "original_file_path": "macros/generic_tests/recency.sql", "unique_id": "macro.dbt_utils.default__test_recency", "macro_sql": "{% macro default__test_recency(model, field, datepart, interval, ignore_time_component, group_by_columns) %}\n\n{% set threshold = 'cast(' ~ dbt.dateadd(datepart, interval * -1, dbt.current_timestamp()) ~ ' as ' ~ ('date' if ignore_time_component else dbt.type_timestamp()) ~ ')' %}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(' ,') + ', ' %}\n {% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n{% endif %}\n\n\nwith recency as (\n\n select \n\n {{ select_gb_cols }}\n {% if ignore_time_component %}\n cast(max({{ field }}) as date) as most_recent\n {%- else %}\n max({{ field }}) as most_recent\n {%- endif %}\n\n from {{ model }}\n\n {{ groupby_gb_cols }}\n\n)\n\nselect\n\n {{ select_gb_cols }}\n most_recent,\n {{ threshold }} as threshold\n\nfrom recency\nwhere most_recent < {{ threshold }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.dateadd", "macro.dbt.current_timestamp", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.072953, "supported_languages": null}, "macro.dbt_utils.test_equality": {"name": "test_equality", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/equality.sql", "original_file_path": "macros/generic_tests/equality.sql", "unique_id": "macro.dbt_utils.test_equality", "macro_sql": "{% test equality(model, compare_model, compare_columns=None) %}\n {{ return(adapter.dispatch('test_equality', 'dbt_utils')(model, compare_model, compare_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_equality"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0743425, "supported_languages": null}, "macro.dbt_utils.default__test_equality": {"name": "default__test_equality", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/equality.sql", "original_file_path": "macros/generic_tests/equality.sql", "unique_id": "macro.dbt_utils.default__test_equality", "macro_sql": "{% macro default__test_equality(model, compare_model, compare_columns=None) %}\n\n{% set set_diff %}\n count(*) + coalesce(abs(\n sum(case when which_diff = 'a_minus_b' then 1 else 0 end) -\n sum(case when which_diff = 'b_minus_a' then 1 else 0 end)\n ), 0)\n{% endset %}\n\n{#-- Needs to be set at parse time, before we return '' below --#}\n{{ config(fail_calc = set_diff) }}\n\n{#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #}\n{%- if not execute -%}\n {{ return('') }}\n{% endif %}\n\n-- setup\n{%- do dbt_utils._is_relation(model, 'test_equality') -%}\n\n{#-\nIf the compare_cols arg is provided, we can run this test without querying the\ninformation schema\u00a0\u2014 this allows the model to be an ephemeral model\n-#}\n\n{%- if not compare_columns -%}\n {%- do dbt_utils._is_ephemeral(model, 'test_equality') -%}\n {%- set compare_columns = adapter.get_columns_in_relation(model) | map(attribute='quoted') -%}\n{%- endif -%}\n\n{% set compare_cols_csv = compare_columns | join(', ') %}\n\nwith a as (\n\n select * from {{ model }}\n\n),\n\nb as (\n\n select * from {{ compare_model }}\n\n),\n\na_minus_b as (\n\n select {{compare_cols_csv}} from a\n {{ dbt.except() }}\n select {{compare_cols_csv}} from b\n\n),\n\nb_minus_a as (\n\n select {{compare_cols_csv}} from b\n {{ dbt.except() }}\n select {{compare_cols_csv}} from a\n\n),\n\nunioned as (\n\n select 'a_minus_b' as which_diff, a_minus_b.* from a_minus_b\n union all\n select 'b_minus_a' as which_diff, b_minus_a.* from b_minus_a\n\n)\n\nselect * from unioned\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt_utils._is_ephemeral", "macro.dbt.except"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.076178, "supported_languages": null}, "macro.dbt_utils.test_sequential_values": {"name": "test_sequential_values", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/sequential_values.sql", "original_file_path": "macros/generic_tests/sequential_values.sql", "unique_id": "macro.dbt_utils.test_sequential_values", "macro_sql": "{% test sequential_values(model, column_name, interval=1, datepart=None, group_by_columns = []) %}\n\n {{ return(adapter.dispatch('test_sequential_values', 'dbt_utils')(model, column_name, interval, datepart, group_by_columns)) }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_sequential_values"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.077835, "supported_languages": null}, "macro.dbt_utils.default__test_sequential_values": {"name": "default__test_sequential_values", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/sequential_values.sql", "original_file_path": "macros/generic_tests/sequential_values.sql", "unique_id": "macro.dbt_utils.default__test_sequential_values", "macro_sql": "{% macro default__test_sequential_values(model, column_name, interval=1, datepart=None, group_by_columns = []) %}\n\n{% set previous_column_name = \"previous_\" ~ dbt_utils.slugify(column_name) %}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(',') + ', ' %}\n {% set partition_gb_cols = 'partition by ' + group_by_columns|join(',') %}\n{% endif %}\n\nwith windowed as (\n\n select\n {{ select_gb_cols }}\n {{ column_name }},\n lag({{ column_name }}) over (\n {{partition_gb_cols}}\n order by {{ column_name }}\n ) as {{ previous_column_name }}\n from {{ model }}\n),\n\nvalidation_errors as (\n select\n *\n from windowed\n {% if datepart %}\n where not(cast({{ column_name }} as {{ dbt.type_timestamp() }})= cast({{ dbt.dateadd(datepart, interval, previous_column_name) }} as {{ dbt.type_timestamp() }}))\n {% else %}\n where not({{ column_name }} = {{ previous_column_name }} + {{ interval }})\n {% endif %}\n)\n\nselect *\nfrom validation_errors\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.slugify", "macro.dbt.type_timestamp", "macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0796485, "supported_languages": null}, "macro.dbt_utils.test_equal_rowcount": {"name": "test_equal_rowcount", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/equal_rowcount.sql", "original_file_path": "macros/generic_tests/equal_rowcount.sql", "unique_id": "macro.dbt_utils.test_equal_rowcount", "macro_sql": "{% test equal_rowcount(model, compare_model, group_by_columns = []) %}\n {{ return(adapter.dispatch('test_equal_rowcount', 'dbt_utils')(model, compare_model, group_by_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_equal_rowcount"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0811663, "supported_languages": null}, "macro.dbt_utils.default__test_equal_rowcount": {"name": "default__test_equal_rowcount", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/equal_rowcount.sql", "original_file_path": "macros/generic_tests/equal_rowcount.sql", "unique_id": "macro.dbt_utils.default__test_equal_rowcount", "macro_sql": "{% macro default__test_equal_rowcount(model, compare_model, group_by_columns) %}\n\n{#-- Needs to be set at parse time, before we return '' below --#}\n{{ config(fail_calc = 'sum(coalesce(diff_count, 0))') }}\n\n{#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #}\n{%- if not execute -%}\n {{ return('') }}\n{% endif %}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(', ') + ', ' %}\n {% set join_gb_cols %}\n {% for c in group_by_columns %}\n and a.{{c}} = b.{{c}}\n {% endfor %}\n {% endset %}\n {% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n{% endif %}\n\n{#-- We must add a fake join key in case additional grouping variables are not provided --#}\n{#-- Redshift does not allow for dynamically created join conditions (e.g. full join on 1 = 1 --#}\n{#-- The same logic is used in fewer_rows_than. In case of changes, maintain consistent logic --#}\n{% set group_by_columns = ['id_dbtutils_test_equal_rowcount'] + group_by_columns %}\n{% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n\nwith a as (\n\n select \n {{select_gb_cols}}\n 1 as id_dbtutils_test_equal_rowcount,\n count(*) as count_a \n from {{ model }}\n {{groupby_gb_cols}}\n\n\n),\nb as (\n\n select \n {{select_gb_cols}}\n 1 as id_dbtutils_test_equal_rowcount,\n count(*) as count_b \n from {{ compare_model }}\n {{groupby_gb_cols}}\n\n),\nfinal as (\n\n select\n \n {% for c in group_by_columns -%}\n a.{{c}} as {{c}}_a,\n b.{{c}} as {{c}}_b,\n {% endfor %}\n\n count_a,\n count_b,\n abs(count_a - count_b) as diff_count\n\n from a\n full join b\n on\n a.id_dbtutils_test_equal_rowcount = b.id_dbtutils_test_equal_rowcount\n {{join_gb_cols}}\n\n\n)\n\nselect * from final\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1723584313.0835671, "supported_languages": null}}, "docs": {"doc.dbt.__overview__": {"name": "__overview__", "resource_type": "doc", "package_name": "dbt", "path": "overview.md", "original_file_path": "docs/overview.md", "unique_id": "doc.dbt.__overview__", "block_contents": "### Welcome!\n\nWelcome to the auto-generated documentation for your dbt project!\n\n### Navigation\n\nYou can use the `Project` and `Database` navigation tabs on the left side of the window to explore the models\nin your project.\n\n#### Project Tab\nThe `Project` tab mirrors the directory structure of your dbt project. In this tab, you can see all of the\nmodels defined in your dbt project, as well as models imported from dbt packages.\n\n#### Database Tab\nThe `Database` tab also exposes your models, but in a format that looks more like a database explorer. This view\nshows relations (tables and views) grouped into database schemas. Note that ephemeral models are _not_ shown\nin this interface, as they do not exist in the database.\n\n### Graph Exploration\nYou can click the blue icon on the bottom-right corner of the page to view the lineage graph of your models.\n\nOn model pages, you'll see the immediate parents and children of the model you're exploring. By clicking the `Expand`\nbutton at the top-right of this lineage pane, you'll be able to see all of the models that are used to build,\nor are built from, the model you're exploring.\n\nOnce expanded, you'll be able to use the `--select` and `--exclude` model selection syntax to filter the\nmodels in the graph. For more information on model selection, check out the [dbt docs](https://docs.getdbt.com/docs/model-selection-syntax).\n\nNote that you can also right-click on models to interactively filter and explore the graph.\n\n---\n\n### More information\n\n- [What is dbt](https://docs.getdbt.com/docs/introduction)?\n- Read the [dbt viewpoint](https://docs.getdbt.com/docs/viewpoint)\n- [Installation](https://docs.getdbt.com/docs/installation)\n- Join the [dbt Community](https://www.getdbt.com/community/) for questions and discussion"}}, "exposures": {}, "metrics": {}, "groups": {}, "selectors": {}, "disabled": {"model.synthetix.v2_perp_position_liquidated_optimism_mainnet": [{"database": "analytics", "schema": "prod_raw_optimism_mainnet", "name": "v2_perp_position_liquidated_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/optimism/mainnet/v2_perp_position_liquidated_optimism_mainnet.sql", "original_file_path": "models/raw/optimism/mainnet/v2_perp_position_liquidated_optimism_mainnet.sql", "unique_id": "model.synthetix.v2_perp_position_liquidated_optimism_mainnet", "fqn": ["synthetix", "raw", "optimism", "mainnet", "v2_perp_position_liquidated_optimism_mainnet"], "alias": "v2_perp_position_liquidated_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "2bf1ba9763f267bd06922fce1a52e21e19ae8502e2ebadf466d216bc564e3cb0"}, "config": {"enabled": false, "alias": null, "schema": "raw_optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "incremental", "incremental_strategy": null, "persist_docs": {}, "post-hook": [{"sql": "create index if not exists idx_id on {{ this }} (id)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_block_number on {{ this }} (block_number)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_market on {{ this }} (market)", "transaction": true, "index": null}], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": "id", "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account": {"name": "account", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "liquidator": {"name": "liquidator", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "stakers_fee": {"name": "stakers_fee", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidator_fee": {"name": "liquidator_fee", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "flagger_fee": {"name": "flagger_fee", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "total_fee": {"name": "total_fee", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "raw_optimism_mainnet", "materialized": "incremental", "unique_key": "id", "post-hook": ["create index if not exists idx_id on {{ this }} (id)", "create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)", "create index if not exists idx_block_number on {{ this }} (block_number)", "create index if not exists idx_market on {{ this }} (market)"]}, "created_at": 1723584318.4690855, "relation_name": "\"analytics\".\"prod_raw_optimism_mainnet\".\"v2_perp_position_liquidated_optimism_mainnet\"", "raw_code": "{{ config(\n materialized = 'incremental',\n unique_key = 'id',\n post_hook = [ \"create index if not exists idx_id on {{ this }} (id)\", \"create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)\", \"create index if not exists idx_block_number on {{ this }} (block_number)\", \"create index if not exists idx_market on {{ this }} (market)\" ]\n) }}\n\nWITH legacy_events AS ({{ get_v2_event_data('optimism', 'mainnet', 'position_liquidated1') }}),\ncurrent_events AS ({{ get_v2_event_data('optimism', 'mainnet', 'position_liquidated0') }})\nSELECT\n id,\n transaction_hash,\n block_number,\n block_timestamp,\n contract,\n UPPER(market) AS market,\n event_name,\n account,\n liquidator,\n stakers_fee,\n liquidator_fee,\n flagger_fee,\n stakers_fee + liquidator_fee + flagger_fee AS total_fee,\n price\nFROM\n current_events\nWHERE\n\n{% if is_incremental() %}\nblock_number > (\n SELECT\n COALESCE(MAX(block_number), 0)\n FROM\n {{ this }})\n {% else %}\n TRUE\n {% endif %}\n UNION ALL\n SELECT\n id,\n transaction_hash,\n block_number,\n block_timestamp,\n contract,\n UPPER(market) AS market,\n event_name,\n account,\n liquidator,\n fee AS stakers_fee,\n 0 AS liquidator_fee,\n 0 AS flagger_fee,\n fee AS total_fee,\n price\n FROM\n legacy_events\n WHERE\n\n{% if is_incremental() %}\nblock_number > (\n SELECT\n COALESCE(MAX(block_number), 0)\n FROM\n {{ this }})\n {% else %}\n TRUE\n {% endif %}\n ORDER BY\n id", "language": "sql", "refs": [], "sources": [["raw_optimism_mainnet", "perps_v21_inch_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_aave_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_ada_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_algo_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_ankr_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_ape_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_apt_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_arb_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_atom_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_aud_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_avax_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_axs_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_bal_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_bch_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_blur_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_bnb_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_bonk_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_btc_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_celo_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_comp_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_crv_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_cvx_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_doge_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_dot_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_dydx_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_enj_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_eos_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_etc_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_eth_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_ethbtc_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_eur_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_fet_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_fil_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_floki_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_flow_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_ftm_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_fxs_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_gbp_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_gmx_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_grt_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_icp_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_imx_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_inj_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_jto_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_jup_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_knc_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_ldo_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_link_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_ltc_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_matic_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_mav_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_meme_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_mkr_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_near_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_one_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_op_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_ordi_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_pendle_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_pepe_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_perp_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_pyth_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_rndr_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_rpl_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_rune_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_sei_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_shib_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_sol_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_steth_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_stetheth_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_strk_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_sui_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_sushi_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_tia_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_trb_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_trx_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_uma_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_uni_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_usdt_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_wld_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_xag_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_xau_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_xlm_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_xmr_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_xrp_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_xtz_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_yfi_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_zec_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_zil_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_zrx_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v21_inch_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_aave_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_ada_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_algo_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_ankr_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_ape_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_apt_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_arb_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_atom_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_aud_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_avax_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_axs_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_bal_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_bch_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_blur_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_bnb_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_bonk_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_btc_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_celo_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_comp_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_crv_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_cvx_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_doge_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_dot_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_dydx_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_enj_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_eos_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_etc_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_eth_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_ethbtc_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_eur_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_fet_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_fil_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_floki_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_flow_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_ftm_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_fxs_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_gbp_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_gmx_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_grt_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_icp_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_imx_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_inj_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_jto_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_jup_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_knc_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_ldo_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_link_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_ltc_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_matic_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_mav_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_meme_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_mkr_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_near_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_one_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_op_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_ordi_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_pendle_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_pepe_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_perp_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_pyth_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_rndr_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_rpl_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_rune_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_sei_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_shib_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_sol_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_steth_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_stetheth_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_strk_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_sui_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_sushi_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_tia_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_trb_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_trx_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_uma_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_uni_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_usdt_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_wld_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_xag_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_xau_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_xlm_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_xmr_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_xrp_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_xtz_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_yfi_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_zec_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_zil_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_zrx_event_position_liquidated0"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_v2_event_data", "macro.dbt.is_incremental"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.v2_perp_delayed_order_submitted_optimism_mainnet": [{"database": "analytics", "schema": "prod_raw_optimism_mainnet", "name": "v2_perp_delayed_order_submitted_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/optimism/mainnet/v2_perp_delayed_order_submitted_optimism_mainnet.sql", "original_file_path": "models/raw/optimism/mainnet/v2_perp_delayed_order_submitted_optimism_mainnet.sql", "unique_id": "model.synthetix.v2_perp_delayed_order_submitted_optimism_mainnet", "fqn": ["synthetix", "raw", "optimism", "mainnet", "v2_perp_delayed_order_submitted_optimism_mainnet"], "alias": "v2_perp_delayed_order_submitted_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "2e5f430692a9df071f3ce28610cd0e8d58c884ed3a4bd11c18a8db083118ae9b"}, "config": {"enabled": false, "alias": null, "schema": "raw_optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "incremental", "incremental_strategy": null, "persist_docs": {}, "post-hook": [{"sql": "create index if not exists idx_id on {{ this }} (id)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_block_number on {{ this }} (block_number)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_market on {{ this }} (market)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_contract on {{ this }} (contract)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_account on {{ this }} (account)", "transaction": true, "index": null}], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": "id", "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account": {"name": "account", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "commit_deposit": {"name": "commit_deposit", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "keeper_deposit": {"name": "keeper_deposit", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "executable_at_time": {"name": "executable_at_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "intention_time": {"name": "intention_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "target_round_id": {"name": "target_round_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "is_offchain": {"name": "is_offchain", "description": "", "meta": {}, "data_type": "boolean", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "raw_optimism_mainnet", "materialized": "incremental", "unique_key": "id", "post-hook": ["create index if not exists idx_id on {{ this }} (id)", "create index if not exists idx_block_number on {{ this }} (block_number)", "create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)", "create index if not exists idx_market on {{ this }} (market)", "create index if not exists idx_contract on {{ this }} (contract)", "create index if not exists idx_account on {{ this }} (account)"]}, "created_at": 1723584318.4625697, "relation_name": "\"analytics\".\"prod_raw_optimism_mainnet\".\"v2_perp_delayed_order_submitted_optimism_mainnet\"", "raw_code": "{{ config(\n materialized = 'incremental',\n unique_key = 'id',\n post_hook = [ \"create index if not exists idx_id on {{ this }} (id)\", \"create index if not exists idx_block_number on {{ this }} (block_number)\", \"create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)\", \"create index if not exists idx_market on {{ this }} (market)\", \"create index if not exists idx_contract on {{ this }} (contract)\", \"create index if not exists idx_account on {{ this }} (account)\" ]\n) }}\n\nWITH events AS ({{ get_v2_event_data('optimism', 'mainnet', 'delayed_order_submitted') }})\nSELECT\n id,\n transaction_hash,\n block_timestamp,\n block_number,\n contract,\n UPPER(market) AS market,\n event_name,\n account,\n commit_deposit,\n keeper_deposit,\n executable_at_time,\n intention_time,\n target_round_id,\n is_offchain,\n size_delta,\n tracking_code\nFROM\n events\nWHERE\n\n{% if is_incremental() %}\nblock_number > (\n SELECT\n COALESCE(MAX(block_number), 0)\n FROM\n {{ this }})\n {% else %}\n TRUE\n {% endif %}\n ORDER BY\n id", "language": "sql", "refs": [], "sources": [["raw_optimism_mainnet", "perps_v21_inch_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_aave_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_ada_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_algo_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_ankr_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_ape_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_apt_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_arb_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_atom_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_aud_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_avax_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_axs_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_bal_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_bch_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_blur_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_bnb_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_bonk_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_btc_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_celo_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_comp_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_crv_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_cvx_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_doge_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_dot_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_dydx_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_enj_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_eos_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_etc_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_eth_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_ethbtc_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_eur_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_fet_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_fil_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_floki_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_flow_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_ftm_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_fxs_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_gbp_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_gmx_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_grt_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_icp_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_imx_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_inj_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_jto_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_jup_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_knc_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_ldo_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_link_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_ltc_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_matic_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_mav_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_meme_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_mkr_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_near_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_one_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_op_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_ordi_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_pendle_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_pepe_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_perp_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_pyth_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_rndr_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_rpl_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_rune_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_sei_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_shib_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_sol_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_steth_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_stetheth_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_strk_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_sui_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_sushi_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_tia_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_trb_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_trx_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_uma_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_uni_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_usdt_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_wld_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_xag_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_xau_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_xlm_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_xmr_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_xrp_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_xtz_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_yfi_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_zec_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_zil_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_zrx_event_delayed_order_submitted"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_v2_event_data", "macro.dbt.is_incremental"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.v2_perp_funding_recomputed_optimism_mainnet": [{"database": "analytics", "schema": "prod_raw_optimism_mainnet", "name": "v2_perp_funding_recomputed_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/optimism/mainnet/v2_perp_funding_recomputed_optimism_mainnet.sql", "original_file_path": "models/raw/optimism/mainnet/v2_perp_funding_recomputed_optimism_mainnet.sql", "unique_id": "model.synthetix.v2_perp_funding_recomputed_optimism_mainnet", "fqn": ["synthetix", "raw", "optimism", "mainnet", "v2_perp_funding_recomputed_optimism_mainnet"], "alias": "v2_perp_funding_recomputed_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "01a9573ade58febdbba154d80868cde48e48fb4e5b5706146f572ddb30e97835"}, "config": {"enabled": false, "alias": null, "schema": "raw_optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "incremental", "incremental_strategy": null, "persist_docs": {}, "post-hook": [{"sql": "create index if not exists idx_id on {{ this }} (id)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_block_number on {{ this }} (block_number)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_market on {{ this }} (market)", "transaction": true, "index": null}], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": "id", "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "index": {"name": "index", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "funding": {"name": "funding", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "funding_rate": {"name": "funding_rate", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "raw_optimism_mainnet", "materialized": "incremental", "unique_key": "id", "post-hook": ["create index if not exists idx_id on {{ this }} (id)", "create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)", "create index if not exists idx_block_number on {{ this }} (block_number)", "create index if not exists idx_market on {{ this }} (market)"]}, "created_at": 1723584318.464883, "relation_name": "\"analytics\".\"prod_raw_optimism_mainnet\".\"v2_perp_funding_recomputed_optimism_mainnet\"", "raw_code": "{{ config(\n materialized = 'incremental',\n unique_key = 'id',\n post_hook = [ \"create index if not exists idx_id on {{ this }} (id)\", \"create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)\", \"create index if not exists idx_block_number on {{ this }} (block_number)\", \"create index if not exists idx_market on {{ this }} (market)\" ]\n) }}\n\nWITH events AS ({{ get_v2_event_data('optimism', 'mainnet', 'funding_recomputed') }})\nSELECT\n id,\n transaction_hash,\n block_timestamp,\n block_number,\n contract,\n UPPER(market) AS market,\n event_name,\n INDEX,\n funding,\n funding_rate\nFROM\n events\nWHERE\n\n{% if is_incremental() %}\nblock_number > (\n SELECT\n COALESCE(MAX(block_number), 0)\n FROM\n {{ this }})\n {% else %}\n TRUE\n {% endif %}\n ORDER BY\n id", "language": "sql", "refs": [], "sources": [["raw_optimism_mainnet", "perps_v21_inch_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_aave_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_ada_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_algo_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_ankr_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_ape_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_apt_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_arb_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_atom_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_aud_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_avax_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_axs_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_bal_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_bch_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_blur_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_bnb_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_bonk_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_btc_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_celo_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_comp_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_crv_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_cvx_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_doge_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_dot_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_dydx_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_enj_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_eos_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_etc_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_eth_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_ethbtc_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_eur_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_fet_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_fil_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_floki_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_flow_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_ftm_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_fxs_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_gbp_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_gmx_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_grt_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_icp_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_imx_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_inj_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_jto_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_jup_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_knc_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_ldo_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_link_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_ltc_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_matic_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_mav_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_meme_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_mkr_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_near_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_one_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_op_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_ordi_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_pendle_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_pepe_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_perp_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_pyth_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_rndr_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_rpl_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_rune_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_sei_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_shib_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_sol_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_steth_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_stetheth_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_strk_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_sui_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_sushi_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_tia_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_trb_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_trx_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_uma_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_uni_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_usdt_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_wld_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_xag_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_xau_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_xlm_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_xmr_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_xrp_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_xtz_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_yfi_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_zec_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_zil_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_zrx_event_funding_recomputed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_v2_event_data", "macro.dbt.is_incremental"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.v2_perp_margin_transferred_optimism_mainnet": [{"database": "analytics", "schema": "prod_raw_optimism_mainnet", "name": "v2_perp_margin_transferred_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/optimism/mainnet/v2_perp_margin_transferred_optimism_mainnet.sql", "original_file_path": "models/raw/optimism/mainnet/v2_perp_margin_transferred_optimism_mainnet.sql", "unique_id": "model.synthetix.v2_perp_margin_transferred_optimism_mainnet", "fqn": ["synthetix", "raw", "optimism", "mainnet", "v2_perp_margin_transferred_optimism_mainnet"], "alias": "v2_perp_margin_transferred_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "4975ee2e34505f95b08338a7191ae333d6bd0cf57beb7b9d42ac49464b12ef81"}, "config": {"enabled": false, "alias": null, "schema": "raw_optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "incremental", "incremental_strategy": null, "persist_docs": {}, "post-hook": [{"sql": "create index if not exists idx_id on {{ this }} (id)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_block_number on {{ this }} (block_number)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_market on {{ this }} (market)", "transaction": true, "index": null}], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": "id", "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account": {"name": "account", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "margin_delta": {"name": "margin_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "raw_optimism_mainnet", "materialized": "incremental", "unique_key": "id", "post-hook": ["create index if not exists idx_id on {{ this }} (id)", "create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)", "create index if not exists idx_block_number on {{ this }} (block_number)", "create index if not exists idx_market on {{ this }} (market)"]}, "created_at": 1723584318.4661577, "relation_name": "\"analytics\".\"prod_raw_optimism_mainnet\".\"v2_perp_margin_transferred_optimism_mainnet\"", "raw_code": "{{ config(\n materialized = 'incremental',\n unique_key = 'id',\n post_hook = [ \"create index if not exists idx_id on {{ this }} (id)\", \"create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)\", \"create index if not exists idx_block_number on {{ this }} (block_number)\", \"create index if not exists idx_market on {{ this }} (market)\" ]\n) }}\n\nWITH events AS ({{ get_v2_event_data('optimism', 'mainnet', 'margin_transferred') }})\nSELECT\n id,\n transaction_hash,\n block_timestamp,\n block_number,\n contract,\n UPPER(market) AS market,\n event_name,\n account,\n {{ convert_wei('margin_delta') }} AS margin_delta\nFROM\n events\nWHERE\n\n{% if is_incremental() %}\nblock_number > (\n SELECT\n COALESCE(MAX(block_number), 0)\n FROM\n {{ this }})\n {% else %}\n TRUE\n {% endif %}\n ORDER BY\n id", "language": "sql", "refs": [], "sources": [["raw_optimism_mainnet", "perps_v21_inch_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_aave_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_ada_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_algo_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_ankr_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_ape_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_apt_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_arb_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_atom_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_aud_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_avax_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_axs_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_bal_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_bch_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_blur_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_bnb_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_bonk_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_btc_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_celo_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_comp_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_crv_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_cvx_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_doge_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_dot_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_dydx_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_enj_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_eos_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_etc_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_eth_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_ethbtc_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_eur_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_fet_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_fil_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_floki_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_flow_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_ftm_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_fxs_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_gbp_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_gmx_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_grt_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_icp_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_imx_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_inj_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_jto_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_jup_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_knc_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_ldo_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_link_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_ltc_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_matic_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_mav_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_meme_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_mkr_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_near_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_one_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_op_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_ordi_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_pendle_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_pepe_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_perp_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_pyth_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_rndr_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_rpl_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_rune_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_sei_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_shib_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_sol_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_steth_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_stetheth_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_strk_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_sui_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_sushi_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_tia_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_trb_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_trx_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_uma_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_uni_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_usdt_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_wld_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_xag_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_xau_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_xlm_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_xmr_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_xrp_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_xtz_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_yfi_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_zec_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_zil_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_zrx_event_margin_transferred"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_v2_event_data", "macro.synthetix.convert_wei", "macro.dbt.is_incremental"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.v2_perp_position_modified_optimism_mainnet": [{"database": "analytics", "schema": "prod_raw_optimism_mainnet", "name": "v2_perp_position_modified_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/optimism/mainnet/v2_perp_position_modified_optimism_mainnet.sql", "original_file_path": "models/raw/optimism/mainnet/v2_perp_position_modified_optimism_mainnet.sql", "unique_id": "model.synthetix.v2_perp_position_modified_optimism_mainnet", "fqn": ["synthetix", "raw", "optimism", "mainnet", "v2_perp_position_modified_optimism_mainnet"], "alias": "v2_perp_position_modified_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "b660e3f61faa37f2c918d5f1046f078b573247ff415a6e5085da653509791ce0"}, "config": {"enabled": false, "alias": null, "schema": "raw_optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "incremental", "incremental_strategy": null, "persist_docs": {}, "post-hook": [{"sql": "create index if not exists idx_id on {{ this }} (id)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_block_number on {{ this }} (block_number)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_market on {{ this }} (market)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_contract on {{ this }} (contract)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_account on {{ this }} (account)", "transaction": true, "index": null}], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": "id", "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account": {"name": "account", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "funding_index": {"name": "funding_index", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "last_price": {"name": "last_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trade_size": {"name": "trade_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "margin": {"name": "margin", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fee": {"name": "fee", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "skew": {"name": "skew", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "raw_optimism_mainnet", "materialized": "incremental", "unique_key": "id", "post-hook": ["create index if not exists idx_id on {{ this }} (id)", "create index if not exists idx_block_number on {{ this }} (block_number)", "create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)", "create index if not exists idx_market on {{ this }} (market)", "create index if not exists idx_contract on {{ this }} (contract)", "create index if not exists idx_account on {{ this }} (account)"]}, "created_at": 1723584318.4725058, "relation_name": "\"analytics\".\"prod_raw_optimism_mainnet\".\"v2_perp_position_modified_optimism_mainnet\"", "raw_code": "{{ config(\n materialized = 'incremental',\n unique_key = 'id',\n post_hook = [ \"create index if not exists idx_id on {{ this }} (id)\", \"create index if not exists idx_block_number on {{ this }} (block_number)\", \"create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)\", \"create index if not exists idx_market on {{ this }} (market)\", \"create index if not exists idx_contract on {{ this }} (contract)\", \"create index if not exists idx_account on {{ this }} (account)\" ]\n) }}\n\nWITH legacy_events AS ({{ get_v2_event_data('optimism', 'mainnet', 'position_modified1') }}),\ncurrent_events AS ({{ get_v2_event_data('optimism', 'mainnet', 'position_modified0') }})\nSELECT\n *\nFROM\n (\n SELECT\n id,\n transaction_hash,\n contract,\n block_timestamp,\n block_number,\n UPPER(market) AS market,\n event_name,\n account,\n funding_index,\n last_price,\n trade_size,\n \"size\",\n margin,\n fee,\n skew\n FROM\n current_events\n UNION ALL\n SELECT\n id,\n transaction_hash,\n contract,\n block_timestamp,\n block_number,\n UPPER(market) AS market,\n event_name,\n account,\n funding_index,\n last_price,\n trade_size,\n \"size\",\n margin,\n fee,\n NULL AS skew\n FROM\n legacy_events\n ) AS events\nWHERE\n\n{% if is_incremental() %}\nblock_number > (\n SELECT\n COALESCE(MAX(block_number), 0)\n FROM\n {{ this }})\n {% else %}\n TRUE\n {% endif %}\n ORDER BY\n id", "language": "sql", "refs": [], "sources": [["raw_optimism_mainnet", "perps_v21_inch_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_aave_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_ada_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_algo_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_ankr_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_ape_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_apt_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_arb_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_atom_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_aud_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_avax_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_axs_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_bal_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_bch_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_blur_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_bnb_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_bonk_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_btc_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_celo_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_comp_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_crv_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_cvx_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_doge_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_dot_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_dydx_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_enj_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_eos_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_etc_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_eth_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_ethbtc_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_eur_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_fet_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_fil_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_floki_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_flow_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_ftm_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_fxs_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_gbp_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_gmx_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_grt_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_icp_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_imx_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_inj_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_jto_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_jup_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_knc_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_ldo_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_link_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_ltc_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_matic_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_mav_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_meme_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_mkr_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_near_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_one_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_op_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_ordi_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_pendle_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_pepe_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_perp_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_pyth_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_rndr_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_rpl_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_rune_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_sei_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_shib_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_sol_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_steth_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_stetheth_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_strk_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_sui_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_sushi_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_tia_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_trb_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_trx_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_uma_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_uni_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_usdt_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_wld_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_xag_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_xau_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_xlm_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_xmr_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_xrp_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_xtz_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_yfi_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_zec_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_zil_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_zrx_event_position_modified1"], ["raw_optimism_mainnet", "perps_v21_inch_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_aave_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_ada_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_algo_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_ankr_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_ape_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_apt_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_arb_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_atom_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_aud_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_avax_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_axs_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_bal_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_bch_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_blur_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_bnb_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_bonk_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_btc_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_celo_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_comp_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_crv_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_cvx_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_doge_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_dot_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_dydx_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_enj_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_eos_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_etc_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_eth_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_ethbtc_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_eur_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_fet_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_fil_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_floki_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_flow_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_ftm_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_fxs_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_gbp_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_gmx_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_grt_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_icp_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_imx_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_inj_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_jto_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_jup_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_knc_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_ldo_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_link_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_ltc_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_matic_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_mav_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_meme_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_mkr_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_near_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_one_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_op_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_ordi_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_pendle_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_pepe_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_perp_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_pyth_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_rndr_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_rpl_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_rune_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_sei_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_shib_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_sol_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_steth_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_stetheth_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_strk_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_sui_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_sushi_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_tia_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_trb_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_trx_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_uma_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_uni_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_usdt_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_wld_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_xag_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_xau_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_xlm_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_xmr_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_xrp_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_xtz_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_yfi_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_zec_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_zil_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_zrx_event_position_modified0"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_v2_event_data", "macro.dbt.is_incremental"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_liquidations_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_liquidations_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/fct_v2_liquidations_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/fct_v2_liquidations_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_liquidations_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "fct_v2_liquidations_optimism_mainnet"], "alias": "fct_v2_liquidations_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "310588e7d7696f8fe40904f6326c06a5474220ec8a28b7b2e7dd9a7cdac6040f"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "incremental", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": "id", "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account": {"name": "account", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "margin": {"name": "margin", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trade_size": {"name": "trade_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "last_size": {"name": "last_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "skew": {"name": "skew", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fee": {"name": "fee", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet", "materialized": "incremental", "unique_key": "id"}, "created_at": 1723584321.9364324, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_liquidations_optimism_mainnet\"", "raw_code": "{{ config(\n materialized = 'incremental',\n unique_key = 'id',\n) }}\n\nWITH liq_trades AS (\n\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n last_price,\n account,\n market,\n margin,\n trade_size,\n COALESCE(LAG(\"size\", 1) over (PARTITION BY market, account\n ORDER BY\n id), 0) AS last_size,\n \"size\",\n skew,\n fee\n FROM\n {{ ref('v2_perp_position_modified_optimism_mainnet') }}\n),\nliq_events AS (\n SELECT\n block_number,\n account,\n market,\n transaction_hash,\n total_fee\n FROM\n {{ ref('v2_perp_position_liquidated_optimism_mainnet') }}\n\n{% if is_incremental() %}\nWHERE\n block_number > (\n SELECT\n COALESCE(MAX(block_number), 0)\n FROM\n {{ this }})\n {% endif %}\n ),\n liq_base AS (\n SELECT\n lt.id,\n lt.block_timestamp,\n lt.block_number,\n lt.transaction_hash,\n lt.last_price,\n lt.account,\n lt.market,\n lt.margin,\n -1 * lt.last_size AS trade_size,\n lt.last_size,\n lt.size,\n lt.skew,\n lt.fee + le.total_fee AS fee,\n 'liquidation' AS order_type,\n NULL AS tracking_code\n FROM\n liq_trades lt\n JOIN liq_events le\n ON lt.block_number = le.block_number\n AND lt.account = le.account\n AND lt.market = le.market\n AND lt.transaction_hash = le.transaction_hash\n WHERE\n lt.margin = 0\n AND lt.trade_size = 0\n AND lt.size = 0\n AND lt.last_size != 0\n )\nSELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n {{ convert_wei('last_price') }} AS price,\n account,\n market,\n {{ convert_wei('margin') }} AS margin,\n {{ convert_wei('trade_size') }} AS trade_size,\n {{ convert_wei('size') }} AS \"size\",\n {{ convert_wei('last_size') }} AS last_size,\n {{ convert_wei('skew') }} AS skew,\n {{ convert_wei('fee') }} AS fee,\n 'liquidation' AS order_type,\n NULL AS tracking_code\nFROM\n liq_base", "language": "sql", "refs": [{"name": "v2_perp_position_modified_optimism_mainnet", "package": null, "version": null}, {"name": "v2_perp_position_liquidated_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.is_incremental", "macro.synthetix.convert_wei"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_open_interest_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_open_interest_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/fct_v2_open_interest_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/fct_v2_open_interest_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_open_interest_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "fct_v2_open_interest_optimism_mainnet"], "alias": "fct_v2_open_interest_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "d4ec92bedd55dd88d34acc7a981b355c37dba70d7feaf23f208a37be210f2f1a"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "trade_size": {"name": "trade_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "skew": {"name": "skew", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi": {"name": "long_oi", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi": {"name": "short_oi", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi_pct": {"name": "long_oi_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi_pct": {"name": "short_oi_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "total_oi": {"name": "total_oi", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi_usd": {"name": "long_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi_usd": {"name": "short_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "total_oi_usd": {"name": "total_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet"}, "created_at": 1723584321.941171, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_open_interest_optimism_mainnet\"", "raw_code": "WITH oi_base AS (\n SELECT\n id,\n ts,\n market,\n order_type,\n trade_size,\n price,\n skew,\n CASE\n WHEN last_size > 0 -- long cross\n AND \"size\" < 0 THEN -1 * last_size\n WHEN last_size < 0 --short cross\n AND \"size\" > 0 THEN \"size\"\n WHEN \"size\" > 0 -- long increase\n AND \"size\" > last_size THEN (\n \"size\" - last_size\n )\n WHEN \"size\" >= 0 -- long decrease\n AND \"size\" < last_size THEN (\n \"size\" - last_size\n )\n ELSE 0\n END AS long_oi_change,\n CASE\n WHEN last_size > 0 -- long cross\n AND \"size\" < 0 THEN \"size\" * -1\n WHEN last_size < 0 --short cross\n AND \"size\" > 0 THEN last_size\n WHEN \"size\" < 0 -- short increase\n AND \"size\" < last_size THEN (\n last_size - \"size\"\n )\n WHEN \"size\" <= 0 -- short decrease\n AND \"size\" > last_size THEN (\n last_size - \"size\"\n )\n ELSE 0\n END AS short_oi_change,\n -- get the cumulative sum\n SUM(\n CASE\n WHEN last_size > 0 -- long cross\n AND \"size\" < 0 THEN -1 * last_size\n WHEN last_size < 0 --short cross\n AND \"size\" > 0 THEN \"size\"\n WHEN \"size\" > 0 -- long increase\n AND \"size\" > last_size THEN (\n \"size\" - last_size\n )\n WHEN \"size\" >= 0 -- long decrease\n AND \"size\" < last_size THEN (\n \"size\" - last_size\n )\n ELSE 0\n END\n ) over (\n PARTITION BY market\n ORDER BY\n id\n ) AS long_oi,\n SUM(\n CASE\n WHEN last_size > 0 -- long cross\n AND \"size\" < 0 THEN \"size\" * -1\n WHEN last_size < 0 --short cross\n AND \"size\" > 0 THEN last_size\n WHEN \"size\" < 0 -- short increase\n AND \"size\" < last_size THEN (\n last_size - \"size\"\n )\n WHEN \"size\" <= 0 -- short decrease\n AND \"size\" > last_size THEN (\n last_size - \"size\"\n )\n ELSE 0\n END\n ) over (\n PARTITION BY market\n ORDER BY\n id\n ) AS short_oi\n FROM\n {{ ref('fct_v2_actions_optimism_mainnet') }}\n)\nSELECT\n id,\n ts,\n market,\n order_type,\n trade_size,\n price,\n COALESCE(\n skew,\n long_oi - short_oi\n ) AS skew,\n long_oi,\n short_oi,\n CASE\n WHEN (\n long_oi + short_oi\n ) > 0 THEN long_oi / (\n long_oi + short_oi\n )\n ELSE 0\n END AS long_oi_pct,\n CASE\n WHEN (\n long_oi + short_oi\n ) > 0 THEN short_oi / (\n long_oi + short_oi\n )\n ELSE 0\n END AS short_oi_pct,\n long_oi + short_oi AS total_oi,\n long_oi * price AS long_oi_usd,\n short_oi * price AS short_oi_usd,\n (\n long_oi + short_oi\n ) * price AS total_oi_usd\nFROM\n oi_base", "language": "sql", "refs": [{"name": "fct_v2_actions_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_funding_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_funding_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/fct_v2_funding_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/fct_v2_funding_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_funding_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "fct_v2_funding_optimism_mainnet"], "alias": "fct_v2_funding_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "d53108472259a9c48b23a63b857cab94ec45dfd750e688bfae3c62468daffce2"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "incremental", "incremental_strategy": null, "persist_docs": {}, "post-hook": [{"sql": "create index if not exists idx_block_number on {{ this }} (block_number)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_market on {{ this }} (market)", "transaction": true, "index": null}], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": "block_number", "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "funding_rate": {"name": "funding_rate", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet", "materialized": "incremental", "unique_key": "block_number", "post-hook": ["create index if not exists idx_block_number on {{ this }} (block_number)", "create index if not exists idx_market on {{ this }} (market)"]}, "created_at": 1723584321.9352021, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_funding_optimism_mainnet\"", "raw_code": "{{ config(\n materialized = 'incremental',\n unique_key = 'block_number',\n post_hook = [ \"create index if not exists idx_block_number on {{ this }} (block_number)\", \"create index if not exists idx_market on {{ this }} (market)\"]\n) }}\n\nWITH funding AS (\n\n SELECT\n block_number,\n market,\n {{ convert_wei('funding_rate') }} AS funding_rate\n FROM\n (\n SELECT\n block_number,\n market,\n funding_rate,\n ROW_NUMBER() over (\n PARTITION BY block_number,\n market\n ORDER BY\n id DESC\n ) AS rn\n FROM\n {{ ref(\n 'v2_perp_funding_recomputed_optimism_mainnet'\n ) }}\n\n{% if is_incremental() %}\nWHERE\n block_number > (\n SELECT\n COALESCE(MAX(block_number), 0)\n FROM\n {{ this }})\n {% endif %}\n ) AS subquery\nWHERE\n rn = 1\n)\nSELECT\n *\nFROM\n funding", "language": "sql", "refs": [{"name": "v2_perp_funding_recomputed_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei", "macro.dbt.is_incremental"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_actions_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_actions_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/fct_v2_actions_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/fct_v2_actions_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_actions_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "fct_v2_actions_optimism_mainnet"], "alias": "fct_v2_actions_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "e46caf2f80bf61573b6948fa059b0c2c0a156dd9230d1efa4f6a5adf748feee4"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account": {"name": "account", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "margin": {"name": "margin", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trade_size": {"name": "trade_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "last_size": {"name": "last_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "skew": {"name": "skew", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fee": {"name": "fee", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet"}, "created_at": 1723584321.9344802, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_actions_optimism_mainnet\"", "raw_code": "WITH combined_base AS (\n SELECT\n *\n FROM\n {{ ref('fct_v2_trades_optimism_mainnet') }}\n UNION ALL\n SELECT\n *\n FROM\n {{ ref('fct_v2_liquidations_optimism_mainnet') }}\n),\nall_base AS (\n SELECT\n id,\n ts,\n block_number,\n transaction_hash,\n price,\n account,\n market,\n margin,\n trade_size,\n \"size\",\n last_size,\n skew,\n fee,\n order_type,\n tracking_code\n FROM\n combined_base\n)\nSELECT\n *\nFROM\n all_base", "language": "sql", "refs": [{"name": "fct_v2_trades_optimism_mainnet", "package": null, "version": null}, {"name": "fct_v2_liquidations_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_trades_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_trades_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/fct_v2_trades_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/fct_v2_trades_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_trades_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "fct_v2_trades_optimism_mainnet"], "alias": "fct_v2_trades_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "61360205017de27330e417cb04a8bae92da6e9983df193cb9f9aa833af147297"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "incremental", "incremental_strategy": null, "persist_docs": {}, "post-hook": [{"sql": "create index if not exists idx_id on {{ this }} (id)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_ts on {{ this }} (ts)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_market on {{ this }} (market)", "transaction": true, "index": null}], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": "id", "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account": {"name": "account", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "margin": {"name": "margin", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trade_size": {"name": "trade_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "last_size": {"name": "last_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "skew": {"name": "skew", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fee": {"name": "fee", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet", "materialized": "incremental", "unique_key": "id", "post-hook": ["create index if not exists idx_id on {{ this }} (id)", "create index if not exists idx_ts on {{ this }} (ts)", "create index if not exists idx_market on {{ this }} (market)"]}, "created_at": 1723584321.9431553, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_trades_optimism_mainnet\"", "raw_code": "{{ config(\n materialized = 'incremental',\n unique_key = 'id',\n post_hook = [ \"create index if not exists idx_id on {{ this }} (id)\", \"create index if not exists idx_ts on {{ this }} (ts)\", \"create index if not exists idx_market on {{ this }} (market)\"]\n) }}\n\nWITH trade_base AS (\n\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n last_price,\n account,\n market,\n margin,\n trade_size,\n \"size\",\n COALESCE(LAG(\"size\", 1) over (PARTITION BY market, account\n ORDER BY\n id), 0) AS last_size,\n skew,\n fee,\n 'trade' AS order_type\n FROM\n {{ ref('v2_perp_position_modified_optimism_mainnet') }}\n\n{% if is_incremental() %}\nWHERE\n block_number > (\n SELECT\n COALESCE(MAX(block_number), 0)\n FROM\n {{ this }})\n {% endif %}\n )\nSELECT\n trade_base.id,\n block_timestamp AS ts,\n trade_base.block_number,\n transaction_hash,\n {{ convert_wei('last_price') }} AS price,\n account,\n market,\n {{ convert_wei('margin') }} AS margin,\n {{ convert_wei('trade_size') }} AS trade_size,\n {{ convert_wei('size') }} AS \"size\",\n {{ convert_wei('last_size') }} AS last_size,\n {{ convert_wei('skew') }} AS skew,\n {{ convert_wei('fee') }} AS fee,\n order_type,\n UPPER(\n COALESCE({{ convert_hex('tracking_code.tracking_code') }}, 'NO TRACKING CODE')) AS tracking_code\n FROM\n trade_base\n LEFT JOIN {{ ref('fct_v2_trade_tracking_optimism_mainnet') }}\n tracking_code\n ON trade_base.id = tracking_code.id\n WHERE\n trade_size != 0", "language": "sql", "refs": [{"name": "v2_perp_position_modified_optimism_mainnet", "package": null, "version": null}, {"name": "fct_v2_trade_tracking_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.is_incremental", "macro.synthetix.convert_wei", "macro.synthetix.convert_hex"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_market_stats_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_market_stats_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/fct_v2_market_stats_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/fct_v2_market_stats_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_market_stats_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "fct_v2_market_stats_optimism_mainnet"], "alias": "fct_v2_market_stats_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "7a2916095649be722410ef5dfed3af2cee8aaae0f7c6a5f56a091802c339364e"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "incremental", "incremental_strategy": null, "persist_docs": {}, "post-hook": [{"sql": "create index if not exists idx_id on {{ this }} (id)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_ts on {{ this }} (ts)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_market on {{ this }} (market)", "transaction": true, "index": null}], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": "id", "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "funding_rate": {"name": "funding_rate", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_fees": {"name": "liquidation_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "skew": {"name": "skew", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi": {"name": "long_oi", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi": {"name": "short_oi", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "total_oi": {"name": "total_oi", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi_usd": {"name": "long_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi_usd": {"name": "short_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "total_oi_usd": {"name": "total_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi_pct": {"name": "long_oi_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi_pct": {"name": "short_oi_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_liquidation_fees": {"name": "cumulative_liquidation_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_amount_liquidated": {"name": "cumulative_amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_trades": {"name": "cumulative_trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "cumulative_liquidations": {"name": "cumulative_liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet", "materialized": "incremental", "unique_key": "id", "post-hook": ["create index if not exists idx_id on {{ this }} (id)", "create index if not exists idx_ts on {{ this }} (ts)", "create index if not exists idx_market on {{ this }} (market)"]}, "created_at": 1723584321.9399269, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_market_stats_optimism_mainnet\"", "raw_code": "{{ config(\n materialized = 'incremental',\n unique_key = 'id',\n post_hook = [ \"create index if not exists idx_id on {{ this }} (id)\", \"create index if not exists idx_ts on {{ this }} (ts)\", \"create index if not exists idx_market on {{ this }} (market)\"]\n) }}\n\nWITH trades AS (\n\n SELECT\n id,\n ts,\n block_number,\n market,\n fee AS exchange_fees,\n 0 AS liquidation_fees,\n price * ABS(trade_size) AS volume,\n 0 AS amount_liquidated,\n 1 AS trades,\n 0 AS liquidations,\n tracking_code\n FROM\n {{ ref(\n 'fct_v2_actions_optimism_mainnet'\n ) }}\n WHERE\n order_type = 'trade'\n),\nliquidations AS (\n SELECT\n id,\n ts,\n block_number,\n market,\n 0 AS exchange_fees,\n fee AS liquidation_fees,\n 0 AS volume,\n price * ABS(trade_size) AS amount_liquidated,\n 0 AS trades,\n 1 AS liquidations,\n tracking_code\n FROM\n {{ ref(\n 'fct_v2_actions_optimism_mainnet'\n ) }}\n WHERE\n order_type = 'liquidation'\n),\nactions AS (\n SELECT\n *\n FROM\n trades\n UNION ALL\n SELECT\n *\n FROM\n liquidations\n),\noi AS (\n SELECT\n id,\n ts,\n market,\n skew,\n long_oi,\n short_oi,\n long_oi_pct,\n short_oi_pct,\n total_oi,\n long_oi_usd,\n short_oi_usd,\n total_oi_usd\n FROM\n {{ ref(\n 'fct_v2_open_interest_optimism_mainnet'\n ) }}\n\n{% if is_incremental() %}\nWHERE\n id > (\n SELECT\n MAX(id)\n FROM\n {{ this }}\n )\n{% endif %}\n),\nmarket_stats AS (\n SELECT\n actions.ts,\n actions.id,\n actions.market,\n actions.block_number,\n funding.funding_rate,\n actions.exchange_fees,\n actions.liquidation_fees,\n actions.volume,\n actions.amount_liquidated,\n actions.trades,\n actions.liquidations,\n actions.tracking_code,\n oi.skew,\n oi.long_oi,\n oi.short_oi,\n oi.total_oi,\n oi.long_oi_usd,\n oi.short_oi_usd,\n oi.total_oi_usd,\n oi.long_oi_pct,\n oi.short_oi_pct,\n SUM(\n actions.exchange_fees\n ) over (\n PARTITION BY actions.market\n ORDER BY\n actions.id\n ) AS cumulative_exchange_fees,\n SUM(\n actions.liquidation_fees\n ) over (\n PARTITION BY actions.market\n ORDER BY\n actions.id\n ) AS cumulative_liquidation_fees,\n SUM(\n actions.volume\n ) over (\n PARTITION BY actions.market\n ORDER BY\n actions.id\n ) AS cumulative_volume,\n SUM(\n actions.amount_liquidated\n ) over (\n PARTITION BY actions.market\n ORDER BY\n actions.id\n ) AS cumulative_amount_liquidated,\n SUM(\n actions.trades\n ) over (\n PARTITION BY actions.market\n ORDER BY\n actions.id\n ) AS cumulative_trades,\n SUM(\n actions.liquidations\n ) over (\n PARTITION BY actions.market\n ORDER BY\n actions.id\n ) AS cumulative_liquidations\n FROM\n actions\n LEFT JOIN oi\n ON actions.id = oi.id\n LEFT JOIN {{ ref('fct_v2_funding_optimism_mainnet') }} AS funding\n ON actions.block_number = funding.block_number\n AND actions.market = funding.market\n)\nSELECT\n *\nFROM\n market_stats\n\n{% if is_incremental() %}\nWHERE\n id > (\n SELECT\n MAX(id)\n FROM\n {{ this }}\n )\n{% endif %}", "language": "sql", "refs": [{"name": "fct_v2_actions_optimism_mainnet", "package": null, "version": null}, {"name": "fct_v2_actions_optimism_mainnet", "package": null, "version": null}, {"name": "fct_v2_open_interest_optimism_mainnet", "package": null, "version": null}, {"name": "fct_v2_funding_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.is_incremental"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_trade_tracking_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_trade_tracking_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/fct_v2_trade_tracking_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/fct_v2_trade_tracking_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_trade_tracking_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "fct_v2_trade_tracking_optimism_mainnet"], "alias": "fct_v2_trade_tracking_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "78ae8dc72f032f26f9748530b7275b0214cf08268ab938983b10a51800f3ae55"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "incremental", "incremental_strategy": null, "persist_docs": {}, "post-hook": [{"sql": "create index if not exists idx_id on {{ this }} (id)", "transaction": true, "index": null}], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": "id", "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet", "materialized": "incremental", "unique_key": "id", "post-hook": ["create index if not exists idx_id on {{ this }} (id)"]}, "created_at": 1723584321.9418452, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_trade_tracking_optimism_mainnet\"", "raw_code": "{{ config(\n materialized = 'incremental',\n unique_key = 'id',\n post_hook = [ \"create index if not exists idx_id on {{ this }} (id)\"]\n) }}\n\nWITH order_submit AS (\n\n SELECT\n block_timestamp,\n contract,\n account,\n tracking_code\n FROM\n {{ ref('v2_perp_delayed_order_submitted_optimism_mainnet') }}\n),\nposition_modified AS (\n SELECT\n id,\n block_number,\n contract,\n account,\n block_timestamp\n FROM\n {{ ref('v2_perp_position_modified_optimism_mainnet') }}\n WHERE\n trade_size != 0\n\n{% if is_incremental() %}\nAND block_number > (\n SELECT\n COALESCE(MAX(block_number), 0)\n FROM\n {{ this }})\n {% endif %}\n),\ncombined AS (\n SELECT\n position_modified.id,\n position_modified.block_number,\n order_submit.tracking_code,\n ROW_NUMBER() over (\n PARTITION BY position_modified.contract,\n position_modified.account,\n position_modified.id\n ORDER BY\n order_submit.block_timestamp DESC\n ) AS rn\n FROM\n position_modified\n JOIN order_submit\n ON position_modified.contract = order_submit.contract\n AND position_modified.account = order_submit.account\n AND position_modified.block_timestamp BETWEEN order_submit.block_timestamp\n AND order_submit.block_timestamp + INTERVAL '5' MINUTE\n)\nSELECT\n id,\n block_number,\n tracking_code\nFROM\n combined\nWHERE\n rn = 1", "language": "sql", "refs": [{"name": "v2_perp_delayed_order_submitted_optimism_mainnet", "package": null, "version": null}, {"name": "v2_perp_position_modified_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.is_incremental"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_transfers_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_transfers_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/fct_v2_transfers_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/fct_v2_transfers_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_transfers_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "fct_v2_transfers_optimism_mainnet"], "alias": "fct_v2_transfers_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "6330282ec05c570b9671a69c4951575bbcc35f05ceee65903fd3359d53e24273"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account": {"name": "account", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "margin_delta": {"name": "margin_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_market_transfers": {"name": "net_market_transfers", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_transfers": {"name": "net_transfers", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet"}, "created_at": 1723584321.9447544, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_transfers_optimism_mainnet\"", "raw_code": "WITH events AS (\n SELECT\n *\n FROM\n {{ ref('v2_perp_margin_transferred_optimism_mainnet') }}\n)\nSELECT\n id,\n transaction_hash,\n block_timestamp AS ts,\n block_number,\n market,\n account,\n margin_delta,\n -- calculate cumulative net delta\n SUM(margin_delta) over (\n PARTITION BY market\n ORDER BY\n id\n ) AS net_market_transfers,\n SUM(margin_delta) over (\n ORDER BY\n id\n ) AS net_transfers\nFROM\n events", "language": "sql", "refs": [{"name": "v2_perp_margin_transferred_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_stats_hourly_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_stats_hourly_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/stats/fct_v2_stats_hourly_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/stats/fct_v2_stats_hourly_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_stats_hourly_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "stats", "fct_v2_stats_hourly_optimism_mainnet"], "alias": "fct_v2_stats_hourly_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "ebf0b04de338543810c9e90b77aa4d1d313176d221dad94d57a06837e2b8a029"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_fees": {"name": "liquidation_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi_usd": {"name": "long_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi_usd": {"name": "short_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "total_oi_usd": {"name": "total_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "eth_btc_oi_usd": {"name": "eth_btc_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "alt_oi_usd": {"name": "alt_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_liquidation_fees": {"name": "cumulative_liquidation_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_amount_liquidated": {"name": "cumulative_amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_trades": {"name": "cumulative_trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_liquidations": {"name": "cumulative_liquidations", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet"}, "created_at": 1723584321.9318628, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_stats_hourly_optimism_mainnet\"", "raw_code": "SELECT\n ts,\n SUM(\n exchange_fees\n ) AS exchange_fees,\n SUM(\n liquidation_fees\n ) AS liquidation_fees,\n SUM(\n volume\n ) AS volume,\n SUM(\n amount_liquidated\n ) AS amount_liquidated,\n SUM(\n trades\n ) AS trades,\n SUM(\n liquidations\n ) AS liquidations,\n SUM(\n long_oi_usd\n ) AS long_oi_usd,\n SUM(\n short_oi_usd\n ) AS short_oi_usd,\n SUM(\n total_oi_usd\n ) AS total_oi_usd,\n SUM(\n CASE\n WHEN market IN (\n 'ETH',\n 'BTC'\n ) THEN total_oi_usd\n ELSE 0\n END\n ) AS eth_btc_oi_usd,\n SUM(\n CASE\n WHEN market NOT IN (\n 'ETH',\n 'BTC'\n ) THEN total_oi_usd\n ELSE 0\n END\n ) AS alt_oi_usd,\n SUM(\n cumulative_exchange_fees\n ) AS cumulative_exchange_fees,\n SUM(\n cumulative_liquidation_fees\n ) AS cumulative_liquidation_fees,\n SUM(\n cumulative_volume\n ) AS cumulative_volume,\n SUM(\n cumulative_amount_liquidated\n ) AS cumulative_amount_liquidated,\n SUM(\n cumulative_trades\n ) AS cumulative_trades,\n SUM(\n cumulative_liquidations\n ) AS cumulative_liquidations\nFROM\n {{ ref('fct_v2_market_hourly_optimism_mainnet') }}\nGROUP BY\n 1", "language": "sql", "refs": [{"name": "fct_v2_market_hourly_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_stats_daily_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_stats_daily_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/stats/fct_v2_stats_daily_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/stats/fct_v2_stats_daily_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_stats_daily_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "stats", "fct_v2_stats_daily_optimism_mainnet"], "alias": "fct_v2_stats_daily_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "6598f1a96d78fe86afc3f72bf20314f8b7918bbc9279257722b6eef0c8fc08cb"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_fees": {"name": "liquidation_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi_usd": {"name": "long_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi_usd": {"name": "short_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "total_oi_usd": {"name": "total_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "eth_btc_oi_usd": {"name": "eth_btc_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "alt_oi_usd": {"name": "alt_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_liquidation_fees": {"name": "cumulative_liquidation_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_amount_liquidated": {"name": "cumulative_amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_trades": {"name": "cumulative_trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_liquidations": {"name": "cumulative_liquidations", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet"}, "created_at": 1723584321.9297166, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_stats_daily_optimism_mainnet\"", "raw_code": "SELECT\n ts,\n SUM(\n exchange_fees\n ) AS exchange_fees,\n SUM(\n liquidation_fees\n ) AS liquidation_fees,\n SUM(\n volume\n ) AS volume,\n SUM(\n amount_liquidated\n ) AS amount_liquidated,\n SUM(\n trades\n ) AS trades,\n SUM(\n liquidations\n ) AS liquidations,\n SUM(\n long_oi_usd\n ) AS long_oi_usd,\n SUM(\n short_oi_usd\n ) AS short_oi_usd,\n SUM(\n total_oi_usd\n ) AS total_oi_usd,\n SUM(\n CASE\n WHEN market IN (\n 'ETH',\n 'BTC'\n ) THEN total_oi_usd\n ELSE 0\n END\n ) AS eth_btc_oi_usd,\n SUM(\n CASE\n WHEN market NOT IN (\n 'ETH',\n 'BTC'\n ) THEN total_oi_usd\n ELSE 0\n END\n ) AS alt_oi_usd,\n SUM(\n cumulative_exchange_fees\n ) AS cumulative_exchange_fees,\n SUM(\n cumulative_liquidation_fees\n ) AS cumulative_liquidation_fees,\n SUM(\n cumulative_volume\n ) AS cumulative_volume,\n SUM(\n cumulative_amount_liquidated\n ) AS cumulative_amount_liquidated,\n SUM(\n cumulative_trades\n ) AS cumulative_trades,\n SUM(\n cumulative_liquidations\n ) AS cumulative_liquidations\nFROM\n {{ ref('fct_v2_market_daily_optimism_mainnet') }}\nGROUP BY\n 1", "language": "sql", "refs": [{"name": "fct_v2_market_daily_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_market_hourly_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_market_hourly_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/stats/fct_v2_market_hourly_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/stats/fct_v2_market_hourly_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_market_hourly_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "stats", "fct_v2_market_hourly_optimism_mainnet"], "alias": "fct_v2_market_hourly_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "08dbf3daacc85f6e34cea8f1a0cf1acf4e5ee34aab52329e087b130e54022eca"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_fees": {"name": "liquidation_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "long_oi_usd": {"name": "long_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi_usd": {"name": "short_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "total_oi_usd": {"name": "total_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_liquidation_fees": {"name": "cumulative_liquidation_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_amount_liquidated": {"name": "cumulative_amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_trades": {"name": "cumulative_trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "cumulative_liquidations": {"name": "cumulative_liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet"}, "created_at": 1723584321.9268615, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_market_hourly_optimism_mainnet\"", "raw_code": "WITH raw_data AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market,\n MAX(id) AS max_id,\n SUM(exchange_fees) AS exchange_fees,\n SUM(liquidation_fees) AS liquidation_fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(trades) AS trades,\n SUM(liquidations) AS liquidations\n FROM\n {{ ref('fct_v2_market_stats_optimism_mainnet') }}\n GROUP BY\n 1,\n 2\n),\naggregated_data AS (\n SELECT\n A.ts,\n A.market,\n A.exchange_fees,\n A.liquidation_fees,\n A.volume,\n A.amount_liquidated,\n A.trades,\n A.liquidations,\n b.long_oi_usd,\n b.short_oi_usd,\n b.total_oi_usd,\n b.cumulative_exchange_fees,\n b.cumulative_liquidation_fees,\n b.cumulative_volume,\n b.cumulative_amount_liquidated,\n b.cumulative_trades,\n b.cumulative_liquidations\n FROM\n raw_data A\n JOIN {{ ref('fct_v2_market_stats_optimism_mainnet') }}\n b\n ON A.max_id = b.id\n),\ndate_series AS (\n SELECT\n q.ts,\n q2.market\n FROM\n (\n SELECT\n generate_series(MIN(DATE_TRUNC('hour', ts)), MAX(DATE_TRUNC('hour', ts)), '1 hour' :: INTERVAL) AS ts\n FROM\n aggregated_data\n ) AS q\n CROSS JOIN (\n SELECT\n DISTINCT market\n FROM\n aggregated_data\n ) AS q2\n),\ngap_data AS (\n SELECT\n ds.ts,\n ds.market,\n COALESCE(\n ad.exchange_fees,\n 0\n ) AS exchange_fees,\n COALESCE(\n ad.liquidation_fees,\n 0\n ) AS liquidation_fees,\n COALESCE(\n ad.volume,\n 0\n ) AS volume,\n COALESCE(\n ad.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n ad.trades,\n 0\n ) AS trades,\n COALESCE(\n ad.liquidations,\n 0\n ) AS liquidations,\n ad.long_oi_usd,\n ad.short_oi_usd,\n ad.total_oi_usd,\n ad.cumulative_exchange_fees,\n ad.cumulative_liquidation_fees,\n ad.cumulative_volume,\n ad.cumulative_amount_liquidated,\n ad.cumulative_trades,\n ad.cumulative_liquidations\n FROM\n date_series ds\n LEFT JOIN aggregated_data ad\n ON ds.ts = ad.ts\n AND ds.market = ad.market\n),\nagg_data AS (\n SELECT\n ts,\n market,\n FIRST_VALUE(long_oi_usd) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) long_oi_usd,\n FIRST_VALUE(short_oi_usd) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) short_oi_usd,\n FIRST_VALUE(total_oi_usd) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) total_oi_usd,\n FIRST_VALUE(cumulative_exchange_fees) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) cumulative_exchange_fees,\n FIRST_VALUE(cumulative_liquidation_fees) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) cumulative_liquidation_fees,\n FIRST_VALUE(cumulative_volume) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) cumulative_volume,\n FIRST_VALUE(cumulative_amount_liquidated) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) cumulative_amount_liquidated,\n FIRST_VALUE(cumulative_trades) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) cumulative_trades,\n FIRST_VALUE(cumulative_liquidations) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) cumulative_liquidations\n FROM\n (\n SELECT\n ts,\n market,\n long_oi_usd,\n short_oi_usd,\n total_oi_usd,\n cumulative_exchange_fees,\n cumulative_liquidation_fees,\n cumulative_volume,\n cumulative_amount_liquidated,\n cumulative_trades,\n cumulative_liquidations,\n COUNT(long_oi_usd) over (\n PARTITION BY market\n ORDER BY\n ts\n ) AS value_partition\n FROM\n gap_data\n ) AS q\n)\nSELECT\n gap_data.ts,\n gap_data.market,\n gap_data.exchange_fees,\n gap_data.liquidation_fees,\n gap_data.volume,\n gap_data.amount_liquidated,\n gap_data.trades,\n gap_data.liquidations,\n agg_data.long_oi_usd,\n agg_data.short_oi_usd,\n agg_data.total_oi_usd,\n agg_data.cumulative_exchange_fees,\n agg_data.cumulative_liquidation_fees,\n agg_data.cumulative_volume,\n agg_data.cumulative_amount_liquidated,\n agg_data.cumulative_trades,\n agg_data.cumulative_liquidations\nFROM\n gap_data\n JOIN agg_data USING (\n ts,\n market\n )", "language": "sql", "refs": [{"name": "fct_v2_market_stats_optimism_mainnet", "package": null, "version": null}, {"name": "fct_v2_market_stats_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_integrator_hourly_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_integrator_hourly_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/stats/fct_v2_integrator_hourly_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/stats/fct_v2_integrator_hourly_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_integrator_hourly_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "stats", "fct_v2_integrator_hourly_optimism_mainnet"], "alias": "fct_v2_integrator_hourly_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "b98bc6a770836f311623fd03b140173bf0fd412a5c89c3fb5e3dd88c49f2dc2c"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees_total": {"name": "exchange_fees_total", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume_total": {"name": "volume_total", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "trades_total": {"name": "trades_total", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "traders": {"name": "traders", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "volume_share": {"name": "volume_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades_share": {"name": "trades_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees_share": {"name": "exchange_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_trades": {"name": "cumulative_trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet"}, "created_at": 1723584321.9216313, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_integrator_hourly_optimism_mainnet\"", "raw_code": "WITH aggregated_data AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(volume) AS volume,\n SUM(trades) AS trades\n FROM\n {{ ref('fct_v2_market_stats_optimism_mainnet') }}\n GROUP BY\n 1,\n 2\n),\ndate_series AS (\n SELECT\n q.ts,\n q2.tracking_code\n FROM\n (\n SELECT\n generate_series(MIN(DATE_TRUNC('hour', ts)), MAX(DATE_TRUNC('hour', ts)), '1 hour' :: INTERVAL) AS ts\n FROM\n aggregated_data\n ) AS q\n CROSS JOIN (\n SELECT\n DISTINCT tracking_code\n FROM\n aggregated_data\n ) AS q2\n),\ntraders AS (\n SELECT\n ds.ts,\n ds.tracking_code,\n COALESCE(COUNT(DISTINCT account), 0) AS traders\n FROM\n date_series ds\n LEFT JOIN {{ ref('fct_v2_actions_optimism_mainnet') }}\n ad\n ON ds.ts = DATE_TRUNC(\n 'hour',\n ad.ts\n )\n AND ds.tracking_code = ad.tracking_code\n GROUP BY\n 1,\n 2\n),\ncomplete_data AS (\n SELECT\n ds.ts,\n ds.tracking_code,\n COALESCE(\n ad.exchange_fees,\n 0\n ) AS exchange_fees,\n COALESCE(\n ad.volume,\n 0\n ) AS volume,\n COALESCE(\n ad.trades,\n 0\n ) AS trades,\n t.traders\n FROM\n date_series ds\n LEFT JOIN aggregated_data ad\n ON ds.ts = ad.ts\n AND ds.tracking_code = ad.tracking_code\n LEFT JOIN traders t\n ON ds.ts = t.ts\n AND ds.tracking_code = t.tracking_code\n),\ntotal AS (\n SELECT\n ts,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(trades) AS trades_total,\n SUM(volume) AS volume_total\n FROM\n complete_data\n GROUP BY\n 1\n)\nSELECT\n complete_data.ts,\n tracking_code,\n exchange_fees,\n exchange_fees_total,\n volume,\n volume_total,\n trades,\n trades_total,\n traders,\n CASE\n WHEN volume_total = 0 THEN 0\n ELSE complete_data.volume / volume_total\n END AS volume_share,\n CASE\n WHEN trades_total = 0 THEN 0\n ELSE trades / trades_total\n END AS trades_share,\n CASE\n WHEN exchange_fees_total = 0 THEN 0\n ELSE exchange_fees / exchange_fees_total\n END AS exchange_fees_share,\n SUM(exchange_fees) over (\n PARTITION BY tracking_code\n ORDER BY\n complete_data.ts\n ) AS cumulative_exchange_fees,\n SUM(volume) over (\n PARTITION BY tracking_code\n ORDER BY\n complete_data.ts\n ) AS cumulative_volume,\n SUM(trades) over (\n PARTITION BY tracking_code\n ORDER BY\n complete_data.ts\n ) AS cumulative_trades\nFROM\n complete_data\n JOIN total\n ON complete_data.ts = total.ts", "language": "sql", "refs": [{"name": "fct_v2_market_stats_optimism_mainnet", "package": null, "version": null}, {"name": "fct_v2_actions_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_market_daily_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_market_daily_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/stats/fct_v2_market_daily_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/stats/fct_v2_market_daily_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_market_daily_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "stats", "fct_v2_market_daily_optimism_mainnet"], "alias": "fct_v2_market_daily_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "497d210f94d96afcd9f4c3111c7b50289c8953f8bc7db4d54695707d528d0311"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_fees": {"name": "liquidation_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "long_oi_usd": {"name": "long_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi_usd": {"name": "short_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "total_oi_usd": {"name": "total_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_liquidation_fees": {"name": "cumulative_liquidation_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_amount_liquidated": {"name": "cumulative_amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_trades": {"name": "cumulative_trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "cumulative_liquidations": {"name": "cumulative_liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet"}, "created_at": 1723584321.9255085, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_market_daily_optimism_mainnet\"", "raw_code": "WITH raw_data AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n market,\n MAX(id) AS max_id,\n SUM(exchange_fees) AS exchange_fees,\n SUM(liquidation_fees) AS liquidation_fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(trades) AS trades,\n SUM(liquidations) AS liquidations\n FROM\n {{ ref('fct_v2_market_stats_optimism_mainnet') }}\n GROUP BY\n 1,\n 2\n),\naggregated_data AS (\n SELECT\n A.ts,\n A.market,\n A.exchange_fees,\n A.liquidation_fees,\n A.volume,\n A.amount_liquidated,\n A.trades,\n A.liquidations,\n b.long_oi_usd,\n b.short_oi_usd,\n b.total_oi_usd,\n b.cumulative_exchange_fees,\n b.cumulative_liquidation_fees,\n b.cumulative_volume,\n b.cumulative_amount_liquidated,\n b.cumulative_trades,\n b.cumulative_liquidations\n FROM\n raw_data A\n JOIN {{ ref('fct_v2_market_stats_optimism_mainnet') }}\n b\n ON A.max_id = b.id\n),\ndate_series AS (\n SELECT\n q.ts,\n q2.market\n FROM\n (\n SELECT\n generate_series(MIN(DATE_TRUNC('day', ts)), MAX(DATE_TRUNC('day', ts)), '1 day' :: INTERVAL) AS ts\n FROM\n aggregated_data\n ) AS q\n CROSS JOIN (\n SELECT\n DISTINCT market\n FROM\n aggregated_data\n ) AS q2\n),\ngap_data AS (\n SELECT\n ds.ts,\n ds.market,\n COALESCE(\n ad.exchange_fees,\n 0\n ) AS exchange_fees,\n COALESCE(\n ad.liquidation_fees,\n 0\n ) AS liquidation_fees,\n COALESCE(\n ad.volume,\n 0\n ) AS volume,\n COALESCE(\n ad.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n ad.trades,\n 0\n ) AS trades,\n COALESCE(\n ad.liquidations,\n 0\n ) AS liquidations,\n ad.long_oi_usd,\n ad.short_oi_usd,\n ad.total_oi_usd,\n ad.cumulative_exchange_fees,\n ad.cumulative_liquidation_fees,\n ad.cumulative_volume,\n ad.cumulative_amount_liquidated,\n ad.cumulative_trades,\n ad.cumulative_liquidations\n FROM\n date_series ds\n LEFT JOIN aggregated_data ad\n ON ds.ts = ad.ts\n AND ds.market = ad.market\n),\nagg_data AS (\n SELECT\n ts,\n market,\n FIRST_VALUE(long_oi_usd) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) long_oi_usd,\n FIRST_VALUE(short_oi_usd) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) short_oi_usd,\n FIRST_VALUE(total_oi_usd) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) total_oi_usd,\n FIRST_VALUE(cumulative_exchange_fees) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) cumulative_exchange_fees,\n FIRST_VALUE(cumulative_liquidation_fees) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) cumulative_liquidation_fees,\n FIRST_VALUE(cumulative_volume) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) cumulative_volume,\n FIRST_VALUE(cumulative_amount_liquidated) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) cumulative_amount_liquidated,\n FIRST_VALUE(cumulative_trades) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) cumulative_trades,\n FIRST_VALUE(cumulative_liquidations) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) cumulative_liquidations\n FROM\n (\n SELECT\n ts,\n market,\n long_oi_usd,\n short_oi_usd,\n total_oi_usd,\n cumulative_exchange_fees,\n cumulative_liquidation_fees,\n cumulative_volume,\n cumulative_amount_liquidated,\n cumulative_trades,\n cumulative_liquidations,\n COUNT(long_oi_usd) over (\n PARTITION BY market\n ORDER BY\n ts\n ) AS value_partition\n FROM\n gap_data\n ) AS q\n)\nSELECT\n gap_data.ts,\n gap_data.market,\n gap_data.exchange_fees,\n gap_data.liquidation_fees,\n gap_data.volume,\n gap_data.amount_liquidated,\n gap_data.trades,\n gap_data.liquidations,\n agg_data.long_oi_usd,\n agg_data.short_oi_usd,\n agg_data.total_oi_usd,\n agg_data.cumulative_exchange_fees,\n agg_data.cumulative_liquidation_fees,\n agg_data.cumulative_volume,\n agg_data.cumulative_amount_liquidated,\n agg_data.cumulative_trades,\n agg_data.cumulative_liquidations\nFROM\n gap_data\n JOIN agg_data USING (\n ts,\n market\n )", "language": "sql", "refs": [{"name": "fct_v2_market_stats_optimism_mainnet", "package": null, "version": null}, {"name": "fct_v2_market_stats_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_integrator_daily_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_integrator_daily_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/stats/fct_v2_integrator_daily_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/stats/fct_v2_integrator_daily_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_integrator_daily_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "stats", "fct_v2_integrator_daily_optimism_mainnet"], "alias": "fct_v2_integrator_daily_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "9011562230c7060c9c6550bd61dfbd8ee2422edf11ebea37d2ea478cc901b91a"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees_total": {"name": "exchange_fees_total", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume_total": {"name": "volume_total", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "trades_total": {"name": "trades_total", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "traders": {"name": "traders", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "volume_share": {"name": "volume_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades_share": {"name": "trades_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees_share": {"name": "exchange_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_trades": {"name": "cumulative_trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet"}, "created_at": 1723584321.9204166, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_integrator_daily_optimism_mainnet\"", "raw_code": "WITH aggregated_data AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(volume) AS volume,\n SUM(trades) AS trades\n FROM\n {{ ref('fct_v2_market_stats_optimism_mainnet') }}\n GROUP BY\n 1,\n 2\n),\ndate_series AS (\n SELECT\n q.ts,\n q2.tracking_code\n FROM\n (\n SELECT\n generate_series(MIN(DATE_TRUNC('day', ts)), MAX(DATE_TRUNC('day', ts)), '1 day' :: INTERVAL) AS ts\n FROM\n aggregated_data\n ) AS q\n CROSS JOIN (\n SELECT\n DISTINCT tracking_code\n FROM\n aggregated_data\n ) AS q2\n),\ntraders AS (\n SELECT\n ds.ts,\n ds.tracking_code,\n COALESCE(COUNT(DISTINCT account), 0) AS traders\n FROM\n date_series ds\n LEFT JOIN {{ ref('fct_v2_actions_optimism_mainnet') }}\n ad\n ON ds.ts = DATE_TRUNC(\n 'day',\n ad.ts\n )\n AND ds.tracking_code = ad.tracking_code\n GROUP BY\n 1,\n 2\n),\ncomplete_data AS (\n SELECT\n ds.ts,\n ds.tracking_code,\n COALESCE(\n ad.exchange_fees,\n 0\n ) AS exchange_fees,\n COALESCE(\n ad.volume,\n 0\n ) AS volume,\n COALESCE(\n ad.trades,\n 0\n ) AS trades,\n t.traders\n FROM\n date_series ds\n LEFT JOIN aggregated_data ad\n ON ds.ts = ad.ts\n AND ds.tracking_code = ad.tracking_code\n LEFT JOIN traders t\n ON ds.ts = t.ts\n AND ds.tracking_code = t.tracking_code\n),\ntotal AS (\n SELECT\n ts,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(trades) AS trades_total,\n SUM(volume) AS volume_total\n FROM\n complete_data\n GROUP BY\n 1\n)\nSELECT\n complete_data.ts,\n tracking_code,\n exchange_fees,\n exchange_fees_total,\n volume,\n volume_total,\n trades,\n trades_total,\n traders,\n CASE\n WHEN volume_total = 0 THEN 0\n ELSE complete_data.volume / volume_total\n END AS volume_share,\n CASE\n WHEN trades_total = 0 THEN 0\n ELSE trades / trades_total\n END AS trades_share,\n CASE\n WHEN exchange_fees_total = 0 THEN 0\n ELSE exchange_fees / exchange_fees_total\n END AS exchange_fees_share,\n SUM(exchange_fees) over (\n PARTITION BY tracking_code\n ORDER BY\n complete_data.ts\n ) AS cumulative_exchange_fees,\n SUM(volume) over (\n PARTITION BY tracking_code\n ORDER BY\n complete_data.ts\n ) AS cumulative_volume,\n SUM(trades) over (\n PARTITION BY tracking_code\n ORDER BY\n complete_data.ts\n ) AS cumulative_trades\nFROM\n complete_data\n JOIN total\n ON complete_data.ts = total.ts", "language": "sql", "refs": [{"name": "fct_v2_market_stats_optimism_mainnet", "package": null, "version": null}, {"name": "fct_v2_actions_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}]}, "parent_map": {"model.synthetix.blocks_eth_mainnet": ["source.synthetix.raw_eth_mainnet.block", "source.synthetix.raw_eth_mainnet.blocks_parquet"], "model.synthetix.core_account_created_eth_mainnet": ["source.synthetix.raw_eth_mainnet.core_proxy_event_account_created"], "model.synthetix.core_vault_debt_eth_mainnet": ["source.synthetix.raw_eth_mainnet.blocks_parquet", "source.synthetix.raw_eth_mainnet.core_get_vault_debt"], "model.synthetix.core_vault_collateral_eth_mainnet": ["source.synthetix.raw_eth_mainnet.blocks_parquet", "source.synthetix.raw_eth_mainnet.core_get_vault_collateral"], "model.synthetix.core_vault_liquidation_eth_mainnet": ["source.synthetix.raw_eth_mainnet.core_proxy_event_vault_liquidation"], "model.synthetix.core_deposited_eth_mainnet": ["source.synthetix.raw_eth_mainnet.core_proxy_event_deposited"], "model.synthetix.core_pool_created_eth_mainnet": ["source.synthetix.raw_eth_mainnet.core_proxy_event_pool_created"], "model.synthetix.core_market_registered_eth_mainnet": ["source.synthetix.raw_eth_mainnet.core_proxy_event_market_registered"], "model.synthetix.core_market_updated_eth_mainnet": ["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"], "model.synthetix.core_rewards_distributed_eth_mainnet": ["source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_distributed"], "model.synthetix.core_withdrawn_eth_mainnet": ["source.synthetix.raw_eth_mainnet.core_proxy_event_withdrawn"], "model.synthetix.core_rewards_claimed_eth_mainnet": ["source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_claimed"], "model.synthetix.core_delegation_updated_eth_mainnet": ["source.synthetix.raw_eth_mainnet.core_proxy_event_delegation_updated"], "model.synthetix.core_liquidation_eth_mainnet": ["source.synthetix.raw_eth_mainnet.core_proxy_event_liquidation"], "model.synthetix.core_account_migrated_eth_mainnet": ["source.synthetix.raw_eth_mainnet.legacy_market_proxy_event_account_migrated"], "model.synthetix.core_usd_burned_eth_mainnet": ["source.synthetix.raw_eth_mainnet.core_proxy_event_usd_burned"], "model.synthetix.core_usd_minted_eth_mainnet": ["source.synthetix.raw_eth_mainnet.core_proxy_event_usd_minted"], "model.synthetix.blocks_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.block", "source.synthetix.raw_arbitrum_mainnet.blocks_parquet"], "model.synthetix.core_rewards_claimed_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed"], "model.synthetix.core_market_registered_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered"], "model.synthetix.core_vault_collateral_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.blocks_parquet", "source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral"], "model.synthetix.core_account_created_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created"], "model.synthetix.core_delegation_updated_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_delegation_updated"], "model.synthetix.core_rewards_distributed_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_distributed"], "model.synthetix.core_pool_created_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created"], "model.synthetix.core_liquidation_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_liquidation"], "model.synthetix.core_deposited_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_deposited"], "model.synthetix.core_vault_debt_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.blocks_parquet", "source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt"], "model.synthetix.core_usd_burned_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_burned"], "model.synthetix.core_withdrawn_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn"], "model.synthetix.core_market_updated_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_deposited", "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_withdrawn", "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_deposited", "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_withdrawn"], "model.synthetix.core_usd_minted_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_minted"], "model.synthetix.core_vault_liquidation_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation"], "model.synthetix.spot_synth_sold_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_sold"], "model.synthetix.spot_synth_bought_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_bought"], "model.synthetix.spot_order_committed_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_committed"], "model.synthetix.spot_synth_registered_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_registered"], "model.synthetix.spot_order_cancelled_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_cancelled"], "model.synthetix.spot_order_settled_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_settled"], "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_unwrapped"], "model.synthetix.spot_synth_wrapped_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_wrapped"], "model.synthetix.blocks_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.block", "source.synthetix.raw_arbitrum_sepolia.blocks_parquet"], "model.synthetix.core_vault_liquidation_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_vault_liquidation"], "model.synthetix.core_rewards_distributed_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_distributed"], "model.synthetix.core_vault_collateral_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.blocks_parquet", "source.synthetix.raw_arbitrum_sepolia.core_get_vault_collateral"], "model.synthetix.core_delegation_updated_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated"], "model.synthetix.core_deposited_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_deposited"], "model.synthetix.core_liquidation_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_liquidation"], "model.synthetix.core_pool_created_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_pool_created"], "model.synthetix.core_account_created_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created"], "model.synthetix.core_market_registered_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_registered"], "model.synthetix.core_market_updated_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_deposited", "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_withdrawn", "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_deposited", "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_withdrawn"], "model.synthetix.core_vault_debt_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.blocks_parquet", "source.synthetix.raw_arbitrum_sepolia.core_get_vault_debt"], "model.synthetix.core_withdrawn_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_withdrawn"], "model.synthetix.core_rewards_claimed_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed"], "model.synthetix.core_usd_minted_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_minted"], "model.synthetix.core_usd_burned_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_burned"], "model.synthetix.spot_order_settled_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_settled"], "model.synthetix.spot_synth_wrapped_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_wrapped"], "model.synthetix.spot_synth_sold_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_sold"], "model.synthetix.spot_synth_bought_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_bought"], "model.synthetix.spot_order_committed_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_committed"], "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_unwrapped"], "model.synthetix.spot_order_cancelled_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_cancelled"], "model.synthetix.spot_synth_registered_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_registered"], "model.synthetix.blocks_base_mainnet": ["source.synthetix.raw_base_mainnet.block", "source.synthetix.raw_base_mainnet.blocks_parquet"], "model.synthetix.perp_market_created_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_created"], "model.synthetix.perp_account_created_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_created"], "model.synthetix.perp_interest_rate_updated_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_rate_updated"], "model.synthetix.perp_order_committed_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_committed", "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_order_committed"], "model.synthetix.perp_collateral_modified_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_collateral_modified"], "model.synthetix.perp_interest_charged_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_charged"], "model.synthetix.perp_previous_order_expired_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_previous_order_expired"], "model.synthetix.perp_position_liquidated_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_position_liquidated"], "model.synthetix.perp_order_settled_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_settled"], "model.synthetix.perp_market_updated_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_updated", "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_market_updated"], "model.synthetix.perp_account_liquidation_attempt_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_liquidation_attempt"], "model.synthetix.buyback_processed_base_mainnet": ["source.synthetix.raw_base_mainnet.buyback_snx_event_buyback_processed", "source.synthetix.raw_base_mainnet.buyback_snx_legacy_event_buyback_processed"], "model.synthetix.core_deposited_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_deposited"], "model.synthetix.core_rewards_claimed_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_rewards_claimed"], "model.synthetix.core_pool_created_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_pool_created"], "model.synthetix.core_vault_collateral_base_mainnet": ["source.synthetix.raw_base_mainnet.blocks_parquet", "source.synthetix.raw_base_mainnet.core_get_vault_collateral"], "model.synthetix.core_usd_burned_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_usd_burned"], "model.synthetix.core_liquidation_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_liquidation"], "model.synthetix.core_vault_liquidation_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_vault_liquidation"], "model.synthetix.core_withdrawn_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_withdrawn"], "model.synthetix.core_account_created_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_account_created"], "model.synthetix.core_market_updated_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_deposited", "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_withdrawn", "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_deposited", "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_withdrawn", "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_deposited", "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_withdrawn"], "model.synthetix.core_rewards_distributed_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_rewards_distributed"], "model.synthetix.core_usd_minted_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_usd_minted"], "model.synthetix.core_vault_debt_base_mainnet": ["source.synthetix.raw_base_mainnet.blocks_parquet", "source.synthetix.raw_base_mainnet.core_get_vault_debt"], "model.synthetix.core_market_registered_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_market_registered"], "model.synthetix.core_delegation_updated_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_delegation_updated"], "model.synthetix.spot_synth_wrapped_base_mainnet": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_wrapped"], "model.synthetix.spot_synth_unwrapped_base_mainnet": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_unwrapped"], "model.synthetix.spot_synth_registered_base_mainnet": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_registered"], "model.synthetix.spot_order_committed_base_mainnet": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_committed"], "model.synthetix.spot_synth_bought_base_mainnet": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_bought"], "model.synthetix.spot_order_settled_base_mainnet": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_settled"], "model.synthetix.spot_order_cancelled_base_mainnet": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_cancelled"], "model.synthetix.spot_synth_sold_base_mainnet": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_sold"], "model.synthetix.blocks_base_sepolia": ["source.synthetix.raw_base_sepolia.block", "source.synthetix.raw_base_sepolia.blocks_parquet"], "model.synthetix.perp_order_committed_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_committed", "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_order_committed"], "model.synthetix.perp_order_settled_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_settled"], "model.synthetix.perp_market_updated_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_updated", "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_market_updated"], "model.synthetix.perp_collateral_modified_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_collateral_modified"], "model.synthetix.perp_interest_rate_updated_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_rate_updated"], "model.synthetix.perp_account_created_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_created"], "model.synthetix.perp_market_created_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_created"], "model.synthetix.perp_account_liquidation_attempt_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_liquidation_attempt"], "model.synthetix.perp_interest_charged_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_charged"], "model.synthetix.perp_position_liquidated_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_position_liquidated"], "model.synthetix.perp_previous_order_expired_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_previous_order_expired"], "model.synthetix.buyback_processed_base_sepolia": ["source.synthetix.raw_base_sepolia.buyback_snx_event_buyback_processed"], "model.synthetix.core_rewards_distributed_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_rewards_distributed"], "model.synthetix.core_market_updated_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_deposited", "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_withdrawn", "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_deposited", "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_withdrawn", "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_deposited", "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_withdrawn"], "model.synthetix.core_deposited_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_deposited"], "model.synthetix.core_account_created_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_account_created"], "model.synthetix.core_vault_collateral_base_sepolia": ["source.synthetix.raw_base_sepolia.blocks_parquet", "source.synthetix.raw_base_sepolia.core_get_vault_collateral"], "model.synthetix.core_withdrawn_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_withdrawn"], "model.synthetix.core_vault_liquidation_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_vault_liquidation"], "model.synthetix.core_rewards_claimed_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_rewards_claimed"], "model.synthetix.core_liquidation_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_liquidation"], "model.synthetix.core_usd_minted_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_usd_minted"], "model.synthetix.core_delegation_updated_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_delegation_updated"], "model.synthetix.core_vault_debt_base_sepolia": ["source.synthetix.raw_base_sepolia.blocks_parquet", "source.synthetix.raw_base_sepolia.core_get_vault_debt"], "model.synthetix.core_usd_burned_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_usd_burned"], "model.synthetix.core_market_registered_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_market_registered"], "model.synthetix.core_pool_created_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_pool_created"], "model.synthetix.spot_order_committed_base_sepolia": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_committed"], "model.synthetix.spot_synth_wrapped_base_sepolia": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_wrapped"], "model.synthetix.spot_synth_registered_base_sepolia": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_registered"], "model.synthetix.spot_synth_sold_base_sepolia": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_sold"], "model.synthetix.spot_synth_unwrapped_base_sepolia": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_unwrapped"], "model.synthetix.spot_order_cancelled_base_sepolia": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_cancelled"], "model.synthetix.spot_synth_bought_base_sepolia": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_bought"], "model.synthetix.spot_order_settled_base_sepolia": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_settled"], "model.synthetix.fct_core_pool_collateral_eth_mainnet": ["model.synthetix.core_deposited_eth_mainnet", "model.synthetix.core_withdrawn_eth_mainnet"], "model.synthetix.fct_core_apr_rewards_eth_mainnet": ["model.synthetix.fct_pool_pnl_hourly_reward_eth_mainnet"], "model.synthetix.fct_pool_pnl_hourly_eth_mainnet": ["model.synthetix.core_vault_collateral_eth_mainnet", "model.synthetix.fct_core_migration_hourly_eth_mainnet", "model.synthetix.fct_pool_debt_eth_mainnet", "model.synthetix.fct_pool_issuance_hourly_eth_mainnet", "model.synthetix.fct_pool_rewards_hourly_eth_mainnet"], "model.synthetix.fct_pool_pnl_hourly_reward_eth_mainnet": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"], "model.synthetix.fct_core_migration_eth_mainnet": ["model.synthetix.core_account_migrated_eth_mainnet"], "model.synthetix.fct_pool_rewards_hourly_eth_mainnet": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"], "model.synthetix.fct_pool_debt_eth_mainnet": ["model.synthetix.core_vault_debt_eth_mainnet"], "model.synthetix.fct_pool_issuance_hourly_eth_mainnet": ["model.synthetix.fct_pool_debt_eth_mainnet", "model.synthetix.fct_pool_issuance_eth_mainnet"], "model.synthetix.fct_core_migration_hourly_eth_mainnet": ["model.synthetix.fct_core_migration_eth_mainnet", "model.synthetix.fct_pool_debt_eth_mainnet"], "model.synthetix.fct_core_pool_delegation_eth_mainnet": ["model.synthetix.core_delegation_updated_eth_mainnet"], "model.synthetix.fct_pool_issuance_eth_mainnet": ["model.synthetix.core_usd_burned_eth_mainnet", "model.synthetix.core_usd_minted_eth_mainnet"], "model.synthetix.fct_core_account_delegation_eth_mainnet": ["model.synthetix.core_delegation_updated_eth_mainnet"], "model.synthetix.fct_core_market_updated_eth_mainnet": ["model.synthetix.core_market_updated_eth_mainnet"], "model.synthetix.fct_core_apr_eth_mainnet": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"], "model.synthetix.fct_pool_rewards_eth_mainnet": ["model.synthetix.core_rewards_distributed_eth_mainnet", "seed.synthetix.eth_mainnet_reward_distributors"], "model.synthetix.fct_core_pools_eth_mainnet": ["model.synthetix.core_pool_created_eth_mainnet"], "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet": ["model.synthetix.fct_pool_debt_eth_mainnet", "model.synthetix.fct_pool_rewards_eth_mainnet", "model.synthetix.fct_prices_hourly_eth_mainnet"], "model.synthetix.fct_prices_eth_mainnet": ["model.synthetix.core_vault_collateral_eth_mainnet", "seed.synthetix.eth_mainnet_tokens"], "model.synthetix.fct_prices_hourly_eth_mainnet": ["model.synthetix.fct_prices_eth_mainnet"], "model.synthetix.fct_pool_debt_arbitrum_mainnet": ["model.synthetix.core_vault_debt_arbitrum_mainnet"], "model.synthetix.fct_core_account_delegation_arbitrum_mainnet": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "model.synthetix.fct_core_apr_arbitrum_mainnet": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"], "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet": ["model.synthetix.fct_pool_debt_arbitrum_mainnet", "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "model.synthetix.fct_prices_hourly_arbitrum_mainnet"], "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet": ["model.synthetix.fct_pool_debt_arbitrum_mainnet", "model.synthetix.fct_pool_issuance_arbitrum_mainnet"], "model.synthetix.fct_core_pools_arbitrum_mainnet": ["model.synthetix.core_pool_created_arbitrum_mainnet"], "model.synthetix.fct_core_market_updated_arbitrum_mainnet": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "model.synthetix.fct_pool_rewards_arbitrum_mainnet": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet", "seed.synthetix.arbitrum_mainnet_reward_distributors"], "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"], "model.synthetix.fct_core_apr_rewards_arbitrum_mainnet": ["model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet"], "model.synthetix.fct_pool_issuance_arbitrum_mainnet": ["model.synthetix.core_usd_burned_arbitrum_mainnet", "model.synthetix.core_usd_minted_arbitrum_mainnet"], "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"], "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet": ["model.synthetix.core_deposited_arbitrum_mainnet", "model.synthetix.core_withdrawn_arbitrum_mainnet"], "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet": ["model.synthetix.core_vault_collateral_arbitrum_mainnet", "model.synthetix.fct_pool_debt_arbitrum_mainnet", "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"], "model.synthetix.fct_spot_atomics_arbitrum_mainnet": ["model.synthetix.spot_synth_bought_arbitrum_mainnet", "model.synthetix.spot_synth_sold_arbitrum_mainnet"], "model.synthetix.fct_synth_supply_arbitrum_mainnet": ["model.synthetix.core_usd_burned_arbitrum_mainnet", "model.synthetix.core_usd_minted_arbitrum_mainnet", "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "model.synthetix.fct_spot_wrapper_arbitrum_mainnet"], "model.synthetix.fct_spot_markets_arbitrum_mainnet": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"], "model.synthetix.fct_spot_wrapper_arbitrum_mainnet": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "model.synthetix.spot_synth_wrapped_arbitrum_mainnet"], "model.synthetix.fct_prices_arbitrum_mainnet": ["model.synthetix.core_vault_collateral_arbitrum_mainnet", "seed.synthetix.arbitrum_mainnet_tokens"], "model.synthetix.fct_prices_hourly_arbitrum_mainnet": ["model.synthetix.fct_prices_arbitrum_mainnet"], "model.synthetix.fct_pool_issuance_arbitrum_sepolia": ["model.synthetix.core_usd_burned_arbitrum_sepolia", "model.synthetix.core_usd_minted_arbitrum_sepolia"], "model.synthetix.fct_pool_rewards_arbitrum_sepolia": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia", "seed.synthetix.arbitrum_sepolia_reward_distributors"], "model.synthetix.fct_core_apr_arbitrum_sepolia": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"], "model.synthetix.fct_core_pools_arbitrum_sepolia": ["model.synthetix.core_pool_created_arbitrum_sepolia"], "model.synthetix.fct_core_account_delegation_arbitrum_sepolia": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia": ["model.synthetix.core_vault_collateral_arbitrum_sepolia", "model.synthetix.fct_pool_debt_arbitrum_sepolia", "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"], "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia": ["model.synthetix.core_deposited_arbitrum_sepolia", "model.synthetix.core_withdrawn_arbitrum_sepolia"], "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia": ["model.synthetix.fct_pool_debt_arbitrum_sepolia", "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "model.synthetix.fct_prices_hourly_arbitrum_sepolia"], "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"], "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia": ["model.synthetix.fct_pool_debt_arbitrum_sepolia", "model.synthetix.fct_pool_issuance_arbitrum_sepolia"], "model.synthetix.fct_core_apr_rewards_arbitrum_sepolia": ["model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia"], "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"], "model.synthetix.fct_core_market_updated_arbitrum_sepolia": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "model.synthetix.fct_pool_debt_arbitrum_sepolia": ["model.synthetix.core_vault_debt_arbitrum_sepolia"], "model.synthetix.fct_synth_supply_arbitrum_sepolia": ["model.synthetix.core_usd_burned_arbitrum_sepolia", "model.synthetix.core_usd_minted_arbitrum_sepolia", "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "model.synthetix.fct_spot_wrapper_arbitrum_sepolia"], "model.synthetix.fct_spot_markets_arbitrum_sepolia": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"], "model.synthetix.fct_spot_wrapper_arbitrum_sepolia": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "model.synthetix.spot_synth_wrapped_arbitrum_sepolia"], "model.synthetix.fct_spot_atomics_arbitrum_sepolia": ["model.synthetix.spot_synth_bought_arbitrum_sepolia", "model.synthetix.spot_synth_sold_arbitrum_sepolia"], "model.synthetix.fct_prices_arbitrum_sepolia": ["model.synthetix.core_vault_collateral_arbitrum_sepolia", "seed.synthetix.arbitrum_sepolia_tokens"], "model.synthetix.fct_prices_hourly_arbitrum_sepolia": ["model.synthetix.fct_prices_arbitrum_sepolia"], "model.synthetix.fct_perp_trades_base_mainnet": ["model.synthetix.fct_perp_markets_base_mainnet", "model.synthetix.perp_order_settled_base_mainnet"], "model.synthetix.fct_perp_previous_order_expired_base_mainnet": ["model.synthetix.perp_previous_order_expired_base_mainnet"], "model.synthetix.fct_perp_market_history_base_mainnet": ["model.synthetix.fct_perp_markets_base_mainnet", "model.synthetix.perp_market_updated_base_mainnet"], "model.synthetix.fct_perp_orders_base_mainnet": ["model.synthetix.fct_perp_markets_base_mainnet", "model.synthetix.perp_order_committed_base_mainnet"], "model.synthetix.fct_perp_collateral_modified_base_mainnet": ["model.synthetix.perp_collateral_modified_base_mainnet"], "model.synthetix.fct_perp_interest_charged_base_mainnet": ["model.synthetix.perp_interest_charged_base_mainnet"], "model.synthetix.fct_perp_pnl_base_mainnet": ["model.synthetix.core_vault_debt_base_mainnet"], "model.synthetix.fct_perp_markets_base_mainnet": ["model.synthetix.perp_market_created_base_mainnet"], "model.synthetix.fct_perp_liq_position_base_mainnet": ["model.synthetix.fct_perp_markets_base_mainnet", "model.synthetix.perp_position_liquidated_base_mainnet"], "model.synthetix.fct_perp_liq_account_base_mainnet": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"], "model.synthetix.fct_perp_accounts_base_mainnet": ["model.synthetix.perp_account_created_base_mainnet"], "model.synthetix.fct_buyback_hourly_base_mainnet": ["model.synthetix.fct_buyback_base_mainnet"], "model.synthetix.fct_buyback_daily_base_mainnet": ["model.synthetix.fct_buyback_base_mainnet"], "model.synthetix.fct_buyback_base_mainnet": ["model.synthetix.buyback_processed_base_mainnet"], "model.synthetix.fct_core_pools_base_mainnet": ["model.synthetix.core_pool_created_base_mainnet"], "model.synthetix.fct_pool_rewards_hourly_base_mainnet": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"], "model.synthetix.fct_core_vault_collateral_base_mainnet": ["model.synthetix.core_vault_collateral_base_mainnet"], "model.synthetix.fct_core_market_updated_base_mainnet": ["model.synthetix.core_market_updated_base_mainnet"], "model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet", "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"], "model.synthetix.fct_pool_rewards_base_mainnet": ["model.synthetix.core_rewards_distributed_base_mainnet", "seed.synthetix.base_mainnet_reward_distributors"], "model.synthetix.fct_pool_issuance_base_mainnet": ["model.synthetix.core_usd_burned_base_mainnet", "model.synthetix.core_usd_minted_base_mainnet"], "model.synthetix.fct_core_apr_rewards_base_mainnet": ["model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet"], "model.synthetix.fct_pool_issuance_hourly_base_mainnet": ["model.synthetix.fct_pool_debt_base_mainnet", "model.synthetix.fct_pool_issuance_base_mainnet"], "model.synthetix.fct_pool_pnl_hourly_base_mainnet": ["model.synthetix.core_vault_collateral_base_mainnet", "model.synthetix.fct_pool_debt_base_mainnet", "model.synthetix.fct_pool_issuance_hourly_base_mainnet", "model.synthetix.fct_pool_rewards_hourly_base_mainnet"], "model.synthetix.fct_core_account_delegation_base_mainnet": ["model.synthetix.core_delegation_updated_base_mainnet"], "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet": ["model.synthetix.fct_pool_debt_base_mainnet", "model.synthetix.fct_pool_rewards_base_mainnet", "model.synthetix.fct_prices_hourly_base_mainnet"], "model.synthetix.fct_pool_debt_base_mainnet": ["model.synthetix.core_vault_debt_base_mainnet"], "model.synthetix.fct_core_pool_delegation_base_mainnet": ["model.synthetix.core_delegation_updated_base_mainnet"], "model.synthetix.fct_core_pool_collateral_base_mainnet": ["model.synthetix.core_deposited_base_mainnet", "model.synthetix.core_withdrawn_base_mainnet"], "model.synthetix.fct_core_apr_base_mainnet": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"], "model.synthetix.fct_perp_stats_daily_base_mainnet": ["model.synthetix.fct_perp_stats_hourly_base_mainnet"], "model.synthetix.fct_perp_tracking_stats_daily_base_mainnet": ["model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet", "model.synthetix.fct_perp_trades_base_mainnet"], "model.synthetix.fct_perp_market_stats_hourly_base_mainnet": ["model.synthetix.fct_perp_liq_position_base_mainnet", "model.synthetix.fct_perp_trades_base_mainnet"], "model.synthetix.fct_perp_stats_hourly_base_mainnet": ["model.synthetix.fct_perp_liq_account_base_mainnet", "model.synthetix.fct_perp_market_stats_hourly_base_mainnet"], "model.synthetix.fct_perp_account_stats_daily_base_mainnet": ["model.synthetix.fct_perp_account_stats_hourly_base_mainnet"], "model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet": ["model.synthetix.fct_perp_trades_base_mainnet"], "model.synthetix.fct_perp_market_stats_daily_base_mainnet": ["model.synthetix.fct_perp_market_stats_hourly_base_mainnet"], "model.synthetix.fct_perp_account_stats_hourly_base_mainnet": ["model.synthetix.fct_perp_liq_position_base_mainnet", "model.synthetix.fct_perp_trades_base_mainnet"], "model.synthetix.fct_perp_keeper_stats_daily_base_mainnet": ["model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet"], "model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet": ["model.synthetix.fct_perp_trades_base_mainnet"], "model.synthetix.fct_spot_markets_base_mainnet": ["model.synthetix.spot_synth_registered_base_mainnet"], "model.synthetix.fct_synth_supply_base_mainnet": ["model.synthetix.core_usd_burned_base_mainnet", "model.synthetix.core_usd_minted_base_mainnet", "model.synthetix.fct_spot_atomics_base_mainnet", "model.synthetix.fct_spot_wrapper_base_mainnet"], "model.synthetix.fct_spot_wrapper_base_mainnet": ["model.synthetix.spot_synth_unwrapped_base_mainnet", "model.synthetix.spot_synth_wrapped_base_mainnet"], "model.synthetix.fct_spot_atomics_base_mainnet": ["model.synthetix.spot_synth_bought_base_mainnet", "model.synthetix.spot_synth_sold_base_mainnet"], "model.synthetix.fct_prices_base_mainnet": ["model.synthetix.core_vault_collateral_base_mainnet", "model.synthetix.fct_buyback_base_mainnet", "model.synthetix.fct_perp_market_history_base_mainnet", "seed.synthetix.base_mainnet_tokens"], "model.synthetix.fct_prices_hourly_base_mainnet": ["model.synthetix.fct_prices_base_mainnet"], "model.synthetix.fct_perp_market_history_base_sepolia": ["model.synthetix.fct_perp_markets_base_sepolia", "model.synthetix.perp_market_updated_base_sepolia"], "model.synthetix.fct_perp_accounts_base_sepolia": ["model.synthetix.perp_account_created_base_sepolia"], "model.synthetix.fct_perp_previous_order_expired_base_sepolia": ["model.synthetix.perp_previous_order_expired_base_sepolia"], "model.synthetix.fct_perp_interest_charged_base_sepolia": ["model.synthetix.perp_interest_charged_base_sepolia"], "model.synthetix.fct_perp_liq_account_base_sepolia": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"], "model.synthetix.fct_perp_collateral_modified_base_sepolia": ["model.synthetix.perp_collateral_modified_base_sepolia"], "model.synthetix.fct_perp_trades_base_sepolia": ["model.synthetix.fct_perp_markets_base_sepolia", "model.synthetix.perp_order_settled_base_sepolia"], "model.synthetix.fct_perp_pnl_base_sepolia": ["model.synthetix.core_vault_debt_base_sepolia"], "model.synthetix.fct_perp_liq_position_base_sepolia": ["model.synthetix.fct_perp_markets_base_sepolia", "model.synthetix.perp_position_liquidated_base_sepolia"], "model.synthetix.fct_perp_orders_base_sepolia": ["model.synthetix.fct_perp_markets_base_sepolia", "model.synthetix.perp_order_committed_base_sepolia"], "model.synthetix.fct_perp_markets_base_sepolia": ["model.synthetix.perp_market_created_base_sepolia"], "model.synthetix.fct_buyback_daily_base_sepolia": ["model.synthetix.fct_buyback_base_sepolia"], "model.synthetix.fct_buyback_hourly_base_sepolia": ["model.synthetix.fct_buyback_base_sepolia"], "model.synthetix.fct_buyback_base_sepolia": ["model.synthetix.buyback_processed_base_sepolia"], "model.synthetix.fct_pool_rewards_base_sepolia": ["model.synthetix.core_rewards_distributed_base_sepolia", "seed.synthetix.base_sepolia_reward_distributors"], "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia", "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"], "model.synthetix.fct_core_pools_base_sepolia": ["model.synthetix.core_pool_created_base_sepolia"], "model.synthetix.fct_pool_issuance_hourly_base_sepolia": ["model.synthetix.fct_pool_debt_base_sepolia", "model.synthetix.fct_pool_issuance_base_sepolia"], "model.synthetix.fct_pool_issuance_base_sepolia": ["model.synthetix.core_usd_burned_base_sepolia", "model.synthetix.core_usd_minted_base_sepolia"], "model.synthetix.fct_pool_debt_base_sepolia": ["model.synthetix.core_vault_debt_base_sepolia"], "model.synthetix.fct_pool_rewards_hourly_base_sepolia": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"], "model.synthetix.fct_core_pool_delegation_base_sepolia": ["model.synthetix.core_delegation_updated_base_sepolia"], "model.synthetix.fct_core_apr_rewards_base_sepolia": ["model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia"], "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia": ["model.synthetix.fct_pool_debt_base_sepolia", "model.synthetix.fct_pool_rewards_base_sepolia", "model.synthetix.fct_prices_hourly_base_sepolia"], "model.synthetix.fct_core_market_updated_base_sepolia": ["model.synthetix.core_market_updated_base_sepolia"], "model.synthetix.fct_core_apr_base_sepolia": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"], "model.synthetix.fct_core_account_delegation_base_sepolia": ["model.synthetix.core_delegation_updated_base_sepolia"], "model.synthetix.fct_pool_pnl_hourly_base_sepolia": ["model.synthetix.core_vault_collateral_base_sepolia", "model.synthetix.fct_pool_debt_base_sepolia", "model.synthetix.fct_pool_issuance_hourly_base_sepolia", "model.synthetix.fct_pool_rewards_hourly_base_sepolia"], "model.synthetix.fct_core_pool_collateral_base_sepolia": ["model.synthetix.core_deposited_base_sepolia", "model.synthetix.core_withdrawn_base_sepolia"], "model.synthetix.fct_perp_keeper_stats_daily_base_sepolia": ["model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia"], "model.synthetix.fct_perp_stats_daily_base_sepolia": ["model.synthetix.fct_perp_stats_hourly_base_sepolia"], "model.synthetix.fct_perp_account_stats_hourly_base_sepolia": ["model.synthetix.fct_perp_liq_position_base_sepolia", "model.synthetix.fct_perp_trades_base_sepolia"], "model.synthetix.fct_perp_market_stats_hourly_base_sepolia": ["model.synthetix.fct_perp_liq_position_base_sepolia", "model.synthetix.fct_perp_trades_base_sepolia"], "model.synthetix.fct_perp_account_stats_daily_base_sepolia": ["model.synthetix.fct_perp_account_stats_hourly_base_sepolia"], "model.synthetix.fct_perp_stats_hourly_base_sepolia": ["model.synthetix.fct_perp_liq_account_base_sepolia", "model.synthetix.fct_perp_market_stats_hourly_base_sepolia"], "model.synthetix.fct_perp_market_stats_daily_base_sepolia": ["model.synthetix.fct_perp_market_stats_hourly_base_sepolia"], "model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia": ["model.synthetix.fct_perp_trades_base_sepolia"], "model.synthetix.fct_perp_tracking_stats_daily_base_sepolia": ["model.synthetix.fct_perp_tracking_stats_hourly_base_sepolia", "model.synthetix.fct_perp_trades_base_sepolia"], "model.synthetix.fct_perp_tracking_stats_hourly_base_sepolia": ["model.synthetix.fct_perp_trades_base_sepolia"], "model.synthetix.fct_synth_supply_base_sepolia": ["model.synthetix.core_usd_burned_base_sepolia", "model.synthetix.core_usd_minted_base_sepolia", "model.synthetix.fct_spot_atomics_base_sepolia", "model.synthetix.fct_spot_wrapper_base_sepolia"], "model.synthetix.fct_spot_wrapper_base_sepolia": ["model.synthetix.spot_synth_unwrapped_base_sepolia", "model.synthetix.spot_synth_wrapped_base_sepolia"], "model.synthetix.fct_spot_atomics_base_sepolia": ["model.synthetix.spot_synth_bought_base_sepolia", "model.synthetix.spot_synth_sold_base_sepolia"], "model.synthetix.fct_spot_markets_base_sepolia": ["model.synthetix.spot_synth_registered_base_sepolia"], "model.synthetix.fct_prices_base_sepolia": ["model.synthetix.core_vault_collateral_base_sepolia", "model.synthetix.fct_buyback_base_sepolia", "model.synthetix.fct_perp_market_history_base_sepolia", "seed.synthetix.base_sepolia_tokens"], "model.synthetix.fct_prices_hourly_base_sepolia": ["model.synthetix.fct_prices_base_sepolia"], "seed.synthetix.eth_mainnet_tokens": [], "seed.synthetix.base_mainnet_tokens": [], "seed.synthetix.arbitrum_sepolia_tokens": [], "seed.synthetix.base_sepolia_tokens": [], "seed.synthetix.arbitrum_mainnet_tokens": [], "seed.synthetix.arbitrum_sepolia_reward_distributors": [], "seed.synthetix.eth_mainnet_reward_distributors": [], "seed.synthetix.base_mainnet_reward_distributors": [], "seed.synthetix.base_sepolia_reward_distributors": [], "seed.synthetix.arbitrum_mainnet_reward_distributors": [], "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_distributor_address.700581d5a6": ["seed.synthetix.arbitrum_mainnet_reward_distributors"], "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_token_symbol.a65060c57e": ["seed.synthetix.arbitrum_mainnet_reward_distributors"], "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_distributor_address.6379395bc6": ["seed.synthetix.arbitrum_sepolia_reward_distributors"], "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_token_symbol.62adebb178": ["seed.synthetix.arbitrum_sepolia_reward_distributors"], "test.synthetix.not_null_base_mainnet_reward_distributors_distributor_address.d0aab9bee0": ["seed.synthetix.base_mainnet_reward_distributors"], "test.synthetix.not_null_base_mainnet_reward_distributors_token_symbol.d94311a8fc": ["seed.synthetix.base_mainnet_reward_distributors"], "test.synthetix.not_null_base_sepolia_reward_distributors_distributor_address.08551b149c": ["seed.synthetix.base_sepolia_reward_distributors"], "test.synthetix.not_null_base_sepolia_reward_distributors_token_symbol.37319f3c5c": ["seed.synthetix.base_sepolia_reward_distributors"], "test.synthetix.not_null_arbitrum_mainnet_tokens_token_address.08d3db4ee2": ["seed.synthetix.arbitrum_mainnet_tokens"], "test.synthetix.not_null_arbitrum_mainnet_tokens_token_symbol.619d115f2e": ["seed.synthetix.arbitrum_mainnet_tokens"], "test.synthetix.not_null_arbitrum_sepolia_tokens_token_address.9daa149fb1": ["seed.synthetix.arbitrum_sepolia_tokens"], "test.synthetix.not_null_arbitrum_sepolia_tokens_token_symbol.17ecd3a7d8": ["seed.synthetix.arbitrum_sepolia_tokens"], "test.synthetix.not_null_base_mainnet_tokens_token_address.47a3f5acd2": ["seed.synthetix.base_mainnet_tokens"], "test.synthetix.not_null_base_mainnet_tokens_token_symbol.77007fd576": ["seed.synthetix.base_mainnet_tokens"], "test.synthetix.not_null_base_sepolia_tokens_token_address.73f3c4e0ef": ["seed.synthetix.base_sepolia_tokens"], "test.synthetix.not_null_base_sepolia_tokens_token_symbol.1afdd41b38": ["seed.synthetix.base_sepolia_tokens"], "test.synthetix.not_null_blocks_eth_mainnet_block_number.aba38b4904": ["model.synthetix.blocks_eth_mainnet"], "test.synthetix.unique_blocks_eth_mainnet_block_number.ddb4ca7d09": ["model.synthetix.blocks_eth_mainnet"], "test.synthetix.dbt_utils_recency_blocks_eth_mainnet_hour__ts__1.7c6c4534db": ["model.synthetix.blocks_eth_mainnet"], "test.synthetix.not_null_core_account_created_eth_mainnet_owner.9141d07512": ["model.synthetix.core_account_created_eth_mainnet"], "test.synthetix.not_null_core_account_created_eth_mainnet_account_id.162a9a11ae": ["model.synthetix.core_account_created_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_account_created_eth_mainnet_account_id__True__0.4d9379ebdc": ["model.synthetix.core_account_created_eth_mainnet"], "test.synthetix.not_null_core_account_created_eth_mainnet_id.0d5cd71e99": ["model.synthetix.core_account_created_eth_mainnet"], "test.synthetix.unique_core_account_created_eth_mainnet_id.51b373b820": ["model.synthetix.core_account_created_eth_mainnet"], "test.synthetix.not_null_core_account_created_eth_mainnet_transaction_hash.5349e51024": ["model.synthetix.core_account_created_eth_mainnet"], "test.synthetix.not_null_core_account_created_eth_mainnet_block_number.be5f037644": ["model.synthetix.core_account_created_eth_mainnet"], "test.synthetix.not_null_core_account_created_eth_mainnet_block_timestamp.8287155cde": ["model.synthetix.core_account_created_eth_mainnet"], "test.synthetix.not_null_core_account_created_eth_mainnet_event_name.5a44f6813f": ["model.synthetix.core_account_created_eth_mainnet"], "test.synthetix.accepted_values_core_account_created_eth_mainnet_event_name__AccountCreated.7bff7383b3": ["model.synthetix.core_account_created_eth_mainnet"], "test.synthetix.not_null_core_account_created_eth_mainnet_contract.84cae83ab9": ["model.synthetix.core_account_created_eth_mainnet"], "test.synthetix.not_null_core_account_migrated_eth_mainnet_staker.cb3d4f410b": ["model.synthetix.core_account_migrated_eth_mainnet"], "test.synthetix.not_null_core_account_migrated_eth_mainnet_account_id.6263532792": ["model.synthetix.core_account_migrated_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_account_id__True__0.f1da2d38e8": ["model.synthetix.core_account_migrated_eth_mainnet"], "test.synthetix.not_null_core_account_migrated_eth_mainnet_id.3f18fc79cf": ["model.synthetix.core_account_migrated_eth_mainnet"], "test.synthetix.unique_core_account_migrated_eth_mainnet_id.b21ce76ba7": ["model.synthetix.core_account_migrated_eth_mainnet"], "test.synthetix.not_null_core_account_migrated_eth_mainnet_transaction_hash.bb710f8259": ["model.synthetix.core_account_migrated_eth_mainnet"], "test.synthetix.not_null_core_account_migrated_eth_mainnet_block_number.8a5aa490b5": ["model.synthetix.core_account_migrated_eth_mainnet"], "test.synthetix.not_null_core_account_migrated_eth_mainnet_block_timestamp.29c8a3ae97": ["model.synthetix.core_account_migrated_eth_mainnet"], "test.synthetix.not_null_core_account_migrated_eth_mainnet_event_name.969c074241": ["model.synthetix.core_account_migrated_eth_mainnet"], "test.synthetix.not_null_core_account_migrated_eth_mainnet_contract.ccd34b4a40": ["model.synthetix.core_account_migrated_eth_mainnet"], "test.synthetix.not_null_core_account_migrated_eth_mainnet_collateral_amount.3673a78a7a": ["model.synthetix.core_account_migrated_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_collateral_amount__True__0.b1df54815d": ["model.synthetix.core_account_migrated_eth_mainnet"], "test.synthetix.not_null_core_account_migrated_eth_mainnet_debt_amount.37622c6a60": ["model.synthetix.core_account_migrated_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_debt_amount__True__0.a8e29325c2": ["model.synthetix.core_account_migrated_eth_mainnet"], "test.synthetix.not_null_core_delegation_updated_eth_mainnet_contract.5d369822a4": ["model.synthetix.core_delegation_updated_eth_mainnet"], "test.synthetix.not_null_core_delegation_updated_eth_mainnet_id.622c20c239": ["model.synthetix.core_delegation_updated_eth_mainnet"], "test.synthetix.unique_core_delegation_updated_eth_mainnet_id.2467edf8ec": ["model.synthetix.core_delegation_updated_eth_mainnet"], "test.synthetix.not_null_core_delegation_updated_eth_mainnet_account_id.141fb0f466": ["model.synthetix.core_delegation_updated_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_account_id__True__0.3a3f9a0475": ["model.synthetix.core_delegation_updated_eth_mainnet"], "test.synthetix.not_null_core_delegation_updated_eth_mainnet_collateral_type.e3d73862e4": ["model.synthetix.core_delegation_updated_eth_mainnet"], "test.synthetix.not_null_core_delegation_updated_eth_mainnet_pool_id.914b411c12": ["model.synthetix.core_delegation_updated_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_pool_id__True__0.fb370aa2ca": ["model.synthetix.core_delegation_updated_eth_mainnet"], "test.synthetix.not_null_core_delegation_updated_eth_mainnet_sender.3a40ed8f3a": ["model.synthetix.core_delegation_updated_eth_mainnet"], "test.synthetix.not_null_core_delegation_updated_eth_mainnet_block_timestamp.cd7fa2f4ff": ["model.synthetix.core_delegation_updated_eth_mainnet"], "test.synthetix.not_null_core_delegation_updated_eth_mainnet_block_number.5479fa5e08": ["model.synthetix.core_delegation_updated_eth_mainnet"], "test.synthetix.not_null_core_delegation_updated_eth_mainnet_leverage.3edfe7323e": ["model.synthetix.core_delegation_updated_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_leverage__True__1000000000000000000__1000000000000000000.eb061a2128": ["model.synthetix.core_delegation_updated_eth_mainnet"], "test.synthetix.not_null_core_delegation_updated_eth_mainnet_transaction_hash.048b7a5c68": ["model.synthetix.core_delegation_updated_eth_mainnet"], "test.synthetix.not_null_core_delegation_updated_eth_mainnet_amount.256481de3c": ["model.synthetix.core_delegation_updated_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_amount__True__0.94b97c0270": ["model.synthetix.core_delegation_updated_eth_mainnet"], "test.synthetix.not_null_core_delegation_updated_eth_mainnet_event_name.69b76075f5": ["model.synthetix.core_delegation_updated_eth_mainnet"], "test.synthetix.accepted_values_core_delegation_updated_eth_mainnet_event_name__DelegationUpdated.ec623b86f2": ["model.synthetix.core_delegation_updated_eth_mainnet"], "test.synthetix.not_null_core_deposited_eth_mainnet_collateral_type.f940e4eba6": ["model.synthetix.core_deposited_eth_mainnet"], "test.synthetix.not_null_core_deposited_eth_mainnet_id.9c5a20c527": ["model.synthetix.core_deposited_eth_mainnet"], "test.synthetix.unique_core_deposited_eth_mainnet_id.97fd3624a5": ["model.synthetix.core_deposited_eth_mainnet"], "test.synthetix.not_null_core_deposited_eth_mainnet_contract.d1fbae48f5": ["model.synthetix.core_deposited_eth_mainnet"], "test.synthetix.not_null_core_deposited_eth_mainnet_event_name.e185f199f1": ["model.synthetix.core_deposited_eth_mainnet"], "test.synthetix.accepted_values_core_deposited_eth_mainnet_event_name__Deposited.18727c72b0": ["model.synthetix.core_deposited_eth_mainnet"], "test.synthetix.not_null_core_deposited_eth_mainnet_transaction_hash.7087a2e09e": ["model.synthetix.core_deposited_eth_mainnet"], "test.synthetix.not_null_core_deposited_eth_mainnet_account_id.527d2b71c3": ["model.synthetix.core_deposited_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_deposited_eth_mainnet_account_id__True__0.5e26b84f6a": ["model.synthetix.core_deposited_eth_mainnet"], "test.synthetix.not_null_core_deposited_eth_mainnet_sender.4c70b365da": ["model.synthetix.core_deposited_eth_mainnet"], "test.synthetix.not_null_core_deposited_eth_mainnet_block_timestamp.6194c9ac03": ["model.synthetix.core_deposited_eth_mainnet"], "test.synthetix.not_null_core_deposited_eth_mainnet_block_number.5e2350a777": ["model.synthetix.core_deposited_eth_mainnet"], "test.synthetix.not_null_core_deposited_eth_mainnet_token_amount.dc8696c011": ["model.synthetix.core_deposited_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_deposited_eth_mainnet_token_amount__True__0.a57f2edd1b": ["model.synthetix.core_deposited_eth_mainnet"], "test.synthetix.not_null_core_withdrawn_eth_mainnet_block_timestamp.b6326ea438": ["model.synthetix.core_withdrawn_eth_mainnet"], "test.synthetix.not_null_core_withdrawn_eth_mainnet_contract.a4eb9c51f7": ["model.synthetix.core_withdrawn_eth_mainnet"], "test.synthetix.not_null_core_withdrawn_eth_mainnet_block_number.74ee30eaa5": ["model.synthetix.core_withdrawn_eth_mainnet"], "test.synthetix.not_null_core_withdrawn_eth_mainnet_transaction_hash.6b6f75c74b": ["model.synthetix.core_withdrawn_eth_mainnet"], "test.synthetix.not_null_core_withdrawn_eth_mainnet_token_amount.d3547c3837": ["model.synthetix.core_withdrawn_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_withdrawn_eth_mainnet_token_amount__True__0.8bd25add1c": ["model.synthetix.core_withdrawn_eth_mainnet"], "test.synthetix.not_null_core_withdrawn_eth_mainnet_collateral_type.28458fb6de": ["model.synthetix.core_withdrawn_eth_mainnet"], "test.synthetix.not_null_core_withdrawn_eth_mainnet_account_id.7846828c26": ["model.synthetix.core_withdrawn_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_withdrawn_eth_mainnet_account_id__True__0.cdf381b428": ["model.synthetix.core_withdrawn_eth_mainnet"], "test.synthetix.not_null_core_withdrawn_eth_mainnet_id.b0e6ed95b5": ["model.synthetix.core_withdrawn_eth_mainnet"], "test.synthetix.unique_core_withdrawn_eth_mainnet_id.3d5210133c": ["model.synthetix.core_withdrawn_eth_mainnet"], "test.synthetix.not_null_core_withdrawn_eth_mainnet_sender.b7bc5bdadc": ["model.synthetix.core_withdrawn_eth_mainnet"], "test.synthetix.not_null_core_withdrawn_eth_mainnet_event_name.2d3b6771d6": ["model.synthetix.core_withdrawn_eth_mainnet"], "test.synthetix.accepted_values_core_withdrawn_eth_mainnet_event_name__Withdrawn.cbf35f5a80": ["model.synthetix.core_withdrawn_eth_mainnet"], "test.synthetix.not_null_core_liquidation_eth_mainnet_pool_id.0966ab4339": ["model.synthetix.core_liquidation_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_pool_id__True__0.0b09af0400": ["model.synthetix.core_liquidation_eth_mainnet"], "test.synthetix.not_null_core_liquidation_eth_mainnet_block_timestamp.c85990976a": ["model.synthetix.core_liquidation_eth_mainnet"], "test.synthetix.not_null_core_liquidation_eth_mainnet_block_number.8c6c1cbe38": ["model.synthetix.core_liquidation_eth_mainnet"], "test.synthetix.not_null_core_liquidation_eth_mainnet_id.8175916dcc": ["model.synthetix.core_liquidation_eth_mainnet"], "test.synthetix.unique_core_liquidation_eth_mainnet_id.05a09be0f1": ["model.synthetix.core_liquidation_eth_mainnet"], "test.synthetix.not_null_core_liquidation_eth_mainnet_contract.05fe5f9d13": ["model.synthetix.core_liquidation_eth_mainnet"], "test.synthetix.not_null_core_liquidation_eth_mainnet_event_name.a70ed0a4dd": ["model.synthetix.core_liquidation_eth_mainnet"], "test.synthetix.accepted_values_core_liquidation_eth_mainnet_event_name__Liquidation.10d3a28f0f": ["model.synthetix.core_liquidation_eth_mainnet"], "test.synthetix.not_null_core_liquidation_eth_mainnet_collateral_type.59a2516e40": ["model.synthetix.core_liquidation_eth_mainnet"], "test.synthetix.not_null_core_liquidation_eth_mainnet_sender.734f70adf9": ["model.synthetix.core_liquidation_eth_mainnet"], "test.synthetix.not_null_core_liquidation_eth_mainnet_account_id.13c94e5d02": ["model.synthetix.core_liquidation_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_account_id__True__0.d050e2f72d": ["model.synthetix.core_liquidation_eth_mainnet"], "test.synthetix.not_null_core_liquidation_eth_mainnet_transaction_hash.e3478512f6": ["model.synthetix.core_liquidation_eth_mainnet"], "test.synthetix.not_null_core_liquidation_eth_mainnet_liquidate_as_account_id.778690c632": ["model.synthetix.core_liquidation_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_liquidate_as_account_id__True__0.02ffa79c7a": ["model.synthetix.core_liquidation_eth_mainnet"], "test.synthetix.not_null_core_market_updated_eth_mainnet_id.f7dedb5ddb": ["model.synthetix.core_market_updated_eth_mainnet"], "test.synthetix.unique_core_market_updated_eth_mainnet_id.7cd00231f1": ["model.synthetix.core_market_updated_eth_mainnet"], "test.synthetix.not_null_core_market_updated_eth_mainnet_block_timestamp.683bea78d4": ["model.synthetix.core_market_updated_eth_mainnet"], "test.synthetix.not_null_core_market_updated_eth_mainnet_block_number.f4a7497fbe": ["model.synthetix.core_market_updated_eth_mainnet"], "test.synthetix.not_null_core_market_updated_eth_mainnet_transaction_hash.3a0d8e52a3": ["model.synthetix.core_market_updated_eth_mainnet"], "test.synthetix.not_null_core_market_updated_eth_mainnet_contract.97f87c3b4a": ["model.synthetix.core_market_updated_eth_mainnet"], "test.synthetix.not_null_core_market_updated_eth_mainnet_event_name.6d64c2a842": ["model.synthetix.core_market_updated_eth_mainnet"], "test.synthetix.accepted_values_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.7de7687ac0": ["model.synthetix.core_market_updated_eth_mainnet"], "test.synthetix.not_null_core_market_updated_eth_mainnet_market_id.649fb28529": ["model.synthetix.core_market_updated_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_market_id__True__0.58438c84b4": ["model.synthetix.core_market_updated_eth_mainnet"], "test.synthetix.not_null_core_market_updated_eth_mainnet_net_issuance.3e92a0dc4a": ["model.synthetix.core_market_updated_eth_mainnet"], "test.synthetix.not_null_core_market_updated_eth_mainnet_deposited_collateral_value.93b2bdea02": ["model.synthetix.core_market_updated_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_deposited_collateral_value__True__0.06de946dba": ["model.synthetix.core_market_updated_eth_mainnet"], "test.synthetix.not_null_core_market_updated_eth_mainnet_sender.12a64a65ef": ["model.synthetix.core_market_updated_eth_mainnet"], "test.synthetix.not_null_core_market_updated_eth_mainnet_collateral_type.c83211fd2f": ["model.synthetix.core_market_updated_eth_mainnet"], "test.synthetix.not_null_core_market_updated_eth_mainnet_credit_capacity.baa89e2e5a": ["model.synthetix.core_market_updated_eth_mainnet"], "test.synthetix.not_null_core_market_updated_eth_mainnet_token_amount.a9f6d4a588": ["model.synthetix.core_market_updated_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_token_amount__True__0.fdf0db60b7": ["model.synthetix.core_market_updated_eth_mainnet"], "test.synthetix.not_null_core_market_registered_eth_mainnet_market.fccda96dc8": ["model.synthetix.core_market_registered_eth_mainnet"], "test.synthetix.not_null_core_market_registered_eth_mainnet_market_id.2e945dec67": ["model.synthetix.core_market_registered_eth_mainnet"], "test.synthetix.unique_core_market_registered_eth_mainnet_market_id.496c543395": ["model.synthetix.core_market_registered_eth_mainnet"], "test.synthetix.not_null_core_market_registered_eth_mainnet_id.35b1e4e0f3": ["model.synthetix.core_market_registered_eth_mainnet"], "test.synthetix.unique_core_market_registered_eth_mainnet_id.ae732b851b": ["model.synthetix.core_market_registered_eth_mainnet"], "test.synthetix.not_null_core_market_registered_eth_mainnet_block_timestamp.0b8054a50c": ["model.synthetix.core_market_registered_eth_mainnet"], "test.synthetix.not_null_core_market_registered_eth_mainnet_contract.f582853f53": ["model.synthetix.core_market_registered_eth_mainnet"], "test.synthetix.not_null_core_market_registered_eth_mainnet_transaction_hash.7c581f179e": ["model.synthetix.core_market_registered_eth_mainnet"], "test.synthetix.not_null_core_market_registered_eth_mainnet_block_number.7eec7e8f2c": ["model.synthetix.core_market_registered_eth_mainnet"], "test.synthetix.not_null_core_market_registered_eth_mainnet_event_name.0d26c502fa": ["model.synthetix.core_market_registered_eth_mainnet"], "test.synthetix.accepted_values_core_market_registered_eth_mainnet_event_name__MarketRegistered.db8e4ac8d2": ["model.synthetix.core_market_registered_eth_mainnet"], "test.synthetix.not_null_core_market_registered_eth_mainnet_sender.6e63d1acbc": ["model.synthetix.core_market_registered_eth_mainnet"], "test.synthetix.not_null_core_pool_created_eth_mainnet_contract.31bb49a3da": ["model.synthetix.core_pool_created_eth_mainnet"], "test.synthetix.not_null_core_pool_created_eth_mainnet_sender.0e2161372e": ["model.synthetix.core_pool_created_eth_mainnet"], "test.synthetix.not_null_core_pool_created_eth_mainnet_block_timestamp.edc63e1dd6": ["model.synthetix.core_pool_created_eth_mainnet"], "test.synthetix.not_null_core_pool_created_eth_mainnet_id.d903c0dfc4": ["model.synthetix.core_pool_created_eth_mainnet"], "test.synthetix.unique_core_pool_created_eth_mainnet_id.8a7d542185": ["model.synthetix.core_pool_created_eth_mainnet"], "test.synthetix.not_null_core_pool_created_eth_mainnet_block_number.2f99b31050": ["model.synthetix.core_pool_created_eth_mainnet"], "test.synthetix.not_null_core_pool_created_eth_mainnet_transaction_hash.c51273100e": ["model.synthetix.core_pool_created_eth_mainnet"], "test.synthetix.not_null_core_pool_created_eth_mainnet_event_name.86049849e6": ["model.synthetix.core_pool_created_eth_mainnet"], "test.synthetix.accepted_values_core_pool_created_eth_mainnet_event_name__PoolCreated.109464a698": ["model.synthetix.core_pool_created_eth_mainnet"], "test.synthetix.not_null_core_pool_created_eth_mainnet_owner.4ac2c4d7d7": ["model.synthetix.core_pool_created_eth_mainnet"], "test.synthetix.not_null_core_pool_created_eth_mainnet_pool_id.6662208418": ["model.synthetix.core_pool_created_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_pool_created_eth_mainnet_pool_id__True__0.7c8df298df": ["model.synthetix.core_pool_created_eth_mainnet"], "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_transaction_hash.db7f7a63db": ["model.synthetix.core_rewards_claimed_eth_mainnet"], "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_account_id.a671c2ed40": ["model.synthetix.core_rewards_claimed_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_account_id__True__0.7eae5581d0": ["model.synthetix.core_rewards_claimed_eth_mainnet"], "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_collateral_type.440762309c": ["model.synthetix.core_rewards_claimed_eth_mainnet"], "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_event_name.b83d684e5d": ["model.synthetix.core_rewards_claimed_eth_mainnet"], "test.synthetix.accepted_values_core_rewards_claimed_eth_mainnet_event_name__RewardsClaimed.e5c952f144": ["model.synthetix.core_rewards_claimed_eth_mainnet"], "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_contract.fba4f37c05": ["model.synthetix.core_rewards_claimed_eth_mainnet"], "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_amount.aa1ebaa88c": ["model.synthetix.core_rewards_claimed_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_amount__True__0.8d7de0dad3": ["model.synthetix.core_rewards_claimed_eth_mainnet"], "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_distributor.728609281c": ["model.synthetix.core_rewards_claimed_eth_mainnet"], "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_block_timestamp.890e664a3c": ["model.synthetix.core_rewards_claimed_eth_mainnet"], "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_id.d534df2fd8": ["model.synthetix.core_rewards_claimed_eth_mainnet"], "test.synthetix.unique_core_rewards_claimed_eth_mainnet_id.b73c8da16c": ["model.synthetix.core_rewards_claimed_eth_mainnet"], "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_pool_id.760bae7f85": ["model.synthetix.core_rewards_claimed_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_pool_id__True__0.4ee2d574e0": ["model.synthetix.core_rewards_claimed_eth_mainnet"], "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_block_number.fb82a92db5": ["model.synthetix.core_rewards_claimed_eth_mainnet"], "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_id.cb5898e934": ["model.synthetix.core_rewards_distributed_eth_mainnet"], "test.synthetix.unique_core_rewards_distributed_eth_mainnet_id.48f45b85d1": ["model.synthetix.core_rewards_distributed_eth_mainnet"], "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_event_name.193bdd11d3": ["model.synthetix.core_rewards_distributed_eth_mainnet"], "test.synthetix.accepted_values_core_rewards_distributed_eth_mainnet_event_name__RewardsDistributed.fae0bd904b": ["model.synthetix.core_rewards_distributed_eth_mainnet"], "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_amount.a39a6908b6": ["model.synthetix.core_rewards_distributed_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_amount__True__0.43de804120": ["model.synthetix.core_rewards_distributed_eth_mainnet"], "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_contract.4cb5b10595": ["model.synthetix.core_rewards_distributed_eth_mainnet"], "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_block_timestamp.f066e2381d": ["model.synthetix.core_rewards_distributed_eth_mainnet"], "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_transaction_hash.dd811ca405": ["model.synthetix.core_rewards_distributed_eth_mainnet"], "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_collateral_type.2475fcd59d": ["model.synthetix.core_rewards_distributed_eth_mainnet"], "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_block_number.79a91ea969": ["model.synthetix.core_rewards_distributed_eth_mainnet"], "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_duration.07b5947e7c": ["model.synthetix.core_rewards_distributed_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_duration__True__0.7d6965f572": ["model.synthetix.core_rewards_distributed_eth_mainnet"], "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_distributor.7022e12146": ["model.synthetix.core_rewards_distributed_eth_mainnet"], "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_pool_id.059709c3dd": ["model.synthetix.core_rewards_distributed_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_pool_id__True__0.37dd01cd96": ["model.synthetix.core_rewards_distributed_eth_mainnet"], "test.synthetix.not_null_core_usd_burned_eth_mainnet_amount.45ebd0ede8": ["model.synthetix.core_usd_burned_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_amount__True__0.7cba0ca593": ["model.synthetix.core_usd_burned_eth_mainnet"], "test.synthetix.not_null_core_usd_burned_eth_mainnet_pool_id.e4d58d3b63": ["model.synthetix.core_usd_burned_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_pool_id__True__0.cc44e47fc8": ["model.synthetix.core_usd_burned_eth_mainnet"], "test.synthetix.not_null_core_usd_burned_eth_mainnet_event_name.7f0fc644d5": ["model.synthetix.core_usd_burned_eth_mainnet"], "test.synthetix.accepted_values_core_usd_burned_eth_mainnet_event_name__UsdBurned.1eb7853972": ["model.synthetix.core_usd_burned_eth_mainnet"], "test.synthetix.not_null_core_usd_burned_eth_mainnet_id.161a49599f": ["model.synthetix.core_usd_burned_eth_mainnet"], "test.synthetix.unique_core_usd_burned_eth_mainnet_id.482b04a60c": ["model.synthetix.core_usd_burned_eth_mainnet"], "test.synthetix.not_null_core_usd_burned_eth_mainnet_block_number.b5e8a371fc": ["model.synthetix.core_usd_burned_eth_mainnet"], "test.synthetix.not_null_core_usd_burned_eth_mainnet_account_id.fc5fb3a0e5": ["model.synthetix.core_usd_burned_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_account_id__True__0.6d8f7f7d85": ["model.synthetix.core_usd_burned_eth_mainnet"], "test.synthetix.not_null_core_usd_burned_eth_mainnet_sender.62bbe0ad28": ["model.synthetix.core_usd_burned_eth_mainnet"], "test.synthetix.not_null_core_usd_burned_eth_mainnet_transaction_hash.e57add79d6": ["model.synthetix.core_usd_burned_eth_mainnet"], "test.synthetix.not_null_core_usd_burned_eth_mainnet_contract.f9009e6423": ["model.synthetix.core_usd_burned_eth_mainnet"], "test.synthetix.not_null_core_usd_burned_eth_mainnet_collateral_type.6dbc31d2ac": ["model.synthetix.core_usd_burned_eth_mainnet"], "test.synthetix.not_null_core_usd_burned_eth_mainnet_block_timestamp.616215c03f": ["model.synthetix.core_usd_burned_eth_mainnet"], "test.synthetix.not_null_core_usd_minted_eth_mainnet_pool_id.dd8998f0f3": ["model.synthetix.core_usd_minted_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_pool_id__True__0.2d561e9842": ["model.synthetix.core_usd_minted_eth_mainnet"], "test.synthetix.not_null_core_usd_minted_eth_mainnet_block_timestamp.e1477f67df": ["model.synthetix.core_usd_minted_eth_mainnet"], "test.synthetix.not_null_core_usd_minted_eth_mainnet_account_id.e32d9e9621": ["model.synthetix.core_usd_minted_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_account_id__True__0.b6d81dac3d": ["model.synthetix.core_usd_minted_eth_mainnet"], "test.synthetix.not_null_core_usd_minted_eth_mainnet_collateral_type.3bc61e56d9": ["model.synthetix.core_usd_minted_eth_mainnet"], "test.synthetix.not_null_core_usd_minted_eth_mainnet_block_number.8475901994": ["model.synthetix.core_usd_minted_eth_mainnet"], "test.synthetix.not_null_core_usd_minted_eth_mainnet_id.5b1199f72c": ["model.synthetix.core_usd_minted_eth_mainnet"], "test.synthetix.unique_core_usd_minted_eth_mainnet_id.ccad3381ec": ["model.synthetix.core_usd_minted_eth_mainnet"], "test.synthetix.not_null_core_usd_minted_eth_mainnet_sender.31025fd349": ["model.synthetix.core_usd_minted_eth_mainnet"], "test.synthetix.not_null_core_usd_minted_eth_mainnet_amount.d50e5f0da5": ["model.synthetix.core_usd_minted_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_amount__True__0.17e2d727c5": ["model.synthetix.core_usd_minted_eth_mainnet"], "test.synthetix.not_null_core_usd_minted_eth_mainnet_event_name.061c40bc0a": ["model.synthetix.core_usd_minted_eth_mainnet"], "test.synthetix.accepted_values_core_usd_minted_eth_mainnet_event_name__UsdMinted.c8d883ddfa": ["model.synthetix.core_usd_minted_eth_mainnet"], "test.synthetix.not_null_core_usd_minted_eth_mainnet_transaction_hash.dba64c6cd2": ["model.synthetix.core_usd_minted_eth_mainnet"], "test.synthetix.not_null_core_usd_minted_eth_mainnet_contract.2287afa612": ["model.synthetix.core_usd_minted_eth_mainnet"], "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_transaction_hash.5e22cb6ded": ["model.synthetix.core_vault_liquidation_eth_mainnet"], "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_collateral_type.22405706c4": ["model.synthetix.core_vault_liquidation_eth_mainnet"], "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_pool_id.ca9bfaf7f3": ["model.synthetix.core_vault_liquidation_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_pool_id__True__0.cccb8c7cca": ["model.synthetix.core_vault_liquidation_eth_mainnet"], "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_event_name.e6bd41012e": ["model.synthetix.core_vault_liquidation_eth_mainnet"], "test.synthetix.accepted_values_core_vault_liquidation_eth_mainnet_event_name__VaultLiquidation.8d1cb5eebf": ["model.synthetix.core_vault_liquidation_eth_mainnet"], "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_id.11becd0eff": ["model.synthetix.core_vault_liquidation_eth_mainnet"], "test.synthetix.unique_core_vault_liquidation_eth_mainnet_id.9b474978a9": ["model.synthetix.core_vault_liquidation_eth_mainnet"], "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_block_timestamp.439cb16960": ["model.synthetix.core_vault_liquidation_eth_mainnet"], "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_liquidate_as_account_id.978ffc7da9": ["model.synthetix.core_vault_liquidation_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_liquidate_as_account_id__True__0.a9d184de0a": ["model.synthetix.core_vault_liquidation_eth_mainnet"], "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_liquidation_data.485b65c6b5": ["model.synthetix.core_vault_liquidation_eth_mainnet"], "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_contract.65501d763b": ["model.synthetix.core_vault_liquidation_eth_mainnet"], "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_block_number.39193d7213": ["model.synthetix.core_vault_liquidation_eth_mainnet"], "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_sender.03a447332b": ["model.synthetix.core_vault_liquidation_eth_mainnet"], "test.synthetix.not_null_core_vault_collateral_eth_mainnet_ts.dc63e45225": ["model.synthetix.core_vault_collateral_eth_mainnet"], "test.synthetix.not_null_core_vault_collateral_eth_mainnet_block_number.68d8b02925": ["model.synthetix.core_vault_collateral_eth_mainnet"], "test.synthetix.not_null_core_vault_collateral_eth_mainnet_pool_id.f31cb4b3e6": ["model.synthetix.core_vault_collateral_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_pool_id__True__0.509da6a489": ["model.synthetix.core_vault_collateral_eth_mainnet"], "test.synthetix.not_null_core_vault_collateral_eth_mainnet_collateral_type.9ba1fda62f": ["model.synthetix.core_vault_collateral_eth_mainnet"], "test.synthetix.not_null_core_vault_collateral_eth_mainnet_amount.62dc926f36": ["model.synthetix.core_vault_collateral_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_amount__True__0.320b16493d": ["model.synthetix.core_vault_collateral_eth_mainnet"], "test.synthetix.not_null_core_vault_collateral_eth_mainnet_collateral_value.53d42edc8a": ["model.synthetix.core_vault_collateral_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_collateral_value__True__0.17170969dc": ["model.synthetix.core_vault_collateral_eth_mainnet"], "test.synthetix.not_null_core_vault_collateral_eth_mainnet_contract_address.8b336867d2": ["model.synthetix.core_vault_collateral_eth_mainnet"], "test.synthetix.not_null_core_vault_debt_eth_mainnet_ts.3b5cb40175": ["model.synthetix.core_vault_debt_eth_mainnet"], "test.synthetix.not_null_core_vault_debt_eth_mainnet_block_number.930416e329": ["model.synthetix.core_vault_debt_eth_mainnet"], "test.synthetix.not_null_core_vault_debt_eth_mainnet_pool_id.2f8f15549f": ["model.synthetix.core_vault_debt_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_vault_debt_eth_mainnet_pool_id__True__0.55f388e287": ["model.synthetix.core_vault_debt_eth_mainnet"], "test.synthetix.not_null_core_vault_debt_eth_mainnet_collateral_type.557a042f2b": ["model.synthetix.core_vault_debt_eth_mainnet"], "test.synthetix.not_null_core_vault_debt_eth_mainnet_debt.a314c480fe": ["model.synthetix.core_vault_debt_eth_mainnet"], "test.synthetix.not_null_core_vault_debt_eth_mainnet_contract_address.d43dcb9614": ["model.synthetix.core_vault_debt_eth_mainnet"], "test.synthetix.not_null_blocks_arbitrum_mainnet_block_number.60351acf6d": ["model.synthetix.blocks_arbitrum_mainnet"], "test.synthetix.unique_blocks_arbitrum_mainnet_block_number.d70bece923": ["model.synthetix.blocks_arbitrum_mainnet"], "test.synthetix.dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1.e5882e697a": ["model.synthetix.blocks_arbitrum_mainnet"], "test.synthetix.not_null_core_account_created_arbitrum_mainnet_owner.510bc65b8e": ["model.synthetix.core_account_created_arbitrum_mainnet"], "test.synthetix.not_null_core_account_created_arbitrum_mainnet_account_id.80fd41e8a3": ["model.synthetix.core_account_created_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_account_created_arbitrum_mainnet_account_id__True__0.1a60fd1c13": ["model.synthetix.core_account_created_arbitrum_mainnet"], "test.synthetix.not_null_core_account_created_arbitrum_mainnet_id.ccb85216a1": ["model.synthetix.core_account_created_arbitrum_mainnet"], "test.synthetix.unique_core_account_created_arbitrum_mainnet_id.572cf5cf85": ["model.synthetix.core_account_created_arbitrum_mainnet"], "test.synthetix.not_null_core_account_created_arbitrum_mainnet_transaction_hash.ca429d274c": ["model.synthetix.core_account_created_arbitrum_mainnet"], "test.synthetix.not_null_core_account_created_arbitrum_mainnet_block_number.ad85823ab6": ["model.synthetix.core_account_created_arbitrum_mainnet"], "test.synthetix.not_null_core_account_created_arbitrum_mainnet_block_timestamp.707ea51d9b": ["model.synthetix.core_account_created_arbitrum_mainnet"], "test.synthetix.not_null_core_account_created_arbitrum_mainnet_event_name.f044350ea8": ["model.synthetix.core_account_created_arbitrum_mainnet"], "test.synthetix.accepted_values_core_account_created_arbitrum_mainnet_event_name__AccountCreated.8d24ea0d1c": ["model.synthetix.core_account_created_arbitrum_mainnet"], "test.synthetix.not_null_core_account_created_arbitrum_mainnet_contract.51a2890c59": ["model.synthetix.core_account_created_arbitrum_mainnet"], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_contract.ae8a4f4c27": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_id.a1e63ca6e1": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "test.synthetix.unique_core_delegation_updated_arbitrum_mainnet_id.53afc27917": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_account_id.1f6cadcc5d": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_account_id__True__0.eb3b030871": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_collateral_type.ca955a713e": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_pool_id.0fcc7a403c": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_pool_id__True__0.ceaf47901a": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_sender.7b21b54d07": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_block_timestamp.bf7b6f5a50": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_block_number.e7dff1a919": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_leverage.e240b1993e": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_leverage__True__1000000000000000000__1000000000000000000.fa830910e7": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_transaction_hash.df3b0b1ada": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_amount.790af0bbca": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_amount__True__0.4dc42e5b67": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_event_name.124ce539d9": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "test.synthetix.accepted_values_core_delegation_updated_arbitrum_mainnet_event_name__DelegationUpdated.8158a7cafc": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_deposited_arbitrum_mainnet_collateral_type.42a3d10d97": ["model.synthetix.core_deposited_arbitrum_mainnet"], "test.synthetix.not_null_core_deposited_arbitrum_mainnet_id.2f7b341009": ["model.synthetix.core_deposited_arbitrum_mainnet"], "test.synthetix.unique_core_deposited_arbitrum_mainnet_id.65592bb86d": ["model.synthetix.core_deposited_arbitrum_mainnet"], "test.synthetix.not_null_core_deposited_arbitrum_mainnet_contract.a2cd7b2bb5": ["model.synthetix.core_deposited_arbitrum_mainnet"], "test.synthetix.not_null_core_deposited_arbitrum_mainnet_event_name.8f5b81cb40": ["model.synthetix.core_deposited_arbitrum_mainnet"], "test.synthetix.accepted_values_core_deposited_arbitrum_mainnet_event_name__Deposited.63620c995c": ["model.synthetix.core_deposited_arbitrum_mainnet"], "test.synthetix.not_null_core_deposited_arbitrum_mainnet_transaction_hash.649446c0bd": ["model.synthetix.core_deposited_arbitrum_mainnet"], "test.synthetix.not_null_core_deposited_arbitrum_mainnet_account_id.c7afbe52a5": ["model.synthetix.core_deposited_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_account_id__True__0.2fc937f08c": ["model.synthetix.core_deposited_arbitrum_mainnet"], "test.synthetix.not_null_core_deposited_arbitrum_mainnet_sender.5f276242f7": ["model.synthetix.core_deposited_arbitrum_mainnet"], "test.synthetix.not_null_core_deposited_arbitrum_mainnet_block_timestamp.a16e8ef361": ["model.synthetix.core_deposited_arbitrum_mainnet"], "test.synthetix.not_null_core_deposited_arbitrum_mainnet_block_number.689c18351b": ["model.synthetix.core_deposited_arbitrum_mainnet"], "test.synthetix.not_null_core_deposited_arbitrum_mainnet_token_amount.238a5119e6": ["model.synthetix.core_deposited_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_token_amount__True__0.825b012474": ["model.synthetix.core_deposited_arbitrum_mainnet"], "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_block_timestamp.0605d1994e": ["model.synthetix.core_withdrawn_arbitrum_mainnet"], "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_contract.a8c5968db3": ["model.synthetix.core_withdrawn_arbitrum_mainnet"], "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_block_number.29891eb70b": ["model.synthetix.core_withdrawn_arbitrum_mainnet"], "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_transaction_hash.492d634608": ["model.synthetix.core_withdrawn_arbitrum_mainnet"], "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_token_amount.4bc0081148": ["model.synthetix.core_withdrawn_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_token_amount__True__0.0008eb5d09": ["model.synthetix.core_withdrawn_arbitrum_mainnet"], "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_collateral_type.772b018013": ["model.synthetix.core_withdrawn_arbitrum_mainnet"], "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_account_id.ccf8b71875": ["model.synthetix.core_withdrawn_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_account_id__True__0.8873db614c": ["model.synthetix.core_withdrawn_arbitrum_mainnet"], "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_id.46c5fcd073": ["model.synthetix.core_withdrawn_arbitrum_mainnet"], "test.synthetix.unique_core_withdrawn_arbitrum_mainnet_id.9810244f0d": ["model.synthetix.core_withdrawn_arbitrum_mainnet"], "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_sender.665f4ade6b": ["model.synthetix.core_withdrawn_arbitrum_mainnet"], "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_event_name.69a5a9a880": ["model.synthetix.core_withdrawn_arbitrum_mainnet"], "test.synthetix.accepted_values_core_withdrawn_arbitrum_mainnet_event_name__Withdrawn.e5deebfa14": ["model.synthetix.core_withdrawn_arbitrum_mainnet"], "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_pool_id.910c4e273f": ["model.synthetix.core_liquidation_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_pool_id__True__0.5d8232e38f": ["model.synthetix.core_liquidation_arbitrum_mainnet"], "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_block_timestamp.e8b33f1dcb": ["model.synthetix.core_liquidation_arbitrum_mainnet"], "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_block_number.c43f5e1404": ["model.synthetix.core_liquidation_arbitrum_mainnet"], "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_id.428529a968": ["model.synthetix.core_liquidation_arbitrum_mainnet"], "test.synthetix.unique_core_liquidation_arbitrum_mainnet_id.ab79adeb33": ["model.synthetix.core_liquidation_arbitrum_mainnet"], "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_contract.b02df4336b": ["model.synthetix.core_liquidation_arbitrum_mainnet"], "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_event_name.c11ebbad99": ["model.synthetix.core_liquidation_arbitrum_mainnet"], "test.synthetix.accepted_values_core_liquidation_arbitrum_mainnet_event_name__Liquidation.85cae70384": ["model.synthetix.core_liquidation_arbitrum_mainnet"], "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_collateral_type.7eae92d91d": ["model.synthetix.core_liquidation_arbitrum_mainnet"], "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_sender.de5e917bc2": ["model.synthetix.core_liquidation_arbitrum_mainnet"], "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_account_id.2b9f90b003": ["model.synthetix.core_liquidation_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_account_id__True__0.71c92954dd": ["model.synthetix.core_liquidation_arbitrum_mainnet"], "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_transaction_hash.7c4641c1db": ["model.synthetix.core_liquidation_arbitrum_mainnet"], "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_liquidate_as_account_id.00768ed71d": ["model.synthetix.core_liquidation_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0.6ad1a29899": ["model.synthetix.core_liquidation_arbitrum_mainnet"], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_id.6634d79b97": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "test.synthetix.unique_core_market_updated_arbitrum_mainnet_id.ef7b2e2622": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_block_timestamp.2bd177f07f": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_block_number.eea9214a4b": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_transaction_hash.9db6bb9d6b": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_contract.3ed1c1d699": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_event_name.1198969560": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "test.synthetix.accepted_values_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.b6d0a34129": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_market_id.92b8458e5c": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_market_id__True__0.8e0b3e9147": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_net_issuance.016c84545c": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_deposited_collateral_value.45b375717f": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_deposited_collateral_value__True__0.f78663cae5": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_sender.fe1f2d4275": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_collateral_type.5ccd7ace00": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_credit_capacity.09c391d59d": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_token_amount.b89be9c43a": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_token_amount__True__0.bfc2ca181b": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_market.4671a5874b": ["model.synthetix.core_market_registered_arbitrum_mainnet"], "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_market_id.edc1b5f010": ["model.synthetix.core_market_registered_arbitrum_mainnet"], "test.synthetix.unique_core_market_registered_arbitrum_mainnet_market_id.f4e9d45c5f": ["model.synthetix.core_market_registered_arbitrum_mainnet"], "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_id.4c7305111a": ["model.synthetix.core_market_registered_arbitrum_mainnet"], "test.synthetix.unique_core_market_registered_arbitrum_mainnet_id.c4fce94bc5": ["model.synthetix.core_market_registered_arbitrum_mainnet"], "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_block_timestamp.9ccff6bb17": ["model.synthetix.core_market_registered_arbitrum_mainnet"], "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_contract.705a5b5579": ["model.synthetix.core_market_registered_arbitrum_mainnet"], "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_transaction_hash.2e6db31571": ["model.synthetix.core_market_registered_arbitrum_mainnet"], "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_block_number.49f898432d": ["model.synthetix.core_market_registered_arbitrum_mainnet"], "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_event_name.5833e57631": ["model.synthetix.core_market_registered_arbitrum_mainnet"], "test.synthetix.accepted_values_core_market_registered_arbitrum_mainnet_event_name__MarketRegistered.61c1a17f46": ["model.synthetix.core_market_registered_arbitrum_mainnet"], "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_sender.a9f878c2c9": ["model.synthetix.core_market_registered_arbitrum_mainnet"], "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_contract.ad227a594e": ["model.synthetix.core_pool_created_arbitrum_mainnet"], "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_sender.b85ac4e404": ["model.synthetix.core_pool_created_arbitrum_mainnet"], "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_block_timestamp.4bcfbab318": ["model.synthetix.core_pool_created_arbitrum_mainnet"], "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_id.b0e9e6535d": ["model.synthetix.core_pool_created_arbitrum_mainnet"], "test.synthetix.unique_core_pool_created_arbitrum_mainnet_id.4a0435d902": ["model.synthetix.core_pool_created_arbitrum_mainnet"], "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_block_number.184c04858e": ["model.synthetix.core_pool_created_arbitrum_mainnet"], "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_transaction_hash.762082599b": ["model.synthetix.core_pool_created_arbitrum_mainnet"], "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_event_name.67b202a2ae": ["model.synthetix.core_pool_created_arbitrum_mainnet"], "test.synthetix.accepted_values_core_pool_created_arbitrum_mainnet_event_name__PoolCreated.e7fda490fd": ["model.synthetix.core_pool_created_arbitrum_mainnet"], "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_owner.749821fb46": ["model.synthetix.core_pool_created_arbitrum_mainnet"], "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_pool_id.ce6f3bd570": ["model.synthetix.core_pool_created_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_pool_created_arbitrum_mainnet_pool_id__True__0.fc42e6b4ce": ["model.synthetix.core_pool_created_arbitrum_mainnet"], "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash.b143b485c4": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"], "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_account_id.657d0a650c": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_account_id__True__0.34b4de86db": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"], "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type.868513a78c": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"], "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_event_name.c85b97045f": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"], "test.synthetix.accepted_values_core_rewards_claimed_arbitrum_mainnet_event_name__RewardsClaimed.3c1cd34ad1": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"], "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_contract.dbeede65a0": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"], "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_amount.b7ad8d34fd": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_amount__True__0.d98a3e4cc7": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"], "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_distributor.cfe4797061": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"], "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp.830ba4bdac": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"], "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_id.ec96b450dd": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"], "test.synthetix.unique_core_rewards_claimed_arbitrum_mainnet_id.0aa80585e9": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"], "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_pool_id.bd58480578": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_pool_id__True__0.1c91c56a7b": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"], "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_block_number.90a2165709": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"], "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_id.2d439b2dff": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"], "test.synthetix.unique_core_rewards_distributed_arbitrum_mainnet_id.b2d650e4fd": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"], "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_event_name.bb49accedd": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"], "test.synthetix.accepted_values_core_rewards_distributed_arbitrum_mainnet_event_name__RewardsDistributed.3370ace359": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"], "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_amount.efe177b3e7": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_amount__True__0.09cd5040a6": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"], "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_contract.cad4a84b49": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"], "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_block_timestamp.b6efe37fde": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"], "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_transaction_hash.a791a80876": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"], "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_collateral_type.d8c598b114": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"], "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_block_number.4692e1b237": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"], "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_duration.8dfbbf7a51": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_duration__True__0.00212b4134": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"], "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_distributor.b8c551ebf5": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"], "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_pool_id.06cc36de8b": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_pool_id__True__0.d68e3c64d9": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"], "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_amount.638bb23cb6": ["model.synthetix.core_usd_burned_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_amount__True__0.2bf9da99f6": ["model.synthetix.core_usd_burned_arbitrum_mainnet"], "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_pool_id.574d8e09b8": ["model.synthetix.core_usd_burned_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_pool_id__True__0.dad5587ce6": ["model.synthetix.core_usd_burned_arbitrum_mainnet"], "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_event_name.2c934d7229": ["model.synthetix.core_usd_burned_arbitrum_mainnet"], "test.synthetix.accepted_values_core_usd_burned_arbitrum_mainnet_event_name__UsdBurned.9ecdb75459": ["model.synthetix.core_usd_burned_arbitrum_mainnet"], "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_id.f07377da8d": ["model.synthetix.core_usd_burned_arbitrum_mainnet"], "test.synthetix.unique_core_usd_burned_arbitrum_mainnet_id.1918882dbf": ["model.synthetix.core_usd_burned_arbitrum_mainnet"], "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_block_number.9d57cfa9ee": ["model.synthetix.core_usd_burned_arbitrum_mainnet"], "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_account_id.c71695a669": ["model.synthetix.core_usd_burned_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_account_id__True__0.f8708303cd": ["model.synthetix.core_usd_burned_arbitrum_mainnet"], "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_sender.1b76ecab38": ["model.synthetix.core_usd_burned_arbitrum_mainnet"], "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_transaction_hash.6535b2db90": ["model.synthetix.core_usd_burned_arbitrum_mainnet"], "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_contract.718a1f61dd": ["model.synthetix.core_usd_burned_arbitrum_mainnet"], "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_collateral_type.6f8f53a6c9": ["model.synthetix.core_usd_burned_arbitrum_mainnet"], "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_block_timestamp.da67490d2d": ["model.synthetix.core_usd_burned_arbitrum_mainnet"], "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_pool_id.4593996ffd": ["model.synthetix.core_usd_minted_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_pool_id__True__0.5d700fe50b": ["model.synthetix.core_usd_minted_arbitrum_mainnet"], "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_block_timestamp.8ca5480dbc": ["model.synthetix.core_usd_minted_arbitrum_mainnet"], "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_account_id.9ccf9039ea": ["model.synthetix.core_usd_minted_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_account_id__True__0.6487cbbb70": ["model.synthetix.core_usd_minted_arbitrum_mainnet"], "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_collateral_type.0129f350e1": ["model.synthetix.core_usd_minted_arbitrum_mainnet"], "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_block_number.2c3c8fc1e5": ["model.synthetix.core_usd_minted_arbitrum_mainnet"], "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_id.3157330f1c": ["model.synthetix.core_usd_minted_arbitrum_mainnet"], "test.synthetix.unique_core_usd_minted_arbitrum_mainnet_id.557dbdade9": ["model.synthetix.core_usd_minted_arbitrum_mainnet"], "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_sender.829a4593b0": ["model.synthetix.core_usd_minted_arbitrum_mainnet"], "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_amount.f37a3a83d0": ["model.synthetix.core_usd_minted_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_amount__True__0.9400183d7a": ["model.synthetix.core_usd_minted_arbitrum_mainnet"], "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_event_name.8c280cde80": ["model.synthetix.core_usd_minted_arbitrum_mainnet"], "test.synthetix.accepted_values_core_usd_minted_arbitrum_mainnet_event_name__UsdMinted.cb75bc5dc7": ["model.synthetix.core_usd_minted_arbitrum_mainnet"], "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_transaction_hash.74c68bc07e": ["model.synthetix.core_usd_minted_arbitrum_mainnet"], "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_contract.317c6e89d1": ["model.synthetix.core_usd_minted_arbitrum_mainnet"], "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_transaction_hash.5da9d8cd8f": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"], "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_collateral_type.ba4823f6ed": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"], "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_pool_id.f9e6978af1": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_pool_id__True__0.c4b79598cb": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"], "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_event_name.fcb481b7e9": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"], "test.synthetix.accepted_values_core_vault_liquidation_arbitrum_mainnet_event_name__VaultLiquidation.429345a118": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"], "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_id.c7ac33a6c3": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"], "test.synthetix.unique_core_vault_liquidation_arbitrum_mainnet_id.3f5a30c375": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"], "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_block_timestamp.3054b6aeaa": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"], "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id.5e1fa876a7": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0.c9be297afd": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"], "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_liquidation_data.2555b245ad": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"], "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_contract.625029e21f": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"], "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_block_number.1dc8ebaf67": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"], "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_sender.d35f8c0cc2": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"], "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_ts.d7d74011cb": ["model.synthetix.core_vault_collateral_arbitrum_mainnet"], "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_block_number.5a68e5a2c2": ["model.synthetix.core_vault_collateral_arbitrum_mainnet"], "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_pool_id.4536274374": ["model.synthetix.core_vault_collateral_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_pool_id__True__0.14e1d9edc3": ["model.synthetix.core_vault_collateral_arbitrum_mainnet"], "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_collateral_type.50f0a76c9d": ["model.synthetix.core_vault_collateral_arbitrum_mainnet"], "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_amount.0bdb85ef31": ["model.synthetix.core_vault_collateral_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_amount__True__0.b98dc30014": ["model.synthetix.core_vault_collateral_arbitrum_mainnet"], "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_collateral_value.09fcd07f3a": ["model.synthetix.core_vault_collateral_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_collateral_value__True__0.9fa49aae71": ["model.synthetix.core_vault_collateral_arbitrum_mainnet"], "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_contract_address.8cc08e1bbc": ["model.synthetix.core_vault_collateral_arbitrum_mainnet"], "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_ts.d2363d0b7d": ["model.synthetix.core_vault_debt_arbitrum_mainnet"], "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_block_number.3ef5dfaa45": ["model.synthetix.core_vault_debt_arbitrum_mainnet"], "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_pool_id.8f94082342": ["model.synthetix.core_vault_debt_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_vault_debt_arbitrum_mainnet_pool_id__True__0.8e3a2c72e9": ["model.synthetix.core_vault_debt_arbitrum_mainnet"], "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_collateral_type.f9fb1089d7": ["model.synthetix.core_vault_debt_arbitrum_mainnet"], "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_debt.7a33d30f43": ["model.synthetix.core_vault_debt_arbitrum_mainnet"], "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_contract_address.fee8a6440d": ["model.synthetix.core_vault_debt_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_id.2bedbed49c": ["model.synthetix.spot_order_committed_arbitrum_mainnet"], "test.synthetix.unique_spot_order_committed_arbitrum_mainnet_id.715535831f": ["model.synthetix.spot_order_committed_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_event_name.364a2ed7fd": ["model.synthetix.spot_order_committed_arbitrum_mainnet"], "test.synthetix.accepted_values_spot_order_committed_arbitrum_mainnet_event_name__OrderCommitted.e30a77b9b3": ["model.synthetix.spot_order_committed_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_sender.d7cbd6bc05": ["model.synthetix.spot_order_committed_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_block_timestamp.a4f827fd66": ["model.synthetix.spot_order_committed_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_referrer.23dc146929": ["model.synthetix.spot_order_committed_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_amount_provided.618d749652": ["model.synthetix.spot_order_committed_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_amount_provided__True__0.a0c5711e24": ["model.synthetix.spot_order_committed_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_transaction_hash.47ac362f75": ["model.synthetix.spot_order_committed_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_contract.1d73e820e2": ["model.synthetix.spot_order_committed_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_market_id.eb267aefe6": ["model.synthetix.spot_order_committed_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_market_id__True__0.fcb0bd480c": ["model.synthetix.spot_order_committed_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_block_number.bbd3030ffd": ["model.synthetix.spot_order_committed_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_order_type.9bedf0c3bc": ["model.synthetix.spot_order_committed_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_final_order_amount__True__0.d78aeda819": ["model.synthetix.spot_order_settled_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_settler.2f85667062": ["model.synthetix.spot_order_settled_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_block_number.876a0a0282": ["model.synthetix.spot_order_settled_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_transaction_hash.a8b7f93ae5": ["model.synthetix.spot_order_settled_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_block_timestamp.483fdb2a21": ["model.synthetix.spot_order_settled_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_id.1124fb8990": ["model.synthetix.spot_order_settled_arbitrum_mainnet"], "test.synthetix.unique_spot_order_settled_arbitrum_mainnet_id.a1ec7e590f": ["model.synthetix.spot_order_settled_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_order_type.cc9846cfde": ["model.synthetix.spot_order_settled_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_contract.7d4f904249": ["model.synthetix.spot_order_settled_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_price.3e2897303c": ["model.synthetix.spot_order_settled_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_price__True__0.94dec93a68": ["model.synthetix.spot_order_settled_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_market_id.84635206a3": ["model.synthetix.spot_order_settled_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_market_id__True__0.498546554e": ["model.synthetix.spot_order_settled_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_collected_fees.4c46cfb386": ["model.synthetix.spot_order_settled_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_collected_fees__True__0.e9fce02c77": ["model.synthetix.spot_order_settled_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_event_name.32a64f7398": ["model.synthetix.spot_order_settled_arbitrum_mainnet"], "test.synthetix.accepted_values_spot_order_settled_arbitrum_mainnet_event_name__OrderSettled.c43865614e": ["model.synthetix.spot_order_settled_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_id.bf2929fb2c": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"], "test.synthetix.unique_spot_order_cancelled_arbitrum_mainnet_id.de40647c46": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp.a2656a614b": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash.43ee88aad5": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_sender.a796a774d3": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_contract.cc9a04e73e": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_event_name.f29a2c6180": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"], "test.synthetix.accepted_values_spot_order_cancelled_arbitrum_mainnet_event_name__OrderCancelled.bcb12d7741": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_market_id.629e55a158": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_arbitrum_mainnet_market_id__True__0.8d08288d1d": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_block_number.a85db0bd00": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_id.456af96984": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"], "test.synthetix.unique_spot_synth_registered_arbitrum_mainnet_id.d4fd9eb0ba": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp.155e02a96a": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id.b02a502d7f": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_arbitrum_mainnet_synth_market_id__True__0.03490626a4": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_block_number.c19306427b": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_contract.dc09abd1d6": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_synth_token_address.e815b8c9d4": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_event_name.aa6a178336": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"], "test.synthetix.accepted_values_spot_synth_registered_arbitrum_mainnet_event_name__SynthRegistered.dab3843a60": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_transaction_hash.ae02976291": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_collected_fees.975bb20444": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_collected_fees__True__0.ffa72f24d6": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash.46c5786b65": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id.11b8c58586": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_synth_market_id__True__0.39b07cbd1a": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_block_number.3db00f8fd2": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp.1e3c9accd9": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_id.94c6a2689e": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"], "test.synthetix.unique_spot_synth_bought_arbitrum_mainnet_id.97a98f064e": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_price.b7069dc105": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_price__True__0.2666787a3a": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_contract.7f6d914e0b": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_referrer.d5123874c5": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_event_name.aa51f8b10f": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"], "test.synthetix.accepted_values_spot_synth_bought_arbitrum_mainnet_event_name__SynthBought.6968f2e38e": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_event_name.77e48ea6b8": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"], "test.synthetix.accepted_values_spot_synth_sold_arbitrum_mainnet_event_name__SynthSold.c2779b95d3": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash.b35ac6eb10": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_collected_fees.ae5a9854f2": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_collected_fees__True__0.ebed4cb6c6": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp.ece96724ff": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_referrer.fc97629e01": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_block_number.21c8144aca": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_price.83b6e6b427": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_price__True__0.736ec6a18f": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_amount_returned.a22fe1e87b": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_amount_returned__True__0.94e383949d": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id.0a9309e0fe": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_synth_market_id__True__0.502a7c73ae": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_id.5672923066": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"], "test.synthetix.unique_spot_synth_sold_arbitrum_mainnet_id.77e9d1569f": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_contract.7e747f7197": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_id.e6be3c26ab": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"], "test.synthetix.unique_spot_synth_wrapped_arbitrum_mainnet_id.4240a5b9ed": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash.470b375862": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id.22e9bbcaaf": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_synth_market_id__True__0.69e1aef58d": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_contract.12b8537d63": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_event_name.a537b3bcc9": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"], "test.synthetix.accepted_values_spot_synth_wrapped_arbitrum_mainnet_event_name__SynthWrapped.c2a7fae75f": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp.62e5fb2f2c": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_block_number.388f222586": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected.ab1cc1a24e": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_fees_collected__True__0.8427a98042": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp.7eb830695e": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped.6338d14461": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped__True__0.dfb2bf555e": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected.82edb6c70c": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_fees_collected__True__0.caa0ab5069": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name.15be4b2d2e": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"], "test.synthetix.accepted_values_spot_synth_unwrapped_arbitrum_mainnet_event_name__SynthUnwrapped.0156eda083": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number.6c4594ed9b": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash.266bb54277": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_contract.df671e35b9": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_id.c93a8c455f": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"], "test.synthetix.unique_spot_synth_unwrapped_arbitrum_mainnet_id.81790072c1": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id.597a45b266": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id__True__0.c8e2a0ce2e": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"], "test.synthetix.not_null_blocks_arbitrum_sepolia_block_number.73833a1893": ["model.synthetix.blocks_arbitrum_sepolia"], "test.synthetix.unique_blocks_arbitrum_sepolia_block_number.4c474d2bd5": ["model.synthetix.blocks_arbitrum_sepolia"], "test.synthetix.dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1.8a321a2874": ["model.synthetix.blocks_arbitrum_sepolia"], "test.synthetix.not_null_core_account_created_arbitrum_sepolia_owner.9aad095481": ["model.synthetix.core_account_created_arbitrum_sepolia"], "test.synthetix.not_null_core_account_created_arbitrum_sepolia_account_id.7a98480d2d": ["model.synthetix.core_account_created_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_account_created_arbitrum_sepolia_account_id__True__0.2ee2f4ab2f": ["model.synthetix.core_account_created_arbitrum_sepolia"], "test.synthetix.not_null_core_account_created_arbitrum_sepolia_id.07253fa9ea": ["model.synthetix.core_account_created_arbitrum_sepolia"], "test.synthetix.unique_core_account_created_arbitrum_sepolia_id.f9001194ee": ["model.synthetix.core_account_created_arbitrum_sepolia"], "test.synthetix.not_null_core_account_created_arbitrum_sepolia_transaction_hash.59070c07aa": ["model.synthetix.core_account_created_arbitrum_sepolia"], "test.synthetix.not_null_core_account_created_arbitrum_sepolia_block_number.1841c44bbb": ["model.synthetix.core_account_created_arbitrum_sepolia"], "test.synthetix.not_null_core_account_created_arbitrum_sepolia_block_timestamp.74d0052bed": ["model.synthetix.core_account_created_arbitrum_sepolia"], "test.synthetix.not_null_core_account_created_arbitrum_sepolia_event_name.8db7179ccc": ["model.synthetix.core_account_created_arbitrum_sepolia"], "test.synthetix.accepted_values_core_account_created_arbitrum_sepolia_event_name__AccountCreated.f6de61acf3": ["model.synthetix.core_account_created_arbitrum_sepolia"], "test.synthetix.not_null_core_account_created_arbitrum_sepolia_contract.c63e7e4dbf": ["model.synthetix.core_account_created_arbitrum_sepolia"], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_contract.8f08a5a9da": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_id.12fb857e85": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "test.synthetix.unique_core_delegation_updated_arbitrum_sepolia_id.beef769010": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_account_id.689f7da996": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_account_id__True__0.ead58dff29": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_collateral_type.db67498e80": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_pool_id.8f59052242": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_pool_id__True__0.f9aeca9f9a": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_sender.ef3937b25b": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_block_timestamp.ae4bac2433": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_block_number.fa4a36eaeb": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_leverage.d5bd156a6e": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_leverage__True__1000000000000000000__1000000000000000000.5ff8a67507": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_transaction_hash.8199cb0155": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_amount.77ddc8625f": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_amount__True__0.aefd73a62f": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_event_name.4d0a81b0f4": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "test.synthetix.accepted_values_core_delegation_updated_arbitrum_sepolia_event_name__DelegationUpdated.46889d7476": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_deposited_arbitrum_sepolia_collateral_type.88d590c5ca": ["model.synthetix.core_deposited_arbitrum_sepolia"], "test.synthetix.not_null_core_deposited_arbitrum_sepolia_id.7d3846b9e3": ["model.synthetix.core_deposited_arbitrum_sepolia"], "test.synthetix.unique_core_deposited_arbitrum_sepolia_id.9f22c1a15e": ["model.synthetix.core_deposited_arbitrum_sepolia"], "test.synthetix.not_null_core_deposited_arbitrum_sepolia_contract.98776e9523": ["model.synthetix.core_deposited_arbitrum_sepolia"], "test.synthetix.not_null_core_deposited_arbitrum_sepolia_event_name.ca52f6033b": ["model.synthetix.core_deposited_arbitrum_sepolia"], "test.synthetix.accepted_values_core_deposited_arbitrum_sepolia_event_name__Deposited.1c0d375890": ["model.synthetix.core_deposited_arbitrum_sepolia"], "test.synthetix.not_null_core_deposited_arbitrum_sepolia_transaction_hash.8084f934a8": ["model.synthetix.core_deposited_arbitrum_sepolia"], "test.synthetix.not_null_core_deposited_arbitrum_sepolia_account_id.0850a5cdd2": ["model.synthetix.core_deposited_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_account_id__True__0.d3287e563c": ["model.synthetix.core_deposited_arbitrum_sepolia"], "test.synthetix.not_null_core_deposited_arbitrum_sepolia_sender.2aeec9aec1": ["model.synthetix.core_deposited_arbitrum_sepolia"], "test.synthetix.not_null_core_deposited_arbitrum_sepolia_block_timestamp.423f2e9f55": ["model.synthetix.core_deposited_arbitrum_sepolia"], "test.synthetix.not_null_core_deposited_arbitrum_sepolia_block_number.c3036ab47e": ["model.synthetix.core_deposited_arbitrum_sepolia"], "test.synthetix.not_null_core_deposited_arbitrum_sepolia_token_amount.653e14e03e": ["model.synthetix.core_deposited_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_token_amount__True__0.0f0aa65236": ["model.synthetix.core_deposited_arbitrum_sepolia"], "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_block_timestamp.7fcd8e34b4": ["model.synthetix.core_withdrawn_arbitrum_sepolia"], "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_contract.7095f79cd5": ["model.synthetix.core_withdrawn_arbitrum_sepolia"], "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_block_number.fb2901f9b9": ["model.synthetix.core_withdrawn_arbitrum_sepolia"], "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_transaction_hash.a4480fb9e0": ["model.synthetix.core_withdrawn_arbitrum_sepolia"], "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_token_amount.df20ce27b8": ["model.synthetix.core_withdrawn_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_token_amount__True__0.0301b264d6": ["model.synthetix.core_withdrawn_arbitrum_sepolia"], "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_collateral_type.462d8e9d4a": ["model.synthetix.core_withdrawn_arbitrum_sepolia"], "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_account_id.93a7f1c6e0": ["model.synthetix.core_withdrawn_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_account_id__True__0.d4050dde67": ["model.synthetix.core_withdrawn_arbitrum_sepolia"], "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_id.bdd65cec2b": ["model.synthetix.core_withdrawn_arbitrum_sepolia"], "test.synthetix.unique_core_withdrawn_arbitrum_sepolia_id.3f0503a510": ["model.synthetix.core_withdrawn_arbitrum_sepolia"], "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_sender.b2d53e6596": ["model.synthetix.core_withdrawn_arbitrum_sepolia"], "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_event_name.6e275cf97d": ["model.synthetix.core_withdrawn_arbitrum_sepolia"], "test.synthetix.accepted_values_core_withdrawn_arbitrum_sepolia_event_name__Withdrawn.cd07ab25e2": ["model.synthetix.core_withdrawn_arbitrum_sepolia"], "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_pool_id.851303c6c6": ["model.synthetix.core_liquidation_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_pool_id__True__0.d1a4bd0579": ["model.synthetix.core_liquidation_arbitrum_sepolia"], "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_block_timestamp.2b65fcd144": ["model.synthetix.core_liquidation_arbitrum_sepolia"], "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_block_number.28a164853c": ["model.synthetix.core_liquidation_arbitrum_sepolia"], "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_id.acb7c881c1": ["model.synthetix.core_liquidation_arbitrum_sepolia"], "test.synthetix.unique_core_liquidation_arbitrum_sepolia_id.7489e81022": ["model.synthetix.core_liquidation_arbitrum_sepolia"], "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_contract.b3848813ec": ["model.synthetix.core_liquidation_arbitrum_sepolia"], "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_event_name.6dff9cd9a5": ["model.synthetix.core_liquidation_arbitrum_sepolia"], "test.synthetix.accepted_values_core_liquidation_arbitrum_sepolia_event_name__Liquidation.32c120b3b8": ["model.synthetix.core_liquidation_arbitrum_sepolia"], "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_collateral_type.611a474b69": ["model.synthetix.core_liquidation_arbitrum_sepolia"], "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_sender.b1951bbf59": ["model.synthetix.core_liquidation_arbitrum_sepolia"], "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_account_id.2f2251c90a": ["model.synthetix.core_liquidation_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_account_id__True__0.fa367d1bc5": ["model.synthetix.core_liquidation_arbitrum_sepolia"], "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_transaction_hash.aa34dc1b7f": ["model.synthetix.core_liquidation_arbitrum_sepolia"], "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_liquidate_as_account_id.8fb362bd59": ["model.synthetix.core_liquidation_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0.aa641f64fe": ["model.synthetix.core_liquidation_arbitrum_sepolia"], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_id.087024faa4": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "test.synthetix.unique_core_market_updated_arbitrum_sepolia_id.7ed403a10d": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_block_timestamp.f0ccbe740a": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_block_number.18b9e7bff4": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_transaction_hash.697e3dd319": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_contract.925fa67624": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_event_name.07d4bde491": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "test.synthetix.accepted_values_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.4a106f8344": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_market_id.4d2767c0b4": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_market_id__True__0.f774945861": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_net_issuance.ab387b275f": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_deposited_collateral_value.2a9afd7205": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_deposited_collateral_value__True__0.bb2ac3f8fc": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_sender.b4216822d2": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_collateral_type.0163e724c2": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_credit_capacity.ed07eaef21": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_token_amount.e980630f1e": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_token_amount__True__0.33dea408c4": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_market.67fc30dc60": ["model.synthetix.core_market_registered_arbitrum_sepolia"], "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_market_id.c742aae1d0": ["model.synthetix.core_market_registered_arbitrum_sepolia"], "test.synthetix.unique_core_market_registered_arbitrum_sepolia_market_id.78637df31f": ["model.synthetix.core_market_registered_arbitrum_sepolia"], "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_id.88f5db38d2": ["model.synthetix.core_market_registered_arbitrum_sepolia"], "test.synthetix.unique_core_market_registered_arbitrum_sepolia_id.5964f1fbf3": ["model.synthetix.core_market_registered_arbitrum_sepolia"], "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_block_timestamp.fa45bb6a23": ["model.synthetix.core_market_registered_arbitrum_sepolia"], "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_contract.8d5b49ae4d": ["model.synthetix.core_market_registered_arbitrum_sepolia"], "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_transaction_hash.9904023035": ["model.synthetix.core_market_registered_arbitrum_sepolia"], "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_block_number.94a8562b13": ["model.synthetix.core_market_registered_arbitrum_sepolia"], "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_event_name.72e398dd82": ["model.synthetix.core_market_registered_arbitrum_sepolia"], "test.synthetix.accepted_values_core_market_registered_arbitrum_sepolia_event_name__MarketRegistered.0d43228789": ["model.synthetix.core_market_registered_arbitrum_sepolia"], "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_sender.f940ee9c3a": ["model.synthetix.core_market_registered_arbitrum_sepolia"], "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_contract.bd9da8f8fc": ["model.synthetix.core_pool_created_arbitrum_sepolia"], "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_sender.999d6ba1d5": ["model.synthetix.core_pool_created_arbitrum_sepolia"], "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_block_timestamp.fd0d1a2266": ["model.synthetix.core_pool_created_arbitrum_sepolia"], "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_id.2ecf600861": ["model.synthetix.core_pool_created_arbitrum_sepolia"], "test.synthetix.unique_core_pool_created_arbitrum_sepolia_id.520ef444f0": ["model.synthetix.core_pool_created_arbitrum_sepolia"], "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_block_number.28a66d0e74": ["model.synthetix.core_pool_created_arbitrum_sepolia"], "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_transaction_hash.09e0ac3340": ["model.synthetix.core_pool_created_arbitrum_sepolia"], "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_event_name.9148e96626": ["model.synthetix.core_pool_created_arbitrum_sepolia"], "test.synthetix.accepted_values_core_pool_created_arbitrum_sepolia_event_name__PoolCreated.d04166c685": ["model.synthetix.core_pool_created_arbitrum_sepolia"], "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_owner.980ce0b630": ["model.synthetix.core_pool_created_arbitrum_sepolia"], "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_pool_id.1fccbc8d94": ["model.synthetix.core_pool_created_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_pool_created_arbitrum_sepolia_pool_id__True__0.d3bc479935": ["model.synthetix.core_pool_created_arbitrum_sepolia"], "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash.680f286a1c": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"], "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_account_id.f2bf56343c": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_account_id__True__0.931fbcf6dd": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"], "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type.d2183c9d15": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"], "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_event_name.a3f0d6ec61": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"], "test.synthetix.accepted_values_core_rewards_claimed_arbitrum_sepolia_event_name__RewardsClaimed.34f660416a": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"], "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_contract.d436fcb4ac": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"], "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_amount.c69c35b9b1": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_amount__True__0.4bdbe43c5e": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"], "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_distributor.3f6ad9aa55": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"], "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp.b87721cc33": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"], "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_id.9a1c133f3b": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"], "test.synthetix.unique_core_rewards_claimed_arbitrum_sepolia_id.f24f1c4553": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"], "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_pool_id.a883be69bc": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_pool_id__True__0.8b433a3bc6": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"], "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_block_number.9a6d0e0806": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"], "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_id.4fea69e81a": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"], "test.synthetix.unique_core_rewards_distributed_arbitrum_sepolia_id.728eef2ccb": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"], "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_event_name.1803af1787": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"], "test.synthetix.accepted_values_core_rewards_distributed_arbitrum_sepolia_event_name__RewardsDistributed.94958bacc6": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"], "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_amount.8682e416ae": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_amount__True__0.a57935c0b7": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"], "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_contract.7bb7fd8da4": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"], "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_block_timestamp.b3adafb4cf": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"], "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_transaction_hash.2ae04c7450": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"], "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_collateral_type.099d0e256e": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"], "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_block_number.5fbc655c9b": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"], "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_duration.a042625996": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_duration__True__0.905006d2f0": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"], "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_distributor.f184171df4": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"], "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_pool_id.4ae694bfec": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_pool_id__True__0.4ca72a296c": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"], "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_amount.6baf89b24c": ["model.synthetix.core_usd_burned_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_amount__True__0.048d31e429": ["model.synthetix.core_usd_burned_arbitrum_sepolia"], "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_pool_id.7bf8dd6882": ["model.synthetix.core_usd_burned_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_pool_id__True__0.d19a9e58b9": ["model.synthetix.core_usd_burned_arbitrum_sepolia"], "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_event_name.2334208293": ["model.synthetix.core_usd_burned_arbitrum_sepolia"], "test.synthetix.accepted_values_core_usd_burned_arbitrum_sepolia_event_name__UsdBurned.82b5e1f839": ["model.synthetix.core_usd_burned_arbitrum_sepolia"], "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_id.a9d148b478": ["model.synthetix.core_usd_burned_arbitrum_sepolia"], "test.synthetix.unique_core_usd_burned_arbitrum_sepolia_id.65a6dbfca4": ["model.synthetix.core_usd_burned_arbitrum_sepolia"], "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_block_number.a36a988eb1": ["model.synthetix.core_usd_burned_arbitrum_sepolia"], "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_account_id.620cecde52": ["model.synthetix.core_usd_burned_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_account_id__True__0.2bc68923f9": ["model.synthetix.core_usd_burned_arbitrum_sepolia"], "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_sender.e732504915": ["model.synthetix.core_usd_burned_arbitrum_sepolia"], "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_transaction_hash.91ab5b1d0b": ["model.synthetix.core_usd_burned_arbitrum_sepolia"], "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_contract.91add9f346": ["model.synthetix.core_usd_burned_arbitrum_sepolia"], "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_collateral_type.9bcf375dc5": ["model.synthetix.core_usd_burned_arbitrum_sepolia"], "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_block_timestamp.5bcc977f3d": ["model.synthetix.core_usd_burned_arbitrum_sepolia"], "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_pool_id.41123c7a06": ["model.synthetix.core_usd_minted_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_pool_id__True__0.ae99bd6ea3": ["model.synthetix.core_usd_minted_arbitrum_sepolia"], "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_block_timestamp.baa0ed9288": ["model.synthetix.core_usd_minted_arbitrum_sepolia"], "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_account_id.e8dbb7db41": ["model.synthetix.core_usd_minted_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_account_id__True__0.3ae041bf59": ["model.synthetix.core_usd_minted_arbitrum_sepolia"], "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_collateral_type.36a06f20c5": ["model.synthetix.core_usd_minted_arbitrum_sepolia"], "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_block_number.3319b5e432": ["model.synthetix.core_usd_minted_arbitrum_sepolia"], "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_id.07b94c915b": ["model.synthetix.core_usd_minted_arbitrum_sepolia"], "test.synthetix.unique_core_usd_minted_arbitrum_sepolia_id.d868aed363": ["model.synthetix.core_usd_minted_arbitrum_sepolia"], "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_sender.b183e1c56f": ["model.synthetix.core_usd_minted_arbitrum_sepolia"], "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_amount.cd18eb6390": ["model.synthetix.core_usd_minted_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_amount__True__0.e93e8d1936": ["model.synthetix.core_usd_minted_arbitrum_sepolia"], "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_event_name.b210011389": ["model.synthetix.core_usd_minted_arbitrum_sepolia"], "test.synthetix.accepted_values_core_usd_minted_arbitrum_sepolia_event_name__UsdMinted.5fd40cc553": ["model.synthetix.core_usd_minted_arbitrum_sepolia"], "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_transaction_hash.38f21551fd": ["model.synthetix.core_usd_minted_arbitrum_sepolia"], "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_contract.71d9365153": ["model.synthetix.core_usd_minted_arbitrum_sepolia"], "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_transaction_hash.6b1e45b06a": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"], "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_collateral_type.0b2d659b09": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"], "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_pool_id.c0c0a011c4": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_pool_id__True__0.6022175c23": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"], "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_event_name.6ee4c7edec": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"], "test.synthetix.accepted_values_core_vault_liquidation_arbitrum_sepolia_event_name__VaultLiquidation.0c7e403f1c": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"], "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_id.e478906cc0": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"], "test.synthetix.unique_core_vault_liquidation_arbitrum_sepolia_id.39f25ec5ad": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"], "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_block_timestamp.3f8fcf20ee": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"], "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id.557d546c5f": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0.8896409533": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"], "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_liquidation_data.0e7de46ea6": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"], "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_contract.2bb4203c78": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"], "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_block_number.fbedd6aa28": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"], "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_sender.e33149c915": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"], "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_ts.74e3fe431f": ["model.synthetix.core_vault_collateral_arbitrum_sepolia"], "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_block_number.7c4c28bc6d": ["model.synthetix.core_vault_collateral_arbitrum_sepolia"], "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_pool_id.11828e6701": ["model.synthetix.core_vault_collateral_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_pool_id__True__0.99b4d66658": ["model.synthetix.core_vault_collateral_arbitrum_sepolia"], "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_collateral_type.c23ed9827f": ["model.synthetix.core_vault_collateral_arbitrum_sepolia"], "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_amount.e85fb4a97b": ["model.synthetix.core_vault_collateral_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_amount__True__0.ceaca21b1b": ["model.synthetix.core_vault_collateral_arbitrum_sepolia"], "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_collateral_value.77882c9c22": ["model.synthetix.core_vault_collateral_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_collateral_value__True__0.5e64981616": ["model.synthetix.core_vault_collateral_arbitrum_sepolia"], "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_contract_address.d90d5e4d47": ["model.synthetix.core_vault_collateral_arbitrum_sepolia"], "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_ts.6259a43e83": ["model.synthetix.core_vault_debt_arbitrum_sepolia"], "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_block_number.39b83b17e0": ["model.synthetix.core_vault_debt_arbitrum_sepolia"], "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_pool_id.3d27f2e067": ["model.synthetix.core_vault_debt_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_vault_debt_arbitrum_sepolia_pool_id__True__0.6a7fea5bbc": ["model.synthetix.core_vault_debt_arbitrum_sepolia"], "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_collateral_type.c136eaeaa7": ["model.synthetix.core_vault_debt_arbitrum_sepolia"], "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_debt.13e23e52e8": ["model.synthetix.core_vault_debt_arbitrum_sepolia"], "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_contract_address.7162b1bbad": ["model.synthetix.core_vault_debt_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_id.3dc77e7585": ["model.synthetix.spot_order_committed_arbitrum_sepolia"], "test.synthetix.unique_spot_order_committed_arbitrum_sepolia_id.7dddd93b21": ["model.synthetix.spot_order_committed_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_event_name.10fb9fe2fd": ["model.synthetix.spot_order_committed_arbitrum_sepolia"], "test.synthetix.accepted_values_spot_order_committed_arbitrum_sepolia_event_name__OrderCommitted.48f82592c2": ["model.synthetix.spot_order_committed_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_sender.6665c965c9": ["model.synthetix.spot_order_committed_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_block_timestamp.053b915e14": ["model.synthetix.spot_order_committed_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_referrer.3934248ab9": ["model.synthetix.spot_order_committed_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_amount_provided.b4fbc53f60": ["model.synthetix.spot_order_committed_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_amount_provided__True__0.e297093a69": ["model.synthetix.spot_order_committed_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_transaction_hash.44fbdb881f": ["model.synthetix.spot_order_committed_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_contract.8724d32b95": ["model.synthetix.spot_order_committed_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_market_id.4600734bce": ["model.synthetix.spot_order_committed_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_market_id__True__0.156852fc84": ["model.synthetix.spot_order_committed_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_block_number.e402f23638": ["model.synthetix.spot_order_committed_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_order_type.cfe77ca9a2": ["model.synthetix.spot_order_committed_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_final_order_amount__True__0.976f3b49e5": ["model.synthetix.spot_order_settled_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_settler.709cf86f6a": ["model.synthetix.spot_order_settled_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_block_number.f4d15aa1c6": ["model.synthetix.spot_order_settled_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_transaction_hash.e39d83aa1f": ["model.synthetix.spot_order_settled_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_block_timestamp.4104ea8ae8": ["model.synthetix.spot_order_settled_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_id.61da8ff5ef": ["model.synthetix.spot_order_settled_arbitrum_sepolia"], "test.synthetix.unique_spot_order_settled_arbitrum_sepolia_id.fce4a382d0": ["model.synthetix.spot_order_settled_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_order_type.ce3ce512a2": ["model.synthetix.spot_order_settled_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_contract.2b0e9ad75a": ["model.synthetix.spot_order_settled_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_price.1a44fe5106": ["model.synthetix.spot_order_settled_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_price__True__0.6c6c67c752": ["model.synthetix.spot_order_settled_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_market_id.d28592e51d": ["model.synthetix.spot_order_settled_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_market_id__True__0.6880f35b4a": ["model.synthetix.spot_order_settled_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_collected_fees.1010c0a5f8": ["model.synthetix.spot_order_settled_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_collected_fees__True__0.43d000a1f2": ["model.synthetix.spot_order_settled_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_event_name.51feaa1c12": ["model.synthetix.spot_order_settled_arbitrum_sepolia"], "test.synthetix.accepted_values_spot_order_settled_arbitrum_sepolia_event_name__OrderSettled.3825809881": ["model.synthetix.spot_order_settled_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_id.8e031ca154": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"], "test.synthetix.unique_spot_order_cancelled_arbitrum_sepolia_id.463daca854": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp.5b304e425f": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash.7bc3d70f6e": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_sender.dd378adc77": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_contract.b838860ee1": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_event_name.e938eb2758": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"], "test.synthetix.accepted_values_spot_order_cancelled_arbitrum_sepolia_event_name__OrderCancelled.7763c43292": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_market_id.d248c77fa3": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_arbitrum_sepolia_market_id__True__0.047630938a": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_block_number.6b3267b9d4": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_id.ae9e680918": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"], "test.synthetix.unique_spot_synth_registered_arbitrum_sepolia_id.a09499cc92": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp.8ad856419d": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id.41d8ffc96a": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_arbitrum_sepolia_synth_market_id__True__0.adc193de63": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_block_number.e17831aecf": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_contract.13305b5b4f": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_synth_token_address.30dd706c48": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_event_name.5caf84c585": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"], "test.synthetix.accepted_values_spot_synth_registered_arbitrum_sepolia_event_name__SynthRegistered.66b8fe9ef2": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_transaction_hash.211b9e6913": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_collected_fees.32235682bf": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_collected_fees__True__0.e69ec41d5e": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash.b57c5b3476": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id.92397dca4f": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_synth_market_id__True__0.869a31cec1": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_block_number.1414f728f0": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp.af0cba6258": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_id.ed20008417": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"], "test.synthetix.unique_spot_synth_bought_arbitrum_sepolia_id.3ade424d59": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_price.9dde4ea814": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_price__True__0.d95f1532c7": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_contract.2c9cdafac9": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_referrer.c39eda4686": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_event_name.a810bafafd": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"], "test.synthetix.accepted_values_spot_synth_bought_arbitrum_sepolia_event_name__SynthBought.134dc8cabd": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_event_name.333367310e": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"], "test.synthetix.accepted_values_spot_synth_sold_arbitrum_sepolia_event_name__SynthSold.fe13707237": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash.da63dad649": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_collected_fees.0c503232cc": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_collected_fees__True__0.18ef00cae1": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp.5734b00c78": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_referrer.31558bcae3": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_block_number.9eb624134f": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_price.1a5abe8024": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_price__True__0.9416491d1c": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_amount_returned.31fa2e2854": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_amount_returned__True__0.491570b785": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id.2629bdcd49": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_synth_market_id__True__0.2196afe46e": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_id.415e7f2126": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"], "test.synthetix.unique_spot_synth_sold_arbitrum_sepolia_id.dd4ab72a64": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_contract.d5f31e0816": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_id.ec9012b5a4": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"], "test.synthetix.unique_spot_synth_wrapped_arbitrum_sepolia_id.25ef0efbd8": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash.60e01a101a": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id.f1fccfdd91": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_synth_market_id__True__0.ca19b05f78": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_contract.410ac0c77b": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_event_name.e16041e32c": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"], "test.synthetix.accepted_values_spot_synth_wrapped_arbitrum_sepolia_event_name__SynthWrapped.a482cbf84f": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp.cc2e2e7857": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_block_number.c861cf7b58": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected.8c22c01d20": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_fees_collected__True__0.9f8402c770": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp.2897aa2af1": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped.4d83dd17da": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped__True__0.2d01453854": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected.342d8ecaba": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_fees_collected__True__0.f01b734c27": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name.e2e470100a": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"], "test.synthetix.accepted_values_spot_synth_unwrapped_arbitrum_sepolia_event_name__SynthUnwrapped.20624d41fd": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number.bfaa7aabea": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash.5b5d8f1737": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_contract.9a67446eba": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_id.885fac7a78": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"], "test.synthetix.unique_spot_synth_unwrapped_arbitrum_sepolia_id.5985d5d1de": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id.0f2f845893": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id__True__0.6744618704": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"], "test.synthetix.not_null_blocks_base_mainnet_block_number.bb1b2f53c2": ["model.synthetix.blocks_base_mainnet"], "test.synthetix.unique_blocks_base_mainnet_block_number.e303976d40": ["model.synthetix.blocks_base_mainnet"], "test.synthetix.dbt_utils_recency_blocks_base_mainnet_hour__ts__1.b0724712c2": ["model.synthetix.blocks_base_mainnet"], "test.synthetix.unique_perp_account_created_base_mainnet_id.7e77a8a023": ["model.synthetix.perp_account_created_base_mainnet"], "test.synthetix.not_null_perp_account_created_base_mainnet_id.88dc5d9a3e": ["model.synthetix.perp_account_created_base_mainnet"], "test.synthetix.not_null_perp_account_created_base_mainnet_event_name.0ab1553ed8": ["model.synthetix.perp_account_created_base_mainnet"], "test.synthetix.accepted_values_perp_account_created_base_mainnet_event_name__AccountCreated.c906cbec9d": ["model.synthetix.perp_account_created_base_mainnet"], "test.synthetix.not_null_perp_account_created_base_mainnet_block_number.089e467aa3": ["model.synthetix.perp_account_created_base_mainnet"], "test.synthetix.not_null_perp_account_created_base_mainnet_block_timestamp.4e4344d68a": ["model.synthetix.perp_account_created_base_mainnet"], "test.synthetix.not_null_perp_account_created_base_mainnet_owner.1aca280221": ["model.synthetix.perp_account_created_base_mainnet"], "test.synthetix.not_null_perp_account_created_base_mainnet_account_id.2d9e573ba3": ["model.synthetix.perp_account_created_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_perp_account_created_base_mainnet_account_id__True__0.31cc3873de": ["model.synthetix.perp_account_created_base_mainnet"], "test.synthetix.not_null_perp_account_created_base_mainnet_transaction_hash.0274c58381": ["model.synthetix.perp_account_created_base_mainnet"], "test.synthetix.not_null_perp_account_created_base_mainnet_contract.d77785377c": ["model.synthetix.perp_account_created_base_mainnet"], "test.synthetix.unique_perp_order_committed_base_mainnet_id.471fd9d19f": ["model.synthetix.perp_order_committed_base_mainnet"], "test.synthetix.not_null_perp_order_committed_base_mainnet_id.deaaf9a2d9": ["model.synthetix.perp_order_committed_base_mainnet"], "test.synthetix.not_null_perp_order_committed_base_mainnet_block_number.743f5b2c16": ["model.synthetix.perp_order_committed_base_mainnet"], "test.synthetix.not_null_perp_order_committed_base_mainnet_block_timestamp.ba049c4adc": ["model.synthetix.perp_order_committed_base_mainnet"], "test.synthetix.not_null_perp_order_committed_base_mainnet_transaction_hash.ba7bf1fc20": ["model.synthetix.perp_order_committed_base_mainnet"], "test.synthetix.not_null_perp_order_committed_base_mainnet_contract.ec04bc0cd9": ["model.synthetix.perp_order_committed_base_mainnet"], "test.synthetix.not_null_perp_order_committed_base_mainnet_event_name.ea7921e749": ["model.synthetix.perp_order_committed_base_mainnet"], "test.synthetix.accepted_values_perp_order_committed_base_mainnet_event_name__OrderCommitted.ce39697ea3": ["model.synthetix.perp_order_committed_base_mainnet"], "test.synthetix.not_null_perp_order_committed_base_mainnet_market_id.09e2f9dd2e": ["model.synthetix.perp_order_committed_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_mainnet_market_id__True__0.9964b7c003": ["model.synthetix.perp_order_committed_base_mainnet"], "test.synthetix.not_null_perp_order_committed_base_mainnet_account_id.4dabd60cd4": ["model.synthetix.perp_order_committed_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_mainnet_account_id__True__0.c996cff012": ["model.synthetix.perp_order_committed_base_mainnet"], "test.synthetix.not_null_perp_order_settled_base_mainnet_contract.4999a48971": ["model.synthetix.perp_order_settled_base_mainnet"], "test.synthetix.not_null_perp_order_settled_base_mainnet_event_name.f1e61c05e6": ["model.synthetix.perp_order_settled_base_mainnet"], "test.synthetix.accepted_values_perp_order_settled_base_mainnet_event_name__OrderSettled.2c75532624": ["model.synthetix.perp_order_settled_base_mainnet"], "test.synthetix.not_null_perp_order_settled_base_mainnet_account_id.16ba855b23": ["model.synthetix.perp_order_settled_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_account_id__True__0.e5564d3ff0": ["model.synthetix.perp_order_settled_base_mainnet"], "test.synthetix.not_null_perp_order_settled_base_mainnet_market_id.6f4d850570": ["model.synthetix.perp_order_settled_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_market_id__True__0.f0b24bdf87": ["model.synthetix.perp_order_settled_base_mainnet"], "test.synthetix.not_null_perp_order_settled_base_mainnet_collected_fees.b6a0c12cde": ["model.synthetix.perp_order_settled_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_collected_fees__True__0.160f85cd41": ["model.synthetix.perp_order_settled_base_mainnet"], "test.synthetix.not_null_perp_order_settled_base_mainnet_transaction_hash.a60987fbb0": ["model.synthetix.perp_order_settled_base_mainnet"], "test.synthetix.not_null_perp_order_settled_base_mainnet_block_timestamp.81876ddb40": ["model.synthetix.perp_order_settled_base_mainnet"], "test.synthetix.not_null_perp_order_settled_base_mainnet_block_number.f58d806635": ["model.synthetix.perp_order_settled_base_mainnet"], "test.synthetix.unique_perp_order_settled_base_mainnet_id.0225a9550b": ["model.synthetix.perp_order_settled_base_mainnet"], "test.synthetix.not_null_perp_order_settled_base_mainnet_id.5b3863aece": ["model.synthetix.perp_order_settled_base_mainnet"], "test.synthetix.unique_perp_market_updated_base_mainnet_id.a3e4d3e22f": ["model.synthetix.perp_market_updated_base_mainnet"], "test.synthetix.not_null_perp_market_updated_base_mainnet_id.23f3e68a12": ["model.synthetix.perp_market_updated_base_mainnet"], "test.synthetix.not_null_perp_market_updated_base_mainnet_block_number.3088915c67": ["model.synthetix.perp_market_updated_base_mainnet"], "test.synthetix.not_null_perp_market_updated_base_mainnet_block_timestamp.c0b049d2d6": ["model.synthetix.perp_market_updated_base_mainnet"], "test.synthetix.not_null_perp_market_updated_base_mainnet_transaction_hash.28faaa00e5": ["model.synthetix.perp_market_updated_base_mainnet"], "test.synthetix.not_null_perp_market_updated_base_mainnet_contract.e19df268b3": ["model.synthetix.perp_market_updated_base_mainnet"], "test.synthetix.not_null_perp_market_updated_base_mainnet_event_name.de1019fbef": ["model.synthetix.perp_market_updated_base_mainnet"], "test.synthetix.accepted_values_perp_market_updated_base_mainnet_event_name__MarketUpdated.33121cd63c": ["model.synthetix.perp_market_updated_base_mainnet"], "test.synthetix.not_null_perp_market_updated_base_mainnet_market_id.8ec7a63f6b": ["model.synthetix.perp_market_updated_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_market_id__True__0.5c7a41566b": ["model.synthetix.perp_market_updated_base_mainnet"], "test.synthetix.not_null_perp_market_updated_base_mainnet_price.f0d91e2bd5": ["model.synthetix.perp_market_updated_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_price__True__0.ae7f542736": ["model.synthetix.perp_market_updated_base_mainnet"], "test.synthetix.not_null_perp_market_updated_base_mainnet_interest_rate.10b7a6c389": ["model.synthetix.perp_market_updated_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_interest_rate__True__0.7f6ed158d2": ["model.synthetix.perp_market_updated_base_mainnet"], "test.synthetix.not_null_perp_position_liquidated_base_mainnet_account_id.498f567370": ["model.synthetix.perp_position_liquidated_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_account_id__True__0.4dca14dbcd": ["model.synthetix.perp_position_liquidated_base_mainnet"], "test.synthetix.not_null_perp_position_liquidated_base_mainnet_market_id.564386819e": ["model.synthetix.perp_position_liquidated_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_market_id__True__0.f77ba4ae2f": ["model.synthetix.perp_position_liquidated_base_mainnet"], "test.synthetix.unique_perp_position_liquidated_base_mainnet_id.922d3c5143": ["model.synthetix.perp_position_liquidated_base_mainnet"], "test.synthetix.not_null_perp_position_liquidated_base_mainnet_id.32c367bb62": ["model.synthetix.perp_position_liquidated_base_mainnet"], "test.synthetix.not_null_perp_position_liquidated_base_mainnet_transaction_hash.c67a9607db": ["model.synthetix.perp_position_liquidated_base_mainnet"], "test.synthetix.not_null_perp_position_liquidated_base_mainnet_current_position_size.b48e72d00b": ["model.synthetix.perp_position_liquidated_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_current_position_size__True__0.f59eb84311": ["model.synthetix.perp_position_liquidated_base_mainnet"], "test.synthetix.not_null_perp_position_liquidated_base_mainnet_event_name.321097aa34": ["model.synthetix.perp_position_liquidated_base_mainnet"], "test.synthetix.accepted_values_perp_position_liquidated_base_mainnet_event_name__PositionLiquidated.71fb40cadb": ["model.synthetix.perp_position_liquidated_base_mainnet"], "test.synthetix.not_null_perp_position_liquidated_base_mainnet_block_number.a7b9be436d": ["model.synthetix.perp_position_liquidated_base_mainnet"], "test.synthetix.not_null_perp_position_liquidated_base_mainnet_amount_liquidated.29ad6c9103": ["model.synthetix.perp_position_liquidated_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_amount_liquidated__True__0.be0c7ea09d": ["model.synthetix.perp_position_liquidated_base_mainnet"], "test.synthetix.not_null_perp_position_liquidated_base_mainnet_contract.16d824dbca": ["model.synthetix.perp_position_liquidated_base_mainnet"], "test.synthetix.not_null_perp_position_liquidated_base_mainnet_block_timestamp.7e8e3434f7": ["model.synthetix.perp_position_liquidated_base_mainnet"], "test.synthetix.unique_perp_account_liquidation_attempt_base_mainnet_id.4ca8a36246": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"], "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_id.f0a38fed0b": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"], "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_account_id.b9af0ad259": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_account_id__True__0.1b7d106a7e": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"], "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_block_number.eb82068b1f": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"], "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_reward.c18396dc96": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_reward__True__0.cb285aadec": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"], "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_block_timestamp.8bb23c25bf": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"], "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_contract.52c72e7f83": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"], "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_event_name.bdd4a2d793": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"], "test.synthetix.accepted_values_perp_account_liquidation_attempt_base_mainnet_event_name__AccountLiquidationAttempt.aeb7d6db9c": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"], "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_transaction_hash.70575855b6": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"], "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_full_liquidation.13fc102881": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"], "test.synthetix.not_null_perp_collateral_modified_base_mainnet_block_timestamp.dba3f4ea26": ["model.synthetix.perp_collateral_modified_base_mainnet"], "test.synthetix.not_null_perp_collateral_modified_base_mainnet_contract.c11139c863": ["model.synthetix.perp_collateral_modified_base_mainnet"], "test.synthetix.not_null_perp_collateral_modified_base_mainnet_event_name.ea66af17fe": ["model.synthetix.perp_collateral_modified_base_mainnet"], "test.synthetix.accepted_values_perp_collateral_modified_base_mainnet_event_name__CollateralModified.a5e57f2d75": ["model.synthetix.perp_collateral_modified_base_mainnet"], "test.synthetix.not_null_perp_collateral_modified_base_mainnet_block_number.9a27b3b231": ["model.synthetix.perp_collateral_modified_base_mainnet"], "test.synthetix.not_null_perp_collateral_modified_base_mainnet_synth_market_id.d41b8065af": ["model.synthetix.perp_collateral_modified_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_synth_market_id__True__0.d556e7848d": ["model.synthetix.perp_collateral_modified_base_mainnet"], "test.synthetix.unique_perp_collateral_modified_base_mainnet_id.311ce0d794": ["model.synthetix.perp_collateral_modified_base_mainnet"], "test.synthetix.not_null_perp_collateral_modified_base_mainnet_id.f24bcc6b1b": ["model.synthetix.perp_collateral_modified_base_mainnet"], "test.synthetix.not_null_perp_collateral_modified_base_mainnet_sender.b40c55b7ee": ["model.synthetix.perp_collateral_modified_base_mainnet"], "test.synthetix.not_null_perp_collateral_modified_base_mainnet_account_id.cdccf3f2af": ["model.synthetix.perp_collateral_modified_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_account_id__True__0.9f7c28c3fd": ["model.synthetix.perp_collateral_modified_base_mainnet"], "test.synthetix.not_null_perp_collateral_modified_base_mainnet_transaction_hash.3d3881c53b": ["model.synthetix.perp_collateral_modified_base_mainnet"], "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_block_timestamp.8433c78b93": ["model.synthetix.perp_previous_order_expired_base_mainnet"], "test.synthetix.unique_perp_previous_order_expired_base_mainnet_id.f02978148f": ["model.synthetix.perp_previous_order_expired_base_mainnet"], "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_id.bc7a46deda": ["model.synthetix.perp_previous_order_expired_base_mainnet"], "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_block_number.a563a713e9": ["model.synthetix.perp_previous_order_expired_base_mainnet"], "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_market_id.3b39458251": ["model.synthetix.perp_previous_order_expired_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_market_id__True__0.edc1c768de": ["model.synthetix.perp_previous_order_expired_base_mainnet"], "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_event_name.14c38c565c": ["model.synthetix.perp_previous_order_expired_base_mainnet"], "test.synthetix.accepted_values_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired.a675fe5038": ["model.synthetix.perp_previous_order_expired_base_mainnet"], "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_transaction_hash.97e2d12b2c": ["model.synthetix.perp_previous_order_expired_base_mainnet"], "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_account_id.c8037fd435": ["model.synthetix.perp_previous_order_expired_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_account_id__True__0.e4b1283a09": ["model.synthetix.perp_previous_order_expired_base_mainnet"], "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_contract.5eed227a76": ["model.synthetix.perp_previous_order_expired_base_mainnet"], "test.synthetix.not_null_perp_market_created_base_mainnet_market_name.162fe82996": ["model.synthetix.perp_market_created_base_mainnet"], "test.synthetix.unique_perp_market_created_base_mainnet_id.e1227e7e46": ["model.synthetix.perp_market_created_base_mainnet"], "test.synthetix.not_null_perp_market_created_base_mainnet_id.eb84eb9821": ["model.synthetix.perp_market_created_base_mainnet"], "test.synthetix.not_null_perp_market_created_base_mainnet_market_symbol.06e88b6544": ["model.synthetix.perp_market_created_base_mainnet"], "test.synthetix.not_null_perp_market_created_base_mainnet_event_name.f103b43404": ["model.synthetix.perp_market_created_base_mainnet"], "test.synthetix.accepted_values_perp_market_created_base_mainnet_event_name__MarketCreated.d9da845e2f": ["model.synthetix.perp_market_created_base_mainnet"], "test.synthetix.not_null_perp_market_created_base_mainnet_block_number.31d8a749ec": ["model.synthetix.perp_market_created_base_mainnet"], "test.synthetix.not_null_perp_market_created_base_mainnet_block_timestamp.b13b8b381f": ["model.synthetix.perp_market_created_base_mainnet"], "test.synthetix.not_null_perp_market_created_base_mainnet_contract.dd8ab60012": ["model.synthetix.perp_market_created_base_mainnet"], "test.synthetix.not_null_perp_market_created_base_mainnet_perps_market_id.d04a2adf66": ["model.synthetix.perp_market_created_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_perp_market_created_base_mainnet_perps_market_id__True__0.7835f6c4e2": ["model.synthetix.perp_market_created_base_mainnet"], "test.synthetix.not_null_perp_market_created_base_mainnet_transaction_hash.005c8ea981": ["model.synthetix.perp_market_created_base_mainnet"], "test.synthetix.not_null_perp_interest_charged_base_mainnet_event_name.d0c6828a2c": ["model.synthetix.perp_interest_charged_base_mainnet"], "test.synthetix.accepted_values_perp_interest_charged_base_mainnet_event_name__InterestCharged.92bd4d647b": ["model.synthetix.perp_interest_charged_base_mainnet"], "test.synthetix.not_null_perp_interest_charged_base_mainnet_contract.637ff31ac5": ["model.synthetix.perp_interest_charged_base_mainnet"], "test.synthetix.not_null_perp_interest_charged_base_mainnet_transaction_hash.82d6f4539b": ["model.synthetix.perp_interest_charged_base_mainnet"], "test.synthetix.not_null_perp_interest_charged_base_mainnet_block_timestamp.c006ab16a0": ["model.synthetix.perp_interest_charged_base_mainnet"], "test.synthetix.unique_perp_interest_charged_base_mainnet_id.849ecb5e38": ["model.synthetix.perp_interest_charged_base_mainnet"], "test.synthetix.not_null_perp_interest_charged_base_mainnet_id.a4394853e3": ["model.synthetix.perp_interest_charged_base_mainnet"], "test.synthetix.not_null_perp_interest_charged_base_mainnet_block_number.634b5a2ca3": ["model.synthetix.perp_interest_charged_base_mainnet"], "test.synthetix.not_null_perp_interest_charged_base_mainnet_account_id.9cea8c57e9": ["model.synthetix.perp_interest_charged_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_base_mainnet_account_id__True__0.a3ec3de479": ["model.synthetix.perp_interest_charged_base_mainnet"], "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_block_timestamp.0d665a1669": ["model.synthetix.perp_interest_rate_updated_base_mainnet"], "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_event_name.36434bd8cd": ["model.synthetix.perp_interest_rate_updated_base_mainnet"], "test.synthetix.accepted_values_perp_interest_rate_updated_base_mainnet_event_name__InterestRateUpdated.1f640e1a2e": ["model.synthetix.perp_interest_rate_updated_base_mainnet"], "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_transaction_hash.84f20da856": ["model.synthetix.perp_interest_rate_updated_base_mainnet"], "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_interest_rate.cfecf76356": ["model.synthetix.perp_interest_rate_updated_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_interest_rate__True__0.9e368f0a36": ["model.synthetix.perp_interest_rate_updated_base_mainnet"], "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_block_number.76213ff694": ["model.synthetix.perp_interest_rate_updated_base_mainnet"], "test.synthetix.unique_perp_interest_rate_updated_base_mainnet_id.bddddb2671": ["model.synthetix.perp_interest_rate_updated_base_mainnet"], "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_id.e9a20cc82f": ["model.synthetix.perp_interest_rate_updated_base_mainnet"], "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_contract.79599300ad": ["model.synthetix.perp_interest_rate_updated_base_mainnet"], "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_super_market_id.234f62d024": ["model.synthetix.perp_interest_rate_updated_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_super_market_id__True__0.4d69e0aece": ["model.synthetix.perp_interest_rate_updated_base_mainnet"], "test.synthetix.not_null_buyback_processed_base_mainnet_id.f2ddc16a13": ["model.synthetix.buyback_processed_base_mainnet"], "test.synthetix.unique_buyback_processed_base_mainnet_id.7d5a3bf3a8": ["model.synthetix.buyback_processed_base_mainnet"], "test.synthetix.not_null_buyback_processed_base_mainnet_block_number.7938e67f70": ["model.synthetix.buyback_processed_base_mainnet"], "test.synthetix.not_null_buyback_processed_base_mainnet_block_timestamp.a03c2a402e": ["model.synthetix.buyback_processed_base_mainnet"], "test.synthetix.not_null_buyback_processed_base_mainnet_transaction_hash.48c42ff159": ["model.synthetix.buyback_processed_base_mainnet"], "test.synthetix.not_null_buyback_processed_base_mainnet_event_name.6b55058ad0": ["model.synthetix.buyback_processed_base_mainnet"], "test.synthetix.accepted_values_buyback_processed_base_mainnet_event_name__BuybackProcessed.dfe71d53df": ["model.synthetix.buyback_processed_base_mainnet"], "test.synthetix.not_null_buyback_processed_base_mainnet_contract.73ecec38f3": ["model.synthetix.buyback_processed_base_mainnet"], "test.synthetix.not_null_buyback_processed_base_mainnet_buyer.6dc7c79cf3": ["model.synthetix.buyback_processed_base_mainnet"], "test.synthetix.not_null_buyback_processed_base_mainnet_snx.d434d429ea": ["model.synthetix.buyback_processed_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_mainnet_snx__True__0.afaf938419": ["model.synthetix.buyback_processed_base_mainnet"], "test.synthetix.not_null_buyback_processed_base_mainnet_usd.c5f2eba3f9": ["model.synthetix.buyback_processed_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_mainnet_usd__True__0.4acbfc34a4": ["model.synthetix.buyback_processed_base_mainnet"], "test.synthetix.not_null_core_account_created_base_mainnet_owner.c498d5b28f": ["model.synthetix.core_account_created_base_mainnet"], "test.synthetix.not_null_core_account_created_base_mainnet_account_id.9f366bbbab": ["model.synthetix.core_account_created_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_account_created_base_mainnet_account_id__True__0.13ad3c12e1": ["model.synthetix.core_account_created_base_mainnet"], "test.synthetix.not_null_core_account_created_base_mainnet_id.a6878c49cb": ["model.synthetix.core_account_created_base_mainnet"], "test.synthetix.unique_core_account_created_base_mainnet_id.d79e3ab0d1": ["model.synthetix.core_account_created_base_mainnet"], "test.synthetix.not_null_core_account_created_base_mainnet_transaction_hash.21cf6568c1": ["model.synthetix.core_account_created_base_mainnet"], "test.synthetix.not_null_core_account_created_base_mainnet_block_number.1b0ff0bd14": ["model.synthetix.core_account_created_base_mainnet"], "test.synthetix.not_null_core_account_created_base_mainnet_block_timestamp.8e5d2b5809": ["model.synthetix.core_account_created_base_mainnet"], "test.synthetix.not_null_core_account_created_base_mainnet_event_name.f3ba489917": ["model.synthetix.core_account_created_base_mainnet"], "test.synthetix.accepted_values_core_account_created_base_mainnet_event_name__AccountCreated.8d266dd241": ["model.synthetix.core_account_created_base_mainnet"], "test.synthetix.not_null_core_account_created_base_mainnet_contract.9c9629d4bf": ["model.synthetix.core_account_created_base_mainnet"], "test.synthetix.not_null_core_delegation_updated_base_mainnet_contract.26c790b056": ["model.synthetix.core_delegation_updated_base_mainnet"], "test.synthetix.not_null_core_delegation_updated_base_mainnet_id.3f46fc5fef": ["model.synthetix.core_delegation_updated_base_mainnet"], "test.synthetix.unique_core_delegation_updated_base_mainnet_id.cb86d131a2": ["model.synthetix.core_delegation_updated_base_mainnet"], "test.synthetix.not_null_core_delegation_updated_base_mainnet_account_id.d54eaa7e33": ["model.synthetix.core_delegation_updated_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_account_id__True__0.682b9be0e3": ["model.synthetix.core_delegation_updated_base_mainnet"], "test.synthetix.not_null_core_delegation_updated_base_mainnet_collateral_type.ed1a32a32c": ["model.synthetix.core_delegation_updated_base_mainnet"], "test.synthetix.not_null_core_delegation_updated_base_mainnet_pool_id.05c5c779bf": ["model.synthetix.core_delegation_updated_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_pool_id__True__0.4316662214": ["model.synthetix.core_delegation_updated_base_mainnet"], "test.synthetix.not_null_core_delegation_updated_base_mainnet_sender.0138cb07ed": ["model.synthetix.core_delegation_updated_base_mainnet"], "test.synthetix.not_null_core_delegation_updated_base_mainnet_block_timestamp.c521a83475": ["model.synthetix.core_delegation_updated_base_mainnet"], "test.synthetix.not_null_core_delegation_updated_base_mainnet_block_number.b7e4e88578": ["model.synthetix.core_delegation_updated_base_mainnet"], "test.synthetix.not_null_core_delegation_updated_base_mainnet_leverage.5efc0a9617": ["model.synthetix.core_delegation_updated_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_leverage__True__1000000000000000000__1000000000000000000.d5cf2050cc": ["model.synthetix.core_delegation_updated_base_mainnet"], "test.synthetix.not_null_core_delegation_updated_base_mainnet_transaction_hash.6915579646": ["model.synthetix.core_delegation_updated_base_mainnet"], "test.synthetix.not_null_core_delegation_updated_base_mainnet_amount.a0ab515e0a": ["model.synthetix.core_delegation_updated_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_amount__True__0.a8783e193f": ["model.synthetix.core_delegation_updated_base_mainnet"], "test.synthetix.not_null_core_delegation_updated_base_mainnet_event_name.cfe99ccc6b": ["model.synthetix.core_delegation_updated_base_mainnet"], "test.synthetix.accepted_values_core_delegation_updated_base_mainnet_event_name__DelegationUpdated.67d059ef8b": ["model.synthetix.core_delegation_updated_base_mainnet"], "test.synthetix.not_null_core_deposited_base_mainnet_collateral_type.be650ff685": ["model.synthetix.core_deposited_base_mainnet"], "test.synthetix.not_null_core_deposited_base_mainnet_id.ee16c24c51": ["model.synthetix.core_deposited_base_mainnet"], "test.synthetix.unique_core_deposited_base_mainnet_id.c13be8e337": ["model.synthetix.core_deposited_base_mainnet"], "test.synthetix.not_null_core_deposited_base_mainnet_contract.6e9ec1150a": ["model.synthetix.core_deposited_base_mainnet"], "test.synthetix.not_null_core_deposited_base_mainnet_event_name.31446f5c55": ["model.synthetix.core_deposited_base_mainnet"], "test.synthetix.accepted_values_core_deposited_base_mainnet_event_name__Deposited.8716111032": ["model.synthetix.core_deposited_base_mainnet"], "test.synthetix.not_null_core_deposited_base_mainnet_transaction_hash.272eb2e81d": ["model.synthetix.core_deposited_base_mainnet"], "test.synthetix.not_null_core_deposited_base_mainnet_account_id.7193b1a2c0": ["model.synthetix.core_deposited_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_deposited_base_mainnet_account_id__True__0.64bcc1c124": ["model.synthetix.core_deposited_base_mainnet"], "test.synthetix.not_null_core_deposited_base_mainnet_sender.7b7ebe7456": ["model.synthetix.core_deposited_base_mainnet"], "test.synthetix.not_null_core_deposited_base_mainnet_block_timestamp.560df883dc": ["model.synthetix.core_deposited_base_mainnet"], "test.synthetix.not_null_core_deposited_base_mainnet_block_number.08ee53cd26": ["model.synthetix.core_deposited_base_mainnet"], "test.synthetix.not_null_core_deposited_base_mainnet_token_amount.5b0e4b379d": ["model.synthetix.core_deposited_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_deposited_base_mainnet_token_amount__True__0.60382baf55": ["model.synthetix.core_deposited_base_mainnet"], "test.synthetix.not_null_core_withdrawn_base_mainnet_block_timestamp.3b8ffa7210": ["model.synthetix.core_withdrawn_base_mainnet"], "test.synthetix.not_null_core_withdrawn_base_mainnet_contract.a8511fdb92": ["model.synthetix.core_withdrawn_base_mainnet"], "test.synthetix.not_null_core_withdrawn_base_mainnet_block_number.03c7cebae3": ["model.synthetix.core_withdrawn_base_mainnet"], "test.synthetix.not_null_core_withdrawn_base_mainnet_transaction_hash.a3fda71b2a": ["model.synthetix.core_withdrawn_base_mainnet"], "test.synthetix.not_null_core_withdrawn_base_mainnet_token_amount.fbabce38ba": ["model.synthetix.core_withdrawn_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_mainnet_token_amount__True__0.54af4bae82": ["model.synthetix.core_withdrawn_base_mainnet"], "test.synthetix.not_null_core_withdrawn_base_mainnet_collateral_type.f32eb82738": ["model.synthetix.core_withdrawn_base_mainnet"], "test.synthetix.not_null_core_withdrawn_base_mainnet_account_id.ef84b5b40c": ["model.synthetix.core_withdrawn_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_mainnet_account_id__True__0.0bf8555841": ["model.synthetix.core_withdrawn_base_mainnet"], "test.synthetix.not_null_core_withdrawn_base_mainnet_id.8106f47c4d": ["model.synthetix.core_withdrawn_base_mainnet"], "test.synthetix.unique_core_withdrawn_base_mainnet_id.72a24b0786": ["model.synthetix.core_withdrawn_base_mainnet"], "test.synthetix.not_null_core_withdrawn_base_mainnet_sender.2f5cf91bdf": ["model.synthetix.core_withdrawn_base_mainnet"], "test.synthetix.not_null_core_withdrawn_base_mainnet_event_name.f423143c4b": ["model.synthetix.core_withdrawn_base_mainnet"], "test.synthetix.accepted_values_core_withdrawn_base_mainnet_event_name__Withdrawn.8eb5613297": ["model.synthetix.core_withdrawn_base_mainnet"], "test.synthetix.not_null_core_liquidation_base_mainnet_pool_id.0342c9a9f7": ["model.synthetix.core_liquidation_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_pool_id__True__0.9af005d964": ["model.synthetix.core_liquidation_base_mainnet"], "test.synthetix.not_null_core_liquidation_base_mainnet_block_timestamp.cc029a06b8": ["model.synthetix.core_liquidation_base_mainnet"], "test.synthetix.not_null_core_liquidation_base_mainnet_block_number.896bca83af": ["model.synthetix.core_liquidation_base_mainnet"], "test.synthetix.not_null_core_liquidation_base_mainnet_id.c949216a70": ["model.synthetix.core_liquidation_base_mainnet"], "test.synthetix.unique_core_liquidation_base_mainnet_id.876ec280ff": ["model.synthetix.core_liquidation_base_mainnet"], "test.synthetix.not_null_core_liquidation_base_mainnet_contract.cb2b40daff": ["model.synthetix.core_liquidation_base_mainnet"], "test.synthetix.not_null_core_liquidation_base_mainnet_event_name.b9c8609dd4": ["model.synthetix.core_liquidation_base_mainnet"], "test.synthetix.accepted_values_core_liquidation_base_mainnet_event_name__Liquidation.b1c18b74aa": ["model.synthetix.core_liquidation_base_mainnet"], "test.synthetix.not_null_core_liquidation_base_mainnet_collateral_type.c78d491846": ["model.synthetix.core_liquidation_base_mainnet"], "test.synthetix.not_null_core_liquidation_base_mainnet_sender.0c2397ee76": ["model.synthetix.core_liquidation_base_mainnet"], "test.synthetix.not_null_core_liquidation_base_mainnet_account_id.2ddc542a47": ["model.synthetix.core_liquidation_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_account_id__True__0.136053be04": ["model.synthetix.core_liquidation_base_mainnet"], "test.synthetix.not_null_core_liquidation_base_mainnet_transaction_hash.adee36dc81": ["model.synthetix.core_liquidation_base_mainnet"], "test.synthetix.not_null_core_liquidation_base_mainnet_liquidate_as_account_id.b2d7294162": ["model.synthetix.core_liquidation_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_liquidate_as_account_id__True__0.7686495bd9": ["model.synthetix.core_liquidation_base_mainnet"], "test.synthetix.not_null_core_market_updated_base_mainnet_id.bdb44c0b54": ["model.synthetix.core_market_updated_base_mainnet"], "test.synthetix.unique_core_market_updated_base_mainnet_id.b2a5abdd48": ["model.synthetix.core_market_updated_base_mainnet"], "test.synthetix.not_null_core_market_updated_base_mainnet_block_timestamp.648a5f6e8c": ["model.synthetix.core_market_updated_base_mainnet"], "test.synthetix.not_null_core_market_updated_base_mainnet_block_number.e9e83211a7": ["model.synthetix.core_market_updated_base_mainnet"], "test.synthetix.not_null_core_market_updated_base_mainnet_transaction_hash.7b8eb5d77d": ["model.synthetix.core_market_updated_base_mainnet"], "test.synthetix.not_null_core_market_updated_base_mainnet_contract.6d90834e3f": ["model.synthetix.core_market_updated_base_mainnet"], "test.synthetix.not_null_core_market_updated_base_mainnet_event_name.6afe397967": ["model.synthetix.core_market_updated_base_mainnet"], "test.synthetix.accepted_values_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.06e57bf5c5": ["model.synthetix.core_market_updated_base_mainnet"], "test.synthetix.not_null_core_market_updated_base_mainnet_market_id.de78147356": ["model.synthetix.core_market_updated_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_market_id__True__0.ab7b335af7": ["model.synthetix.core_market_updated_base_mainnet"], "test.synthetix.not_null_core_market_updated_base_mainnet_net_issuance.334062f568": ["model.synthetix.core_market_updated_base_mainnet"], "test.synthetix.not_null_core_market_updated_base_mainnet_deposited_collateral_value.905a08bfbb": ["model.synthetix.core_market_updated_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_deposited_collateral_value__True__0.3945f7eca1": ["model.synthetix.core_market_updated_base_mainnet"], "test.synthetix.not_null_core_market_updated_base_mainnet_sender.5b6ff88208": ["model.synthetix.core_market_updated_base_mainnet"], "test.synthetix.not_null_core_market_updated_base_mainnet_collateral_type.6e2d5502d4": ["model.synthetix.core_market_updated_base_mainnet"], "test.synthetix.not_null_core_market_updated_base_mainnet_credit_capacity.4cad1dd5dd": ["model.synthetix.core_market_updated_base_mainnet"], "test.synthetix.not_null_core_market_updated_base_mainnet_token_amount.ce8694585d": ["model.synthetix.core_market_updated_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_token_amount__True__0.159f754b68": ["model.synthetix.core_market_updated_base_mainnet"], "test.synthetix.not_null_core_market_registered_base_mainnet_market.6a5311f9b7": ["model.synthetix.core_market_registered_base_mainnet"], "test.synthetix.not_null_core_market_registered_base_mainnet_market_id.8fa95d0adc": ["model.synthetix.core_market_registered_base_mainnet"], "test.synthetix.unique_core_market_registered_base_mainnet_market_id.e03ba7f671": ["model.synthetix.core_market_registered_base_mainnet"], "test.synthetix.not_null_core_market_registered_base_mainnet_id.58185ba1ad": ["model.synthetix.core_market_registered_base_mainnet"], "test.synthetix.unique_core_market_registered_base_mainnet_id.b0e87b4cdb": ["model.synthetix.core_market_registered_base_mainnet"], "test.synthetix.not_null_core_market_registered_base_mainnet_block_timestamp.41726ce377": ["model.synthetix.core_market_registered_base_mainnet"], "test.synthetix.not_null_core_market_registered_base_mainnet_contract.0187a84f0b": ["model.synthetix.core_market_registered_base_mainnet"], "test.synthetix.not_null_core_market_registered_base_mainnet_transaction_hash.7e49be40a9": ["model.synthetix.core_market_registered_base_mainnet"], "test.synthetix.not_null_core_market_registered_base_mainnet_block_number.14cb004b58": ["model.synthetix.core_market_registered_base_mainnet"], "test.synthetix.not_null_core_market_registered_base_mainnet_event_name.c5054f10bf": ["model.synthetix.core_market_registered_base_mainnet"], "test.synthetix.accepted_values_core_market_registered_base_mainnet_event_name__MarketRegistered.b297851ae7": ["model.synthetix.core_market_registered_base_mainnet"], "test.synthetix.not_null_core_market_registered_base_mainnet_sender.9825c848f6": ["model.synthetix.core_market_registered_base_mainnet"], "test.synthetix.not_null_core_pool_created_base_mainnet_contract.6f3850c4d8": ["model.synthetix.core_pool_created_base_mainnet"], "test.synthetix.not_null_core_pool_created_base_mainnet_sender.0c210116c7": ["model.synthetix.core_pool_created_base_mainnet"], "test.synthetix.not_null_core_pool_created_base_mainnet_block_timestamp.94505d3912": ["model.synthetix.core_pool_created_base_mainnet"], "test.synthetix.not_null_core_pool_created_base_mainnet_id.44cc56adee": ["model.synthetix.core_pool_created_base_mainnet"], "test.synthetix.unique_core_pool_created_base_mainnet_id.f5ca162629": ["model.synthetix.core_pool_created_base_mainnet"], "test.synthetix.not_null_core_pool_created_base_mainnet_block_number.8ef3c64233": ["model.synthetix.core_pool_created_base_mainnet"], "test.synthetix.not_null_core_pool_created_base_mainnet_transaction_hash.88325163ff": ["model.synthetix.core_pool_created_base_mainnet"], "test.synthetix.not_null_core_pool_created_base_mainnet_event_name.0770467455": ["model.synthetix.core_pool_created_base_mainnet"], "test.synthetix.accepted_values_core_pool_created_base_mainnet_event_name__PoolCreated.a1f7123964": ["model.synthetix.core_pool_created_base_mainnet"], "test.synthetix.not_null_core_pool_created_base_mainnet_owner.875044313e": ["model.synthetix.core_pool_created_base_mainnet"], "test.synthetix.not_null_core_pool_created_base_mainnet_pool_id.d63bf41661": ["model.synthetix.core_pool_created_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_pool_created_base_mainnet_pool_id__True__0.39f67d8bfc": ["model.synthetix.core_pool_created_base_mainnet"], "test.synthetix.not_null_core_rewards_claimed_base_mainnet_transaction_hash.b63233ece5": ["model.synthetix.core_rewards_claimed_base_mainnet"], "test.synthetix.not_null_core_rewards_claimed_base_mainnet_account_id.854e016ff9": ["model.synthetix.core_rewards_claimed_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_account_id__True__0.f3a8537aec": ["model.synthetix.core_rewards_claimed_base_mainnet"], "test.synthetix.not_null_core_rewards_claimed_base_mainnet_collateral_type.f4a0d97e20": ["model.synthetix.core_rewards_claimed_base_mainnet"], "test.synthetix.not_null_core_rewards_claimed_base_mainnet_event_name.8699999c22": ["model.synthetix.core_rewards_claimed_base_mainnet"], "test.synthetix.accepted_values_core_rewards_claimed_base_mainnet_event_name__RewardsClaimed.aa2ca50bfd": ["model.synthetix.core_rewards_claimed_base_mainnet"], "test.synthetix.not_null_core_rewards_claimed_base_mainnet_contract.c7544b70ac": ["model.synthetix.core_rewards_claimed_base_mainnet"], "test.synthetix.not_null_core_rewards_claimed_base_mainnet_amount.2d80149737": ["model.synthetix.core_rewards_claimed_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_amount__True__0.d32a48611c": ["model.synthetix.core_rewards_claimed_base_mainnet"], "test.synthetix.not_null_core_rewards_claimed_base_mainnet_distributor.edc7126cd6": ["model.synthetix.core_rewards_claimed_base_mainnet"], "test.synthetix.not_null_core_rewards_claimed_base_mainnet_block_timestamp.365bd8971d": ["model.synthetix.core_rewards_claimed_base_mainnet"], "test.synthetix.not_null_core_rewards_claimed_base_mainnet_id.e1c2a57eae": ["model.synthetix.core_rewards_claimed_base_mainnet"], "test.synthetix.unique_core_rewards_claimed_base_mainnet_id.3e937354d7": ["model.synthetix.core_rewards_claimed_base_mainnet"], "test.synthetix.not_null_core_rewards_claimed_base_mainnet_pool_id.28e40cfefe": ["model.synthetix.core_rewards_claimed_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_pool_id__True__0.4091fd0cb1": ["model.synthetix.core_rewards_claimed_base_mainnet"], "test.synthetix.not_null_core_rewards_claimed_base_mainnet_block_number.4b65195293": ["model.synthetix.core_rewards_claimed_base_mainnet"], "test.synthetix.not_null_core_rewards_distributed_base_mainnet_id.0142695043": ["model.synthetix.core_rewards_distributed_base_mainnet"], "test.synthetix.unique_core_rewards_distributed_base_mainnet_id.8cb2f0871f": ["model.synthetix.core_rewards_distributed_base_mainnet"], "test.synthetix.not_null_core_rewards_distributed_base_mainnet_event_name.16811bbe2c": ["model.synthetix.core_rewards_distributed_base_mainnet"], "test.synthetix.accepted_values_core_rewards_distributed_base_mainnet_event_name__RewardsDistributed.c4ccd15bed": ["model.synthetix.core_rewards_distributed_base_mainnet"], "test.synthetix.not_null_core_rewards_distributed_base_mainnet_amount.2580da873a": ["model.synthetix.core_rewards_distributed_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_amount__True__0.839843f110": ["model.synthetix.core_rewards_distributed_base_mainnet"], "test.synthetix.not_null_core_rewards_distributed_base_mainnet_contract.5545c1884a": ["model.synthetix.core_rewards_distributed_base_mainnet"], "test.synthetix.not_null_core_rewards_distributed_base_mainnet_block_timestamp.3080d49013": ["model.synthetix.core_rewards_distributed_base_mainnet"], "test.synthetix.not_null_core_rewards_distributed_base_mainnet_transaction_hash.bc1d7442f3": ["model.synthetix.core_rewards_distributed_base_mainnet"], "test.synthetix.not_null_core_rewards_distributed_base_mainnet_collateral_type.7253a5e6ec": ["model.synthetix.core_rewards_distributed_base_mainnet"], "test.synthetix.not_null_core_rewards_distributed_base_mainnet_block_number.8a561feed6": ["model.synthetix.core_rewards_distributed_base_mainnet"], "test.synthetix.not_null_core_rewards_distributed_base_mainnet_duration.78ed8fd436": ["model.synthetix.core_rewards_distributed_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_duration__True__0.7efb65f7c3": ["model.synthetix.core_rewards_distributed_base_mainnet"], "test.synthetix.not_null_core_rewards_distributed_base_mainnet_distributor.eb73b71c1b": ["model.synthetix.core_rewards_distributed_base_mainnet"], "test.synthetix.not_null_core_rewards_distributed_base_mainnet_pool_id.8ee087c0fc": ["model.synthetix.core_rewards_distributed_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_pool_id__True__0.7d779ece26": ["model.synthetix.core_rewards_distributed_base_mainnet"], "test.synthetix.not_null_core_usd_burned_base_mainnet_amount.57fdbdea35": ["model.synthetix.core_usd_burned_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_amount__True__0.27adfdbff9": ["model.synthetix.core_usd_burned_base_mainnet"], "test.synthetix.not_null_core_usd_burned_base_mainnet_pool_id.abf28cfdf6": ["model.synthetix.core_usd_burned_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_pool_id__True__0.52120b282a": ["model.synthetix.core_usd_burned_base_mainnet"], "test.synthetix.not_null_core_usd_burned_base_mainnet_event_name.0bb05d75cc": ["model.synthetix.core_usd_burned_base_mainnet"], "test.synthetix.accepted_values_core_usd_burned_base_mainnet_event_name__UsdBurned.9df46c6616": ["model.synthetix.core_usd_burned_base_mainnet"], "test.synthetix.not_null_core_usd_burned_base_mainnet_id.7d6df2e91f": ["model.synthetix.core_usd_burned_base_mainnet"], "test.synthetix.unique_core_usd_burned_base_mainnet_id.5953435682": ["model.synthetix.core_usd_burned_base_mainnet"], "test.synthetix.not_null_core_usd_burned_base_mainnet_block_number.6f683bcb34": ["model.synthetix.core_usd_burned_base_mainnet"], "test.synthetix.not_null_core_usd_burned_base_mainnet_account_id.b4f53ab613": ["model.synthetix.core_usd_burned_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_account_id__True__0.40ca1a8133": ["model.synthetix.core_usd_burned_base_mainnet"], "test.synthetix.not_null_core_usd_burned_base_mainnet_sender.b813be6ecc": ["model.synthetix.core_usd_burned_base_mainnet"], "test.synthetix.not_null_core_usd_burned_base_mainnet_transaction_hash.d80af383d5": ["model.synthetix.core_usd_burned_base_mainnet"], "test.synthetix.not_null_core_usd_burned_base_mainnet_contract.dba51aebb5": ["model.synthetix.core_usd_burned_base_mainnet"], "test.synthetix.not_null_core_usd_burned_base_mainnet_collateral_type.e208105e0e": ["model.synthetix.core_usd_burned_base_mainnet"], "test.synthetix.not_null_core_usd_burned_base_mainnet_block_timestamp.346c53ef95": ["model.synthetix.core_usd_burned_base_mainnet"], "test.synthetix.not_null_core_usd_minted_base_mainnet_pool_id.ee8fc13465": ["model.synthetix.core_usd_minted_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_pool_id__True__0.38a3f5fcf9": ["model.synthetix.core_usd_minted_base_mainnet"], "test.synthetix.not_null_core_usd_minted_base_mainnet_block_timestamp.a004821ccd": ["model.synthetix.core_usd_minted_base_mainnet"], "test.synthetix.not_null_core_usd_minted_base_mainnet_account_id.ccf3e769fe": ["model.synthetix.core_usd_minted_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_account_id__True__0.fd790b59ca": ["model.synthetix.core_usd_minted_base_mainnet"], "test.synthetix.not_null_core_usd_minted_base_mainnet_collateral_type.f8bfd4628e": ["model.synthetix.core_usd_minted_base_mainnet"], "test.synthetix.not_null_core_usd_minted_base_mainnet_block_number.9528b63fbc": ["model.synthetix.core_usd_minted_base_mainnet"], "test.synthetix.not_null_core_usd_minted_base_mainnet_id.9cb007fc5c": ["model.synthetix.core_usd_minted_base_mainnet"], "test.synthetix.unique_core_usd_minted_base_mainnet_id.476f2a0b45": ["model.synthetix.core_usd_minted_base_mainnet"], "test.synthetix.not_null_core_usd_minted_base_mainnet_sender.363a1c6bc9": ["model.synthetix.core_usd_minted_base_mainnet"], "test.synthetix.not_null_core_usd_minted_base_mainnet_amount.196acb6a64": ["model.synthetix.core_usd_minted_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_amount__True__0.1d256007a1": ["model.synthetix.core_usd_minted_base_mainnet"], "test.synthetix.not_null_core_usd_minted_base_mainnet_event_name.33ff07927a": ["model.synthetix.core_usd_minted_base_mainnet"], "test.synthetix.accepted_values_core_usd_minted_base_mainnet_event_name__UsdMinted.62f89abcc8": ["model.synthetix.core_usd_minted_base_mainnet"], "test.synthetix.not_null_core_usd_minted_base_mainnet_transaction_hash.c04da14c24": ["model.synthetix.core_usd_minted_base_mainnet"], "test.synthetix.not_null_core_usd_minted_base_mainnet_contract.f56e539b17": ["model.synthetix.core_usd_minted_base_mainnet"], "test.synthetix.not_null_core_vault_liquidation_base_mainnet_transaction_hash.063cc50ef6": ["model.synthetix.core_vault_liquidation_base_mainnet"], "test.synthetix.not_null_core_vault_liquidation_base_mainnet_collateral_type.e0c76340c5": ["model.synthetix.core_vault_liquidation_base_mainnet"], "test.synthetix.not_null_core_vault_liquidation_base_mainnet_pool_id.4a337176ad": ["model.synthetix.core_vault_liquidation_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_pool_id__True__0.bfc340e4f6": ["model.synthetix.core_vault_liquidation_base_mainnet"], "test.synthetix.not_null_core_vault_liquidation_base_mainnet_event_name.1e10a7bb02": ["model.synthetix.core_vault_liquidation_base_mainnet"], "test.synthetix.accepted_values_core_vault_liquidation_base_mainnet_event_name__VaultLiquidation.b8ea6a7925": ["model.synthetix.core_vault_liquidation_base_mainnet"], "test.synthetix.not_null_core_vault_liquidation_base_mainnet_id.3054417f0f": ["model.synthetix.core_vault_liquidation_base_mainnet"], "test.synthetix.unique_core_vault_liquidation_base_mainnet_id.74bcb7a076": ["model.synthetix.core_vault_liquidation_base_mainnet"], "test.synthetix.not_null_core_vault_liquidation_base_mainnet_block_timestamp.2dca047589": ["model.synthetix.core_vault_liquidation_base_mainnet"], "test.synthetix.not_null_core_vault_liquidation_base_mainnet_liquidate_as_account_id.042bc52396": ["model.synthetix.core_vault_liquidation_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_liquidate_as_account_id__True__0.b04df95186": ["model.synthetix.core_vault_liquidation_base_mainnet"], "test.synthetix.not_null_core_vault_liquidation_base_mainnet_liquidation_data.be698b5245": ["model.synthetix.core_vault_liquidation_base_mainnet"], "test.synthetix.not_null_core_vault_liquidation_base_mainnet_contract.d5acf50762": ["model.synthetix.core_vault_liquidation_base_mainnet"], "test.synthetix.not_null_core_vault_liquidation_base_mainnet_block_number.667cea546c": ["model.synthetix.core_vault_liquidation_base_mainnet"], "test.synthetix.not_null_core_vault_liquidation_base_mainnet_sender.512fed362a": ["model.synthetix.core_vault_liquidation_base_mainnet"], "test.synthetix.not_null_core_vault_collateral_base_mainnet_ts.a02f87cd0d": ["model.synthetix.core_vault_collateral_base_mainnet"], "test.synthetix.not_null_core_vault_collateral_base_mainnet_block_number.6eaab21095": ["model.synthetix.core_vault_collateral_base_mainnet"], "test.synthetix.not_null_core_vault_collateral_base_mainnet_pool_id.e1a826b5b2": ["model.synthetix.core_vault_collateral_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_pool_id__True__0.c52772c114": ["model.synthetix.core_vault_collateral_base_mainnet"], "test.synthetix.not_null_core_vault_collateral_base_mainnet_collateral_type.bef58af2ef": ["model.synthetix.core_vault_collateral_base_mainnet"], "test.synthetix.not_null_core_vault_collateral_base_mainnet_amount.45536133a9": ["model.synthetix.core_vault_collateral_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_amount__True__0.9e07833bf5": ["model.synthetix.core_vault_collateral_base_mainnet"], "test.synthetix.not_null_core_vault_collateral_base_mainnet_collateral_value.5805db9c59": ["model.synthetix.core_vault_collateral_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_collateral_value__True__0.7350cb66f7": ["model.synthetix.core_vault_collateral_base_mainnet"], "test.synthetix.not_null_core_vault_collateral_base_mainnet_contract_address.bc7a096c7d": ["model.synthetix.core_vault_collateral_base_mainnet"], "test.synthetix.not_null_core_vault_debt_base_mainnet_ts.fc19d225e3": ["model.synthetix.core_vault_debt_base_mainnet"], "test.synthetix.not_null_core_vault_debt_base_mainnet_block_number.bd4478b322": ["model.synthetix.core_vault_debt_base_mainnet"], "test.synthetix.not_null_core_vault_debt_base_mainnet_pool_id.e33ea26a56": ["model.synthetix.core_vault_debt_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_core_vault_debt_base_mainnet_pool_id__True__0.583a0abe4f": ["model.synthetix.core_vault_debt_base_mainnet"], "test.synthetix.not_null_core_vault_debt_base_mainnet_collateral_type.e3f9b96478": ["model.synthetix.core_vault_debt_base_mainnet"], "test.synthetix.not_null_core_vault_debt_base_mainnet_debt.922a67baf4": ["model.synthetix.core_vault_debt_base_mainnet"], "test.synthetix.not_null_core_vault_debt_base_mainnet_contract_address.f2b82344e4": ["model.synthetix.core_vault_debt_base_mainnet"], "test.synthetix.not_null_spot_order_committed_base_mainnet_id.4e7c563b12": ["model.synthetix.spot_order_committed_base_mainnet"], "test.synthetix.unique_spot_order_committed_base_mainnet_id.ebe225e3c1": ["model.synthetix.spot_order_committed_base_mainnet"], "test.synthetix.not_null_spot_order_committed_base_mainnet_event_name.dc08478d35": ["model.synthetix.spot_order_committed_base_mainnet"], "test.synthetix.accepted_values_spot_order_committed_base_mainnet_event_name__OrderCommitted.7219cd261b": ["model.synthetix.spot_order_committed_base_mainnet"], "test.synthetix.not_null_spot_order_committed_base_mainnet_sender.fcb2f6b8e6": ["model.synthetix.spot_order_committed_base_mainnet"], "test.synthetix.not_null_spot_order_committed_base_mainnet_block_timestamp.b355df469e": ["model.synthetix.spot_order_committed_base_mainnet"], "test.synthetix.not_null_spot_order_committed_base_mainnet_referrer.773110510c": ["model.synthetix.spot_order_committed_base_mainnet"], "test.synthetix.not_null_spot_order_committed_base_mainnet_amount_provided.99b6d3d7c6": ["model.synthetix.spot_order_committed_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_mainnet_amount_provided__True__0.9f6ff0bd95": ["model.synthetix.spot_order_committed_base_mainnet"], "test.synthetix.not_null_spot_order_committed_base_mainnet_transaction_hash.bf2697d39d": ["model.synthetix.spot_order_committed_base_mainnet"], "test.synthetix.not_null_spot_order_committed_base_mainnet_contract.2711d7c5f2": ["model.synthetix.spot_order_committed_base_mainnet"], "test.synthetix.not_null_spot_order_committed_base_mainnet_market_id.eb878589ce": ["model.synthetix.spot_order_committed_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_mainnet_market_id__True__0.d412907ad8": ["model.synthetix.spot_order_committed_base_mainnet"], "test.synthetix.not_null_spot_order_committed_base_mainnet_block_number.b73840a782": ["model.synthetix.spot_order_committed_base_mainnet"], "test.synthetix.not_null_spot_order_committed_base_mainnet_order_type.af8cf04472": ["model.synthetix.spot_order_committed_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_final_order_amount__True__0.285227b4ad": ["model.synthetix.spot_order_settled_base_mainnet"], "test.synthetix.not_null_spot_order_settled_base_mainnet_settler.32eafc3529": ["model.synthetix.spot_order_settled_base_mainnet"], "test.synthetix.not_null_spot_order_settled_base_mainnet_block_number.0da3f5f83c": ["model.synthetix.spot_order_settled_base_mainnet"], "test.synthetix.not_null_spot_order_settled_base_mainnet_transaction_hash.cc03e5396c": ["model.synthetix.spot_order_settled_base_mainnet"], "test.synthetix.not_null_spot_order_settled_base_mainnet_block_timestamp.d6a06e33d2": ["model.synthetix.spot_order_settled_base_mainnet"], "test.synthetix.not_null_spot_order_settled_base_mainnet_id.bee9f4adc9": ["model.synthetix.spot_order_settled_base_mainnet"], "test.synthetix.unique_spot_order_settled_base_mainnet_id.3552e2a2e6": ["model.synthetix.spot_order_settled_base_mainnet"], "test.synthetix.not_null_spot_order_settled_base_mainnet_order_type.0e7f500a0a": ["model.synthetix.spot_order_settled_base_mainnet"], "test.synthetix.not_null_spot_order_settled_base_mainnet_contract.901410d0f9": ["model.synthetix.spot_order_settled_base_mainnet"], "test.synthetix.not_null_spot_order_settled_base_mainnet_price.a8065724a1": ["model.synthetix.spot_order_settled_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_price__True__0.a69aaf95b9": ["model.synthetix.spot_order_settled_base_mainnet"], "test.synthetix.not_null_spot_order_settled_base_mainnet_market_id.ea53981200": ["model.synthetix.spot_order_settled_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_market_id__True__0.57e7a4e22d": ["model.synthetix.spot_order_settled_base_mainnet"], "test.synthetix.not_null_spot_order_settled_base_mainnet_collected_fees.f0d64ac401": ["model.synthetix.spot_order_settled_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_collected_fees__True__0.d7bd810890": ["model.synthetix.spot_order_settled_base_mainnet"], "test.synthetix.not_null_spot_order_settled_base_mainnet_event_name.b99840eec6": ["model.synthetix.spot_order_settled_base_mainnet"], "test.synthetix.accepted_values_spot_order_settled_base_mainnet_event_name__OrderSettled.30376f4577": ["model.synthetix.spot_order_settled_base_mainnet"], "test.synthetix.not_null_spot_order_cancelled_base_mainnet_id.5486ce1cb2": ["model.synthetix.spot_order_cancelled_base_mainnet"], "test.synthetix.unique_spot_order_cancelled_base_mainnet_id.5ac9e5a86c": ["model.synthetix.spot_order_cancelled_base_mainnet"], "test.synthetix.not_null_spot_order_cancelled_base_mainnet_block_timestamp.81016bb88f": ["model.synthetix.spot_order_cancelled_base_mainnet"], "test.synthetix.not_null_spot_order_cancelled_base_mainnet_transaction_hash.524e2820c0": ["model.synthetix.spot_order_cancelled_base_mainnet"], "test.synthetix.not_null_spot_order_cancelled_base_mainnet_sender.666cd271e1": ["model.synthetix.spot_order_cancelled_base_mainnet"], "test.synthetix.not_null_spot_order_cancelled_base_mainnet_contract.b45f673add": ["model.synthetix.spot_order_cancelled_base_mainnet"], "test.synthetix.not_null_spot_order_cancelled_base_mainnet_event_name.75d1cf92ef": ["model.synthetix.spot_order_cancelled_base_mainnet"], "test.synthetix.accepted_values_spot_order_cancelled_base_mainnet_event_name__OrderCancelled.468b0aa5ec": ["model.synthetix.spot_order_cancelled_base_mainnet"], "test.synthetix.not_null_spot_order_cancelled_base_mainnet_market_id.3d2e9d2ba5": ["model.synthetix.spot_order_cancelled_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_base_mainnet_market_id__True__0.9edddeabb3": ["model.synthetix.spot_order_cancelled_base_mainnet"], "test.synthetix.not_null_spot_order_cancelled_base_mainnet_block_number.59e7d43c87": ["model.synthetix.spot_order_cancelled_base_mainnet"], "test.synthetix.not_null_spot_synth_registered_base_mainnet_id.9f21a7f761": ["model.synthetix.spot_synth_registered_base_mainnet"], "test.synthetix.unique_spot_synth_registered_base_mainnet_id.81eda4804d": ["model.synthetix.spot_synth_registered_base_mainnet"], "test.synthetix.not_null_spot_synth_registered_base_mainnet_block_timestamp.9fcd6d9ec6": ["model.synthetix.spot_synth_registered_base_mainnet"], "test.synthetix.not_null_spot_synth_registered_base_mainnet_synth_market_id.97f70d1e33": ["model.synthetix.spot_synth_registered_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_base_mainnet_synth_market_id__True__0.289066bb62": ["model.synthetix.spot_synth_registered_base_mainnet"], "test.synthetix.not_null_spot_synth_registered_base_mainnet_block_number.fb558416fb": ["model.synthetix.spot_synth_registered_base_mainnet"], "test.synthetix.not_null_spot_synth_registered_base_mainnet_contract.a1096e5fd9": ["model.synthetix.spot_synth_registered_base_mainnet"], "test.synthetix.not_null_spot_synth_registered_base_mainnet_synth_token_address.f2f086a15a": ["model.synthetix.spot_synth_registered_base_mainnet"], "test.synthetix.not_null_spot_synth_registered_base_mainnet_event_name.6d850cc54d": ["model.synthetix.spot_synth_registered_base_mainnet"], "test.synthetix.accepted_values_spot_synth_registered_base_mainnet_event_name__SynthRegistered.5528c05ba2": ["model.synthetix.spot_synth_registered_base_mainnet"], "test.synthetix.not_null_spot_synth_registered_base_mainnet_transaction_hash.7e53d9e7f0": ["model.synthetix.spot_synth_registered_base_mainnet"], "test.synthetix.not_null_spot_synth_bought_base_mainnet_collected_fees.d9c17c84f7": ["model.synthetix.spot_synth_bought_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_collected_fees__True__0.3fcb3fda3a": ["model.synthetix.spot_synth_bought_base_mainnet"], "test.synthetix.not_null_spot_synth_bought_base_mainnet_transaction_hash.1e8279de09": ["model.synthetix.spot_synth_bought_base_mainnet"], "test.synthetix.not_null_spot_synth_bought_base_mainnet_synth_market_id.32145e8cb4": ["model.synthetix.spot_synth_bought_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_synth_market_id__True__0.e3b9a2a2bf": ["model.synthetix.spot_synth_bought_base_mainnet"], "test.synthetix.not_null_spot_synth_bought_base_mainnet_block_number.afabe746ef": ["model.synthetix.spot_synth_bought_base_mainnet"], "test.synthetix.not_null_spot_synth_bought_base_mainnet_block_timestamp.5044e48413": ["model.synthetix.spot_synth_bought_base_mainnet"], "test.synthetix.not_null_spot_synth_bought_base_mainnet_id.f9e555c962": ["model.synthetix.spot_synth_bought_base_mainnet"], "test.synthetix.unique_spot_synth_bought_base_mainnet_id.e00678ebae": ["model.synthetix.spot_synth_bought_base_mainnet"], "test.synthetix.not_null_spot_synth_bought_base_mainnet_price.f59f9c339a": ["model.synthetix.spot_synth_bought_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_price__True__0.e25fbf2240": ["model.synthetix.spot_synth_bought_base_mainnet"], "test.synthetix.not_null_spot_synth_bought_base_mainnet_contract.d6d311c160": ["model.synthetix.spot_synth_bought_base_mainnet"], "test.synthetix.not_null_spot_synth_bought_base_mainnet_referrer.3b61ce852c": ["model.synthetix.spot_synth_bought_base_mainnet"], "test.synthetix.not_null_spot_synth_bought_base_mainnet_event_name.8a35f2634d": ["model.synthetix.spot_synth_bought_base_mainnet"], "test.synthetix.accepted_values_spot_synth_bought_base_mainnet_event_name__SynthBought.7302486ec0": ["model.synthetix.spot_synth_bought_base_mainnet"], "test.synthetix.not_null_spot_synth_sold_base_mainnet_event_name.f76ff966dc": ["model.synthetix.spot_synth_sold_base_mainnet"], "test.synthetix.accepted_values_spot_synth_sold_base_mainnet_event_name__SynthSold.b1a44748ed": ["model.synthetix.spot_synth_sold_base_mainnet"], "test.synthetix.not_null_spot_synth_sold_base_mainnet_transaction_hash.6957d51d9c": ["model.synthetix.spot_synth_sold_base_mainnet"], "test.synthetix.not_null_spot_synth_sold_base_mainnet_collected_fees.99a85c53ea": ["model.synthetix.spot_synth_sold_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_collected_fees__True__0.6cc814f854": ["model.synthetix.spot_synth_sold_base_mainnet"], "test.synthetix.not_null_spot_synth_sold_base_mainnet_block_timestamp.1713f1d130": ["model.synthetix.spot_synth_sold_base_mainnet"], "test.synthetix.not_null_spot_synth_sold_base_mainnet_referrer.ee678360be": ["model.synthetix.spot_synth_sold_base_mainnet"], "test.synthetix.not_null_spot_synth_sold_base_mainnet_block_number.148bf58e52": ["model.synthetix.spot_synth_sold_base_mainnet"], "test.synthetix.not_null_spot_synth_sold_base_mainnet_price.3d1a702fbb": ["model.synthetix.spot_synth_sold_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_price__True__0.994b9376fd": ["model.synthetix.spot_synth_sold_base_mainnet"], "test.synthetix.not_null_spot_synth_sold_base_mainnet_amount_returned.989a4131c2": ["model.synthetix.spot_synth_sold_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_amount_returned__True__0.250710e6f1": ["model.synthetix.spot_synth_sold_base_mainnet"], "test.synthetix.not_null_spot_synth_sold_base_mainnet_synth_market_id.b7dab5388d": ["model.synthetix.spot_synth_sold_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_synth_market_id__True__0.3ec6dae33c": ["model.synthetix.spot_synth_sold_base_mainnet"], "test.synthetix.not_null_spot_synth_sold_base_mainnet_id.763b711f62": ["model.synthetix.spot_synth_sold_base_mainnet"], "test.synthetix.unique_spot_synth_sold_base_mainnet_id.4cbe90534a": ["model.synthetix.spot_synth_sold_base_mainnet"], "test.synthetix.not_null_spot_synth_sold_base_mainnet_contract.46ddd59981": ["model.synthetix.spot_synth_sold_base_mainnet"], "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_id.7d79ad852d": ["model.synthetix.spot_synth_wrapped_base_mainnet"], "test.synthetix.unique_spot_synth_wrapped_base_mainnet_id.77a4ae72ae": ["model.synthetix.spot_synth_wrapped_base_mainnet"], "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_transaction_hash.9cbd57629d": ["model.synthetix.spot_synth_wrapped_base_mainnet"], "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_synth_market_id.e2b2f4733f": ["model.synthetix.spot_synth_wrapped_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_synth_market_id__True__0.3d7fa017bf": ["model.synthetix.spot_synth_wrapped_base_mainnet"], "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_contract.33e8d1917b": ["model.synthetix.spot_synth_wrapped_base_mainnet"], "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_event_name.1f22f5789b": ["model.synthetix.spot_synth_wrapped_base_mainnet"], "test.synthetix.accepted_values_spot_synth_wrapped_base_mainnet_event_name__SynthWrapped.e81f79edcb": ["model.synthetix.spot_synth_wrapped_base_mainnet"], "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_block_timestamp.66ddebcfe0": ["model.synthetix.spot_synth_wrapped_base_mainnet"], "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_block_number.4bf40252e1": ["model.synthetix.spot_synth_wrapped_base_mainnet"], "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_fees_collected.9a641530e9": ["model.synthetix.spot_synth_wrapped_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_fees_collected__True__0.88e8d792fd": ["model.synthetix.spot_synth_wrapped_base_mainnet"], "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_block_timestamp.0e8329af5c": ["model.synthetix.spot_synth_unwrapped_base_mainnet"], "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped.025e49370b": ["model.synthetix.spot_synth_unwrapped_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_amount_unwrapped__True__0.2e78bc25a2": ["model.synthetix.spot_synth_unwrapped_base_mainnet"], "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_fees_collected.cd35bec369": ["model.synthetix.spot_synth_unwrapped_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_fees_collected__True__0.48d9a0e389": ["model.synthetix.spot_synth_unwrapped_base_mainnet"], "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_event_name.dbfac4a471": ["model.synthetix.spot_synth_unwrapped_base_mainnet"], "test.synthetix.accepted_values_spot_synth_unwrapped_base_mainnet_event_name__SynthUnwrapped.a1713eb60e": ["model.synthetix.spot_synth_unwrapped_base_mainnet"], "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_block_number.81e8f4c2ea": ["model.synthetix.spot_synth_unwrapped_base_mainnet"], "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_transaction_hash.e27a71ff2d": ["model.synthetix.spot_synth_unwrapped_base_mainnet"], "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_contract.cba8e61baa": ["model.synthetix.spot_synth_unwrapped_base_mainnet"], "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_id.cd459ace96": ["model.synthetix.spot_synth_unwrapped_base_mainnet"], "test.synthetix.unique_spot_synth_unwrapped_base_mainnet_id.1256b6907b": ["model.synthetix.spot_synth_unwrapped_base_mainnet"], "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_synth_market_id.47983f606b": ["model.synthetix.spot_synth_unwrapped_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_synth_market_id__True__0.de01d6cd38": ["model.synthetix.spot_synth_unwrapped_base_mainnet"], "test.synthetix.not_null_blocks_base_sepolia_block_number.1adc80fce5": ["model.synthetix.blocks_base_sepolia"], "test.synthetix.unique_blocks_base_sepolia_block_number.b9de81024b": ["model.synthetix.blocks_base_sepolia"], "test.synthetix.dbt_utils_recency_blocks_base_sepolia_hour__ts__1.b4197f397a": ["model.synthetix.blocks_base_sepolia"], "test.synthetix.unique_perp_account_created_base_sepolia_id.d2b0023315": ["model.synthetix.perp_account_created_base_sepolia"], "test.synthetix.not_null_perp_account_created_base_sepolia_id.7da01b5642": ["model.synthetix.perp_account_created_base_sepolia"], "test.synthetix.not_null_perp_account_created_base_sepolia_event_name.d7deee96b5": ["model.synthetix.perp_account_created_base_sepolia"], "test.synthetix.accepted_values_perp_account_created_base_sepolia_event_name__AccountCreated.e5e94f342c": ["model.synthetix.perp_account_created_base_sepolia"], "test.synthetix.not_null_perp_account_created_base_sepolia_block_number.b9729c0627": ["model.synthetix.perp_account_created_base_sepolia"], "test.synthetix.not_null_perp_account_created_base_sepolia_block_timestamp.1f03770bcc": ["model.synthetix.perp_account_created_base_sepolia"], "test.synthetix.not_null_perp_account_created_base_sepolia_owner.31f8eb801c": ["model.synthetix.perp_account_created_base_sepolia"], "test.synthetix.not_null_perp_account_created_base_sepolia_account_id.e2509a45ab": ["model.synthetix.perp_account_created_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_perp_account_created_base_sepolia_account_id__True__0.72ab89cd5f": ["model.synthetix.perp_account_created_base_sepolia"], "test.synthetix.not_null_perp_account_created_base_sepolia_transaction_hash.6324af1adb": ["model.synthetix.perp_account_created_base_sepolia"], "test.synthetix.not_null_perp_account_created_base_sepolia_contract.1b1ec25344": ["model.synthetix.perp_account_created_base_sepolia"], "test.synthetix.unique_perp_order_committed_base_sepolia_id.eb024384af": ["model.synthetix.perp_order_committed_base_sepolia"], "test.synthetix.not_null_perp_order_committed_base_sepolia_id.5b74c78258": ["model.synthetix.perp_order_committed_base_sepolia"], "test.synthetix.not_null_perp_order_committed_base_sepolia_block_number.f3230cc50d": ["model.synthetix.perp_order_committed_base_sepolia"], "test.synthetix.not_null_perp_order_committed_base_sepolia_block_timestamp.192957d40c": ["model.synthetix.perp_order_committed_base_sepolia"], "test.synthetix.not_null_perp_order_committed_base_sepolia_transaction_hash.761f6c5146": ["model.synthetix.perp_order_committed_base_sepolia"], "test.synthetix.not_null_perp_order_committed_base_sepolia_contract.ad38cda3df": ["model.synthetix.perp_order_committed_base_sepolia"], "test.synthetix.not_null_perp_order_committed_base_sepolia_event_name.dc8411b8b1": ["model.synthetix.perp_order_committed_base_sepolia"], "test.synthetix.accepted_values_perp_order_committed_base_sepolia_event_name__OrderCommitted.f236dead5d": ["model.synthetix.perp_order_committed_base_sepolia"], "test.synthetix.not_null_perp_order_committed_base_sepolia_market_id.9c41f762ec": ["model.synthetix.perp_order_committed_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_sepolia_market_id__True__0.6174df8d83": ["model.synthetix.perp_order_committed_base_sepolia"], "test.synthetix.not_null_perp_order_committed_base_sepolia_account_id.e0cc9cd7a0": ["model.synthetix.perp_order_committed_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_sepolia_account_id__True__0.2a5b9bdddf": ["model.synthetix.perp_order_committed_base_sepolia"], "test.synthetix.not_null_perp_order_settled_base_sepolia_contract.03742630fd": ["model.synthetix.perp_order_settled_base_sepolia"], "test.synthetix.not_null_perp_order_settled_base_sepolia_event_name.95d61e9b53": ["model.synthetix.perp_order_settled_base_sepolia"], "test.synthetix.accepted_values_perp_order_settled_base_sepolia_event_name__OrderSettled.b82d60a6cd": ["model.synthetix.perp_order_settled_base_sepolia"], "test.synthetix.not_null_perp_order_settled_base_sepolia_account_id.0505121484": ["model.synthetix.perp_order_settled_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_account_id__True__0.dd4d18c933": ["model.synthetix.perp_order_settled_base_sepolia"], "test.synthetix.not_null_perp_order_settled_base_sepolia_market_id.90e9816e9b": ["model.synthetix.perp_order_settled_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_market_id__True__0.00baab3b06": ["model.synthetix.perp_order_settled_base_sepolia"], "test.synthetix.not_null_perp_order_settled_base_sepolia_collected_fees.19815f72b6": ["model.synthetix.perp_order_settled_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_collected_fees__True__0.cfcb7626da": ["model.synthetix.perp_order_settled_base_sepolia"], "test.synthetix.not_null_perp_order_settled_base_sepolia_transaction_hash.e40380e103": ["model.synthetix.perp_order_settled_base_sepolia"], "test.synthetix.not_null_perp_order_settled_base_sepolia_block_timestamp.8624d8c529": ["model.synthetix.perp_order_settled_base_sepolia"], "test.synthetix.not_null_perp_order_settled_base_sepolia_block_number.723c9f9ccf": ["model.synthetix.perp_order_settled_base_sepolia"], "test.synthetix.unique_perp_order_settled_base_sepolia_id.52c8b658a1": ["model.synthetix.perp_order_settled_base_sepolia"], "test.synthetix.not_null_perp_order_settled_base_sepolia_id.6a51920964": ["model.synthetix.perp_order_settled_base_sepolia"], "test.synthetix.unique_perp_market_updated_base_sepolia_id.5fa0b8a094": ["model.synthetix.perp_market_updated_base_sepolia"], "test.synthetix.not_null_perp_market_updated_base_sepolia_id.c010e8e9d3": ["model.synthetix.perp_market_updated_base_sepolia"], "test.synthetix.not_null_perp_market_updated_base_sepolia_block_number.6d91893cd9": ["model.synthetix.perp_market_updated_base_sepolia"], "test.synthetix.not_null_perp_market_updated_base_sepolia_block_timestamp.eabfe875b1": ["model.synthetix.perp_market_updated_base_sepolia"], "test.synthetix.not_null_perp_market_updated_base_sepolia_transaction_hash.b36ca2219f": ["model.synthetix.perp_market_updated_base_sepolia"], "test.synthetix.not_null_perp_market_updated_base_sepolia_contract.7a798ec958": ["model.synthetix.perp_market_updated_base_sepolia"], "test.synthetix.not_null_perp_market_updated_base_sepolia_event_name.5808660a29": ["model.synthetix.perp_market_updated_base_sepolia"], "test.synthetix.accepted_values_perp_market_updated_base_sepolia_event_name__MarketUpdated.6507eaa7c6": ["model.synthetix.perp_market_updated_base_sepolia"], "test.synthetix.not_null_perp_market_updated_base_sepolia_market_id.1d15a36e0c": ["model.synthetix.perp_market_updated_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_market_id__True__0.2aed99d0b6": ["model.synthetix.perp_market_updated_base_sepolia"], "test.synthetix.not_null_perp_market_updated_base_sepolia_price.821df5b6b3": ["model.synthetix.perp_market_updated_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_price__True__0.4f4858e59f": ["model.synthetix.perp_market_updated_base_sepolia"], "test.synthetix.not_null_perp_market_updated_base_sepolia_interest_rate.20f815f06a": ["model.synthetix.perp_market_updated_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_interest_rate__True__0.82fe5b32f6": ["model.synthetix.perp_market_updated_base_sepolia"], "test.synthetix.not_null_perp_position_liquidated_base_sepolia_account_id.8e9f2c1b4b": ["model.synthetix.perp_position_liquidated_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_account_id__True__0.a60e1cbb90": ["model.synthetix.perp_position_liquidated_base_sepolia"], "test.synthetix.not_null_perp_position_liquidated_base_sepolia_market_id.6c389de6f5": ["model.synthetix.perp_position_liquidated_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_market_id__True__0.c5145fd027": ["model.synthetix.perp_position_liquidated_base_sepolia"], "test.synthetix.unique_perp_position_liquidated_base_sepolia_id.e92f27d6e6": ["model.synthetix.perp_position_liquidated_base_sepolia"], "test.synthetix.not_null_perp_position_liquidated_base_sepolia_id.985f2af114": ["model.synthetix.perp_position_liquidated_base_sepolia"], "test.synthetix.not_null_perp_position_liquidated_base_sepolia_transaction_hash.b180fd2627": ["model.synthetix.perp_position_liquidated_base_sepolia"], "test.synthetix.not_null_perp_position_liquidated_base_sepolia_current_position_size.f98475edcb": ["model.synthetix.perp_position_liquidated_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_current_position_size__True__0.cf9da7d717": ["model.synthetix.perp_position_liquidated_base_sepolia"], "test.synthetix.not_null_perp_position_liquidated_base_sepolia_event_name.1d2d01fa50": ["model.synthetix.perp_position_liquidated_base_sepolia"], "test.synthetix.accepted_values_perp_position_liquidated_base_sepolia_event_name__PositionLiquidated.e07d1e03f2": ["model.synthetix.perp_position_liquidated_base_sepolia"], "test.synthetix.not_null_perp_position_liquidated_base_sepolia_block_number.d05dfab674": ["model.synthetix.perp_position_liquidated_base_sepolia"], "test.synthetix.not_null_perp_position_liquidated_base_sepolia_amount_liquidated.c878a441e1": ["model.synthetix.perp_position_liquidated_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_amount_liquidated__True__0.20b97e678b": ["model.synthetix.perp_position_liquidated_base_sepolia"], "test.synthetix.not_null_perp_position_liquidated_base_sepolia_contract.0a66db5700": ["model.synthetix.perp_position_liquidated_base_sepolia"], "test.synthetix.not_null_perp_position_liquidated_base_sepolia_block_timestamp.1700de694b": ["model.synthetix.perp_position_liquidated_base_sepolia"], "test.synthetix.unique_perp_account_liquidation_attempt_base_sepolia_id.64895ed40b": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"], "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_id.fa21a229e8": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"], "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_account_id.72dba0b474": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_account_id__True__0.d9d7f88802": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"], "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_block_number.c00ff06028": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"], "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_reward.41da25d087": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_reward__True__0.d1fe263182": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"], "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_block_timestamp.b212643602": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"], "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_contract.5a7ac10d9d": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"], "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_event_name.5a524744d4": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"], "test.synthetix.accepted_values_perp_account_liquidation_attempt_base_sepolia_event_name__AccountLiquidationAttempt.7e035fbfbd": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"], "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_transaction_hash.18ed9c33a9": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"], "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_full_liquidation.4544a98926": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"], "test.synthetix.not_null_perp_collateral_modified_base_sepolia_block_timestamp.a0b63e8833": ["model.synthetix.perp_collateral_modified_base_sepolia"], "test.synthetix.not_null_perp_collateral_modified_base_sepolia_contract.c669409e90": ["model.synthetix.perp_collateral_modified_base_sepolia"], "test.synthetix.not_null_perp_collateral_modified_base_sepolia_event_name.05505fea35": ["model.synthetix.perp_collateral_modified_base_sepolia"], "test.synthetix.accepted_values_perp_collateral_modified_base_sepolia_event_name__CollateralModified.35bbd5a11f": ["model.synthetix.perp_collateral_modified_base_sepolia"], "test.synthetix.not_null_perp_collateral_modified_base_sepolia_block_number.5818313783": ["model.synthetix.perp_collateral_modified_base_sepolia"], "test.synthetix.not_null_perp_collateral_modified_base_sepolia_synth_market_id.6b585142fd": ["model.synthetix.perp_collateral_modified_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_synth_market_id__True__0.e6426004ec": ["model.synthetix.perp_collateral_modified_base_sepolia"], "test.synthetix.unique_perp_collateral_modified_base_sepolia_id.df76a33926": ["model.synthetix.perp_collateral_modified_base_sepolia"], "test.synthetix.not_null_perp_collateral_modified_base_sepolia_id.0306c59b13": ["model.synthetix.perp_collateral_modified_base_sepolia"], "test.synthetix.not_null_perp_collateral_modified_base_sepolia_sender.c5a5dbc794": ["model.synthetix.perp_collateral_modified_base_sepolia"], "test.synthetix.not_null_perp_collateral_modified_base_sepolia_account_id.41a4ca06b6": ["model.synthetix.perp_collateral_modified_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_account_id__True__0.4061e8095e": ["model.synthetix.perp_collateral_modified_base_sepolia"], "test.synthetix.not_null_perp_collateral_modified_base_sepolia_transaction_hash.ccfe215417": ["model.synthetix.perp_collateral_modified_base_sepolia"], "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_block_timestamp.2056bbf796": ["model.synthetix.perp_previous_order_expired_base_sepolia"], "test.synthetix.unique_perp_previous_order_expired_base_sepolia_id.a9c841c5f7": ["model.synthetix.perp_previous_order_expired_base_sepolia"], "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_id.35380c8364": ["model.synthetix.perp_previous_order_expired_base_sepolia"], "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_block_number.b44f0bbf4b": ["model.synthetix.perp_previous_order_expired_base_sepolia"], "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_market_id.c3963e0426": ["model.synthetix.perp_previous_order_expired_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_market_id__True__0.92c22b0d98": ["model.synthetix.perp_previous_order_expired_base_sepolia"], "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_event_name.94027cf5fd": ["model.synthetix.perp_previous_order_expired_base_sepolia"], "test.synthetix.accepted_values_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired.1a5af6cb8b": ["model.synthetix.perp_previous_order_expired_base_sepolia"], "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_transaction_hash.47402badfc": ["model.synthetix.perp_previous_order_expired_base_sepolia"], "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_account_id.358a8acfe7": ["model.synthetix.perp_previous_order_expired_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_account_id__True__0.7ed9f71601": ["model.synthetix.perp_previous_order_expired_base_sepolia"], "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_contract.d5ae4c2080": ["model.synthetix.perp_previous_order_expired_base_sepolia"], "test.synthetix.not_null_perp_market_created_base_sepolia_market_name.2335002c7c": ["model.synthetix.perp_market_created_base_sepolia"], "test.synthetix.unique_perp_market_created_base_sepolia_id.9af5f482a3": ["model.synthetix.perp_market_created_base_sepolia"], "test.synthetix.not_null_perp_market_created_base_sepolia_id.3651be9d50": ["model.synthetix.perp_market_created_base_sepolia"], "test.synthetix.not_null_perp_market_created_base_sepolia_market_symbol.b99df1cd19": ["model.synthetix.perp_market_created_base_sepolia"], "test.synthetix.not_null_perp_market_created_base_sepolia_event_name.594bfb776d": ["model.synthetix.perp_market_created_base_sepolia"], "test.synthetix.accepted_values_perp_market_created_base_sepolia_event_name__MarketCreated.da7f65c9d0": ["model.synthetix.perp_market_created_base_sepolia"], "test.synthetix.not_null_perp_market_created_base_sepolia_block_number.f39a76515f": ["model.synthetix.perp_market_created_base_sepolia"], "test.synthetix.not_null_perp_market_created_base_sepolia_block_timestamp.087de488f9": ["model.synthetix.perp_market_created_base_sepolia"], "test.synthetix.not_null_perp_market_created_base_sepolia_contract.9b5b7d63ca": ["model.synthetix.perp_market_created_base_sepolia"], "test.synthetix.not_null_perp_market_created_base_sepolia_perps_market_id.30bf02bc46": ["model.synthetix.perp_market_created_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_perp_market_created_base_sepolia_perps_market_id__True__0.89e2162ed5": ["model.synthetix.perp_market_created_base_sepolia"], "test.synthetix.not_null_perp_market_created_base_sepolia_transaction_hash.83d1940949": ["model.synthetix.perp_market_created_base_sepolia"], "test.synthetix.not_null_perp_interest_charged_base_sepolia_event_name.7088270e38": ["model.synthetix.perp_interest_charged_base_sepolia"], "test.synthetix.accepted_values_perp_interest_charged_base_sepolia_event_name__InterestCharged.b607f55a72": ["model.synthetix.perp_interest_charged_base_sepolia"], "test.synthetix.not_null_perp_interest_charged_base_sepolia_contract.ad4bd5bb4b": ["model.synthetix.perp_interest_charged_base_sepolia"], "test.synthetix.not_null_perp_interest_charged_base_sepolia_transaction_hash.7d20550a93": ["model.synthetix.perp_interest_charged_base_sepolia"], "test.synthetix.not_null_perp_interest_charged_base_sepolia_block_timestamp.6723ccf2f9": ["model.synthetix.perp_interest_charged_base_sepolia"], "test.synthetix.unique_perp_interest_charged_base_sepolia_id.7023b7407d": ["model.synthetix.perp_interest_charged_base_sepolia"], "test.synthetix.not_null_perp_interest_charged_base_sepolia_id.a8d5a81503": ["model.synthetix.perp_interest_charged_base_sepolia"], "test.synthetix.not_null_perp_interest_charged_base_sepolia_block_number.e9b7b9cd80": ["model.synthetix.perp_interest_charged_base_sepolia"], "test.synthetix.not_null_perp_interest_charged_base_sepolia_account_id.ec1ea115af": ["model.synthetix.perp_interest_charged_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_base_sepolia_account_id__True__0.7595935b71": ["model.synthetix.perp_interest_charged_base_sepolia"], "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_block_timestamp.609017baeb": ["model.synthetix.perp_interest_rate_updated_base_sepolia"], "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_event_name.30275ad446": ["model.synthetix.perp_interest_rate_updated_base_sepolia"], "test.synthetix.accepted_values_perp_interest_rate_updated_base_sepolia_event_name__InterestRateUpdated.5d317c53f3": ["model.synthetix.perp_interest_rate_updated_base_sepolia"], "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_transaction_hash.3601647535": ["model.synthetix.perp_interest_rate_updated_base_sepolia"], "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_interest_rate.7f5f7342cd": ["model.synthetix.perp_interest_rate_updated_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_interest_rate__True__0.c114557661": ["model.synthetix.perp_interest_rate_updated_base_sepolia"], "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_block_number.eeff2c078a": ["model.synthetix.perp_interest_rate_updated_base_sepolia"], "test.synthetix.unique_perp_interest_rate_updated_base_sepolia_id.2295efc83a": ["model.synthetix.perp_interest_rate_updated_base_sepolia"], "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_id.24c18054e7": ["model.synthetix.perp_interest_rate_updated_base_sepolia"], "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_contract.ccc079c59c": ["model.synthetix.perp_interest_rate_updated_base_sepolia"], "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_super_market_id.68b732b580": ["model.synthetix.perp_interest_rate_updated_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_super_market_id__True__0.cc3fb6ff17": ["model.synthetix.perp_interest_rate_updated_base_sepolia"], "test.synthetix.not_null_buyback_processed_base_sepolia_id.e10820e4d2": ["model.synthetix.buyback_processed_base_sepolia"], "test.synthetix.unique_buyback_processed_base_sepolia_id.c3e20dc22e": ["model.synthetix.buyback_processed_base_sepolia"], "test.synthetix.not_null_buyback_processed_base_sepolia_block_number.73166259d7": ["model.synthetix.buyback_processed_base_sepolia"], "test.synthetix.not_null_buyback_processed_base_sepolia_block_timestamp.c83a09ad33": ["model.synthetix.buyback_processed_base_sepolia"], "test.synthetix.not_null_buyback_processed_base_sepolia_transaction_hash.a38d34613b": ["model.synthetix.buyback_processed_base_sepolia"], "test.synthetix.not_null_buyback_processed_base_sepolia_event_name.755deb59b2": ["model.synthetix.buyback_processed_base_sepolia"], "test.synthetix.accepted_values_buyback_processed_base_sepolia_event_name__BuybackProcessed.16f3176222": ["model.synthetix.buyback_processed_base_sepolia"], "test.synthetix.not_null_buyback_processed_base_sepolia_contract.b27543f734": ["model.synthetix.buyback_processed_base_sepolia"], "test.synthetix.not_null_buyback_processed_base_sepolia_buyer.4fd04cc021": ["model.synthetix.buyback_processed_base_sepolia"], "test.synthetix.not_null_buyback_processed_base_sepolia_snx.52b876a9f7": ["model.synthetix.buyback_processed_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_sepolia_snx__True__0.628aa3b85b": ["model.synthetix.buyback_processed_base_sepolia"], "test.synthetix.not_null_buyback_processed_base_sepolia_usd.397135feed": ["model.synthetix.buyback_processed_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_sepolia_usd__True__0.f23761f17f": ["model.synthetix.buyback_processed_base_sepolia"], "test.synthetix.not_null_core_account_created_base_sepolia_owner.adee48eb04": ["model.synthetix.core_account_created_base_sepolia"], "test.synthetix.not_null_core_account_created_base_sepolia_account_id.fb36b0b793": ["model.synthetix.core_account_created_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_account_created_base_sepolia_account_id__True__0.dd17e6e171": ["model.synthetix.core_account_created_base_sepolia"], "test.synthetix.not_null_core_account_created_base_sepolia_id.804b852bd8": ["model.synthetix.core_account_created_base_sepolia"], "test.synthetix.unique_core_account_created_base_sepolia_id.3342caea87": ["model.synthetix.core_account_created_base_sepolia"], "test.synthetix.not_null_core_account_created_base_sepolia_transaction_hash.53f2200f19": ["model.synthetix.core_account_created_base_sepolia"], "test.synthetix.not_null_core_account_created_base_sepolia_block_number.01a77f24bc": ["model.synthetix.core_account_created_base_sepolia"], "test.synthetix.not_null_core_account_created_base_sepolia_block_timestamp.56ac347427": ["model.synthetix.core_account_created_base_sepolia"], "test.synthetix.not_null_core_account_created_base_sepolia_event_name.4849c8704e": ["model.synthetix.core_account_created_base_sepolia"], "test.synthetix.accepted_values_core_account_created_base_sepolia_event_name__AccountCreated.419b9196c4": ["model.synthetix.core_account_created_base_sepolia"], "test.synthetix.not_null_core_account_created_base_sepolia_contract.53ca26628e": ["model.synthetix.core_account_created_base_sepolia"], "test.synthetix.not_null_core_delegation_updated_base_sepolia_contract.f5b6f539eb": ["model.synthetix.core_delegation_updated_base_sepolia"], "test.synthetix.not_null_core_delegation_updated_base_sepolia_id.dcd3b41380": ["model.synthetix.core_delegation_updated_base_sepolia"], "test.synthetix.unique_core_delegation_updated_base_sepolia_id.09af5f863a": ["model.synthetix.core_delegation_updated_base_sepolia"], "test.synthetix.not_null_core_delegation_updated_base_sepolia_account_id.eeaa67ead3": ["model.synthetix.core_delegation_updated_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_account_id__True__0.744442e3e1": ["model.synthetix.core_delegation_updated_base_sepolia"], "test.synthetix.not_null_core_delegation_updated_base_sepolia_collateral_type.0ccc2f8e54": ["model.synthetix.core_delegation_updated_base_sepolia"], "test.synthetix.not_null_core_delegation_updated_base_sepolia_pool_id.8e7b343725": ["model.synthetix.core_delegation_updated_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_pool_id__True__0.76dffc3ab3": ["model.synthetix.core_delegation_updated_base_sepolia"], "test.synthetix.not_null_core_delegation_updated_base_sepolia_sender.ff059463dc": ["model.synthetix.core_delegation_updated_base_sepolia"], "test.synthetix.not_null_core_delegation_updated_base_sepolia_block_timestamp.d9e4249b7d": ["model.synthetix.core_delegation_updated_base_sepolia"], "test.synthetix.not_null_core_delegation_updated_base_sepolia_block_number.d1ae1c451b": ["model.synthetix.core_delegation_updated_base_sepolia"], "test.synthetix.not_null_core_delegation_updated_base_sepolia_leverage.b016b358da": ["model.synthetix.core_delegation_updated_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_leverage__True__1000000000000000000__1000000000000000000.bc25b2b948": ["model.synthetix.core_delegation_updated_base_sepolia"], "test.synthetix.not_null_core_delegation_updated_base_sepolia_transaction_hash.403e1a44d0": ["model.synthetix.core_delegation_updated_base_sepolia"], "test.synthetix.not_null_core_delegation_updated_base_sepolia_amount.b946bd0b57": ["model.synthetix.core_delegation_updated_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_amount__True__0.c17a0b7ccb": ["model.synthetix.core_delegation_updated_base_sepolia"], "test.synthetix.not_null_core_delegation_updated_base_sepolia_event_name.1eb3a277fa": ["model.synthetix.core_delegation_updated_base_sepolia"], "test.synthetix.accepted_values_core_delegation_updated_base_sepolia_event_name__DelegationUpdated.05fda2d1e2": ["model.synthetix.core_delegation_updated_base_sepolia"], "test.synthetix.not_null_core_deposited_base_sepolia_collateral_type.a340ec02eb": ["model.synthetix.core_deposited_base_sepolia"], "test.synthetix.not_null_core_deposited_base_sepolia_id.0591da203f": ["model.synthetix.core_deposited_base_sepolia"], "test.synthetix.unique_core_deposited_base_sepolia_id.3b38f638da": ["model.synthetix.core_deposited_base_sepolia"], "test.synthetix.not_null_core_deposited_base_sepolia_contract.8dbc5afa3f": ["model.synthetix.core_deposited_base_sepolia"], "test.synthetix.not_null_core_deposited_base_sepolia_event_name.b7ccc83970": ["model.synthetix.core_deposited_base_sepolia"], "test.synthetix.accepted_values_core_deposited_base_sepolia_event_name__Deposited.2befe04139": ["model.synthetix.core_deposited_base_sepolia"], "test.synthetix.not_null_core_deposited_base_sepolia_transaction_hash.305ad04c84": ["model.synthetix.core_deposited_base_sepolia"], "test.synthetix.not_null_core_deposited_base_sepolia_account_id.d414fa2a62": ["model.synthetix.core_deposited_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_deposited_base_sepolia_account_id__True__0.7619844d60": ["model.synthetix.core_deposited_base_sepolia"], "test.synthetix.not_null_core_deposited_base_sepolia_sender.0468b8397d": ["model.synthetix.core_deposited_base_sepolia"], "test.synthetix.not_null_core_deposited_base_sepolia_block_timestamp.cbbc8b2a2e": ["model.synthetix.core_deposited_base_sepolia"], "test.synthetix.not_null_core_deposited_base_sepolia_block_number.e9986d7fcf": ["model.synthetix.core_deposited_base_sepolia"], "test.synthetix.not_null_core_deposited_base_sepolia_token_amount.af75bc1896": ["model.synthetix.core_deposited_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_deposited_base_sepolia_token_amount__True__0.266baf687b": ["model.synthetix.core_deposited_base_sepolia"], "test.synthetix.not_null_core_withdrawn_base_sepolia_block_timestamp.276176a645": ["model.synthetix.core_withdrawn_base_sepolia"], "test.synthetix.not_null_core_withdrawn_base_sepolia_contract.9a643890c5": ["model.synthetix.core_withdrawn_base_sepolia"], "test.synthetix.not_null_core_withdrawn_base_sepolia_block_number.b38561efe3": ["model.synthetix.core_withdrawn_base_sepolia"], "test.synthetix.not_null_core_withdrawn_base_sepolia_transaction_hash.ea6432763a": ["model.synthetix.core_withdrawn_base_sepolia"], "test.synthetix.not_null_core_withdrawn_base_sepolia_token_amount.3582c76f95": ["model.synthetix.core_withdrawn_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_sepolia_token_amount__True__0.600b962701": ["model.synthetix.core_withdrawn_base_sepolia"], "test.synthetix.not_null_core_withdrawn_base_sepolia_collateral_type.e4b3817245": ["model.synthetix.core_withdrawn_base_sepolia"], "test.synthetix.not_null_core_withdrawn_base_sepolia_account_id.6536ec7b3c": ["model.synthetix.core_withdrawn_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_sepolia_account_id__True__0.283560870b": ["model.synthetix.core_withdrawn_base_sepolia"], "test.synthetix.not_null_core_withdrawn_base_sepolia_id.a4ef85d6dd": ["model.synthetix.core_withdrawn_base_sepolia"], "test.synthetix.unique_core_withdrawn_base_sepolia_id.30c3b98bff": ["model.synthetix.core_withdrawn_base_sepolia"], "test.synthetix.not_null_core_withdrawn_base_sepolia_sender.935071b6a7": ["model.synthetix.core_withdrawn_base_sepolia"], "test.synthetix.not_null_core_withdrawn_base_sepolia_event_name.919fe4b5de": ["model.synthetix.core_withdrawn_base_sepolia"], "test.synthetix.accepted_values_core_withdrawn_base_sepolia_event_name__Withdrawn.12079a5ee6": ["model.synthetix.core_withdrawn_base_sepolia"], "test.synthetix.not_null_core_liquidation_base_sepolia_pool_id.0059acd0f9": ["model.synthetix.core_liquidation_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_pool_id__True__0.7493427efd": ["model.synthetix.core_liquidation_base_sepolia"], "test.synthetix.not_null_core_liquidation_base_sepolia_block_timestamp.212c6a9018": ["model.synthetix.core_liquidation_base_sepolia"], "test.synthetix.not_null_core_liquidation_base_sepolia_block_number.f510e99a58": ["model.synthetix.core_liquidation_base_sepolia"], "test.synthetix.not_null_core_liquidation_base_sepolia_id.efbd949b78": ["model.synthetix.core_liquidation_base_sepolia"], "test.synthetix.unique_core_liquidation_base_sepolia_id.321d95d29c": ["model.synthetix.core_liquidation_base_sepolia"], "test.synthetix.not_null_core_liquidation_base_sepolia_contract.2d1b4b38d4": ["model.synthetix.core_liquidation_base_sepolia"], "test.synthetix.not_null_core_liquidation_base_sepolia_event_name.ab3ef77d1c": ["model.synthetix.core_liquidation_base_sepolia"], "test.synthetix.accepted_values_core_liquidation_base_sepolia_event_name__Liquidation.24bb1726f1": ["model.synthetix.core_liquidation_base_sepolia"], "test.synthetix.not_null_core_liquidation_base_sepolia_collateral_type.c93d2f649b": ["model.synthetix.core_liquidation_base_sepolia"], "test.synthetix.not_null_core_liquidation_base_sepolia_sender.3afbae055d": ["model.synthetix.core_liquidation_base_sepolia"], "test.synthetix.not_null_core_liquidation_base_sepolia_account_id.0aa7b969f5": ["model.synthetix.core_liquidation_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_account_id__True__0.02852291f8": ["model.synthetix.core_liquidation_base_sepolia"], "test.synthetix.not_null_core_liquidation_base_sepolia_transaction_hash.78921d6775": ["model.synthetix.core_liquidation_base_sepolia"], "test.synthetix.not_null_core_liquidation_base_sepolia_liquidate_as_account_id.3e3ca344a6": ["model.synthetix.core_liquidation_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_liquidate_as_account_id__True__0.6947f1cc05": ["model.synthetix.core_liquidation_base_sepolia"], "test.synthetix.not_null_core_market_updated_base_sepolia_id.179b4fa862": ["model.synthetix.core_market_updated_base_sepolia"], "test.synthetix.unique_core_market_updated_base_sepolia_id.945f14ee77": ["model.synthetix.core_market_updated_base_sepolia"], "test.synthetix.not_null_core_market_updated_base_sepolia_block_timestamp.66be40faea": ["model.synthetix.core_market_updated_base_sepolia"], "test.synthetix.not_null_core_market_updated_base_sepolia_block_number.450e88640c": ["model.synthetix.core_market_updated_base_sepolia"], "test.synthetix.not_null_core_market_updated_base_sepolia_transaction_hash.6351c7ce23": ["model.synthetix.core_market_updated_base_sepolia"], "test.synthetix.not_null_core_market_updated_base_sepolia_contract.cf139c06ed": ["model.synthetix.core_market_updated_base_sepolia"], "test.synthetix.not_null_core_market_updated_base_sepolia_event_name.c0e71ec841": ["model.synthetix.core_market_updated_base_sepolia"], "test.synthetix.accepted_values_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.97084835ea": ["model.synthetix.core_market_updated_base_sepolia"], "test.synthetix.not_null_core_market_updated_base_sepolia_market_id.81913bae24": ["model.synthetix.core_market_updated_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_market_id__True__0.c2038f3200": ["model.synthetix.core_market_updated_base_sepolia"], "test.synthetix.not_null_core_market_updated_base_sepolia_net_issuance.85d70c9059": ["model.synthetix.core_market_updated_base_sepolia"], "test.synthetix.not_null_core_market_updated_base_sepolia_deposited_collateral_value.47b96d9782": ["model.synthetix.core_market_updated_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_deposited_collateral_value__True__0.ff17627b64": ["model.synthetix.core_market_updated_base_sepolia"], "test.synthetix.not_null_core_market_updated_base_sepolia_sender.b57e7709cd": ["model.synthetix.core_market_updated_base_sepolia"], "test.synthetix.not_null_core_market_updated_base_sepolia_collateral_type.a64be17284": ["model.synthetix.core_market_updated_base_sepolia"], "test.synthetix.not_null_core_market_updated_base_sepolia_credit_capacity.2033e021e1": ["model.synthetix.core_market_updated_base_sepolia"], "test.synthetix.not_null_core_market_updated_base_sepolia_token_amount.a8f7145772": ["model.synthetix.core_market_updated_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_token_amount__True__0.00d32c5847": ["model.synthetix.core_market_updated_base_sepolia"], "test.synthetix.not_null_core_market_registered_base_sepolia_market.c1fe5f76b8": ["model.synthetix.core_market_registered_base_sepolia"], "test.synthetix.not_null_core_market_registered_base_sepolia_market_id.dc3f59aaaf": ["model.synthetix.core_market_registered_base_sepolia"], "test.synthetix.unique_core_market_registered_base_sepolia_market_id.37a04d292a": ["model.synthetix.core_market_registered_base_sepolia"], "test.synthetix.not_null_core_market_registered_base_sepolia_id.6150b3d520": ["model.synthetix.core_market_registered_base_sepolia"], "test.synthetix.unique_core_market_registered_base_sepolia_id.1efe4c6aec": ["model.synthetix.core_market_registered_base_sepolia"], "test.synthetix.not_null_core_market_registered_base_sepolia_block_timestamp.209ede7f48": ["model.synthetix.core_market_registered_base_sepolia"], "test.synthetix.not_null_core_market_registered_base_sepolia_contract.8cc1db09cc": ["model.synthetix.core_market_registered_base_sepolia"], "test.synthetix.not_null_core_market_registered_base_sepolia_transaction_hash.de234a0b4d": ["model.synthetix.core_market_registered_base_sepolia"], "test.synthetix.not_null_core_market_registered_base_sepolia_block_number.fd8cdd563c": ["model.synthetix.core_market_registered_base_sepolia"], "test.synthetix.not_null_core_market_registered_base_sepolia_event_name.c0f99c65cf": ["model.synthetix.core_market_registered_base_sepolia"], "test.synthetix.accepted_values_core_market_registered_base_sepolia_event_name__MarketRegistered.52bda7875b": ["model.synthetix.core_market_registered_base_sepolia"], "test.synthetix.not_null_core_market_registered_base_sepolia_sender.0ec521b301": ["model.synthetix.core_market_registered_base_sepolia"], "test.synthetix.not_null_core_pool_created_base_sepolia_contract.3347ab7e86": ["model.synthetix.core_pool_created_base_sepolia"], "test.synthetix.not_null_core_pool_created_base_sepolia_sender.40177457bd": ["model.synthetix.core_pool_created_base_sepolia"], "test.synthetix.not_null_core_pool_created_base_sepolia_block_timestamp.770a6f30f6": ["model.synthetix.core_pool_created_base_sepolia"], "test.synthetix.not_null_core_pool_created_base_sepolia_id.b1a35dd808": ["model.synthetix.core_pool_created_base_sepolia"], "test.synthetix.unique_core_pool_created_base_sepolia_id.bc373a2eb3": ["model.synthetix.core_pool_created_base_sepolia"], "test.synthetix.not_null_core_pool_created_base_sepolia_block_number.094a784336": ["model.synthetix.core_pool_created_base_sepolia"], "test.synthetix.not_null_core_pool_created_base_sepolia_transaction_hash.c6810d0b49": ["model.synthetix.core_pool_created_base_sepolia"], "test.synthetix.not_null_core_pool_created_base_sepolia_event_name.1dac944daf": ["model.synthetix.core_pool_created_base_sepolia"], "test.synthetix.accepted_values_core_pool_created_base_sepolia_event_name__PoolCreated.f08bef53a3": ["model.synthetix.core_pool_created_base_sepolia"], "test.synthetix.not_null_core_pool_created_base_sepolia_owner.de5ae68a1a": ["model.synthetix.core_pool_created_base_sepolia"], "test.synthetix.not_null_core_pool_created_base_sepolia_pool_id.e6e51130fd": ["model.synthetix.core_pool_created_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_pool_created_base_sepolia_pool_id__True__0.b3e7c8b05d": ["model.synthetix.core_pool_created_base_sepolia"], "test.synthetix.not_null_core_rewards_claimed_base_sepolia_transaction_hash.399851f94f": ["model.synthetix.core_rewards_claimed_base_sepolia"], "test.synthetix.not_null_core_rewards_claimed_base_sepolia_account_id.35c6ac2750": ["model.synthetix.core_rewards_claimed_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_account_id__True__0.56bdf07961": ["model.synthetix.core_rewards_claimed_base_sepolia"], "test.synthetix.not_null_core_rewards_claimed_base_sepolia_collateral_type.44fc9e2622": ["model.synthetix.core_rewards_claimed_base_sepolia"], "test.synthetix.not_null_core_rewards_claimed_base_sepolia_event_name.5d0bea85a4": ["model.synthetix.core_rewards_claimed_base_sepolia"], "test.synthetix.accepted_values_core_rewards_claimed_base_sepolia_event_name__RewardsClaimed.813e8d6cab": ["model.synthetix.core_rewards_claimed_base_sepolia"], "test.synthetix.not_null_core_rewards_claimed_base_sepolia_contract.8063e60014": ["model.synthetix.core_rewards_claimed_base_sepolia"], "test.synthetix.not_null_core_rewards_claimed_base_sepolia_amount.8d0b56d69c": ["model.synthetix.core_rewards_claimed_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_amount__True__0.83b60baad2": ["model.synthetix.core_rewards_claimed_base_sepolia"], "test.synthetix.not_null_core_rewards_claimed_base_sepolia_distributor.cfc3ec6cdd": ["model.synthetix.core_rewards_claimed_base_sepolia"], "test.synthetix.not_null_core_rewards_claimed_base_sepolia_block_timestamp.78d8816d82": ["model.synthetix.core_rewards_claimed_base_sepolia"], "test.synthetix.not_null_core_rewards_claimed_base_sepolia_id.a324c0d7d4": ["model.synthetix.core_rewards_claimed_base_sepolia"], "test.synthetix.unique_core_rewards_claimed_base_sepolia_id.b13c8534bb": ["model.synthetix.core_rewards_claimed_base_sepolia"], "test.synthetix.not_null_core_rewards_claimed_base_sepolia_pool_id.e61695fb4f": ["model.synthetix.core_rewards_claimed_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_pool_id__True__0.80a0443cd0": ["model.synthetix.core_rewards_claimed_base_sepolia"], "test.synthetix.not_null_core_rewards_claimed_base_sepolia_block_number.2341e8ee42": ["model.synthetix.core_rewards_claimed_base_sepolia"], "test.synthetix.not_null_core_rewards_distributed_base_sepolia_id.0d42a7a31a": ["model.synthetix.core_rewards_distributed_base_sepolia"], "test.synthetix.unique_core_rewards_distributed_base_sepolia_id.fafe19f7d9": ["model.synthetix.core_rewards_distributed_base_sepolia"], "test.synthetix.not_null_core_rewards_distributed_base_sepolia_event_name.e3a18ecd0c": ["model.synthetix.core_rewards_distributed_base_sepolia"], "test.synthetix.accepted_values_core_rewards_distributed_base_sepolia_event_name__RewardsDistributed.23760c7762": ["model.synthetix.core_rewards_distributed_base_sepolia"], "test.synthetix.not_null_core_rewards_distributed_base_sepolia_amount.ec60c3040c": ["model.synthetix.core_rewards_distributed_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_amount__True__0.6d7f4124f8": ["model.synthetix.core_rewards_distributed_base_sepolia"], "test.synthetix.not_null_core_rewards_distributed_base_sepolia_contract.b51980138b": ["model.synthetix.core_rewards_distributed_base_sepolia"], "test.synthetix.not_null_core_rewards_distributed_base_sepolia_block_timestamp.305338d6ac": ["model.synthetix.core_rewards_distributed_base_sepolia"], "test.synthetix.not_null_core_rewards_distributed_base_sepolia_transaction_hash.9d7346a555": ["model.synthetix.core_rewards_distributed_base_sepolia"], "test.synthetix.not_null_core_rewards_distributed_base_sepolia_collateral_type.d02c77e463": ["model.synthetix.core_rewards_distributed_base_sepolia"], "test.synthetix.not_null_core_rewards_distributed_base_sepolia_block_number.1404eb5f75": ["model.synthetix.core_rewards_distributed_base_sepolia"], "test.synthetix.not_null_core_rewards_distributed_base_sepolia_duration.151d5a6383": ["model.synthetix.core_rewards_distributed_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_duration__True__0.aca43f41bf": ["model.synthetix.core_rewards_distributed_base_sepolia"], "test.synthetix.not_null_core_rewards_distributed_base_sepolia_distributor.8e49885144": ["model.synthetix.core_rewards_distributed_base_sepolia"], "test.synthetix.not_null_core_rewards_distributed_base_sepolia_pool_id.618ac3407b": ["model.synthetix.core_rewards_distributed_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_pool_id__True__0.4ad1e16907": ["model.synthetix.core_rewards_distributed_base_sepolia"], "test.synthetix.not_null_core_usd_burned_base_sepolia_amount.d577462790": ["model.synthetix.core_usd_burned_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_amount__True__0.2ff0339bf6": ["model.synthetix.core_usd_burned_base_sepolia"], "test.synthetix.not_null_core_usd_burned_base_sepolia_pool_id.8bd0f688e5": ["model.synthetix.core_usd_burned_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_pool_id__True__0.bdbba08629": ["model.synthetix.core_usd_burned_base_sepolia"], "test.synthetix.not_null_core_usd_burned_base_sepolia_event_name.2c789d8ccb": ["model.synthetix.core_usd_burned_base_sepolia"], "test.synthetix.accepted_values_core_usd_burned_base_sepolia_event_name__UsdBurned.c736a2b5fd": ["model.synthetix.core_usd_burned_base_sepolia"], "test.synthetix.not_null_core_usd_burned_base_sepolia_id.9208a4e4a2": ["model.synthetix.core_usd_burned_base_sepolia"], "test.synthetix.unique_core_usd_burned_base_sepolia_id.3b90c11835": ["model.synthetix.core_usd_burned_base_sepolia"], "test.synthetix.not_null_core_usd_burned_base_sepolia_block_number.9acf3a65f4": ["model.synthetix.core_usd_burned_base_sepolia"], "test.synthetix.not_null_core_usd_burned_base_sepolia_account_id.8014155212": ["model.synthetix.core_usd_burned_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_account_id__True__0.1c3ad25fc6": ["model.synthetix.core_usd_burned_base_sepolia"], "test.synthetix.not_null_core_usd_burned_base_sepolia_sender.d28854bdf2": ["model.synthetix.core_usd_burned_base_sepolia"], "test.synthetix.not_null_core_usd_burned_base_sepolia_transaction_hash.07cbe78bce": ["model.synthetix.core_usd_burned_base_sepolia"], "test.synthetix.not_null_core_usd_burned_base_sepolia_contract.559c9a6e92": ["model.synthetix.core_usd_burned_base_sepolia"], "test.synthetix.not_null_core_usd_burned_base_sepolia_collateral_type.1d7071aef1": ["model.synthetix.core_usd_burned_base_sepolia"], "test.synthetix.not_null_core_usd_burned_base_sepolia_block_timestamp.d6c5fafe43": ["model.synthetix.core_usd_burned_base_sepolia"], "test.synthetix.not_null_core_usd_minted_base_sepolia_pool_id.7dfafbe9ee": ["model.synthetix.core_usd_minted_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_pool_id__True__0.49903b0695": ["model.synthetix.core_usd_minted_base_sepolia"], "test.synthetix.not_null_core_usd_minted_base_sepolia_block_timestamp.a33ebf4ef7": ["model.synthetix.core_usd_minted_base_sepolia"], "test.synthetix.not_null_core_usd_minted_base_sepolia_account_id.56f2a7acd7": ["model.synthetix.core_usd_minted_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_account_id__True__0.8d375d28dd": ["model.synthetix.core_usd_minted_base_sepolia"], "test.synthetix.not_null_core_usd_minted_base_sepolia_collateral_type.028faf1711": ["model.synthetix.core_usd_minted_base_sepolia"], "test.synthetix.not_null_core_usd_minted_base_sepolia_block_number.37baa764ce": ["model.synthetix.core_usd_minted_base_sepolia"], "test.synthetix.not_null_core_usd_minted_base_sepolia_id.3fd3162bcc": ["model.synthetix.core_usd_minted_base_sepolia"], "test.synthetix.unique_core_usd_minted_base_sepolia_id.9cce972c7e": ["model.synthetix.core_usd_minted_base_sepolia"], "test.synthetix.not_null_core_usd_minted_base_sepolia_sender.5053739593": ["model.synthetix.core_usd_minted_base_sepolia"], "test.synthetix.not_null_core_usd_minted_base_sepolia_amount.c1ab51fea3": ["model.synthetix.core_usd_minted_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_amount__True__0.8db2f09ae2": ["model.synthetix.core_usd_minted_base_sepolia"], "test.synthetix.not_null_core_usd_minted_base_sepolia_event_name.c1bfdffc84": ["model.synthetix.core_usd_minted_base_sepolia"], "test.synthetix.accepted_values_core_usd_minted_base_sepolia_event_name__UsdMinted.d686f1f1af": ["model.synthetix.core_usd_minted_base_sepolia"], "test.synthetix.not_null_core_usd_minted_base_sepolia_transaction_hash.04ae981572": ["model.synthetix.core_usd_minted_base_sepolia"], "test.synthetix.not_null_core_usd_minted_base_sepolia_contract.ebf65a8472": ["model.synthetix.core_usd_minted_base_sepolia"], "test.synthetix.not_null_core_vault_liquidation_base_sepolia_transaction_hash.fcdcfcdcdd": ["model.synthetix.core_vault_liquidation_base_sepolia"], "test.synthetix.not_null_core_vault_liquidation_base_sepolia_collateral_type.18870127b8": ["model.synthetix.core_vault_liquidation_base_sepolia"], "test.synthetix.not_null_core_vault_liquidation_base_sepolia_pool_id.47e473f735": ["model.synthetix.core_vault_liquidation_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_pool_id__True__0.5ea2ba7eab": ["model.synthetix.core_vault_liquidation_base_sepolia"], "test.synthetix.not_null_core_vault_liquidation_base_sepolia_event_name.04b05d8fa6": ["model.synthetix.core_vault_liquidation_base_sepolia"], "test.synthetix.accepted_values_core_vault_liquidation_base_sepolia_event_name__VaultLiquidation.958e4fe8de": ["model.synthetix.core_vault_liquidation_base_sepolia"], "test.synthetix.not_null_core_vault_liquidation_base_sepolia_id.08162ec8b5": ["model.synthetix.core_vault_liquidation_base_sepolia"], "test.synthetix.unique_core_vault_liquidation_base_sepolia_id.5759c475e5": ["model.synthetix.core_vault_liquidation_base_sepolia"], "test.synthetix.not_null_core_vault_liquidation_base_sepolia_block_timestamp.5c4fdcd348": ["model.synthetix.core_vault_liquidation_base_sepolia"], "test.synthetix.not_null_core_vault_liquidation_base_sepolia_liquidate_as_account_id.b170dba1d3": ["model.synthetix.core_vault_liquidation_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_liquidate_as_account_id__True__0.ee3dd8dc1e": ["model.synthetix.core_vault_liquidation_base_sepolia"], "test.synthetix.not_null_core_vault_liquidation_base_sepolia_liquidation_data.a5dc2b7337": ["model.synthetix.core_vault_liquidation_base_sepolia"], "test.synthetix.not_null_core_vault_liquidation_base_sepolia_contract.58dafa50b4": ["model.synthetix.core_vault_liquidation_base_sepolia"], "test.synthetix.not_null_core_vault_liquidation_base_sepolia_block_number.72d5fcf75c": ["model.synthetix.core_vault_liquidation_base_sepolia"], "test.synthetix.not_null_core_vault_liquidation_base_sepolia_sender.2f502247e7": ["model.synthetix.core_vault_liquidation_base_sepolia"], "test.synthetix.not_null_core_vault_collateral_base_sepolia_ts.78a98d96c2": ["model.synthetix.core_vault_collateral_base_sepolia"], "test.synthetix.not_null_core_vault_collateral_base_sepolia_block_number.3a3cfc3edf": ["model.synthetix.core_vault_collateral_base_sepolia"], "test.synthetix.not_null_core_vault_collateral_base_sepolia_pool_id.3607d11df2": ["model.synthetix.core_vault_collateral_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_pool_id__True__0.0047a9a52a": ["model.synthetix.core_vault_collateral_base_sepolia"], "test.synthetix.not_null_core_vault_collateral_base_sepolia_collateral_type.8cfa2c8f99": ["model.synthetix.core_vault_collateral_base_sepolia"], "test.synthetix.not_null_core_vault_collateral_base_sepolia_amount.ff25c0c9a0": ["model.synthetix.core_vault_collateral_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_amount__True__0.6d9b6133f3": ["model.synthetix.core_vault_collateral_base_sepolia"], "test.synthetix.not_null_core_vault_collateral_base_sepolia_collateral_value.30cde60b22": ["model.synthetix.core_vault_collateral_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_collateral_value__True__0.026e20a97f": ["model.synthetix.core_vault_collateral_base_sepolia"], "test.synthetix.not_null_core_vault_collateral_base_sepolia_contract_address.aa0f2cd57b": ["model.synthetix.core_vault_collateral_base_sepolia"], "test.synthetix.not_null_core_vault_debt_base_sepolia_ts.d366714ec5": ["model.synthetix.core_vault_debt_base_sepolia"], "test.synthetix.not_null_core_vault_debt_base_sepolia_block_number.f25dcd2c96": ["model.synthetix.core_vault_debt_base_sepolia"], "test.synthetix.not_null_core_vault_debt_base_sepolia_pool_id.05a1d5275c": ["model.synthetix.core_vault_debt_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_core_vault_debt_base_sepolia_pool_id__True__0.908dbaecbc": ["model.synthetix.core_vault_debt_base_sepolia"], "test.synthetix.not_null_core_vault_debt_base_sepolia_collateral_type.70a5498cf3": ["model.synthetix.core_vault_debt_base_sepolia"], "test.synthetix.not_null_core_vault_debt_base_sepolia_debt.9b99714e7f": ["model.synthetix.core_vault_debt_base_sepolia"], "test.synthetix.not_null_core_vault_debt_base_sepolia_contract_address.a9d7ef2e2d": ["model.synthetix.core_vault_debt_base_sepolia"], "test.synthetix.not_null_spot_order_committed_base_sepolia_id.11a4430aff": ["model.synthetix.spot_order_committed_base_sepolia"], "test.synthetix.unique_spot_order_committed_base_sepolia_id.3819dc1084": ["model.synthetix.spot_order_committed_base_sepolia"], "test.synthetix.not_null_spot_order_committed_base_sepolia_event_name.438812a0d2": ["model.synthetix.spot_order_committed_base_sepolia"], "test.synthetix.accepted_values_spot_order_committed_base_sepolia_event_name__OrderCommitted.5b70cba35c": ["model.synthetix.spot_order_committed_base_sepolia"], "test.synthetix.not_null_spot_order_committed_base_sepolia_sender.4e585d7f19": ["model.synthetix.spot_order_committed_base_sepolia"], "test.synthetix.not_null_spot_order_committed_base_sepolia_block_timestamp.8c88551cb4": ["model.synthetix.spot_order_committed_base_sepolia"], "test.synthetix.not_null_spot_order_committed_base_sepolia_referrer.7ec29fa647": ["model.synthetix.spot_order_committed_base_sepolia"], "test.synthetix.not_null_spot_order_committed_base_sepolia_amount_provided.38ad18f779": ["model.synthetix.spot_order_committed_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_sepolia_amount_provided__True__0.054ef0ffa5": ["model.synthetix.spot_order_committed_base_sepolia"], "test.synthetix.not_null_spot_order_committed_base_sepolia_transaction_hash.9c446b3700": ["model.synthetix.spot_order_committed_base_sepolia"], "test.synthetix.not_null_spot_order_committed_base_sepolia_contract.665bb25f85": ["model.synthetix.spot_order_committed_base_sepolia"], "test.synthetix.not_null_spot_order_committed_base_sepolia_market_id.15c2459855": ["model.synthetix.spot_order_committed_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_sepolia_market_id__True__0.6632755b0a": ["model.synthetix.spot_order_committed_base_sepolia"], "test.synthetix.not_null_spot_order_committed_base_sepolia_block_number.9e8c3cbe19": ["model.synthetix.spot_order_committed_base_sepolia"], "test.synthetix.not_null_spot_order_committed_base_sepolia_order_type.3954986bef": ["model.synthetix.spot_order_committed_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_final_order_amount__True__0.db1eb9bae2": ["model.synthetix.spot_order_settled_base_sepolia"], "test.synthetix.not_null_spot_order_settled_base_sepolia_settler.3cce2227a9": ["model.synthetix.spot_order_settled_base_sepolia"], "test.synthetix.not_null_spot_order_settled_base_sepolia_block_number.65da819fda": ["model.synthetix.spot_order_settled_base_sepolia"], "test.synthetix.not_null_spot_order_settled_base_sepolia_transaction_hash.db4a8fd73d": ["model.synthetix.spot_order_settled_base_sepolia"], "test.synthetix.not_null_spot_order_settled_base_sepolia_block_timestamp.2af878ee49": ["model.synthetix.spot_order_settled_base_sepolia"], "test.synthetix.not_null_spot_order_settled_base_sepolia_id.41dd4b147f": ["model.synthetix.spot_order_settled_base_sepolia"], "test.synthetix.unique_spot_order_settled_base_sepolia_id.d146f45657": ["model.synthetix.spot_order_settled_base_sepolia"], "test.synthetix.not_null_spot_order_settled_base_sepolia_order_type.aba0efecf9": ["model.synthetix.spot_order_settled_base_sepolia"], "test.synthetix.not_null_spot_order_settled_base_sepolia_contract.70a66ec745": ["model.synthetix.spot_order_settled_base_sepolia"], "test.synthetix.not_null_spot_order_settled_base_sepolia_price.5e737efecc": ["model.synthetix.spot_order_settled_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_price__True__0.be79188042": ["model.synthetix.spot_order_settled_base_sepolia"], "test.synthetix.not_null_spot_order_settled_base_sepolia_market_id.08f8f7cfee": ["model.synthetix.spot_order_settled_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_market_id__True__0.57c7ca8b8a": ["model.synthetix.spot_order_settled_base_sepolia"], "test.synthetix.not_null_spot_order_settled_base_sepolia_collected_fees.ce03171f19": ["model.synthetix.spot_order_settled_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_collected_fees__True__0.7f14aa7a7b": ["model.synthetix.spot_order_settled_base_sepolia"], "test.synthetix.not_null_spot_order_settled_base_sepolia_event_name.78cc82e3ab": ["model.synthetix.spot_order_settled_base_sepolia"], "test.synthetix.accepted_values_spot_order_settled_base_sepolia_event_name__OrderSettled.177309ebc4": ["model.synthetix.spot_order_settled_base_sepolia"], "test.synthetix.not_null_spot_order_cancelled_base_sepolia_id.5e9a576929": ["model.synthetix.spot_order_cancelled_base_sepolia"], "test.synthetix.unique_spot_order_cancelled_base_sepolia_id.0e40062e64": ["model.synthetix.spot_order_cancelled_base_sepolia"], "test.synthetix.not_null_spot_order_cancelled_base_sepolia_block_timestamp.fa9df55b40": ["model.synthetix.spot_order_cancelled_base_sepolia"], "test.synthetix.not_null_spot_order_cancelled_base_sepolia_transaction_hash.0752dd402b": ["model.synthetix.spot_order_cancelled_base_sepolia"], "test.synthetix.not_null_spot_order_cancelled_base_sepolia_sender.aac13d426e": ["model.synthetix.spot_order_cancelled_base_sepolia"], "test.synthetix.not_null_spot_order_cancelled_base_sepolia_contract.0c41210b4f": ["model.synthetix.spot_order_cancelled_base_sepolia"], "test.synthetix.not_null_spot_order_cancelled_base_sepolia_event_name.860a2e2098": ["model.synthetix.spot_order_cancelled_base_sepolia"], "test.synthetix.accepted_values_spot_order_cancelled_base_sepolia_event_name__OrderCancelled.19ae93abc4": ["model.synthetix.spot_order_cancelled_base_sepolia"], "test.synthetix.not_null_spot_order_cancelled_base_sepolia_market_id.29f20fb008": ["model.synthetix.spot_order_cancelled_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_base_sepolia_market_id__True__0.256744e74d": ["model.synthetix.spot_order_cancelled_base_sepolia"], "test.synthetix.not_null_spot_order_cancelled_base_sepolia_block_number.86a31f2f2c": ["model.synthetix.spot_order_cancelled_base_sepolia"], "test.synthetix.not_null_spot_synth_registered_base_sepolia_id.82e3f87ac4": ["model.synthetix.spot_synth_registered_base_sepolia"], "test.synthetix.unique_spot_synth_registered_base_sepolia_id.59dadce592": ["model.synthetix.spot_synth_registered_base_sepolia"], "test.synthetix.not_null_spot_synth_registered_base_sepolia_block_timestamp.79c2f95be5": ["model.synthetix.spot_synth_registered_base_sepolia"], "test.synthetix.not_null_spot_synth_registered_base_sepolia_synth_market_id.5a96ef8d3b": ["model.synthetix.spot_synth_registered_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_base_sepolia_synth_market_id__True__0.e252f6d23b": ["model.synthetix.spot_synth_registered_base_sepolia"], "test.synthetix.not_null_spot_synth_registered_base_sepolia_block_number.bb37a01e8d": ["model.synthetix.spot_synth_registered_base_sepolia"], "test.synthetix.not_null_spot_synth_registered_base_sepolia_contract.4039370624": ["model.synthetix.spot_synth_registered_base_sepolia"], "test.synthetix.not_null_spot_synth_registered_base_sepolia_synth_token_address.9a1399c63c": ["model.synthetix.spot_synth_registered_base_sepolia"], "test.synthetix.not_null_spot_synth_registered_base_sepolia_event_name.40165b8566": ["model.synthetix.spot_synth_registered_base_sepolia"], "test.synthetix.accepted_values_spot_synth_registered_base_sepolia_event_name__SynthRegistered.560c96fe92": ["model.synthetix.spot_synth_registered_base_sepolia"], "test.synthetix.not_null_spot_synth_registered_base_sepolia_transaction_hash.0cea3ca1bf": ["model.synthetix.spot_synth_registered_base_sepolia"], "test.synthetix.not_null_spot_synth_bought_base_sepolia_collected_fees.9d30351609": ["model.synthetix.spot_synth_bought_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_collected_fees__True__0.1b65c16e7a": ["model.synthetix.spot_synth_bought_base_sepolia"], "test.synthetix.not_null_spot_synth_bought_base_sepolia_transaction_hash.368cb3f67e": ["model.synthetix.spot_synth_bought_base_sepolia"], "test.synthetix.not_null_spot_synth_bought_base_sepolia_synth_market_id.b1c1943367": ["model.synthetix.spot_synth_bought_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_synth_market_id__True__0.2be12779d3": ["model.synthetix.spot_synth_bought_base_sepolia"], "test.synthetix.not_null_spot_synth_bought_base_sepolia_block_number.b137c20668": ["model.synthetix.spot_synth_bought_base_sepolia"], "test.synthetix.not_null_spot_synth_bought_base_sepolia_block_timestamp.b2a61f5718": ["model.synthetix.spot_synth_bought_base_sepolia"], "test.synthetix.not_null_spot_synth_bought_base_sepolia_id.942697f903": ["model.synthetix.spot_synth_bought_base_sepolia"], "test.synthetix.unique_spot_synth_bought_base_sepolia_id.17a8acaf0c": ["model.synthetix.spot_synth_bought_base_sepolia"], "test.synthetix.not_null_spot_synth_bought_base_sepolia_price.d27790b16d": ["model.synthetix.spot_synth_bought_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_price__True__0.1dfcf66dee": ["model.synthetix.spot_synth_bought_base_sepolia"], "test.synthetix.not_null_spot_synth_bought_base_sepolia_contract.4678866b0c": ["model.synthetix.spot_synth_bought_base_sepolia"], "test.synthetix.not_null_spot_synth_bought_base_sepolia_referrer.4756917b09": ["model.synthetix.spot_synth_bought_base_sepolia"], "test.synthetix.not_null_spot_synth_bought_base_sepolia_event_name.cacb370344": ["model.synthetix.spot_synth_bought_base_sepolia"], "test.synthetix.accepted_values_spot_synth_bought_base_sepolia_event_name__SynthBought.3932e43413": ["model.synthetix.spot_synth_bought_base_sepolia"], "test.synthetix.not_null_spot_synth_sold_base_sepolia_event_name.24601a4262": ["model.synthetix.spot_synth_sold_base_sepolia"], "test.synthetix.accepted_values_spot_synth_sold_base_sepolia_event_name__SynthSold.bc9ca74c87": ["model.synthetix.spot_synth_sold_base_sepolia"], "test.synthetix.not_null_spot_synth_sold_base_sepolia_transaction_hash.a13ba6bde1": ["model.synthetix.spot_synth_sold_base_sepolia"], "test.synthetix.not_null_spot_synth_sold_base_sepolia_collected_fees.8ad9625fb0": ["model.synthetix.spot_synth_sold_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_collected_fees__True__0.0a04ec9ef2": ["model.synthetix.spot_synth_sold_base_sepolia"], "test.synthetix.not_null_spot_synth_sold_base_sepolia_block_timestamp.f3d45165ff": ["model.synthetix.spot_synth_sold_base_sepolia"], "test.synthetix.not_null_spot_synth_sold_base_sepolia_referrer.51ef2f8d16": ["model.synthetix.spot_synth_sold_base_sepolia"], "test.synthetix.not_null_spot_synth_sold_base_sepolia_block_number.17e7ff9528": ["model.synthetix.spot_synth_sold_base_sepolia"], "test.synthetix.not_null_spot_synth_sold_base_sepolia_price.88b1a85b40": ["model.synthetix.spot_synth_sold_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_price__True__0.cedd17dbea": ["model.synthetix.spot_synth_sold_base_sepolia"], "test.synthetix.not_null_spot_synth_sold_base_sepolia_amount_returned.c33656b778": ["model.synthetix.spot_synth_sold_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_amount_returned__True__0.400f957fc7": ["model.synthetix.spot_synth_sold_base_sepolia"], "test.synthetix.not_null_spot_synth_sold_base_sepolia_synth_market_id.25c988c205": ["model.synthetix.spot_synth_sold_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_synth_market_id__True__0.5175d72781": ["model.synthetix.spot_synth_sold_base_sepolia"], "test.synthetix.not_null_spot_synth_sold_base_sepolia_id.c2f7e77070": ["model.synthetix.spot_synth_sold_base_sepolia"], "test.synthetix.unique_spot_synth_sold_base_sepolia_id.d31e78319f": ["model.synthetix.spot_synth_sold_base_sepolia"], "test.synthetix.not_null_spot_synth_sold_base_sepolia_contract.8d370e2248": ["model.synthetix.spot_synth_sold_base_sepolia"], "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_id.8905f554af": ["model.synthetix.spot_synth_wrapped_base_sepolia"], "test.synthetix.unique_spot_synth_wrapped_base_sepolia_id.159b2de78a": ["model.synthetix.spot_synth_wrapped_base_sepolia"], "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_transaction_hash.7672de0496": ["model.synthetix.spot_synth_wrapped_base_sepolia"], "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_synth_market_id.601db0f648": ["model.synthetix.spot_synth_wrapped_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_synth_market_id__True__0.2dfd67bc58": ["model.synthetix.spot_synth_wrapped_base_sepolia"], "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_contract.d4446f0372": ["model.synthetix.spot_synth_wrapped_base_sepolia"], "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_event_name.fe439b73da": ["model.synthetix.spot_synth_wrapped_base_sepolia"], "test.synthetix.accepted_values_spot_synth_wrapped_base_sepolia_event_name__SynthWrapped.031ffbb73f": ["model.synthetix.spot_synth_wrapped_base_sepolia"], "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_block_timestamp.5b4c2eecf8": ["model.synthetix.spot_synth_wrapped_base_sepolia"], "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_block_number.6d42ca2157": ["model.synthetix.spot_synth_wrapped_base_sepolia"], "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_fees_collected.b6fac60b85": ["model.synthetix.spot_synth_wrapped_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_fees_collected__True__0.c2a49865fe": ["model.synthetix.spot_synth_wrapped_base_sepolia"], "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_block_timestamp.41ba03a5b2": ["model.synthetix.spot_synth_unwrapped_base_sepolia"], "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped.1a220b9007": ["model.synthetix.spot_synth_unwrapped_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_amount_unwrapped__True__0.8e197e25e9": ["model.synthetix.spot_synth_unwrapped_base_sepolia"], "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_fees_collected.c3d167c521": ["model.synthetix.spot_synth_unwrapped_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_fees_collected__True__0.e56453f4c6": ["model.synthetix.spot_synth_unwrapped_base_sepolia"], "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_event_name.b17d6e42c7": ["model.synthetix.spot_synth_unwrapped_base_sepolia"], "test.synthetix.accepted_values_spot_synth_unwrapped_base_sepolia_event_name__SynthUnwrapped.8dae19258e": ["model.synthetix.spot_synth_unwrapped_base_sepolia"], "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_block_number.5cfd06abfe": ["model.synthetix.spot_synth_unwrapped_base_sepolia"], "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_transaction_hash.2ea11780cc": ["model.synthetix.spot_synth_unwrapped_base_sepolia"], "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_contract.87983c1fa3": ["model.synthetix.spot_synth_unwrapped_base_sepolia"], "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_id.6b02b454d5": ["model.synthetix.spot_synth_unwrapped_base_sepolia"], "test.synthetix.unique_spot_synth_unwrapped_base_sepolia_id.74a8e666e5": ["model.synthetix.spot_synth_unwrapped_base_sepolia"], "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_synth_market_id.214a3db22f": ["model.synthetix.spot_synth_unwrapped_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_synth_market_id__True__0.a469219bab": ["model.synthetix.spot_synth_unwrapped_base_sepolia"], "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_ts.e44412832a": ["model.synthetix.fct_pool_rewards_eth_mainnet"], "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_pool_id.7fd59c6d8c": ["model.synthetix.fct_pool_rewards_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_pool_id__True__0.e03ffa9a09": ["model.synthetix.fct_pool_rewards_eth_mainnet"], "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_collateral_type.6ac8e6e2aa": ["model.synthetix.fct_pool_rewards_eth_mainnet"], "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_distributor.7111e37b09": ["model.synthetix.fct_pool_rewards_eth_mainnet"], "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_token_symbol.4bbde77781": ["model.synthetix.fct_pool_rewards_eth_mainnet"], "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_amount.313b524117": ["model.synthetix.fct_pool_rewards_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_amount__True__0.db5fff0dcd": ["model.synthetix.fct_pool_rewards_eth_mainnet"], "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_ts.a916375fbd": ["model.synthetix.fct_core_account_delegation_eth_mainnet"], "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_account_id.9b9eed26fe": ["model.synthetix.fct_core_account_delegation_eth_mainnet"], "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_pool_id.f6076a6b8b": ["model.synthetix.fct_core_account_delegation_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_pool_id__True__0.35dc5bbd4b": ["model.synthetix.fct_core_account_delegation_eth_mainnet"], "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_collateral_type.f9b6e0e993": ["model.synthetix.fct_core_account_delegation_eth_mainnet"], "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_amount_delegated.7c91dafbd8": ["model.synthetix.fct_core_account_delegation_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_amount_delegated__True__0.854bbca778": ["model.synthetix.fct_core_account_delegation_eth_mainnet"], "test.synthetix.not_null_fct_core_apr_eth_mainnet_ts.99cae9616f": ["model.synthetix.fct_core_apr_eth_mainnet"], "test.synthetix.not_null_fct_core_apr_eth_mainnet_pool_id.c5e20f437d": ["model.synthetix.fct_core_apr_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_pool_id__True__0.2e06d77a8b": ["model.synthetix.fct_core_apr_eth_mainnet"], "test.synthetix.not_null_fct_core_apr_eth_mainnet_collateral_type.0bc0302d7e": ["model.synthetix.fct_core_apr_eth_mainnet"], "test.synthetix.not_null_fct_core_apr_eth_mainnet_collateral_value.14594eca47": ["model.synthetix.fct_core_apr_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_collateral_value__True__0.b44f8cd90f": ["model.synthetix.fct_core_apr_eth_mainnet"], "test.synthetix.not_null_fct_core_apr_eth_mainnet_debt.14b9039622": ["model.synthetix.fct_core_apr_eth_mainnet"], "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_issuance.d21fe7e33b": ["model.synthetix.fct_core_apr_eth_mainnet"], "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated.1606ded24b": ["model.synthetix.fct_core_apr_eth_mainnet"], "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_pnl.6570b2bdb2": ["model.synthetix.fct_core_apr_eth_mainnet"], "test.synthetix.not_null_fct_core_apr_eth_mainnet_cumulative_pnl.4a739c13a4": ["model.synthetix.fct_core_apr_eth_mainnet"], "test.synthetix.not_null_fct_core_apr_eth_mainnet_cumulative_issuance.ab1f8da889": ["model.synthetix.fct_core_apr_eth_mainnet"], "test.synthetix.not_null_fct_core_apr_eth_mainnet_rewards_usd.e91f21e2d5": ["model.synthetix.fct_core_apr_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_rewards_usd__True__0.0ccd0edcb4": ["model.synthetix.fct_core_apr_eth_mainnet"], "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct.b582b1f1e2": ["model.synthetix.fct_core_apr_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_pnl_pct__True__1___1.573c85fbab": ["model.synthetix.fct_core_apr_eth_mainnet"], "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct.284fa06b64": ["model.synthetix.fct_core_apr_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_rewards_pct__True__1__0.a383e39737": ["model.synthetix.fct_core_apr_eth_mainnet"], "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_24h.1e94a76b1e": ["model.synthetix.fct_core_apr_eth_mainnet"], "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_24h.b52a8fd842": ["model.synthetix.fct_core_apr_eth_mainnet"], "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_7d.35bc5cfb13": ["model.synthetix.fct_core_apr_eth_mainnet"], "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_7d.08d703cbb6": ["model.synthetix.fct_core_apr_eth_mainnet"], "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_28d.8dfb1e005a": ["model.synthetix.fct_core_apr_eth_mainnet"], "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_28d.053e0eda01": ["model.synthetix.fct_core_apr_eth_mainnet"], "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_id.7444e98615": ["model.synthetix.fct_core_market_updated_eth_mainnet"], "test.synthetix.unique_fct_core_market_updated_eth_mainnet_id.d5c16089e9": ["model.synthetix.fct_core_market_updated_eth_mainnet"], "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_ts.950a116067": ["model.synthetix.fct_core_market_updated_eth_mainnet"], "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_transaction_hash.f31c00e39e": ["model.synthetix.fct_core_market_updated_eth_mainnet"], "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_event_name.e682d1b7d5": ["model.synthetix.fct_core_market_updated_eth_mainnet"], "test.synthetix.accepted_values_fct_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.f0e721a249": ["model.synthetix.fct_core_market_updated_eth_mainnet"], "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_market_id.9fbceacdbc": ["model.synthetix.fct_core_market_updated_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_eth_mainnet_market_id__True__0.32701334f3": ["model.synthetix.fct_core_market_updated_eth_mainnet"], "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_collateral_type.fbe59aeb13": ["model.synthetix.fct_core_market_updated_eth_mainnet"], "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_credit_capacity.bc652bf021": ["model.synthetix.fct_core_market_updated_eth_mainnet"], "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_net_issuance.95ea8efb4e": ["model.synthetix.fct_core_market_updated_eth_mainnet"], "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_token_amount.fe11f0ce69": ["model.synthetix.fct_core_market_updated_eth_mainnet"], "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_ts.61a1043b04": ["model.synthetix.fct_core_pool_collateral_eth_mainnet"], "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_collateral_type.217e5cb420": ["model.synthetix.fct_core_pool_collateral_eth_mainnet"], "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited.b943283ec6": ["model.synthetix.fct_core_pool_collateral_eth_mainnet"], "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_ts.4c81cbc76a": ["model.synthetix.fct_core_pool_delegation_eth_mainnet"], "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_pool_id.38ebfdf86f": ["model.synthetix.fct_core_pool_delegation_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_eth_mainnet_pool_id__True__0.8087f39696": ["model.synthetix.fct_core_pool_delegation_eth_mainnet"], "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_collateral_type.687e523e9a": ["model.synthetix.fct_core_pool_delegation_eth_mainnet"], "test.synthetix.not_null_fct_core_pools_eth_mainnet_id.ac06cb59ca": ["model.synthetix.fct_core_pools_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0.e529c0ad91": ["model.synthetix.fct_core_pools_eth_mainnet"], "test.synthetix.not_null_fct_core_pools_eth_mainnet_created_ts.85e7c6f7d7": ["model.synthetix.fct_core_pools_eth_mainnet"], "test.synthetix.not_null_fct_core_pools_eth_mainnet_block_number.d5795e3469": ["model.synthetix.fct_core_pools_eth_mainnet"], "test.synthetix.not_null_fct_core_pools_eth_mainnet_owner.13db5fad75": ["model.synthetix.fct_core_pools_eth_mainnet"], "test.synthetix.not_null_fct_pool_debt_eth_mainnet_ts.0a20d36f28": ["model.synthetix.fct_pool_debt_eth_mainnet"], "test.synthetix.not_null_fct_pool_debt_eth_mainnet_block_number.d707149fdd": ["model.synthetix.fct_pool_debt_eth_mainnet"], "test.synthetix.not_null_fct_pool_debt_eth_mainnet_pool_id.088122bb77": ["model.synthetix.fct_pool_debt_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_eth_mainnet_pool_id__True__0.9ab83c23dd": ["model.synthetix.fct_pool_debt_eth_mainnet"], "test.synthetix.not_null_fct_pool_debt_eth_mainnet_collateral_type.2f39d51963": ["model.synthetix.fct_pool_debt_eth_mainnet"], "test.synthetix.not_null_fct_pool_debt_eth_mainnet_debt.100ad3cae1": ["model.synthetix.fct_pool_debt_eth_mainnet"], "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_ts.d84f234266": ["model.synthetix.fct_pool_issuance_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id.0bd0e6635e": ["model.synthetix.fct_pool_issuance_hourly_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_eth_mainnet_pool_id__True__0.2f6d1cabb6": ["model.synthetix.fct_pool_issuance_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type.04853a2f55": ["model.synthetix.fct_pool_issuance_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance.3ee79944a3": ["model.synthetix.fct_pool_issuance_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_ts.5f32fba981": ["model.synthetix.fct_pool_issuance_eth_mainnet"], "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_block_number.76ac645e79": ["model.synthetix.fct_pool_issuance_eth_mainnet"], "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_transaction_hash.801e733838": ["model.synthetix.fct_pool_issuance_eth_mainnet"], "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_pool_id.fd6c3981fe": ["model.synthetix.fct_pool_issuance_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_eth_mainnet_pool_id__True__0.c3af88d954": ["model.synthetix.fct_pool_issuance_eth_mainnet"], "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_collateral_type.9e0a6d3551": ["model.synthetix.fct_pool_issuance_eth_mainnet"], "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_account_id.d686918ab7": ["model.synthetix.fct_pool_issuance_eth_mainnet"], "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_amount.4a0d8649af": ["model.synthetix.fct_pool_issuance_eth_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_ts.2a846b2bb8": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id.d4b3c4be36": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_pool_id__True__0.ad130b0c2f": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type.8346dc5b9e": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value.bf72ec5191": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_collateral_value__True__0.aa5cf487aa": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_debt.34ed8f7e19": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance.d981b1941f": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl.aef91ccc24": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated.b2364c3711": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd.8fd34c30e5": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_rewards_usd__True__0.80c1c42490": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct.d9b73c59f7": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct__True__1___1.ad0a057625": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct.d8b6a6177f": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct__True__1__0.b431022b52": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct.b8f62bde16": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_ts.89ba67bb4f": ["model.synthetix.fct_pool_rewards_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id.7f91755bfb": ["model.synthetix.fct_pool_rewards_hourly_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_pool_id__True__0.208ead2f02": ["model.synthetix.fct_pool_rewards_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type.1949d93db9": ["model.synthetix.fct_pool_rewards_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd.3095906515": ["model.synthetix.fct_pool_rewards_hourly_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_rewards_usd__True__0.2e789c32db": ["model.synthetix.fct_pool_rewards_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts.667157dbf6": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id.69049a093a": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_pool_id__True__0.0f059b9a12": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_collateral_type.22ec7c38ba": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor.a65a6d19bf": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol.609ae29f03": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_price.89f536fe6c": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_price__True__0.3b4b47afcc": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount.701c4a765f": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount__True__0.76ed6e76ab": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed.3faeed6846": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed__True__0.26815f50d4": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd.84778cf230": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd__True__0.0d8876b70b": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"], "test.synthetix.not_null_fct_core_migration_eth_mainnet_ts.4a5f6995ac": ["model.synthetix.fct_core_migration_eth_mainnet"], "test.synthetix.not_null_fct_core_migration_eth_mainnet_block_number.9a454098b0": ["model.synthetix.fct_core_migration_eth_mainnet"], "test.synthetix.not_null_fct_core_migration_eth_mainnet_transaction_hash.15435ec6a4": ["model.synthetix.fct_core_migration_eth_mainnet"], "test.synthetix.not_null_fct_core_migration_eth_mainnet_pool_id.f0e6b5266e": ["model.synthetix.fct_core_migration_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_migration_eth_mainnet_pool_id__True__1__1.451aedc606": ["model.synthetix.fct_core_migration_eth_mainnet"], "test.synthetix.not_null_fct_core_migration_eth_mainnet_collateral_type.d3ff39474d": ["model.synthetix.fct_core_migration_eth_mainnet"], "test.synthetix.accepted_values_fct_core_migration_eth_mainnet_collateral_type__0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F.a38946ae0c": ["model.synthetix.fct_core_migration_eth_mainnet"], "test.synthetix.not_null_fct_core_migration_eth_mainnet_staker.745012ec35": ["model.synthetix.fct_core_migration_eth_mainnet"], "test.synthetix.not_null_fct_core_migration_eth_mainnet_account_id.afcffa2df1": ["model.synthetix.fct_core_migration_eth_mainnet"], "test.synthetix.not_null_fct_core_migration_eth_mainnet_collateral_amount.0b05c3add8": ["model.synthetix.fct_core_migration_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_migration_eth_mainnet_collateral_amount__True__0.049cad30eb": ["model.synthetix.fct_core_migration_eth_mainnet"], "test.synthetix.not_null_fct_core_migration_eth_mainnet_debt_amount.8b36e762c2": ["model.synthetix.fct_core_migration_eth_mainnet"], "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_ts.a201c86ec0": ["model.synthetix.fct_core_migration_hourly_eth_mainnet"], "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_pool_id.55def21e95": ["model.synthetix.fct_core_migration_hourly_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_pool_id__True__0.a0670cc5c1": ["model.synthetix.fct_core_migration_hourly_eth_mainnet"], "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_collateral_type.e0ef271f9a": ["model.synthetix.fct_core_migration_hourly_eth_mainnet"], "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated.99b91b00b5": ["model.synthetix.fct_core_migration_hourly_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated__True__0.2c5355cf5c": ["model.synthetix.fct_core_migration_hourly_eth_mainnet"], "test.synthetix.not_null_fct_prices_eth_mainnet_ts.4a1a2f8c2d": ["model.synthetix.fct_prices_eth_mainnet"], "test.synthetix.not_null_fct_prices_eth_mainnet_market_symbol.f1f5318f4a": ["model.synthetix.fct_prices_eth_mainnet"], "test.synthetix.not_null_fct_prices_eth_mainnet_price.fff835950c": ["model.synthetix.fct_prices_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0.4a537a60cd": ["model.synthetix.fct_prices_eth_mainnet"], "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_ts.6f3aced404": ["model.synthetix.fct_prices_hourly_eth_mainnet"], "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_market_symbol.dad998df0c": ["model.synthetix.fct_prices_hourly_eth_mainnet"], "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_price.f438a75278": ["model.synthetix.fct_prices_hourly_eth_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_eth_mainnet_price__True__0.7cc073306d": ["model.synthetix.fct_prices_hourly_eth_mainnet"], "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_ts.19a49fa7ad": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_pool_id.ed851987e8": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_pool_id__True__0.071c26474c": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type.d5a70bb05b": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_distributor.78e1e8f668": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol.0fd511c8cb": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_amount.5d537baae4": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_amount__True__0.debd774d66": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_ts.47ea299d3f": ["model.synthetix.fct_core_account_delegation_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_account_id.bd5bdf25e3": ["model.synthetix.fct_core_account_delegation_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id.54d8a339d7": ["model.synthetix.fct_core_account_delegation_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_pool_id__True__0.aa7ddfc925": ["model.synthetix.fct_core_account_delegation_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_collateral_type.2ce3f7a9bb": ["model.synthetix.fct_core_account_delegation_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_amount_delegated.56c41128cd": ["model.synthetix.fct_core_account_delegation_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_amount_delegated__True__0.f003c4fdae": ["model.synthetix.fct_core_account_delegation_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_ts.97e8b55304": ["model.synthetix.fct_core_apr_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_pool_id.6f62001f11": ["model.synthetix.fct_core_apr_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_pool_id__True__0.8a8c4f782b": ["model.synthetix.fct_core_apr_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_collateral_type.063adda35b": ["model.synthetix.fct_core_apr_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_collateral_value.21b8ffe226": ["model.synthetix.fct_core_apr_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_collateral_value__True__0.ffb99e9e0a": ["model.synthetix.fct_core_apr_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_debt.3dc045078a": ["model.synthetix.fct_core_apr_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance.80329841e3": ["model.synthetix.fct_core_apr_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl.cca97779a8": ["model.synthetix.fct_core_apr_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl.3aeb9de820": ["model.synthetix.fct_core_apr_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance.e1798a309e": ["model.synthetix.fct_core_apr_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_rewards_usd.382bc038bb": ["model.synthetix.fct_core_apr_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_rewards_usd__True__0.1ddf38024d": ["model.synthetix.fct_core_apr_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct.fb9fdebdde": ["model.synthetix.fct_core_apr_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct__True__1___1.1b8022dfc1": ["model.synthetix.fct_core_apr_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct.c370595c99": ["model.synthetix.fct_core_apr_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct__True__1__0.f1335e174b": ["model.synthetix.fct_core_apr_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_24h.8106520838": ["model.synthetix.fct_core_apr_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_24h.83d96a1a08": ["model.synthetix.fct_core_apr_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_7d.06f4c6a6e1": ["model.synthetix.fct_core_apr_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_7d.cf96fd9428": ["model.synthetix.fct_core_apr_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_28d.964b18810e": ["model.synthetix.fct_core_apr_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_28d.fa829d9ef7": ["model.synthetix.fct_core_apr_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_id.322013511a": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"], "test.synthetix.unique_fct_core_market_updated_arbitrum_mainnet_id.1caa9c591c": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_ts.b5fc2ec12e": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_transaction_hash.aa748b5290": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_event_name.5590c6c9b0": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"], "test.synthetix.accepted_values_fct_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.0bf85002ba": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_market_id.286e3a43cf": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_arbitrum_mainnet_market_id__True__0.23d58ffdfe": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_collateral_type.85f2ad0cb4": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_credit_capacity.03f2d72a75": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance.c0d40f9ece": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_token_amount.74526c215d": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_ts.e1e47715a3": ["model.synthetix.fct_core_pool_collateral_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_collateral_type.6824e3181d": ["model.synthetix.fct_core_pool_collateral_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_amount_deposited.e481f3fc24": ["model.synthetix.fct_core_pool_collateral_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_ts.5d96538438": ["model.synthetix.fct_core_pool_delegation_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id.fe0fca7194": ["model.synthetix.fct_core_pool_delegation_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_mainnet_pool_id__True__0.cc3901412b": ["model.synthetix.fct_core_pool_delegation_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_collateral_type.d924f2d2aa": ["model.synthetix.fct_core_pool_delegation_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_id.61336667c3": ["model.synthetix.fct_core_pools_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_pools_arbitrum_mainnet_id__True__0.913c01840d": ["model.synthetix.fct_core_pools_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_created_ts.b08fc3c233": ["model.synthetix.fct_core_pools_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_block_number.7aac324156": ["model.synthetix.fct_core_pools_arbitrum_mainnet"], "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_owner.4cc2187f96": ["model.synthetix.fct_core_pools_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_ts.aac8a7264c": ["model.synthetix.fct_pool_debt_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_block_number.f6d01f24fd": ["model.synthetix.fct_pool_debt_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_pool_id.dc562b5c31": ["model.synthetix.fct_pool_debt_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_arbitrum_mainnet_pool_id__True__0.15db752b00": ["model.synthetix.fct_pool_debt_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_collateral_type.a3b9300e6c": ["model.synthetix.fct_pool_debt_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_debt.5ff363252c": ["model.synthetix.fct_pool_debt_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts.9170e8931e": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id.ad0bc3744f": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id__True__0.24b97cc6ba": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_collateral_type.5b444b3e9d": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_hourly_issuance.dcbdd9b577": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_ts.6d52d9f09c": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_block_number.954a0fdf17": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash.6a8e54c252": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_pool_id.0706d99bc3": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_arbitrum_mainnet_pool_id__True__0.411a2ea602": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type.ba8bb06771": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_account_id.2adc95113c": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_amount.375d9b98af": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts.b23b3c4ccc": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id.e6c4e35168": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id__True__0.82a420e70a": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type.5b16d63899": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value.d293fcea90": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value__True__0.2e110c1268": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt.9ac5b9bf5c": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance.5511774a0b": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl.678864f7b5": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd.196b421cb3": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd__True__0.636294733f": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct.860b962ff4": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct__True__1___1.5893ffde97": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct.8068a50a34": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct__True__1__0.c0f135f71a": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct.2ba37617f1": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts.55c84a8938": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id.3237fb1ab1": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id__True__0.4d32e65287": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_collateral_type.490293ba7d": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd.f0877fa7b3": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd__True__0.d689f56d7e": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts.22756175d0": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id.35527b8712": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id__True__0.4ed8a94f92": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_collateral_type.dee4fdda32": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_distributor.a9383020e8": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_token_symbol.0f93337098": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price.e94408c4a3": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_price__True__0.bd113fbed7": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount.1f06d81670": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount__True__0.e75762e0c1": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed.0abef6eb56": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed__True__0.7447bf410c": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd.38626f59b3": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd__True__0.034dbdbb73": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_ts.3133817d65": ["model.synthetix.fct_synth_supply_arbitrum_mainnet"], "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_block_number.bf6d504d6f": ["model.synthetix.fct_synth_supply_arbitrum_mainnet"], "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id.9ef357e324": ["model.synthetix.fct_synth_supply_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_arbitrum_mainnet_synth_market_id__True__0.214f52024f": ["model.synthetix.fct_synth_supply_arbitrum_mainnet"], "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_supply.4f38308508": ["model.synthetix.fct_synth_supply_arbitrum_mainnet"], "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_id.58d62fa75b": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"], "test.synthetix.unique_fct_spot_atomics_arbitrum_mainnet_id.103cfc1fee": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"], "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_ts.8faded4450": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"], "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_block_number.4090627930": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"], "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash.fc4480c793": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"], "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id.3ce730fbe0": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_arbitrum_mainnet_synth_market_id__True__0.a856a28abf": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"], "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_price.8c5fac0d4b": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"], "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_amount.2a29d582dd": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"], "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_referrer.8f3d6e7ca8": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"], "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_id.0f47b50907": ["model.synthetix.fct_spot_markets_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_arbitrum_mainnet_id__True__0.fc6e00e4d7": ["model.synthetix.fct_spot_markets_arbitrum_mainnet"], "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_created_ts.d20eea3054": ["model.synthetix.fct_spot_markets_arbitrum_mainnet"], "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_block_number.8e6492baa4": ["model.synthetix.fct_spot_markets_arbitrum_mainnet"], "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_token_address.19fe19c198": ["model.synthetix.fct_spot_markets_arbitrum_mainnet"], "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_id.4d99f875a3": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet"], "test.synthetix.unique_fct_spot_wrapper_arbitrum_mainnet_id.2107017636": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet"], "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_ts.91d9f782bb": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet"], "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_block_number.d1c04e4c89": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet"], "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash.4401566d1f": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet"], "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id.f0195bb21f": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_mainnet_synth_market_id__True__0.f6decdacf4": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet"], "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped.f91b4eedc8": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet"], "test.synthetix.not_null_fct_prices_arbitrum_mainnet_ts.2fbdc0fed9": ["model.synthetix.fct_prices_arbitrum_mainnet"], "test.synthetix.not_null_fct_prices_arbitrum_mainnet_market_symbol.2c3e729969": ["model.synthetix.fct_prices_arbitrum_mainnet"], "test.synthetix.not_null_fct_prices_arbitrum_mainnet_price.0a15cd9a88": ["model.synthetix.fct_prices_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_prices_arbitrum_mainnet_price__True__0.2dcde08f36": ["model.synthetix.fct_prices_arbitrum_mainnet"], "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_ts.125ef9fa4d": ["model.synthetix.fct_prices_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol.b0ef15f205": ["model.synthetix.fct_prices_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_price.cc751acae1": ["model.synthetix.fct_prices_hourly_arbitrum_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_arbitrum_mainnet_price__True__0.a6e6a0e3ce": ["model.synthetix.fct_prices_hourly_arbitrum_mainnet"], "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_ts.58ba7f8051": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_pool_id.7e25d73251": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_pool_id__True__0.82e7a1605d": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type.9b8cfcd53f": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_distributor.575416cf09": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol.6e44e80815": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_amount.2019cf2384": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_amount__True__0.7328694eba": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_ts.143d36cd88": ["model.synthetix.fct_core_account_delegation_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_account_id.a6811a48a4": ["model.synthetix.fct_core_account_delegation_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id.0a7b37ae8c": ["model.synthetix.fct_core_account_delegation_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_pool_id__True__0.8b1dae49a3": ["model.synthetix.fct_core_account_delegation_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_collateral_type.c996bc8d62": ["model.synthetix.fct_core_account_delegation_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_amount_delegated.f883895d2a": ["model.synthetix.fct_core_account_delegation_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_amount_delegated__True__0.b9f7312790": ["model.synthetix.fct_core_account_delegation_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_ts.e6b3476db0": ["model.synthetix.fct_core_apr_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_pool_id.58add87a89": ["model.synthetix.fct_core_apr_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_pool_id__True__0.a2269ae87b": ["model.synthetix.fct_core_apr_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_collateral_type.a646b7cb26": ["model.synthetix.fct_core_apr_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_collateral_value.2ada9cf10f": ["model.synthetix.fct_core_apr_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_collateral_value__True__0.fdfbc111a3": ["model.synthetix.fct_core_apr_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_debt.9b76325181": ["model.synthetix.fct_core_apr_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance.18ef26f177": ["model.synthetix.fct_core_apr_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl.d189c809ff": ["model.synthetix.fct_core_apr_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl.4b337f056f": ["model.synthetix.fct_core_apr_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance.574d2a783c": ["model.synthetix.fct_core_apr_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_rewards_usd.ae2ea707de": ["model.synthetix.fct_core_apr_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_rewards_usd__True__0.16097a4425": ["model.synthetix.fct_core_apr_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct.e663f8a83d": ["model.synthetix.fct_core_apr_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct__True__1___1.71d905126b": ["model.synthetix.fct_core_apr_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct.12f359d425": ["model.synthetix.fct_core_apr_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct__True__1__0.573ad6f791": ["model.synthetix.fct_core_apr_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_24h.70ceb15524": ["model.synthetix.fct_core_apr_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_24h.cc6a60bf0d": ["model.synthetix.fct_core_apr_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_7d.9df14e1133": ["model.synthetix.fct_core_apr_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_7d.d37e5ab6c3": ["model.synthetix.fct_core_apr_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_28d.1273ef3c47": ["model.synthetix.fct_core_apr_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_28d.c90acf86f3": ["model.synthetix.fct_core_apr_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_id.378db4cf74": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"], "test.synthetix.unique_fct_core_market_updated_arbitrum_sepolia_id.8dc27d8b84": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_ts.b76a8ffb56": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_transaction_hash.45d8547f52": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_event_name.4419326334": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"], "test.synthetix.accepted_values_fct_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.ea1df73130": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_market_id.2752afabd6": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_arbitrum_sepolia_market_id__True__0.95e420ef94": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_collateral_type.d8f0899c66": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_credit_capacity.9862e1aaee": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance.62f7b3daca": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_token_amount.4d14e4bb21": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_ts.33284497f5": ["model.synthetix.fct_core_pool_collateral_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_collateral_type.05d462c474": ["model.synthetix.fct_core_pool_collateral_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_amount_deposited.feb182d7c0": ["model.synthetix.fct_core_pool_collateral_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_ts.f1e8f35f9b": ["model.synthetix.fct_core_pool_delegation_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id.58ecabbbb6": ["model.synthetix.fct_core_pool_delegation_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_sepolia_pool_id__True__0.72a7f44e62": ["model.synthetix.fct_core_pool_delegation_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_collateral_type.866b468c25": ["model.synthetix.fct_core_pool_delegation_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_id.0242b18493": ["model.synthetix.fct_core_pools_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_core_pools_arbitrum_sepolia_id__True__0.d4e586601a": ["model.synthetix.fct_core_pools_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_created_ts.56d3c1e25b": ["model.synthetix.fct_core_pools_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_block_number.8044e9af90": ["model.synthetix.fct_core_pools_arbitrum_sepolia"], "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_owner.5ee993817b": ["model.synthetix.fct_core_pools_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_ts.0ce19a05b3": ["model.synthetix.fct_pool_debt_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_block_number.9fe11ea9dd": ["model.synthetix.fct_pool_debt_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_pool_id.4539ef9df3": ["model.synthetix.fct_pool_debt_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_arbitrum_sepolia_pool_id__True__0.ec7d22b029": ["model.synthetix.fct_pool_debt_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_collateral_type.a6fdff57f4": ["model.synthetix.fct_pool_debt_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_debt.652029afcf": ["model.synthetix.fct_pool_debt_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts.1cc52a2fae": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id.cf6825af38": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id__True__0.1156081282": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_collateral_type.56203ac00f": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_hourly_issuance.24747bdf20": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_ts.94cc660ca9": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_block_number.7b40b6a61f": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash.333c0c5e61": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_pool_id.2084f5f832": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_arbitrum_sepolia_pool_id__True__0.0ec85b0399": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type.aef6de9ec1": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_account_id.45720a8ffb": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_amount.43a9be48cb": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts.a70d2ff18c": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id.aa93d2af52": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id__True__0.2553f9acd9": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type.ad28430a8b": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value.4feda18e6e": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value__True__0.8f44ccf6a8": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt.064b4f1aa0": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance.98a21247a9": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl.71c511680d": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd.de45431bfe": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd__True__0.c70c3ef6d1": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct.cfa91548b1": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct__True__1___1.758a1bd318": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct.85b61a0a46": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct__True__1__0.155d04b096": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct.57d5efdf83": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts.c0fe0cb40b": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id.a84969537b": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id__True__0.550e7516ff": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_collateral_type.e8435924a6": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd.a8bf6b50cf": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd__True__0.29163ebf9c": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts.408bc991e9": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id.c9c0638ac8": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id__True__0.dc85f8adb9": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_collateral_type.6bd3efb9ab": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_distributor.57d35a371e": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_token_symbol.43135a2a58": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price.8b9f940b5a": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_price__True__0.03fbb6a68c": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount.a128c8eb69": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount__True__0.b67f19c73b": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed.92aa5d68ee": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed__True__0.a2ebbe6544": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd.a4c3a5bd6d": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd__True__0.1aeeb784bf": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_ts.27dc7912ff": ["model.synthetix.fct_synth_supply_arbitrum_sepolia"], "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_block_number.f392305688": ["model.synthetix.fct_synth_supply_arbitrum_sepolia"], "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id.4a2d305755": ["model.synthetix.fct_synth_supply_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_arbitrum_sepolia_synth_market_id__True__0.e33f94430c": ["model.synthetix.fct_synth_supply_arbitrum_sepolia"], "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_supply.e3a1577f38": ["model.synthetix.fct_synth_supply_arbitrum_sepolia"], "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_id.491922c0de": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"], "test.synthetix.unique_fct_spot_atomics_arbitrum_sepolia_id.ac19d3d198": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"], "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_ts.892f2a57c7": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"], "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_block_number.8b344f291a": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"], "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash.e8c13a9755": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"], "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id.b6c3e19705": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_arbitrum_sepolia_synth_market_id__True__0.783d66767d": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"], "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_price.685e079a35": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"], "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_amount.08628c0e8d": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"], "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_referrer.ab47b8a4dc": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"], "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_id.8e20da3df9": ["model.synthetix.fct_spot_markets_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_arbitrum_sepolia_id__True__0.181ee7b620": ["model.synthetix.fct_spot_markets_arbitrum_sepolia"], "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_created_ts.d5e3080b9d": ["model.synthetix.fct_spot_markets_arbitrum_sepolia"], "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_block_number.50ad9758fc": ["model.synthetix.fct_spot_markets_arbitrum_sepolia"], "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_token_address.1b182f5b09": ["model.synthetix.fct_spot_markets_arbitrum_sepolia"], "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_id.e4af3a2e01": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia"], "test.synthetix.unique_fct_spot_wrapper_arbitrum_sepolia_id.ef7877efab": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia"], "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_ts.cac57bdf22": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia"], "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_block_number.11ac634180": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia"], "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash.bc4c1e86f4": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia"], "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id.73a4297f2a": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_sepolia_synth_market_id__True__0.38952f7e02": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia"], "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped.77a6a551fc": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia"], "test.synthetix.not_null_fct_prices_arbitrum_sepolia_ts.a139176cd1": ["model.synthetix.fct_prices_arbitrum_sepolia"], "test.synthetix.not_null_fct_prices_arbitrum_sepolia_market_symbol.5499da1cc7": ["model.synthetix.fct_prices_arbitrum_sepolia"], "test.synthetix.not_null_fct_prices_arbitrum_sepolia_price.45fcd4b484": ["model.synthetix.fct_prices_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_prices_arbitrum_sepolia_price__True__0.cd20dabe63": ["model.synthetix.fct_prices_arbitrum_sepolia"], "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_ts.45b8cdbd25": ["model.synthetix.fct_prices_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol.6b1d78c094": ["model.synthetix.fct_prices_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_price.774a8eccfb": ["model.synthetix.fct_prices_hourly_arbitrum_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_arbitrum_sepolia_price__True__0.e322ab3e73": ["model.synthetix.fct_prices_hourly_arbitrum_sepolia"], "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_id.a798ff42d8": ["model.synthetix.fct_perp_interest_charged_base_mainnet"], "test.synthetix.unique_fct_perp_interest_charged_base_mainnet_id.31ca39738f": ["model.synthetix.fct_perp_interest_charged_base_mainnet"], "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_block_timestamp.60136d09c1": ["model.synthetix.fct_perp_interest_charged_base_mainnet"], "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_block_number.47e9d47bb4": ["model.synthetix.fct_perp_interest_charged_base_mainnet"], "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_transaction_hash.f85d4df49f": ["model.synthetix.fct_perp_interest_charged_base_mainnet"], "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_contract.8e7dd8a6ef": ["model.synthetix.fct_perp_interest_charged_base_mainnet"], "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_event_name.eaf9eac9c3": ["model.synthetix.fct_perp_interest_charged_base_mainnet"], "test.synthetix.accepted_values_fct_perp_interest_charged_base_mainnet_event_name__InterestCharged.b8b39fbb4d": ["model.synthetix.fct_perp_interest_charged_base_mainnet"], "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_account_id.2830ac0b93": ["model.synthetix.fct_perp_interest_charged_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_account_id__True__0.d4da8249b8": ["model.synthetix.fct_perp_interest_charged_base_mainnet"], "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_interest.073a973712": ["model.synthetix.fct_perp_interest_charged_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_interest__True__0.b25a9c1b50": ["model.synthetix.fct_perp_interest_charged_base_mainnet"], "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_id.efa9bbeec9": ["model.synthetix.fct_perp_collateral_modified_base_mainnet"], "test.synthetix.unique_fct_perp_collateral_modified_base_mainnet_id.9010e87027": ["model.synthetix.fct_perp_collateral_modified_base_mainnet"], "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_block_timestamp.7c5c8a362c": ["model.synthetix.fct_perp_collateral_modified_base_mainnet"], "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_block_number.45b34bf575": ["model.synthetix.fct_perp_collateral_modified_base_mainnet"], "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_transaction_hash.8cc455d504": ["model.synthetix.fct_perp_collateral_modified_base_mainnet"], "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_contract.f078950840": ["model.synthetix.fct_perp_collateral_modified_base_mainnet"], "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_event_name.44267a4fa1": ["model.synthetix.fct_perp_collateral_modified_base_mainnet"], "test.synthetix.accepted_values_fct_perp_collateral_modified_base_mainnet_event_name__CollateralModified.00f5016782": ["model.synthetix.fct_perp_collateral_modified_base_mainnet"], "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_synth_market_id.3a3dffb920": ["model.synthetix.fct_perp_collateral_modified_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_base_mainnet_synth_market_id__True__0.644f81887d": ["model.synthetix.fct_perp_collateral_modified_base_mainnet"], "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_sender.b3270f32cc": ["model.synthetix.fct_perp_collateral_modified_base_mainnet"], "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_id.627b6b6b63": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"], "test.synthetix.unique_fct_perp_previous_order_expired_base_mainnet_id.220846a37a": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"], "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_block_timestamp.da7b51b840": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"], "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_block_number.89b98bd9a2": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"], "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_transaction_hash.573aaff2f5": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"], "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_contract.bd6be0f02f": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"], "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_event_name.473a967d1d": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"], "test.synthetix.accepted_values_fct_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired.1769035769": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"], "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_market_id.8bf9effd5e": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_market_id__True__0.59d73bf004": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"], "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_account_id.e7aae917c2": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_account_id__True__0.0f31e1095c": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"], "test.synthetix.not_null_fct_perp_trades_base_mainnet_id.35375a8491": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.unique_fct_perp_trades_base_mainnet_id.b1b63119eb": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.not_null_fct_perp_trades_base_mainnet_ts.e5e75d9d71": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.not_null_fct_perp_trades_base_mainnet_block_number.474b7643d0": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.not_null_fct_perp_trades_base_mainnet_transaction_hash.b1e9287d28": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.not_null_fct_perp_trades_base_mainnet_contract.8897e47e7e": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.not_null_fct_perp_trades_base_mainnet_market_id.6ea4246016": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_market_id__True__0.585f613862": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.not_null_fct_perp_trades_base_mainnet_market_symbol.e75d95d12c": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.not_null_fct_perp_trades_base_mainnet_account_id.8a94516fd9": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.not_null_fct_perp_trades_base_mainnet_fill_price.e731328206": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_fill_price__True__0.3edbbda7ae": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.not_null_fct_perp_trades_base_mainnet_pnl.e87ee65983": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.not_null_fct_perp_trades_base_mainnet_accrued_funding.f6a962643b": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.not_null_fct_perp_trades_base_mainnet_trade_size.2a003017e9": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.not_null_fct_perp_trades_base_mainnet_position_size.a687f5c9e4": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.not_null_fct_perp_trades_base_mainnet_total_fees.73178c801b": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_total_fees__True__0.37a3c34f6a": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.not_null_fct_perp_trades_base_mainnet_referral_fees.8c5c0f55a4": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_referral_fees__True__0.09a87481d6": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.not_null_fct_perp_trades_base_mainnet_collected_fees.1888a67b67": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_collected_fees__True__0.cec844302b": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.not_null_fct_perp_trades_base_mainnet_settlement_reward.c472f75c36": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_settlement_reward__True__0.56c953ccdc": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.not_null_fct_perp_trades_base_mainnet_tracking_code.3b557b440d": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.not_null_fct_perp_trades_base_mainnet_settler.cebd15f3ad": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.not_null_fct_perp_trades_base_mainnet_notional_trade_size.25efead997": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.not_null_fct_perp_trades_base_mainnet_notional_position_size.549d1d1b0b": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.not_null_fct_perp_trades_base_mainnet_lp_fees.1da0034ac9": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_lp_fees__True__0.67c14ce54a": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.not_null_fct_perp_trades_base_mainnet_exchange_fees.5a4c21716f": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_exchange_fees__True__0.43ef826334": ["model.synthetix.fct_perp_trades_base_mainnet"], "test.synthetix.not_null_fct_perp_pnl_base_mainnet_ts.aa0943ea1a": ["model.synthetix.fct_perp_pnl_base_mainnet"], "test.synthetix.not_null_fct_perp_pnl_base_mainnet_market_id.915c961b40": ["model.synthetix.fct_perp_pnl_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_base_mainnet_market_id__True__0.58f61a0590": ["model.synthetix.fct_perp_pnl_base_mainnet"], "test.synthetix.not_null_fct_perp_orders_base_mainnet_id.2c415fb4fb": ["model.synthetix.fct_perp_orders_base_mainnet"], "test.synthetix.unique_fct_perp_orders_base_mainnet_id.1b8b85dac5": ["model.synthetix.fct_perp_orders_base_mainnet"], "test.synthetix.not_null_fct_perp_orders_base_mainnet_ts.a61957fc22": ["model.synthetix.fct_perp_orders_base_mainnet"], "test.synthetix.not_null_fct_perp_orders_base_mainnet_block_number.3be9f0b718": ["model.synthetix.fct_perp_orders_base_mainnet"], "test.synthetix.not_null_fct_perp_orders_base_mainnet_transaction_hash.71d76cac79": ["model.synthetix.fct_perp_orders_base_mainnet"], "test.synthetix.not_null_fct_perp_orders_base_mainnet_contract.6a5b003b92": ["model.synthetix.fct_perp_orders_base_mainnet"], "test.synthetix.not_null_fct_perp_orders_base_mainnet_market_id.5b936d3011": ["model.synthetix.fct_perp_orders_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_base_mainnet_market_id__True__0.2d585533fc": ["model.synthetix.fct_perp_orders_base_mainnet"], "test.synthetix.not_null_fct_perp_orders_base_mainnet_market_symbol.554f14b42b": ["model.synthetix.fct_perp_orders_base_mainnet"], "test.synthetix.not_null_fct_perp_orders_base_mainnet_account_id.08880589a0": ["model.synthetix.fct_perp_orders_base_mainnet"], "test.synthetix.not_null_fct_perp_markets_base_mainnet_id.bd1fc06532": ["model.synthetix.fct_perp_markets_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_base_mainnet_id__True__0.ac58557180": ["model.synthetix.fct_perp_markets_base_mainnet"], "test.synthetix.not_null_fct_perp_markets_base_mainnet_created_ts.b73d9a0c8a": ["model.synthetix.fct_perp_markets_base_mainnet"], "test.synthetix.not_null_fct_perp_markets_base_mainnet_block_number.6792b019f1": ["model.synthetix.fct_perp_markets_base_mainnet"], "test.synthetix.not_null_fct_perp_markets_base_mainnet_market_symbol.c8dc99abfc": ["model.synthetix.fct_perp_markets_base_mainnet"], "test.synthetix.not_null_fct_perp_markets_base_mainnet_market_name.303acf9a19": ["model.synthetix.fct_perp_markets_base_mainnet"], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_id.c9dbfad377": ["model.synthetix.fct_perp_market_history_base_mainnet"], "test.synthetix.unique_fct_perp_market_history_base_mainnet_id.8b11f687f0": ["model.synthetix.fct_perp_market_history_base_mainnet"], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_ts.d5f4e338d6": ["model.synthetix.fct_perp_market_history_base_mainnet"], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_block_number.485f73c767": ["model.synthetix.fct_perp_market_history_base_mainnet"], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_transaction_hash.d53db511d0": ["model.synthetix.fct_perp_market_history_base_mainnet"], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_id.cab90009a8": ["model.synthetix.fct_perp_market_history_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_market_id__True__0.c7e76b30aa": ["model.synthetix.fct_perp_market_history_base_mainnet"], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_symbol.c60910b39a": ["model.synthetix.fct_perp_market_history_base_mainnet"], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_price.acf046de31": ["model.synthetix.fct_perp_market_history_base_mainnet"], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_skew.a4d473f3fc": ["model.synthetix.fct_perp_market_history_base_mainnet"], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size.3bbf16be92": ["model.synthetix.fct_perp_market_history_base_mainnet"], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size_delta.c2cfd7a96f": ["model.synthetix.fct_perp_market_history_base_mainnet"], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_rate.904532dfcd": ["model.synthetix.fct_perp_market_history_base_mainnet"], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_velocity.0bd6fa06fa": ["model.synthetix.fct_perp_market_history_base_mainnet"], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_interest_rate.2c5e879eef": ["model.synthetix.fct_perp_market_history_base_mainnet"], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_rate_apr.50943753dc": ["model.synthetix.fct_perp_market_history_base_mainnet"], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_long_rate_apr.785d324d07": ["model.synthetix.fct_perp_market_history_base_mainnet"], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_short_rate_apr.a2f2135476": ["model.synthetix.fct_perp_market_history_base_mainnet"], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size_usd.bc3090b261": ["model.synthetix.fct_perp_market_history_base_mainnet"], "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_id.4311fef5a1": ["model.synthetix.fct_perp_liq_position_base_mainnet"], "test.synthetix.unique_fct_perp_liq_position_base_mainnet_id.f46ba34fa7": ["model.synthetix.fct_perp_liq_position_base_mainnet"], "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_ts.2dc7a4a976": ["model.synthetix.fct_perp_liq_position_base_mainnet"], "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_block_number.da16c5c256": ["model.synthetix.fct_perp_liq_position_base_mainnet"], "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_transaction_hash.d54f66674c": ["model.synthetix.fct_perp_liq_position_base_mainnet"], "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_account_id.f3ec9ddba7": ["model.synthetix.fct_perp_liq_position_base_mainnet"], "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_market_id.7f965252ed": ["model.synthetix.fct_perp_liq_position_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_market_id__True__0.149bc69560": ["model.synthetix.fct_perp_liq_position_base_mainnet"], "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_market_symbol.a84ac24b5f": ["model.synthetix.fct_perp_liq_position_base_mainnet"], "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_amount_liquidated.893ef59124": ["model.synthetix.fct_perp_liq_position_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_amount_liquidated__True__0.51c2fa3b3f": ["model.synthetix.fct_perp_liq_position_base_mainnet"], "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_position_size.dcfe3d8623": ["model.synthetix.fct_perp_liq_position_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_position_size__True__0.a626e988d4": ["model.synthetix.fct_perp_liq_position_base_mainnet"], "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_account_id.dd5099ce59": ["model.synthetix.fct_perp_liq_account_base_mainnet"], "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_ts.5a3efee9f7": ["model.synthetix.fct_perp_liq_account_base_mainnet"], "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_total_reward.2a8b87e55c": ["model.synthetix.fct_perp_liq_account_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_base_mainnet_total_reward__True__0.a35af51633": ["model.synthetix.fct_perp_liq_account_base_mainnet"], "test.synthetix.not_null_fct_perp_accounts_base_mainnet_id.cf1e1e2af0": ["model.synthetix.fct_perp_accounts_base_mainnet"], "test.synthetix.unique_fct_perp_accounts_base_mainnet_id.2a6de2d0f2": ["model.synthetix.fct_perp_accounts_base_mainnet"], "test.synthetix.not_null_fct_perp_accounts_base_mainnet_created_ts.cc57ba5d93": ["model.synthetix.fct_perp_accounts_base_mainnet"], "test.synthetix.not_null_fct_perp_accounts_base_mainnet_owner.b581a2df74": ["model.synthetix.fct_perp_accounts_base_mainnet"], "test.synthetix.not_null_fct_buyback_daily_base_mainnet_ts.14a31d2a6b": ["model.synthetix.fct_buyback_daily_base_mainnet"], "test.synthetix.not_null_fct_buyback_daily_base_mainnet_snx_amount.ea18aa299d": ["model.synthetix.fct_buyback_daily_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_snx_amount__True__0.4dc1a7a815": ["model.synthetix.fct_buyback_daily_base_mainnet"], "test.synthetix.not_null_fct_buyback_daily_base_mainnet_usd_amount.226e5c84b2": ["model.synthetix.fct_buyback_daily_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_usd_amount__True__0.b33cfd2e0e": ["model.synthetix.fct_buyback_daily_base_mainnet"], "test.synthetix.not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount.d9cc05c370": ["model.synthetix.fct_buyback_daily_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_snx_amount__True__0.40e1988439": ["model.synthetix.fct_buyback_daily_base_mainnet"], "test.synthetix.not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount.4602f5b0ec": ["model.synthetix.fct_buyback_daily_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_usd_amount__True__0.2fdc7f3ac4": ["model.synthetix.fct_buyback_daily_base_mainnet"], "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_ts.712dc7c106": ["model.synthetix.fct_buyback_hourly_base_mainnet"], "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_snx_amount.8e18aeb895": ["model.synthetix.fct_buyback_hourly_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_snx_amount__True__0.34d4d71a42": ["model.synthetix.fct_buyback_hourly_base_mainnet"], "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_usd_amount.cbc2a221fa": ["model.synthetix.fct_buyback_hourly_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_usd_amount__True__0.153efe66c5": ["model.synthetix.fct_buyback_hourly_base_mainnet"], "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount.3f13efe309": ["model.synthetix.fct_buyback_hourly_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_snx_amount__True__0.0a50a1b2a1": ["model.synthetix.fct_buyback_hourly_base_mainnet"], "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount.d705144302": ["model.synthetix.fct_buyback_hourly_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_usd_amount__True__0.897d810e27": ["model.synthetix.fct_buyback_hourly_base_mainnet"], "test.synthetix.not_null_fct_buyback_base_mainnet_id.fbad84fb48": ["model.synthetix.fct_buyback_base_mainnet"], "test.synthetix.unique_fct_buyback_base_mainnet_id.f0c25ee329": ["model.synthetix.fct_buyback_base_mainnet"], "test.synthetix.not_null_fct_buyback_base_mainnet_ts.42175c7800": ["model.synthetix.fct_buyback_base_mainnet"], "test.synthetix.not_null_fct_buyback_base_mainnet_buyer.996c564c05": ["model.synthetix.fct_buyback_base_mainnet"], "test.synthetix.not_null_fct_buyback_base_mainnet_snx.75b728a26f": ["model.synthetix.fct_buyback_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0.ffcae6ef8f": ["model.synthetix.fct_buyback_base_mainnet"], "test.synthetix.not_null_fct_buyback_base_mainnet_usd.2e04e1ae30": ["model.synthetix.fct_buyback_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0.e9e29cece7": ["model.synthetix.fct_buyback_base_mainnet"], "test.synthetix.not_null_fct_buyback_base_mainnet_snx_price.e23de62b78": ["model.synthetix.fct_buyback_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_snx_price__True__0.4ab5da9346": ["model.synthetix.fct_buyback_base_mainnet"], "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_ts.878073b7e8": ["model.synthetix.fct_core_vault_collateral_base_mainnet"], "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_block_number.fc803534fc": ["model.synthetix.fct_core_vault_collateral_base_mainnet"], "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_contract_address.f7e3ffefb9": ["model.synthetix.fct_core_vault_collateral_base_mainnet"], "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_pool_id.1ea1a9fb17": ["model.synthetix.fct_core_vault_collateral_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_pool_id__True__0.3c62ac166d": ["model.synthetix.fct_core_vault_collateral_base_mainnet"], "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_collateral_type.e2cbb7867d": ["model.synthetix.fct_core_vault_collateral_base_mainnet"], "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_amount.43a56286ca": ["model.synthetix.fct_core_vault_collateral_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_amount__True__0.031c10a818": ["model.synthetix.fct_core_vault_collateral_base_mainnet"], "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_collateral_value.b35c2ac09a": ["model.synthetix.fct_core_vault_collateral_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_collateral_value__True__0.ffab802571": ["model.synthetix.fct_core_vault_collateral_base_mainnet"], "test.synthetix.not_null_fct_pool_rewards_base_mainnet_ts.af8563a243": ["model.synthetix.fct_pool_rewards_base_mainnet"], "test.synthetix.not_null_fct_pool_rewards_base_mainnet_pool_id.47db83edd0": ["model.synthetix.fct_pool_rewards_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_pool_id__True__0.f01ac775cc": ["model.synthetix.fct_pool_rewards_base_mainnet"], "test.synthetix.not_null_fct_pool_rewards_base_mainnet_collateral_type.2f7e01ccd0": ["model.synthetix.fct_pool_rewards_base_mainnet"], "test.synthetix.not_null_fct_pool_rewards_base_mainnet_distributor.5511d5880d": ["model.synthetix.fct_pool_rewards_base_mainnet"], "test.synthetix.not_null_fct_pool_rewards_base_mainnet_token_symbol.1810912a65": ["model.synthetix.fct_pool_rewards_base_mainnet"], "test.synthetix.not_null_fct_pool_rewards_base_mainnet_amount.c7b92514fd": ["model.synthetix.fct_pool_rewards_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_amount__True__0.5a5b31d40e": ["model.synthetix.fct_pool_rewards_base_mainnet"], "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_ts.3412be3139": ["model.synthetix.fct_core_account_delegation_base_mainnet"], "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_account_id.64d4657b45": ["model.synthetix.fct_core_account_delegation_base_mainnet"], "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_pool_id.c2b6448825": ["model.synthetix.fct_core_account_delegation_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_pool_id__True__0.a18d31544f": ["model.synthetix.fct_core_account_delegation_base_mainnet"], "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_collateral_type.01ebd9c59e": ["model.synthetix.fct_core_account_delegation_base_mainnet"], "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_amount_delegated.c0cf7fdd11": ["model.synthetix.fct_core_account_delegation_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_amount_delegated__True__0.5d186a76ca": ["model.synthetix.fct_core_account_delegation_base_mainnet"], "test.synthetix.not_null_fct_core_apr_base_mainnet_ts.fa672a8124": ["model.synthetix.fct_core_apr_base_mainnet"], "test.synthetix.not_null_fct_core_apr_base_mainnet_pool_id.ec4f69201c": ["model.synthetix.fct_core_apr_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_pool_id__True__0.6f65c027c2": ["model.synthetix.fct_core_apr_base_mainnet"], "test.synthetix.not_null_fct_core_apr_base_mainnet_collateral_type.6b18aa87ce": ["model.synthetix.fct_core_apr_base_mainnet"], "test.synthetix.not_null_fct_core_apr_base_mainnet_collateral_value.ca0cfe00d9": ["model.synthetix.fct_core_apr_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_collateral_value__True__0.09ad3e4f8e": ["model.synthetix.fct_core_apr_base_mainnet"], "test.synthetix.not_null_fct_core_apr_base_mainnet_debt.3003bbaef9": ["model.synthetix.fct_core_apr_base_mainnet"], "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_issuance.58d7e6392e": ["model.synthetix.fct_core_apr_base_mainnet"], "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_pnl.aace5f4a92": ["model.synthetix.fct_core_apr_base_mainnet"], "test.synthetix.not_null_fct_core_apr_base_mainnet_cumulative_pnl.0dfa79c775": ["model.synthetix.fct_core_apr_base_mainnet"], "test.synthetix.not_null_fct_core_apr_base_mainnet_cumulative_issuance.6b5aeff994": ["model.synthetix.fct_core_apr_base_mainnet"], "test.synthetix.not_null_fct_core_apr_base_mainnet_rewards_usd.9770eed99e": ["model.synthetix.fct_core_apr_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_rewards_usd__True__0.cd9a35763d": ["model.synthetix.fct_core_apr_base_mainnet"], "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_pnl_pct.709eae57a9": ["model.synthetix.fct_core_apr_base_mainnet"], "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_rewards_pct.e5170bb035": ["model.synthetix.fct_core_apr_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_hourly_rewards_pct__True__1__0.615edfd299": ["model.synthetix.fct_core_apr_base_mainnet"], "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_24h.5f87709afa": ["model.synthetix.fct_core_apr_base_mainnet"], "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_24h.0d59b73826": ["model.synthetix.fct_core_apr_base_mainnet"], "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_7d.8545f2f45f": ["model.synthetix.fct_core_apr_base_mainnet"], "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_7d.d068a55e21": ["model.synthetix.fct_core_apr_base_mainnet"], "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_28d.69fcad855f": ["model.synthetix.fct_core_apr_base_mainnet"], "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_28d.384e146fdc": ["model.synthetix.fct_core_apr_base_mainnet"], "test.synthetix.not_null_fct_core_market_updated_base_mainnet_id.a50a975385": ["model.synthetix.fct_core_market_updated_base_mainnet"], "test.synthetix.unique_fct_core_market_updated_base_mainnet_id.ec01754a17": ["model.synthetix.fct_core_market_updated_base_mainnet"], "test.synthetix.not_null_fct_core_market_updated_base_mainnet_ts.f35cfffa6d": ["model.synthetix.fct_core_market_updated_base_mainnet"], "test.synthetix.not_null_fct_core_market_updated_base_mainnet_transaction_hash.87848e2a26": ["model.synthetix.fct_core_market_updated_base_mainnet"], "test.synthetix.not_null_fct_core_market_updated_base_mainnet_event_name.38e05844e8": ["model.synthetix.fct_core_market_updated_base_mainnet"], "test.synthetix.accepted_values_fct_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.b6908f0c03": ["model.synthetix.fct_core_market_updated_base_mainnet"], "test.synthetix.not_null_fct_core_market_updated_base_mainnet_market_id.c97cd708fa": ["model.synthetix.fct_core_market_updated_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_base_mainnet_market_id__True__0.2ed4a3f792": ["model.synthetix.fct_core_market_updated_base_mainnet"], "test.synthetix.not_null_fct_core_market_updated_base_mainnet_collateral_type.b71240306c": ["model.synthetix.fct_core_market_updated_base_mainnet"], "test.synthetix.not_null_fct_core_market_updated_base_mainnet_credit_capacity.303317e986": ["model.synthetix.fct_core_market_updated_base_mainnet"], "test.synthetix.not_null_fct_core_market_updated_base_mainnet_net_issuance.2d64ab52f8": ["model.synthetix.fct_core_market_updated_base_mainnet"], "test.synthetix.not_null_fct_core_market_updated_base_mainnet_token_amount.ead854df90": ["model.synthetix.fct_core_market_updated_base_mainnet"], "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_ts.4e638376c4": ["model.synthetix.fct_core_pool_collateral_base_mainnet"], "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_collateral_type.63ab148d0c": ["model.synthetix.fct_core_pool_collateral_base_mainnet"], "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_amount_deposited.9fabc246a7": ["model.synthetix.fct_core_pool_collateral_base_mainnet"], "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_ts.2ed20ab777": ["model.synthetix.fct_core_pool_delegation_base_mainnet"], "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_pool_id.d338258729": ["model.synthetix.fct_core_pool_delegation_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_base_mainnet_pool_id__True__0.4d81a0e2e0": ["model.synthetix.fct_core_pool_delegation_base_mainnet"], "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_collateral_type.49ff2a0118": ["model.synthetix.fct_core_pool_delegation_base_mainnet"], "test.synthetix.not_null_fct_core_pools_base_mainnet_id.1f1f3ad095": ["model.synthetix.fct_core_pools_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_core_pools_base_mainnet_id__True__0.2b14986ce3": ["model.synthetix.fct_core_pools_base_mainnet"], "test.synthetix.not_null_fct_core_pools_base_mainnet_created_ts.a07bb6b8fe": ["model.synthetix.fct_core_pools_base_mainnet"], "test.synthetix.not_null_fct_core_pools_base_mainnet_block_number.cc61b3ca43": ["model.synthetix.fct_core_pools_base_mainnet"], "test.synthetix.not_null_fct_core_pools_base_mainnet_owner.a2cfe04f87": ["model.synthetix.fct_core_pools_base_mainnet"], "test.synthetix.not_null_fct_pool_debt_base_mainnet_ts.f49a23ebcd": ["model.synthetix.fct_pool_debt_base_mainnet"], "test.synthetix.not_null_fct_pool_debt_base_mainnet_block_number.dd32fc50c6": ["model.synthetix.fct_pool_debt_base_mainnet"], "test.synthetix.not_null_fct_pool_debt_base_mainnet_pool_id.8e9e20797d": ["model.synthetix.fct_pool_debt_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_base_mainnet_pool_id__True__0.a1f5ec7b1b": ["model.synthetix.fct_pool_debt_base_mainnet"], "test.synthetix.not_null_fct_pool_debt_base_mainnet_collateral_type.92a752ffea": ["model.synthetix.fct_pool_debt_base_mainnet"], "test.synthetix.not_null_fct_pool_debt_base_mainnet_debt.5b37c10505": ["model.synthetix.fct_pool_debt_base_mainnet"], "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_ts.af3f6a895d": ["model.synthetix.fct_pool_issuance_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_pool_id.03eddab767": ["model.synthetix.fct_pool_issuance_hourly_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_base_mainnet_pool_id__True__0.82c0a98d47": ["model.synthetix.fct_pool_issuance_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type.21efec6e56": ["model.synthetix.fct_pool_issuance_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance.1bde70000d": ["model.synthetix.fct_pool_issuance_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_issuance_base_mainnet_ts.2b8d4be103": ["model.synthetix.fct_pool_issuance_base_mainnet"], "test.synthetix.not_null_fct_pool_issuance_base_mainnet_block_number.6ae22c8ac4": ["model.synthetix.fct_pool_issuance_base_mainnet"], "test.synthetix.not_null_fct_pool_issuance_base_mainnet_transaction_hash.0764eca614": ["model.synthetix.fct_pool_issuance_base_mainnet"], "test.synthetix.not_null_fct_pool_issuance_base_mainnet_pool_id.01d3ed0f62": ["model.synthetix.fct_pool_issuance_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_base_mainnet_pool_id__True__0.5e68f64c49": ["model.synthetix.fct_pool_issuance_base_mainnet"], "test.synthetix.not_null_fct_pool_issuance_base_mainnet_collateral_type.72fe90c3b9": ["model.synthetix.fct_pool_issuance_base_mainnet"], "test.synthetix.not_null_fct_pool_issuance_base_mainnet_account_id.4f9de5ef81": ["model.synthetix.fct_pool_issuance_base_mainnet"], "test.synthetix.not_null_fct_pool_issuance_base_mainnet_amount.29761360a6": ["model.synthetix.fct_pool_issuance_base_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_ts.7c76badc22": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_pool_id.7352d1abe5": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_pool_id__True__0.4246141dca": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type.7d4e861773": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value.34ddcc2ccb": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_collateral_value__True__0.7bf7b1ccab": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_debt.e2d08dec52": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance.b0e645a132": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl.6f321ca648": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd.de69bca40d": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_rewards_usd__True__0.65717bc033": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct.43ef5d27cc": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct.0d02b364b5": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct__True__1__0.24176cb1b5": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct.9656973b1c": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_ts.cb01f363c1": ["model.synthetix.fct_pool_rewards_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_pool_id.cc4be6d53f": ["model.synthetix.fct_pool_rewards_hourly_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_pool_id__True__0.0fe5a5d2d6": ["model.synthetix.fct_pool_rewards_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type.9a0efdf293": ["model.synthetix.fct_pool_rewards_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd.2d36098b0e": ["model.synthetix.fct_pool_rewards_hourly_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_rewards_usd__True__0.e752fbfdf1": ["model.synthetix.fct_pool_rewards_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_ts.b6c015406d": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id.26caff37a4": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_pool_id__True__0.59419d2477": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_collateral_type.52b0ac191f": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor.608c8d5a0a": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_token_symbol.185f4e6438": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_price.f29ff11a01": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_price__True__0.5e57dd6ed8": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount.294d780f70": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount__True__0.edfffe8350": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed.d339be6768": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed__True__0.f2c99e8638": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd.2724c9008d": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd__True__0.2f31fe80de": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"], "test.synthetix.not_null_fct_synth_supply_base_mainnet_ts.ab30396a5d": ["model.synthetix.fct_synth_supply_base_mainnet"], "test.synthetix.not_null_fct_synth_supply_base_mainnet_block_number.8686c78edf": ["model.synthetix.fct_synth_supply_base_mainnet"], "test.synthetix.not_null_fct_synth_supply_base_mainnet_synth_market_id.5a00a55aa2": ["model.synthetix.fct_synth_supply_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_base_mainnet_synth_market_id__True__0.cf8aff1a32": ["model.synthetix.fct_synth_supply_base_mainnet"], "test.synthetix.not_null_fct_synth_supply_base_mainnet_supply.3f0fbdddb9": ["model.synthetix.fct_synth_supply_base_mainnet"], "test.synthetix.not_null_fct_spot_atomics_base_mainnet_id.627bbbf01f": ["model.synthetix.fct_spot_atomics_base_mainnet"], "test.synthetix.unique_fct_spot_atomics_base_mainnet_id.43d4b7c878": ["model.synthetix.fct_spot_atomics_base_mainnet"], "test.synthetix.not_null_fct_spot_atomics_base_mainnet_ts.8e16294c15": ["model.synthetix.fct_spot_atomics_base_mainnet"], "test.synthetix.not_null_fct_spot_atomics_base_mainnet_block_number.f27d399305": ["model.synthetix.fct_spot_atomics_base_mainnet"], "test.synthetix.not_null_fct_spot_atomics_base_mainnet_tx_hash.95b2db0403": ["model.synthetix.fct_spot_atomics_base_mainnet"], "test.synthetix.not_null_fct_spot_atomics_base_mainnet_synth_market_id.6f09447421": ["model.synthetix.fct_spot_atomics_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_base_mainnet_synth_market_id__True__0.09c446094a": ["model.synthetix.fct_spot_atomics_base_mainnet"], "test.synthetix.not_null_fct_spot_atomics_base_mainnet_price.425623addf": ["model.synthetix.fct_spot_atomics_base_mainnet"], "test.synthetix.not_null_fct_spot_atomics_base_mainnet_amount.f9fe9bd5d8": ["model.synthetix.fct_spot_atomics_base_mainnet"], "test.synthetix.not_null_fct_spot_atomics_base_mainnet_referrer.ab87d661dd": ["model.synthetix.fct_spot_atomics_base_mainnet"], "test.synthetix.not_null_fct_spot_markets_base_mainnet_id.b85cc0ba41": ["model.synthetix.fct_spot_markets_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_base_mainnet_id__True__0.51d4e415e8": ["model.synthetix.fct_spot_markets_base_mainnet"], "test.synthetix.not_null_fct_spot_markets_base_mainnet_created_ts.746ff1f9ce": ["model.synthetix.fct_spot_markets_base_mainnet"], "test.synthetix.not_null_fct_spot_markets_base_mainnet_block_number.dd426b1fb6": ["model.synthetix.fct_spot_markets_base_mainnet"], "test.synthetix.not_null_fct_spot_markets_base_mainnet_token_address.454ffd144a": ["model.synthetix.fct_spot_markets_base_mainnet"], "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_id.b1091139a2": ["model.synthetix.fct_spot_wrapper_base_mainnet"], "test.synthetix.unique_fct_spot_wrapper_base_mainnet_id.c51e21223d": ["model.synthetix.fct_spot_wrapper_base_mainnet"], "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_ts.b646319cc9": ["model.synthetix.fct_spot_wrapper_base_mainnet"], "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_block_number.9220599356": ["model.synthetix.fct_spot_wrapper_base_mainnet"], "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_tx_hash.eb92a57d59": ["model.synthetix.fct_spot_wrapper_base_mainnet"], "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_synth_market_id.4d8b77f2da": ["model.synthetix.fct_spot_wrapper_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_base_mainnet_synth_market_id__True__0.69216a8846": ["model.synthetix.fct_spot_wrapper_base_mainnet"], "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_amount_wrapped.957e1a74f3": ["model.synthetix.fct_spot_wrapper_base_mainnet"], "test.synthetix.not_null_fct_prices_base_mainnet_ts.c885673fc8": ["model.synthetix.fct_prices_base_mainnet"], "test.synthetix.not_null_fct_prices_base_mainnet_market_symbol.dc8cb46b8c": ["model.synthetix.fct_prices_base_mainnet"], "test.synthetix.not_null_fct_prices_base_mainnet_price.a6c62844d1": ["model.synthetix.fct_prices_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0.4906889fd6": ["model.synthetix.fct_prices_base_mainnet"], "test.synthetix.not_null_fct_prices_hourly_base_mainnet_ts.a2c68d326d": ["model.synthetix.fct_prices_hourly_base_mainnet"], "test.synthetix.not_null_fct_prices_hourly_base_mainnet_market_symbol.ffd656c11f": ["model.synthetix.fct_prices_hourly_base_mainnet"], "test.synthetix.not_null_fct_prices_hourly_base_mainnet_price.73bbfd891b": ["model.synthetix.fct_prices_hourly_base_mainnet"], "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_base_mainnet_price__True__0.1e768deaa2": ["model.synthetix.fct_prices_hourly_base_mainnet"], "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_id.eb661d1506": ["model.synthetix.fct_perp_interest_charged_base_sepolia"], "test.synthetix.unique_fct_perp_interest_charged_base_sepolia_id.53669ecac5": ["model.synthetix.fct_perp_interest_charged_base_sepolia"], "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_block_timestamp.0a73b599b9": ["model.synthetix.fct_perp_interest_charged_base_sepolia"], "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_block_number.b5c567e21f": ["model.synthetix.fct_perp_interest_charged_base_sepolia"], "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_transaction_hash.aaef59efbb": ["model.synthetix.fct_perp_interest_charged_base_sepolia"], "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_contract.d0f4674d07": ["model.synthetix.fct_perp_interest_charged_base_sepolia"], "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_event_name.237b079041": ["model.synthetix.fct_perp_interest_charged_base_sepolia"], "test.synthetix.accepted_values_fct_perp_interest_charged_base_sepolia_event_name__InterestCharged.ff861d06a4": ["model.synthetix.fct_perp_interest_charged_base_sepolia"], "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_account_id.86fbe78f66": ["model.synthetix.fct_perp_interest_charged_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_account_id__True__0.3edc04f3c6": ["model.synthetix.fct_perp_interest_charged_base_sepolia"], "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_interest.201254f262": ["model.synthetix.fct_perp_interest_charged_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_interest__True__0.cbe80d3cfc": ["model.synthetix.fct_perp_interest_charged_base_sepolia"], "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_id.04ae0ab4fd": ["model.synthetix.fct_perp_collateral_modified_base_sepolia"], "test.synthetix.unique_fct_perp_collateral_modified_base_sepolia_id.a5b1b5d44a": ["model.synthetix.fct_perp_collateral_modified_base_sepolia"], "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_block_timestamp.983f4f7464": ["model.synthetix.fct_perp_collateral_modified_base_sepolia"], "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_block_number.36ad8cb4d3": ["model.synthetix.fct_perp_collateral_modified_base_sepolia"], "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_transaction_hash.834ecbfe7f": ["model.synthetix.fct_perp_collateral_modified_base_sepolia"], "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_contract.e1b2d1c3f1": ["model.synthetix.fct_perp_collateral_modified_base_sepolia"], "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_event_name.0d3e82bc99": ["model.synthetix.fct_perp_collateral_modified_base_sepolia"], "test.synthetix.accepted_values_fct_perp_collateral_modified_base_sepolia_event_name__CollateralModified.f6430341ee": ["model.synthetix.fct_perp_collateral_modified_base_sepolia"], "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_synth_market_id.a933a52d36": ["model.synthetix.fct_perp_collateral_modified_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_base_sepolia_synth_market_id__True__0.6fb45ff630": ["model.synthetix.fct_perp_collateral_modified_base_sepolia"], "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_sender.36cb6d7913": ["model.synthetix.fct_perp_collateral_modified_base_sepolia"], "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_id.480d04976b": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"], "test.synthetix.unique_fct_perp_previous_order_expired_base_sepolia_id.38211e4c5d": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"], "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_block_timestamp.4b41a82d13": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"], "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_block_number.1ff7a5705c": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"], "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_transaction_hash.e1f21d4fd3": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"], "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_contract.b0da841bdf": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"], "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_event_name.daad0addfa": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"], "test.synthetix.accepted_values_fct_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired.e124d4bad8": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"], "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_market_id.17181fe5f1": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_market_id__True__0.b23f5ced4b": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"], "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_account_id.e2bf90a189": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_account_id__True__0.b2f7060dcd": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"], "test.synthetix.not_null_fct_perp_trades_base_sepolia_id.e94cf14cf4": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.unique_fct_perp_trades_base_sepolia_id.ceece98634": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.not_null_fct_perp_trades_base_sepolia_ts.76a693976f": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.not_null_fct_perp_trades_base_sepolia_block_number.36502e409b": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.not_null_fct_perp_trades_base_sepolia_transaction_hash.4d4a1afa3d": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.not_null_fct_perp_trades_base_sepolia_contract.92feeccb9f": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.not_null_fct_perp_trades_base_sepolia_market_id.3d4de88cac": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_market_id__True__0.67a1e76900": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.not_null_fct_perp_trades_base_sepolia_market_symbol.8c61ba2703": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.not_null_fct_perp_trades_base_sepolia_account_id.74992c394c": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.not_null_fct_perp_trades_base_sepolia_fill_price.3633433721": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_fill_price__True__0.b3d62542ac": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.not_null_fct_perp_trades_base_sepolia_pnl.42b0678535": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.not_null_fct_perp_trades_base_sepolia_accrued_funding.fb6b795bff": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.not_null_fct_perp_trades_base_sepolia_trade_size.e5fc6afe64": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.not_null_fct_perp_trades_base_sepolia_position_size.d124874e35": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.not_null_fct_perp_trades_base_sepolia_total_fees.d6fd22951b": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_total_fees__True__0.68c3f148eb": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.not_null_fct_perp_trades_base_sepolia_referral_fees.12cd5804dd": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_referral_fees__True__0.dc2313066f": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.not_null_fct_perp_trades_base_sepolia_collected_fees.ac78e5e098": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_collected_fees__True__0.d4eb8f3a34": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.not_null_fct_perp_trades_base_sepolia_settlement_reward.edb4d5c73f": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_settlement_reward__True__0.58cc15e824": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.not_null_fct_perp_trades_base_sepolia_tracking_code.482af3b84b": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.not_null_fct_perp_trades_base_sepolia_settler.b1e9ff8b09": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.not_null_fct_perp_trades_base_sepolia_notional_trade_size.e076755f6b": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.not_null_fct_perp_trades_base_sepolia_notional_position_size.1d9238ede6": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.not_null_fct_perp_trades_base_sepolia_lp_fees.08774e8672": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_lp_fees__True__0.8a5e6825da": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.not_null_fct_perp_trades_base_sepolia_exchange_fees.72c95e5df3": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_exchange_fees__True__0.b3ce206dc8": ["model.synthetix.fct_perp_trades_base_sepolia"], "test.synthetix.not_null_fct_perp_pnl_base_sepolia_ts.74b2ae0437": ["model.synthetix.fct_perp_pnl_base_sepolia"], "test.synthetix.not_null_fct_perp_pnl_base_sepolia_market_id.f6d4268d28": ["model.synthetix.fct_perp_pnl_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_base_sepolia_market_id__True__0.2546d9a255": ["model.synthetix.fct_perp_pnl_base_sepolia"], "test.synthetix.not_null_fct_perp_orders_base_sepolia_id.8dca618afe": ["model.synthetix.fct_perp_orders_base_sepolia"], "test.synthetix.unique_fct_perp_orders_base_sepolia_id.55dad680ba": ["model.synthetix.fct_perp_orders_base_sepolia"], "test.synthetix.not_null_fct_perp_orders_base_sepolia_ts.acaae19ba7": ["model.synthetix.fct_perp_orders_base_sepolia"], "test.synthetix.not_null_fct_perp_orders_base_sepolia_block_number.46d5d3c316": ["model.synthetix.fct_perp_orders_base_sepolia"], "test.synthetix.not_null_fct_perp_orders_base_sepolia_transaction_hash.650c93c367": ["model.synthetix.fct_perp_orders_base_sepolia"], "test.synthetix.not_null_fct_perp_orders_base_sepolia_contract.17d50e01a2": ["model.synthetix.fct_perp_orders_base_sepolia"], "test.synthetix.not_null_fct_perp_orders_base_sepolia_market_id.9c18ced1ce": ["model.synthetix.fct_perp_orders_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_base_sepolia_market_id__True__0.fe527d9b61": ["model.synthetix.fct_perp_orders_base_sepolia"], "test.synthetix.not_null_fct_perp_orders_base_sepolia_market_symbol.ccf5837d32": ["model.synthetix.fct_perp_orders_base_sepolia"], "test.synthetix.not_null_fct_perp_orders_base_sepolia_account_id.75a8413527": ["model.synthetix.fct_perp_orders_base_sepolia"], "test.synthetix.not_null_fct_perp_markets_base_sepolia_id.908ad69766": ["model.synthetix.fct_perp_markets_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_base_sepolia_id__True__0.8545400fda": ["model.synthetix.fct_perp_markets_base_sepolia"], "test.synthetix.not_null_fct_perp_markets_base_sepolia_created_ts.ec1571d5b3": ["model.synthetix.fct_perp_markets_base_sepolia"], "test.synthetix.not_null_fct_perp_markets_base_sepolia_block_number.5b8bc4dbc4": ["model.synthetix.fct_perp_markets_base_sepolia"], "test.synthetix.not_null_fct_perp_markets_base_sepolia_market_symbol.e4e36d90ae": ["model.synthetix.fct_perp_markets_base_sepolia"], "test.synthetix.not_null_fct_perp_markets_base_sepolia_market_name.47a0ccb5b2": ["model.synthetix.fct_perp_markets_base_sepolia"], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_id.5597cbd783": ["model.synthetix.fct_perp_market_history_base_sepolia"], "test.synthetix.unique_fct_perp_market_history_base_sepolia_id.a6cd45bc6b": ["model.synthetix.fct_perp_market_history_base_sepolia"], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_ts.f38b043e70": ["model.synthetix.fct_perp_market_history_base_sepolia"], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_block_number.2243d56672": ["model.synthetix.fct_perp_market_history_base_sepolia"], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_transaction_hash.692634d15d": ["model.synthetix.fct_perp_market_history_base_sepolia"], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_id.bdbb4acce1": ["model.synthetix.fct_perp_market_history_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_market_id__True__0.ee983a3e48": ["model.synthetix.fct_perp_market_history_base_sepolia"], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_symbol.a5c87dfbbc": ["model.synthetix.fct_perp_market_history_base_sepolia"], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_price.701866f2d6": ["model.synthetix.fct_perp_market_history_base_sepolia"], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_skew.2239f848ce": ["model.synthetix.fct_perp_market_history_base_sepolia"], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size.4ba39d1f97": ["model.synthetix.fct_perp_market_history_base_sepolia"], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size_delta.a047554669": ["model.synthetix.fct_perp_market_history_base_sepolia"], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_rate.8b0c11dd33": ["model.synthetix.fct_perp_market_history_base_sepolia"], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_velocity.e94823ecab": ["model.synthetix.fct_perp_market_history_base_sepolia"], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_interest_rate.7281d4e302": ["model.synthetix.fct_perp_market_history_base_sepolia"], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_rate_apr.d67d832c1f": ["model.synthetix.fct_perp_market_history_base_sepolia"], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_long_rate_apr.12346bb56d": ["model.synthetix.fct_perp_market_history_base_sepolia"], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_short_rate_apr.8f7be1f404": ["model.synthetix.fct_perp_market_history_base_sepolia"], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size_usd.38c4eef62e": ["model.synthetix.fct_perp_market_history_base_sepolia"], "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_id.79b565b3e1": ["model.synthetix.fct_perp_liq_position_base_sepolia"], "test.synthetix.unique_fct_perp_liq_position_base_sepolia_id.115ce32bec": ["model.synthetix.fct_perp_liq_position_base_sepolia"], "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_ts.57135ae312": ["model.synthetix.fct_perp_liq_position_base_sepolia"], "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_block_number.1e9c90b546": ["model.synthetix.fct_perp_liq_position_base_sepolia"], "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_transaction_hash.a0777a2fcc": ["model.synthetix.fct_perp_liq_position_base_sepolia"], "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_account_id.8cf46dc9c7": ["model.synthetix.fct_perp_liq_position_base_sepolia"], "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_market_id.781f0844d8": ["model.synthetix.fct_perp_liq_position_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_market_id__True__0.def98e4452": ["model.synthetix.fct_perp_liq_position_base_sepolia"], "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_market_symbol.f750183220": ["model.synthetix.fct_perp_liq_position_base_sepolia"], "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_amount_liquidated.a06e8cfcb4": ["model.synthetix.fct_perp_liq_position_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_amount_liquidated__True__0.2ed4eec011": ["model.synthetix.fct_perp_liq_position_base_sepolia"], "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_position_size.75bf8c09a0": ["model.synthetix.fct_perp_liq_position_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_position_size__True__0.49ac413695": ["model.synthetix.fct_perp_liq_position_base_sepolia"], "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_account_id.f56cf61194": ["model.synthetix.fct_perp_liq_account_base_sepolia"], "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_ts.c34644894f": ["model.synthetix.fct_perp_liq_account_base_sepolia"], "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_total_reward.24d48c7864": ["model.synthetix.fct_perp_liq_account_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_base_sepolia_total_reward__True__0.42888d54ae": ["model.synthetix.fct_perp_liq_account_base_sepolia"], "test.synthetix.not_null_fct_perp_accounts_base_sepolia_id.e4031edaa1": ["model.synthetix.fct_perp_accounts_base_sepolia"], "test.synthetix.unique_fct_perp_accounts_base_sepolia_id.1ca885b5ec": ["model.synthetix.fct_perp_accounts_base_sepolia"], "test.synthetix.not_null_fct_perp_accounts_base_sepolia_created_ts.00ac8e7106": ["model.synthetix.fct_perp_accounts_base_sepolia"], "test.synthetix.not_null_fct_perp_accounts_base_sepolia_owner.578268eb9a": ["model.synthetix.fct_perp_accounts_base_sepolia"], "test.synthetix.not_null_fct_buyback_daily_base_sepolia_ts.0b8a36c44c": ["model.synthetix.fct_buyback_daily_base_sepolia"], "test.synthetix.not_null_fct_buyback_daily_base_sepolia_snx_amount.113325e30a": ["model.synthetix.fct_buyback_daily_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_snx_amount__True__0.378a6852a6": ["model.synthetix.fct_buyback_daily_base_sepolia"], "test.synthetix.not_null_fct_buyback_daily_base_sepolia_usd_amount.21bc5d392b": ["model.synthetix.fct_buyback_daily_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_usd_amount__True__0.e3dd96895e": ["model.synthetix.fct_buyback_daily_base_sepolia"], "test.synthetix.not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount.c44f071e87": ["model.synthetix.fct_buyback_daily_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_snx_amount__True__0.ab215eff09": ["model.synthetix.fct_buyback_daily_base_sepolia"], "test.synthetix.not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount.f40974a9be": ["model.synthetix.fct_buyback_daily_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_usd_amount__True__0.f5fad30aa3": ["model.synthetix.fct_buyback_daily_base_sepolia"], "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_ts.39dec90aa4": ["model.synthetix.fct_buyback_hourly_base_sepolia"], "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_snx_amount.a856b40de9": ["model.synthetix.fct_buyback_hourly_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_snx_amount__True__0.40ea0d5e88": ["model.synthetix.fct_buyback_hourly_base_sepolia"], "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_usd_amount.4f119280f7": ["model.synthetix.fct_buyback_hourly_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_usd_amount__True__0.89592b2e7d": ["model.synthetix.fct_buyback_hourly_base_sepolia"], "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount.806ce65de6": ["model.synthetix.fct_buyback_hourly_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_snx_amount__True__0.6d52afd421": ["model.synthetix.fct_buyback_hourly_base_sepolia"], "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount.6347fe374e": ["model.synthetix.fct_buyback_hourly_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_usd_amount__True__0.e3d3aff3f1": ["model.synthetix.fct_buyback_hourly_base_sepolia"], "test.synthetix.not_null_fct_buyback_base_sepolia_id.03ec6b8e04": ["model.synthetix.fct_buyback_base_sepolia"], "test.synthetix.unique_fct_buyback_base_sepolia_id.ce5fc96649": ["model.synthetix.fct_buyback_base_sepolia"], "test.synthetix.not_null_fct_buyback_base_sepolia_ts.f6314da709": ["model.synthetix.fct_buyback_base_sepolia"], "test.synthetix.not_null_fct_buyback_base_sepolia_buyer.e7ec385108": ["model.synthetix.fct_buyback_base_sepolia"], "test.synthetix.not_null_fct_buyback_base_sepolia_snx.39b0dcead2": ["model.synthetix.fct_buyback_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0.21bd52e738": ["model.synthetix.fct_buyback_base_sepolia"], "test.synthetix.not_null_fct_buyback_base_sepolia_usd.427a3c3ca1": ["model.synthetix.fct_buyback_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0.7426b61d1a": ["model.synthetix.fct_buyback_base_sepolia"], "test.synthetix.not_null_fct_buyback_base_sepolia_snx_price.361a60f2b3": ["model.synthetix.fct_buyback_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_snx_price__True__0.fedfb306c2": ["model.synthetix.fct_buyback_base_sepolia"], "test.synthetix.not_null_fct_pool_rewards_base_sepolia_ts.3bc8aeff42": ["model.synthetix.fct_pool_rewards_base_sepolia"], "test.synthetix.not_null_fct_pool_rewards_base_sepolia_pool_id.8de57769b7": ["model.synthetix.fct_pool_rewards_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_pool_id__True__0.bb2309b03e": ["model.synthetix.fct_pool_rewards_base_sepolia"], "test.synthetix.not_null_fct_pool_rewards_base_sepolia_collateral_type.fcdb4bc8d4": ["model.synthetix.fct_pool_rewards_base_sepolia"], "test.synthetix.not_null_fct_pool_rewards_base_sepolia_distributor.44cab292b1": ["model.synthetix.fct_pool_rewards_base_sepolia"], "test.synthetix.not_null_fct_pool_rewards_base_sepolia_token_symbol.7f69f8767a": ["model.synthetix.fct_pool_rewards_base_sepolia"], "test.synthetix.not_null_fct_pool_rewards_base_sepolia_amount.e8cf1e51d5": ["model.synthetix.fct_pool_rewards_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_amount__True__0.da53fcc671": ["model.synthetix.fct_pool_rewards_base_sepolia"], "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_ts.4b517eadb1": ["model.synthetix.fct_core_account_delegation_base_sepolia"], "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_account_id.71a1fd9dac": ["model.synthetix.fct_core_account_delegation_base_sepolia"], "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_pool_id.8eb393e4f4": ["model.synthetix.fct_core_account_delegation_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_pool_id__True__0.508b8be78d": ["model.synthetix.fct_core_account_delegation_base_sepolia"], "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_collateral_type.dc085beb88": ["model.synthetix.fct_core_account_delegation_base_sepolia"], "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_amount_delegated.07444b44f4": ["model.synthetix.fct_core_account_delegation_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_amount_delegated__True__0.2258d23e98": ["model.synthetix.fct_core_account_delegation_base_sepolia"], "test.synthetix.not_null_fct_core_apr_base_sepolia_ts.2cc1721326": ["model.synthetix.fct_core_apr_base_sepolia"], "test.synthetix.not_null_fct_core_apr_base_sepolia_pool_id.a2ea5cc601": ["model.synthetix.fct_core_apr_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_pool_id__True__0.dca944c591": ["model.synthetix.fct_core_apr_base_sepolia"], "test.synthetix.not_null_fct_core_apr_base_sepolia_collateral_type.7a5590eb90": ["model.synthetix.fct_core_apr_base_sepolia"], "test.synthetix.not_null_fct_core_apr_base_sepolia_collateral_value.6b7be2743f": ["model.synthetix.fct_core_apr_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_collateral_value__True__0.50d2b91f46": ["model.synthetix.fct_core_apr_base_sepolia"], "test.synthetix.not_null_fct_core_apr_base_sepolia_debt.fadc5bb67a": ["model.synthetix.fct_core_apr_base_sepolia"], "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_issuance.2fcf5254d1": ["model.synthetix.fct_core_apr_base_sepolia"], "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_pnl.75c8c54189": ["model.synthetix.fct_core_apr_base_sepolia"], "test.synthetix.not_null_fct_core_apr_base_sepolia_cumulative_pnl.ce3ab4e606": ["model.synthetix.fct_core_apr_base_sepolia"], "test.synthetix.not_null_fct_core_apr_base_sepolia_cumulative_issuance.5f3ec9bec1": ["model.synthetix.fct_core_apr_base_sepolia"], "test.synthetix.not_null_fct_core_apr_base_sepolia_rewards_usd.0b9d66ba19": ["model.synthetix.fct_core_apr_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_rewards_usd__True__0.090c92559d": ["model.synthetix.fct_core_apr_base_sepolia"], "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_pnl_pct.d827dc6b5f": ["model.synthetix.fct_core_apr_base_sepolia"], "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_rewards_pct.adeb7db337": ["model.synthetix.fct_core_apr_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_hourly_rewards_pct__True__1__0.6c15e31d20": ["model.synthetix.fct_core_apr_base_sepolia"], "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_24h.275116a918": ["model.synthetix.fct_core_apr_base_sepolia"], "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_24h.b04b5222f4": ["model.synthetix.fct_core_apr_base_sepolia"], "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_7d.cfc4ec14a3": ["model.synthetix.fct_core_apr_base_sepolia"], "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_7d.45a63722a9": ["model.synthetix.fct_core_apr_base_sepolia"], "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_28d.e099bf170a": ["model.synthetix.fct_core_apr_base_sepolia"], "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_28d.1e8e0632e0": ["model.synthetix.fct_core_apr_base_sepolia"], "test.synthetix.not_null_fct_core_market_updated_base_sepolia_id.34d77ebc84": ["model.synthetix.fct_core_market_updated_base_sepolia"], "test.synthetix.unique_fct_core_market_updated_base_sepolia_id.469dae108f": ["model.synthetix.fct_core_market_updated_base_sepolia"], "test.synthetix.not_null_fct_core_market_updated_base_sepolia_ts.9f306426fd": ["model.synthetix.fct_core_market_updated_base_sepolia"], "test.synthetix.not_null_fct_core_market_updated_base_sepolia_transaction_hash.8b87578f5d": ["model.synthetix.fct_core_market_updated_base_sepolia"], "test.synthetix.not_null_fct_core_market_updated_base_sepolia_event_name.027b71247d": ["model.synthetix.fct_core_market_updated_base_sepolia"], "test.synthetix.accepted_values_fct_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.f97649ec10": ["model.synthetix.fct_core_market_updated_base_sepolia"], "test.synthetix.not_null_fct_core_market_updated_base_sepolia_market_id.e1e1cc407f": ["model.synthetix.fct_core_market_updated_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_base_sepolia_market_id__True__0.9ac29d575a": ["model.synthetix.fct_core_market_updated_base_sepolia"], "test.synthetix.not_null_fct_core_market_updated_base_sepolia_collateral_type.5333cf7124": ["model.synthetix.fct_core_market_updated_base_sepolia"], "test.synthetix.not_null_fct_core_market_updated_base_sepolia_credit_capacity.1096ceee18": ["model.synthetix.fct_core_market_updated_base_sepolia"], "test.synthetix.not_null_fct_core_market_updated_base_sepolia_net_issuance.094fc9701e": ["model.synthetix.fct_core_market_updated_base_sepolia"], "test.synthetix.not_null_fct_core_market_updated_base_sepolia_token_amount.dfd33d6c7e": ["model.synthetix.fct_core_market_updated_base_sepolia"], "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_ts.706747681b": ["model.synthetix.fct_core_pool_collateral_base_sepolia"], "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_collateral_type.98bdc1fe0e": ["model.synthetix.fct_core_pool_collateral_base_sepolia"], "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_amount_deposited.c9a6a6e3d1": ["model.synthetix.fct_core_pool_collateral_base_sepolia"], "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_ts.29b697c43e": ["model.synthetix.fct_core_pool_delegation_base_sepolia"], "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_pool_id.03e5ee04d2": ["model.synthetix.fct_core_pool_delegation_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_base_sepolia_pool_id__True__0.6f4bec67e8": ["model.synthetix.fct_core_pool_delegation_base_sepolia"], "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_collateral_type.6d78a9fae0": ["model.synthetix.fct_core_pool_delegation_base_sepolia"], "test.synthetix.not_null_fct_core_pools_base_sepolia_id.b91a0ef35b": ["model.synthetix.fct_core_pools_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_core_pools_base_sepolia_id__True__0.6010b3107d": ["model.synthetix.fct_core_pools_base_sepolia"], "test.synthetix.not_null_fct_core_pools_base_sepolia_created_ts.ddc75dd279": ["model.synthetix.fct_core_pools_base_sepolia"], "test.synthetix.not_null_fct_core_pools_base_sepolia_block_number.68462f9c7c": ["model.synthetix.fct_core_pools_base_sepolia"], "test.synthetix.not_null_fct_core_pools_base_sepolia_owner.e551fe7bc6": ["model.synthetix.fct_core_pools_base_sepolia"], "test.synthetix.not_null_fct_pool_debt_base_sepolia_ts.955bd8bfe6": ["model.synthetix.fct_pool_debt_base_sepolia"], "test.synthetix.not_null_fct_pool_debt_base_sepolia_block_number.d6752d8232": ["model.synthetix.fct_pool_debt_base_sepolia"], "test.synthetix.not_null_fct_pool_debt_base_sepolia_pool_id.bb5f56d624": ["model.synthetix.fct_pool_debt_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_base_sepolia_pool_id__True__0.0228ac48ff": ["model.synthetix.fct_pool_debt_base_sepolia"], "test.synthetix.not_null_fct_pool_debt_base_sepolia_collateral_type.5daff7c138": ["model.synthetix.fct_pool_debt_base_sepolia"], "test.synthetix.not_null_fct_pool_debt_base_sepolia_debt.235edf4e17": ["model.synthetix.fct_pool_debt_base_sepolia"], "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_ts.27f6b37554": ["model.synthetix.fct_pool_issuance_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_pool_id.10ae437d68": ["model.synthetix.fct_pool_issuance_hourly_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_base_sepolia_pool_id__True__0.9d327cf662": ["model.synthetix.fct_pool_issuance_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type.1a6b56fdf4": ["model.synthetix.fct_pool_issuance_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance.938e34bef0": ["model.synthetix.fct_pool_issuance_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_issuance_base_sepolia_ts.be998526ed": ["model.synthetix.fct_pool_issuance_base_sepolia"], "test.synthetix.not_null_fct_pool_issuance_base_sepolia_block_number.2f1e619103": ["model.synthetix.fct_pool_issuance_base_sepolia"], "test.synthetix.not_null_fct_pool_issuance_base_sepolia_transaction_hash.79420348fa": ["model.synthetix.fct_pool_issuance_base_sepolia"], "test.synthetix.not_null_fct_pool_issuance_base_sepolia_pool_id.5d2388a5a0": ["model.synthetix.fct_pool_issuance_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_base_sepolia_pool_id__True__0.e99f9bdac0": ["model.synthetix.fct_pool_issuance_base_sepolia"], "test.synthetix.not_null_fct_pool_issuance_base_sepolia_collateral_type.3b36d49350": ["model.synthetix.fct_pool_issuance_base_sepolia"], "test.synthetix.not_null_fct_pool_issuance_base_sepolia_account_id.aa037160fb": ["model.synthetix.fct_pool_issuance_base_sepolia"], "test.synthetix.not_null_fct_pool_issuance_base_sepolia_amount.5be777c996": ["model.synthetix.fct_pool_issuance_base_sepolia"], "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_ts.5acc26229f": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_pool_id.c9853b1694": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_pool_id__True__0.05c766378f": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type.1eca6afa4f": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value.02a125e570": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_collateral_value__True__0.4f1a814d7b": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_debt.27270b83bd": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance.64beeb7093": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl.1b2d20f29b": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd.3d8b12547d": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_rewards_usd__True__0.9baf8da1f5": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct.5e738de9f7": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct.d3c5df3f72": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct__True__1__0.3ae208ff52": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct.32d5d04358": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_ts.521c0d428a": ["model.synthetix.fct_pool_rewards_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_pool_id.9e81c4a855": ["model.synthetix.fct_pool_rewards_hourly_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_pool_id__True__0.7fb80d19e2": ["model.synthetix.fct_pool_rewards_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type.ca06f7aa20": ["model.synthetix.fct_pool_rewards_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd.f98e64d589": ["model.synthetix.fct_pool_rewards_hourly_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_rewards_usd__True__0.a1e92ad42f": ["model.synthetix.fct_pool_rewards_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_ts.965132b4de": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id.be2709e1ec": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_pool_id__True__0.81592c4342": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_collateral_type.d1a6cde42d": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor.e0a88ca283": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_token_symbol.0efe3d5a1b": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_price.f86d19c3a1": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_price__True__0.5d2650f33d": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount.52789db2ec": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount__True__0.c330c461c1": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed.c0f649a5e2": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed__True__0.45dd358d86": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd.d3001484ac": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd__True__0.c0730ac36d": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"], "test.synthetix.not_null_fct_synth_supply_base_sepolia_ts.0e3cf0c2f2": ["model.synthetix.fct_synth_supply_base_sepolia"], "test.synthetix.not_null_fct_synth_supply_base_sepolia_block_number.f0997efcd8": ["model.synthetix.fct_synth_supply_base_sepolia"], "test.synthetix.not_null_fct_synth_supply_base_sepolia_synth_market_id.75d7df8ce8": ["model.synthetix.fct_synth_supply_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_base_sepolia_synth_market_id__True__0.1c097f1721": ["model.synthetix.fct_synth_supply_base_sepolia"], "test.synthetix.not_null_fct_synth_supply_base_sepolia_supply.a13743a375": ["model.synthetix.fct_synth_supply_base_sepolia"], "test.synthetix.not_null_fct_spot_atomics_base_sepolia_id.dfc0db9ed4": ["model.synthetix.fct_spot_atomics_base_sepolia"], "test.synthetix.unique_fct_spot_atomics_base_sepolia_id.6c8ed0bc2a": ["model.synthetix.fct_spot_atomics_base_sepolia"], "test.synthetix.not_null_fct_spot_atomics_base_sepolia_ts.4bca6422cc": ["model.synthetix.fct_spot_atomics_base_sepolia"], "test.synthetix.not_null_fct_spot_atomics_base_sepolia_block_number.16d75a4323": ["model.synthetix.fct_spot_atomics_base_sepolia"], "test.synthetix.not_null_fct_spot_atomics_base_sepolia_tx_hash.6d969998c6": ["model.synthetix.fct_spot_atomics_base_sepolia"], "test.synthetix.not_null_fct_spot_atomics_base_sepolia_synth_market_id.e8f636df14": ["model.synthetix.fct_spot_atomics_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_base_sepolia_synth_market_id__True__0.391b470dd2": ["model.synthetix.fct_spot_atomics_base_sepolia"], "test.synthetix.not_null_fct_spot_atomics_base_sepolia_price.ce30d003ce": ["model.synthetix.fct_spot_atomics_base_sepolia"], "test.synthetix.not_null_fct_spot_atomics_base_sepolia_amount.81264c756d": ["model.synthetix.fct_spot_atomics_base_sepolia"], "test.synthetix.not_null_fct_spot_atomics_base_sepolia_referrer.7533de1c2b": ["model.synthetix.fct_spot_atomics_base_sepolia"], "test.synthetix.not_null_fct_spot_markets_base_sepolia_id.a355928e0f": ["model.synthetix.fct_spot_markets_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_base_sepolia_id__True__0.f6b3a1dac3": ["model.synthetix.fct_spot_markets_base_sepolia"], "test.synthetix.not_null_fct_spot_markets_base_sepolia_created_ts.69423c5ddb": ["model.synthetix.fct_spot_markets_base_sepolia"], "test.synthetix.not_null_fct_spot_markets_base_sepolia_block_number.25cd7e84c0": ["model.synthetix.fct_spot_markets_base_sepolia"], "test.synthetix.not_null_fct_spot_markets_base_sepolia_token_address.af639aa1d2": ["model.synthetix.fct_spot_markets_base_sepolia"], "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_id.6458cf0796": ["model.synthetix.fct_spot_wrapper_base_sepolia"], "test.synthetix.unique_fct_spot_wrapper_base_sepolia_id.3a2fb8ee86": ["model.synthetix.fct_spot_wrapper_base_sepolia"], "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_ts.8708b13a31": ["model.synthetix.fct_spot_wrapper_base_sepolia"], "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_block_number.05149fa391": ["model.synthetix.fct_spot_wrapper_base_sepolia"], "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_tx_hash.0df62cff0d": ["model.synthetix.fct_spot_wrapper_base_sepolia"], "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_synth_market_id.54687d51aa": ["model.synthetix.fct_spot_wrapper_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_base_sepolia_synth_market_id__True__0.f4eedf4f3f": ["model.synthetix.fct_spot_wrapper_base_sepolia"], "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_amount_wrapped.447890a6f4": ["model.synthetix.fct_spot_wrapper_base_sepolia"], "test.synthetix.not_null_fct_prices_base_sepolia_ts.2875b0c397": ["model.synthetix.fct_prices_base_sepolia"], "test.synthetix.not_null_fct_prices_base_sepolia_market_symbol.e2a8214091": ["model.synthetix.fct_prices_base_sepolia"], "test.synthetix.not_null_fct_prices_base_sepolia_price.3c29a949cf": ["model.synthetix.fct_prices_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0.78bfe2f46a": ["model.synthetix.fct_prices_base_sepolia"], "test.synthetix.not_null_fct_prices_hourly_base_sepolia_ts.fc60cfbaeb": ["model.synthetix.fct_prices_hourly_base_sepolia"], "test.synthetix.not_null_fct_prices_hourly_base_sepolia_market_symbol.35c2706bfd": ["model.synthetix.fct_prices_hourly_base_sepolia"], "test.synthetix.not_null_fct_prices_hourly_base_sepolia_price.e263ee2224": ["model.synthetix.fct_prices_hourly_base_sepolia"], "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_base_sepolia_price__True__0.9b4c65b6bd": ["model.synthetix.fct_prices_hourly_base_sepolia"], "source.synthetix.raw_eth_mainnet.block": [], "source.synthetix.raw_eth_mainnet.core_proxy_event_account_created": [], "source.synthetix.raw_eth_mainnet.core_proxy_event_delegation_updated": [], "source.synthetix.raw_eth_mainnet.core_proxy_event_deposited": [], "source.synthetix.raw_eth_mainnet.core_proxy_event_withdrawn": [], "source.synthetix.raw_eth_mainnet.core_proxy_event_liquidation": [], "source.synthetix.raw_eth_mainnet.core_proxy_event_market_registered": [], "source.synthetix.raw_eth_mainnet.core_proxy_event_pool_created": [], "source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_claimed": [], "source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_distributed": [], "source.synthetix.raw_eth_mainnet.core_proxy_event_usd_burned": [], "source.synthetix.raw_eth_mainnet.core_proxy_event_usd_minted": [], "source.synthetix.raw_eth_mainnet.core_proxy_event_vault_liquidation": [], "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": [], "source.synthetix.raw_eth_mainnet.legacy_market_proxy_event_account_migrated": [], "source.synthetix.raw_eth_mainnet.core_get_vault_collateral": [], "source.synthetix.raw_eth_mainnet.core_get_vault_debt": [], "source.synthetix.raw_eth_mainnet.blocks_parquet": [], "source.synthetix.raw_base_sepolia.block": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_created": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_liquidation_attempt": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_collateral_modified": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_created": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_updated": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_market_updated": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_committed": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_order_committed": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_settled": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_position_liquidated": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_previous_order_expired": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_rate_updated": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_charged": [], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_committed": [], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_settled": [], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_cancelled": [], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_registered": [], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_bought": [], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_sold": [], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_wrapped": [], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_unwrapped": [], "source.synthetix.raw_base_sepolia.core_proxy_event_account_created": [], "source.synthetix.raw_base_sepolia.core_proxy_event_delegation_updated": [], "source.synthetix.raw_base_sepolia.core_proxy_event_deposited": [], "source.synthetix.raw_base_sepolia.core_proxy_event_withdrawn": [], "source.synthetix.raw_base_sepolia.core_proxy_event_liquidation": [], "source.synthetix.raw_base_sepolia.core_proxy_event_market_registered": [], "source.synthetix.raw_base_sepolia.core_proxy_event_pool_created": [], "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_claimed": [], "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_distributed": [], "source.synthetix.raw_base_sepolia.core_proxy_event_usd_burned": [], "source.synthetix.raw_base_sepolia.core_proxy_event_usd_minted": [], "source.synthetix.raw_base_sepolia.core_proxy_event_vault_liquidation": [], "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_deposited": [], "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_withdrawn": [], "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_deposited": [], "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_withdrawn": [], "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_deposited": [], "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_withdrawn": [], "source.synthetix.raw_base_sepolia.buyback_snx_event_buyback_processed": [], "source.synthetix.raw_base_sepolia.core_get_vault_collateral": [], "source.synthetix.raw_base_sepolia.core_get_vault_debt": [], "source.synthetix.raw_base_sepolia.blocks_parquet": [], "source.synthetix.raw_arbitrum_sepolia.block": [], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_committed": [], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_settled": [], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_cancelled": [], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_registered": [], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_bought": [], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_sold": [], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_wrapped": [], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_unwrapped": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_deposited": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_withdrawn": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_liquidation": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_registered": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_pool_created": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_claimed": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_distributed": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_burned": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_minted": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_vault_liquidation": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_deposited": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_withdrawn": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_deposited": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_withdrawn": [], "source.synthetix.raw_arbitrum_sepolia.core_get_vault_collateral": [], "source.synthetix.raw_arbitrum_sepolia.core_get_vault_debt": [], "source.synthetix.raw_arbitrum_sepolia.blocks_parquet": [], "source.synthetix.raw_arbitrum_mainnet.block": [], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_committed": [], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_settled": [], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_cancelled": [], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_registered": [], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_bought": [], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_sold": [], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_wrapped": [], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_unwrapped": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_delegation_updated": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_deposited": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_liquidation": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_distributed": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_burned": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_minted": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_deposited": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_withdrawn": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_deposited": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_withdrawn": [], "source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral": [], "source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt": [], "source.synthetix.raw_arbitrum_mainnet.blocks_parquet": [], "source.synthetix.raw_base_mainnet.block": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_created": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_liquidation_attempt": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_collateral_modified": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_created": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_updated": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_market_updated": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_committed": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_order_committed": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_settled": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_position_liquidated": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_previous_order_expired": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_rate_updated": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_charged": [], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_committed": [], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_settled": [], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_cancelled": [], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_registered": [], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_bought": [], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_sold": [], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_wrapped": [], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_unwrapped": [], "source.synthetix.raw_base_mainnet.core_proxy_event_account_created": [], "source.synthetix.raw_base_mainnet.core_proxy_event_delegation_updated": [], "source.synthetix.raw_base_mainnet.core_proxy_event_deposited": [], "source.synthetix.raw_base_mainnet.core_proxy_event_withdrawn": [], "source.synthetix.raw_base_mainnet.core_proxy_event_liquidation": [], "source.synthetix.raw_base_mainnet.core_proxy_event_market_registered": [], "source.synthetix.raw_base_mainnet.core_proxy_event_pool_created": [], "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_claimed": [], "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_distributed": [], "source.synthetix.raw_base_mainnet.core_proxy_event_usd_burned": [], "source.synthetix.raw_base_mainnet.core_proxy_event_usd_minted": [], "source.synthetix.raw_base_mainnet.core_proxy_event_vault_liquidation": [], "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_deposited": [], "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_withdrawn": [], "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_deposited": [], "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_withdrawn": [], "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_deposited": [], "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_withdrawn": [], "source.synthetix.raw_base_mainnet.buyback_snx_legacy_event_buyback_processed": [], "source.synthetix.raw_base_mainnet.buyback_snx_event_buyback_processed": [], "source.synthetix.raw_base_mainnet.core_get_vault_collateral": [], "source.synthetix.raw_base_mainnet.core_get_vault_debt": [], "source.synthetix.raw_base_mainnet.blocks_parquet": [], "source.synthetix.raw_optimism_mainnet.block": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_committed": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_settled": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_cancelled": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_registered": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_bought": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_sold": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_wrapped": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_unwrapped": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_account_created": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_delegation_updated": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_deposited": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_withdrawn": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_liquidation": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_registered": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_pool_created": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_claimed": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_distributed": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_burned": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_minted": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_vault_liquidation": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_deposited": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_withdrawn": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified1": []}, "child_map": {"model.synthetix.blocks_eth_mainnet": ["test.synthetix.dbt_utils_recency_blocks_eth_mainnet_hour__ts__1.7c6c4534db", "test.synthetix.not_null_blocks_eth_mainnet_block_number.aba38b4904", "test.synthetix.unique_blocks_eth_mainnet_block_number.ddb4ca7d09"], "model.synthetix.core_account_created_eth_mainnet": ["test.synthetix.accepted_values_core_account_created_eth_mainnet_event_name__AccountCreated.7bff7383b3", "test.synthetix.dbt_utils_accepted_range_core_account_created_eth_mainnet_account_id__True__0.4d9379ebdc", "test.synthetix.not_null_core_account_created_eth_mainnet_account_id.162a9a11ae", "test.synthetix.not_null_core_account_created_eth_mainnet_block_number.be5f037644", "test.synthetix.not_null_core_account_created_eth_mainnet_block_timestamp.8287155cde", "test.synthetix.not_null_core_account_created_eth_mainnet_contract.84cae83ab9", "test.synthetix.not_null_core_account_created_eth_mainnet_event_name.5a44f6813f", "test.synthetix.not_null_core_account_created_eth_mainnet_id.0d5cd71e99", "test.synthetix.not_null_core_account_created_eth_mainnet_owner.9141d07512", "test.synthetix.not_null_core_account_created_eth_mainnet_transaction_hash.5349e51024", "test.synthetix.unique_core_account_created_eth_mainnet_id.51b373b820"], "model.synthetix.core_vault_debt_eth_mainnet": ["model.synthetix.fct_pool_debt_eth_mainnet", "test.synthetix.dbt_utils_accepted_range_core_vault_debt_eth_mainnet_pool_id__True__0.55f388e287", "test.synthetix.not_null_core_vault_debt_eth_mainnet_block_number.930416e329", "test.synthetix.not_null_core_vault_debt_eth_mainnet_collateral_type.557a042f2b", "test.synthetix.not_null_core_vault_debt_eth_mainnet_contract_address.d43dcb9614", "test.synthetix.not_null_core_vault_debt_eth_mainnet_debt.a314c480fe", "test.synthetix.not_null_core_vault_debt_eth_mainnet_pool_id.2f8f15549f", "test.synthetix.not_null_core_vault_debt_eth_mainnet_ts.3b5cb40175"], "model.synthetix.core_vault_collateral_eth_mainnet": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "model.synthetix.fct_prices_eth_mainnet", "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_amount__True__0.320b16493d", "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_collateral_value__True__0.17170969dc", "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_pool_id__True__0.509da6a489", "test.synthetix.not_null_core_vault_collateral_eth_mainnet_amount.62dc926f36", "test.synthetix.not_null_core_vault_collateral_eth_mainnet_block_number.68d8b02925", "test.synthetix.not_null_core_vault_collateral_eth_mainnet_collateral_type.9ba1fda62f", "test.synthetix.not_null_core_vault_collateral_eth_mainnet_collateral_value.53d42edc8a", "test.synthetix.not_null_core_vault_collateral_eth_mainnet_contract_address.8b336867d2", "test.synthetix.not_null_core_vault_collateral_eth_mainnet_pool_id.f31cb4b3e6", "test.synthetix.not_null_core_vault_collateral_eth_mainnet_ts.dc63e45225"], "model.synthetix.core_vault_liquidation_eth_mainnet": ["test.synthetix.accepted_values_core_vault_liquidation_eth_mainnet_event_name__VaultLiquidation.8d1cb5eebf", "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_liquidate_as_account_id__True__0.a9d184de0a", "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_pool_id__True__0.cccb8c7cca", "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_block_number.39193d7213", "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_block_timestamp.439cb16960", "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_collateral_type.22405706c4", "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_contract.65501d763b", "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_event_name.e6bd41012e", "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_id.11becd0eff", "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_liquidate_as_account_id.978ffc7da9", "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_liquidation_data.485b65c6b5", "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_pool_id.ca9bfaf7f3", "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_sender.03a447332b", "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_transaction_hash.5e22cb6ded", "test.synthetix.unique_core_vault_liquidation_eth_mainnet_id.9b474978a9"], "model.synthetix.core_deposited_eth_mainnet": ["model.synthetix.fct_core_pool_collateral_eth_mainnet", "test.synthetix.accepted_values_core_deposited_eth_mainnet_event_name__Deposited.18727c72b0", "test.synthetix.dbt_utils_accepted_range_core_deposited_eth_mainnet_account_id__True__0.5e26b84f6a", "test.synthetix.dbt_utils_accepted_range_core_deposited_eth_mainnet_token_amount__True__0.a57f2edd1b", "test.synthetix.not_null_core_deposited_eth_mainnet_account_id.527d2b71c3", "test.synthetix.not_null_core_deposited_eth_mainnet_block_number.5e2350a777", "test.synthetix.not_null_core_deposited_eth_mainnet_block_timestamp.6194c9ac03", "test.synthetix.not_null_core_deposited_eth_mainnet_collateral_type.f940e4eba6", "test.synthetix.not_null_core_deposited_eth_mainnet_contract.d1fbae48f5", "test.synthetix.not_null_core_deposited_eth_mainnet_event_name.e185f199f1", "test.synthetix.not_null_core_deposited_eth_mainnet_id.9c5a20c527", "test.synthetix.not_null_core_deposited_eth_mainnet_sender.4c70b365da", "test.synthetix.not_null_core_deposited_eth_mainnet_token_amount.dc8696c011", "test.synthetix.not_null_core_deposited_eth_mainnet_transaction_hash.7087a2e09e", "test.synthetix.unique_core_deposited_eth_mainnet_id.97fd3624a5"], "model.synthetix.core_pool_created_eth_mainnet": ["model.synthetix.fct_core_pools_eth_mainnet", "test.synthetix.accepted_values_core_pool_created_eth_mainnet_event_name__PoolCreated.109464a698", "test.synthetix.dbt_utils_accepted_range_core_pool_created_eth_mainnet_pool_id__True__0.7c8df298df", "test.synthetix.not_null_core_pool_created_eth_mainnet_block_number.2f99b31050", "test.synthetix.not_null_core_pool_created_eth_mainnet_block_timestamp.edc63e1dd6", "test.synthetix.not_null_core_pool_created_eth_mainnet_contract.31bb49a3da", "test.synthetix.not_null_core_pool_created_eth_mainnet_event_name.86049849e6", "test.synthetix.not_null_core_pool_created_eth_mainnet_id.d903c0dfc4", "test.synthetix.not_null_core_pool_created_eth_mainnet_owner.4ac2c4d7d7", "test.synthetix.not_null_core_pool_created_eth_mainnet_pool_id.6662208418", "test.synthetix.not_null_core_pool_created_eth_mainnet_sender.0e2161372e", "test.synthetix.not_null_core_pool_created_eth_mainnet_transaction_hash.c51273100e", "test.synthetix.unique_core_pool_created_eth_mainnet_id.8a7d542185"], "model.synthetix.core_market_registered_eth_mainnet": ["test.synthetix.accepted_values_core_market_registered_eth_mainnet_event_name__MarketRegistered.db8e4ac8d2", "test.synthetix.not_null_core_market_registered_eth_mainnet_block_number.7eec7e8f2c", "test.synthetix.not_null_core_market_registered_eth_mainnet_block_timestamp.0b8054a50c", "test.synthetix.not_null_core_market_registered_eth_mainnet_contract.f582853f53", "test.synthetix.not_null_core_market_registered_eth_mainnet_event_name.0d26c502fa", "test.synthetix.not_null_core_market_registered_eth_mainnet_id.35b1e4e0f3", "test.synthetix.not_null_core_market_registered_eth_mainnet_market.fccda96dc8", "test.synthetix.not_null_core_market_registered_eth_mainnet_market_id.2e945dec67", "test.synthetix.not_null_core_market_registered_eth_mainnet_sender.6e63d1acbc", "test.synthetix.not_null_core_market_registered_eth_mainnet_transaction_hash.7c581f179e", "test.synthetix.unique_core_market_registered_eth_mainnet_id.ae732b851b", "test.synthetix.unique_core_market_registered_eth_mainnet_market_id.496c543395"], "model.synthetix.core_market_updated_eth_mainnet": ["model.synthetix.fct_core_market_updated_eth_mainnet", "test.synthetix.accepted_values_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.7de7687ac0", "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_deposited_collateral_value__True__0.06de946dba", "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_market_id__True__0.58438c84b4", "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_token_amount__True__0.fdf0db60b7", "test.synthetix.not_null_core_market_updated_eth_mainnet_block_number.f4a7497fbe", "test.synthetix.not_null_core_market_updated_eth_mainnet_block_timestamp.683bea78d4", "test.synthetix.not_null_core_market_updated_eth_mainnet_collateral_type.c83211fd2f", "test.synthetix.not_null_core_market_updated_eth_mainnet_contract.97f87c3b4a", "test.synthetix.not_null_core_market_updated_eth_mainnet_credit_capacity.baa89e2e5a", "test.synthetix.not_null_core_market_updated_eth_mainnet_deposited_collateral_value.93b2bdea02", "test.synthetix.not_null_core_market_updated_eth_mainnet_event_name.6d64c2a842", "test.synthetix.not_null_core_market_updated_eth_mainnet_id.f7dedb5ddb", "test.synthetix.not_null_core_market_updated_eth_mainnet_market_id.649fb28529", "test.synthetix.not_null_core_market_updated_eth_mainnet_net_issuance.3e92a0dc4a", "test.synthetix.not_null_core_market_updated_eth_mainnet_sender.12a64a65ef", "test.synthetix.not_null_core_market_updated_eth_mainnet_token_amount.a9f6d4a588", "test.synthetix.not_null_core_market_updated_eth_mainnet_transaction_hash.3a0d8e52a3", "test.synthetix.unique_core_market_updated_eth_mainnet_id.7cd00231f1"], "model.synthetix.core_rewards_distributed_eth_mainnet": ["model.synthetix.fct_pool_rewards_eth_mainnet", "test.synthetix.accepted_values_core_rewards_distributed_eth_mainnet_event_name__RewardsDistributed.fae0bd904b", "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_amount__True__0.43de804120", "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_duration__True__0.7d6965f572", "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_pool_id__True__0.37dd01cd96", "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_amount.a39a6908b6", "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_block_number.79a91ea969", "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_block_timestamp.f066e2381d", "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_collateral_type.2475fcd59d", "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_contract.4cb5b10595", "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_distributor.7022e12146", "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_duration.07b5947e7c", "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_event_name.193bdd11d3", "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_id.cb5898e934", "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_pool_id.059709c3dd", "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_transaction_hash.dd811ca405", "test.synthetix.unique_core_rewards_distributed_eth_mainnet_id.48f45b85d1"], "model.synthetix.core_withdrawn_eth_mainnet": ["model.synthetix.fct_core_pool_collateral_eth_mainnet", "test.synthetix.accepted_values_core_withdrawn_eth_mainnet_event_name__Withdrawn.cbf35f5a80", "test.synthetix.dbt_utils_accepted_range_core_withdrawn_eth_mainnet_account_id__True__0.cdf381b428", "test.synthetix.dbt_utils_accepted_range_core_withdrawn_eth_mainnet_token_amount__True__0.8bd25add1c", "test.synthetix.not_null_core_withdrawn_eth_mainnet_account_id.7846828c26", "test.synthetix.not_null_core_withdrawn_eth_mainnet_block_number.74ee30eaa5", "test.synthetix.not_null_core_withdrawn_eth_mainnet_block_timestamp.b6326ea438", "test.synthetix.not_null_core_withdrawn_eth_mainnet_collateral_type.28458fb6de", "test.synthetix.not_null_core_withdrawn_eth_mainnet_contract.a4eb9c51f7", "test.synthetix.not_null_core_withdrawn_eth_mainnet_event_name.2d3b6771d6", "test.synthetix.not_null_core_withdrawn_eth_mainnet_id.b0e6ed95b5", "test.synthetix.not_null_core_withdrawn_eth_mainnet_sender.b7bc5bdadc", "test.synthetix.not_null_core_withdrawn_eth_mainnet_token_amount.d3547c3837", "test.synthetix.not_null_core_withdrawn_eth_mainnet_transaction_hash.6b6f75c74b", "test.synthetix.unique_core_withdrawn_eth_mainnet_id.3d5210133c"], "model.synthetix.core_rewards_claimed_eth_mainnet": ["test.synthetix.accepted_values_core_rewards_claimed_eth_mainnet_event_name__RewardsClaimed.e5c952f144", "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_account_id__True__0.7eae5581d0", "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_amount__True__0.8d7de0dad3", "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_pool_id__True__0.4ee2d574e0", "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_account_id.a671c2ed40", "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_amount.aa1ebaa88c", "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_block_number.fb82a92db5", "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_block_timestamp.890e664a3c", "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_collateral_type.440762309c", "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_contract.fba4f37c05", "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_distributor.728609281c", "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_event_name.b83d684e5d", "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_id.d534df2fd8", "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_pool_id.760bae7f85", "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_transaction_hash.db7f7a63db", "test.synthetix.unique_core_rewards_claimed_eth_mainnet_id.b73c8da16c"], "model.synthetix.core_delegation_updated_eth_mainnet": ["model.synthetix.fct_core_account_delegation_eth_mainnet", "model.synthetix.fct_core_pool_delegation_eth_mainnet", "test.synthetix.accepted_values_core_delegation_updated_eth_mainnet_event_name__DelegationUpdated.ec623b86f2", "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_account_id__True__0.3a3f9a0475", "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_amount__True__0.94b97c0270", "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_leverage__True__1000000000000000000__1000000000000000000.eb061a2128", "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_pool_id__True__0.fb370aa2ca", "test.synthetix.not_null_core_delegation_updated_eth_mainnet_account_id.141fb0f466", "test.synthetix.not_null_core_delegation_updated_eth_mainnet_amount.256481de3c", "test.synthetix.not_null_core_delegation_updated_eth_mainnet_block_number.5479fa5e08", "test.synthetix.not_null_core_delegation_updated_eth_mainnet_block_timestamp.cd7fa2f4ff", "test.synthetix.not_null_core_delegation_updated_eth_mainnet_collateral_type.e3d73862e4", "test.synthetix.not_null_core_delegation_updated_eth_mainnet_contract.5d369822a4", "test.synthetix.not_null_core_delegation_updated_eth_mainnet_event_name.69b76075f5", "test.synthetix.not_null_core_delegation_updated_eth_mainnet_id.622c20c239", "test.synthetix.not_null_core_delegation_updated_eth_mainnet_leverage.3edfe7323e", "test.synthetix.not_null_core_delegation_updated_eth_mainnet_pool_id.914b411c12", "test.synthetix.not_null_core_delegation_updated_eth_mainnet_sender.3a40ed8f3a", "test.synthetix.not_null_core_delegation_updated_eth_mainnet_transaction_hash.048b7a5c68", "test.synthetix.unique_core_delegation_updated_eth_mainnet_id.2467edf8ec"], "model.synthetix.core_liquidation_eth_mainnet": ["test.synthetix.accepted_values_core_liquidation_eth_mainnet_event_name__Liquidation.10d3a28f0f", "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_account_id__True__0.d050e2f72d", "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_liquidate_as_account_id__True__0.02ffa79c7a", "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_pool_id__True__0.0b09af0400", "test.synthetix.not_null_core_liquidation_eth_mainnet_account_id.13c94e5d02", "test.synthetix.not_null_core_liquidation_eth_mainnet_block_number.8c6c1cbe38", "test.synthetix.not_null_core_liquidation_eth_mainnet_block_timestamp.c85990976a", "test.synthetix.not_null_core_liquidation_eth_mainnet_collateral_type.59a2516e40", "test.synthetix.not_null_core_liquidation_eth_mainnet_contract.05fe5f9d13", "test.synthetix.not_null_core_liquidation_eth_mainnet_event_name.a70ed0a4dd", "test.synthetix.not_null_core_liquidation_eth_mainnet_id.8175916dcc", "test.synthetix.not_null_core_liquidation_eth_mainnet_liquidate_as_account_id.778690c632", "test.synthetix.not_null_core_liquidation_eth_mainnet_pool_id.0966ab4339", "test.synthetix.not_null_core_liquidation_eth_mainnet_sender.734f70adf9", "test.synthetix.not_null_core_liquidation_eth_mainnet_transaction_hash.e3478512f6", "test.synthetix.unique_core_liquidation_eth_mainnet_id.05a09be0f1"], "model.synthetix.core_account_migrated_eth_mainnet": ["model.synthetix.fct_core_migration_eth_mainnet", "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_account_id__True__0.f1da2d38e8", "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_collateral_amount__True__0.b1df54815d", "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_debt_amount__True__0.a8e29325c2", "test.synthetix.not_null_core_account_migrated_eth_mainnet_account_id.6263532792", "test.synthetix.not_null_core_account_migrated_eth_mainnet_block_number.8a5aa490b5", "test.synthetix.not_null_core_account_migrated_eth_mainnet_block_timestamp.29c8a3ae97", "test.synthetix.not_null_core_account_migrated_eth_mainnet_collateral_amount.3673a78a7a", "test.synthetix.not_null_core_account_migrated_eth_mainnet_contract.ccd34b4a40", "test.synthetix.not_null_core_account_migrated_eth_mainnet_debt_amount.37622c6a60", "test.synthetix.not_null_core_account_migrated_eth_mainnet_event_name.969c074241", "test.synthetix.not_null_core_account_migrated_eth_mainnet_id.3f18fc79cf", "test.synthetix.not_null_core_account_migrated_eth_mainnet_staker.cb3d4f410b", "test.synthetix.not_null_core_account_migrated_eth_mainnet_transaction_hash.bb710f8259", "test.synthetix.unique_core_account_migrated_eth_mainnet_id.b21ce76ba7"], "model.synthetix.core_usd_burned_eth_mainnet": ["model.synthetix.fct_pool_issuance_eth_mainnet", "test.synthetix.accepted_values_core_usd_burned_eth_mainnet_event_name__UsdBurned.1eb7853972", "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_account_id__True__0.6d8f7f7d85", "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_amount__True__0.7cba0ca593", "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_pool_id__True__0.cc44e47fc8", "test.synthetix.not_null_core_usd_burned_eth_mainnet_account_id.fc5fb3a0e5", "test.synthetix.not_null_core_usd_burned_eth_mainnet_amount.45ebd0ede8", "test.synthetix.not_null_core_usd_burned_eth_mainnet_block_number.b5e8a371fc", "test.synthetix.not_null_core_usd_burned_eth_mainnet_block_timestamp.616215c03f", "test.synthetix.not_null_core_usd_burned_eth_mainnet_collateral_type.6dbc31d2ac", "test.synthetix.not_null_core_usd_burned_eth_mainnet_contract.f9009e6423", "test.synthetix.not_null_core_usd_burned_eth_mainnet_event_name.7f0fc644d5", "test.synthetix.not_null_core_usd_burned_eth_mainnet_id.161a49599f", "test.synthetix.not_null_core_usd_burned_eth_mainnet_pool_id.e4d58d3b63", "test.synthetix.not_null_core_usd_burned_eth_mainnet_sender.62bbe0ad28", "test.synthetix.not_null_core_usd_burned_eth_mainnet_transaction_hash.e57add79d6", "test.synthetix.unique_core_usd_burned_eth_mainnet_id.482b04a60c"], "model.synthetix.core_usd_minted_eth_mainnet": ["model.synthetix.fct_pool_issuance_eth_mainnet", "test.synthetix.accepted_values_core_usd_minted_eth_mainnet_event_name__UsdMinted.c8d883ddfa", "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_account_id__True__0.b6d81dac3d", "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_amount__True__0.17e2d727c5", "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_pool_id__True__0.2d561e9842", "test.synthetix.not_null_core_usd_minted_eth_mainnet_account_id.e32d9e9621", "test.synthetix.not_null_core_usd_minted_eth_mainnet_amount.d50e5f0da5", "test.synthetix.not_null_core_usd_minted_eth_mainnet_block_number.8475901994", "test.synthetix.not_null_core_usd_minted_eth_mainnet_block_timestamp.e1477f67df", "test.synthetix.not_null_core_usd_minted_eth_mainnet_collateral_type.3bc61e56d9", "test.synthetix.not_null_core_usd_minted_eth_mainnet_contract.2287afa612", "test.synthetix.not_null_core_usd_minted_eth_mainnet_event_name.061c40bc0a", "test.synthetix.not_null_core_usd_minted_eth_mainnet_id.5b1199f72c", "test.synthetix.not_null_core_usd_minted_eth_mainnet_pool_id.dd8998f0f3", "test.synthetix.not_null_core_usd_minted_eth_mainnet_sender.31025fd349", "test.synthetix.not_null_core_usd_minted_eth_mainnet_transaction_hash.dba64c6cd2", "test.synthetix.unique_core_usd_minted_eth_mainnet_id.ccad3381ec"], "model.synthetix.blocks_arbitrum_mainnet": ["test.synthetix.dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1.e5882e697a", "test.synthetix.not_null_blocks_arbitrum_mainnet_block_number.60351acf6d", "test.synthetix.unique_blocks_arbitrum_mainnet_block_number.d70bece923"], "model.synthetix.core_rewards_claimed_arbitrum_mainnet": ["test.synthetix.accepted_values_core_rewards_claimed_arbitrum_mainnet_event_name__RewardsClaimed.3c1cd34ad1", "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_account_id__True__0.34b4de86db", "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_amount__True__0.d98a3e4cc7", "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_pool_id__True__0.1c91c56a7b", "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_account_id.657d0a650c", "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_amount.b7ad8d34fd", "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_block_number.90a2165709", "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp.830ba4bdac", "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type.868513a78c", "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_contract.dbeede65a0", "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_distributor.cfe4797061", "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_event_name.c85b97045f", "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_id.ec96b450dd", "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_pool_id.bd58480578", "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash.b143b485c4", "test.synthetix.unique_core_rewards_claimed_arbitrum_mainnet_id.0aa80585e9"], "model.synthetix.core_market_registered_arbitrum_mainnet": ["test.synthetix.accepted_values_core_market_registered_arbitrum_mainnet_event_name__MarketRegistered.61c1a17f46", "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_block_number.49f898432d", "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_block_timestamp.9ccff6bb17", "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_contract.705a5b5579", "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_event_name.5833e57631", "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_id.4c7305111a", "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_market.4671a5874b", "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_market_id.edc1b5f010", "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_sender.a9f878c2c9", "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_transaction_hash.2e6db31571", "test.synthetix.unique_core_market_registered_arbitrum_mainnet_id.c4fce94bc5", "test.synthetix.unique_core_market_registered_arbitrum_mainnet_market_id.f4e9d45c5f"], "model.synthetix.core_vault_collateral_arbitrum_mainnet": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "model.synthetix.fct_prices_arbitrum_mainnet", "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_amount__True__0.b98dc30014", "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_collateral_value__True__0.9fa49aae71", "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_pool_id__True__0.14e1d9edc3", "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_amount.0bdb85ef31", "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_block_number.5a68e5a2c2", "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_collateral_type.50f0a76c9d", "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_collateral_value.09fcd07f3a", "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_contract_address.8cc08e1bbc", "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_pool_id.4536274374", "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_ts.d7d74011cb"], "model.synthetix.core_account_created_arbitrum_mainnet": ["test.synthetix.accepted_values_core_account_created_arbitrum_mainnet_event_name__AccountCreated.8d24ea0d1c", "test.synthetix.dbt_utils_accepted_range_core_account_created_arbitrum_mainnet_account_id__True__0.1a60fd1c13", "test.synthetix.not_null_core_account_created_arbitrum_mainnet_account_id.80fd41e8a3", "test.synthetix.not_null_core_account_created_arbitrum_mainnet_block_number.ad85823ab6", "test.synthetix.not_null_core_account_created_arbitrum_mainnet_block_timestamp.707ea51d9b", "test.synthetix.not_null_core_account_created_arbitrum_mainnet_contract.51a2890c59", "test.synthetix.not_null_core_account_created_arbitrum_mainnet_event_name.f044350ea8", "test.synthetix.not_null_core_account_created_arbitrum_mainnet_id.ccb85216a1", "test.synthetix.not_null_core_account_created_arbitrum_mainnet_owner.510bc65b8e", "test.synthetix.not_null_core_account_created_arbitrum_mainnet_transaction_hash.ca429d274c", "test.synthetix.unique_core_account_created_arbitrum_mainnet_id.572cf5cf85"], "model.synthetix.core_delegation_updated_arbitrum_mainnet": ["model.synthetix.fct_core_account_delegation_arbitrum_mainnet", "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet", "test.synthetix.accepted_values_core_delegation_updated_arbitrum_mainnet_event_name__DelegationUpdated.8158a7cafc", "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_account_id__True__0.eb3b030871", "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_amount__True__0.4dc42e5b67", "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_leverage__True__1000000000000000000__1000000000000000000.fa830910e7", "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_pool_id__True__0.ceaf47901a", "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_account_id.1f6cadcc5d", "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_amount.790af0bbca", "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_block_number.e7dff1a919", "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_block_timestamp.bf7b6f5a50", "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_collateral_type.ca955a713e", "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_contract.ae8a4f4c27", "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_event_name.124ce539d9", "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_id.a1e63ca6e1", "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_leverage.e240b1993e", "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_pool_id.0fcc7a403c", "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_sender.7b21b54d07", "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_transaction_hash.df3b0b1ada", "test.synthetix.unique_core_delegation_updated_arbitrum_mainnet_id.53afc27917"], "model.synthetix.core_rewards_distributed_arbitrum_mainnet": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet", "test.synthetix.accepted_values_core_rewards_distributed_arbitrum_mainnet_event_name__RewardsDistributed.3370ace359", "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_amount__True__0.09cd5040a6", "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_duration__True__0.00212b4134", "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_pool_id__True__0.d68e3c64d9", "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_amount.efe177b3e7", "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_block_number.4692e1b237", "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_block_timestamp.b6efe37fde", "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_collateral_type.d8c598b114", "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_contract.cad4a84b49", "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_distributor.b8c551ebf5", "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_duration.8dfbbf7a51", "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_event_name.bb49accedd", "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_id.2d439b2dff", "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_pool_id.06cc36de8b", "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_transaction_hash.a791a80876", "test.synthetix.unique_core_rewards_distributed_arbitrum_mainnet_id.b2d650e4fd"], "model.synthetix.core_pool_created_arbitrum_mainnet": ["model.synthetix.fct_core_pools_arbitrum_mainnet", "test.synthetix.accepted_values_core_pool_created_arbitrum_mainnet_event_name__PoolCreated.e7fda490fd", "test.synthetix.dbt_utils_accepted_range_core_pool_created_arbitrum_mainnet_pool_id__True__0.fc42e6b4ce", "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_block_number.184c04858e", "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_block_timestamp.4bcfbab318", "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_contract.ad227a594e", "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_event_name.67b202a2ae", "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_id.b0e9e6535d", "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_owner.749821fb46", "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_pool_id.ce6f3bd570", "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_sender.b85ac4e404", "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_transaction_hash.762082599b", "test.synthetix.unique_core_pool_created_arbitrum_mainnet_id.4a0435d902"], "model.synthetix.core_liquidation_arbitrum_mainnet": ["test.synthetix.accepted_values_core_liquidation_arbitrum_mainnet_event_name__Liquidation.85cae70384", "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_account_id__True__0.71c92954dd", "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0.6ad1a29899", "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_pool_id__True__0.5d8232e38f", "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_account_id.2b9f90b003", "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_block_number.c43f5e1404", "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_block_timestamp.e8b33f1dcb", "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_collateral_type.7eae92d91d", "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_contract.b02df4336b", "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_event_name.c11ebbad99", "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_id.428529a968", "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_liquidate_as_account_id.00768ed71d", "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_pool_id.910c4e273f", "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_sender.de5e917bc2", "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_transaction_hash.7c4641c1db", "test.synthetix.unique_core_liquidation_arbitrum_mainnet_id.ab79adeb33"], "model.synthetix.core_deposited_arbitrum_mainnet": ["model.synthetix.fct_core_pool_collateral_arbitrum_mainnet", "test.synthetix.accepted_values_core_deposited_arbitrum_mainnet_event_name__Deposited.63620c995c", "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_account_id__True__0.2fc937f08c", "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_token_amount__True__0.825b012474", "test.synthetix.not_null_core_deposited_arbitrum_mainnet_account_id.c7afbe52a5", "test.synthetix.not_null_core_deposited_arbitrum_mainnet_block_number.689c18351b", "test.synthetix.not_null_core_deposited_arbitrum_mainnet_block_timestamp.a16e8ef361", "test.synthetix.not_null_core_deposited_arbitrum_mainnet_collateral_type.42a3d10d97", "test.synthetix.not_null_core_deposited_arbitrum_mainnet_contract.a2cd7b2bb5", "test.synthetix.not_null_core_deposited_arbitrum_mainnet_event_name.8f5b81cb40", "test.synthetix.not_null_core_deposited_arbitrum_mainnet_id.2f7b341009", "test.synthetix.not_null_core_deposited_arbitrum_mainnet_sender.5f276242f7", "test.synthetix.not_null_core_deposited_arbitrum_mainnet_token_amount.238a5119e6", "test.synthetix.not_null_core_deposited_arbitrum_mainnet_transaction_hash.649446c0bd", "test.synthetix.unique_core_deposited_arbitrum_mainnet_id.65592bb86d"], "model.synthetix.core_vault_debt_arbitrum_mainnet": ["model.synthetix.fct_pool_debt_arbitrum_mainnet", "test.synthetix.dbt_utils_accepted_range_core_vault_debt_arbitrum_mainnet_pool_id__True__0.8e3a2c72e9", "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_block_number.3ef5dfaa45", "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_collateral_type.f9fb1089d7", "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_contract_address.fee8a6440d", "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_debt.7a33d30f43", "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_pool_id.8f94082342", "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_ts.d2363d0b7d"], "model.synthetix.core_usd_burned_arbitrum_mainnet": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet", "model.synthetix.fct_synth_supply_arbitrum_mainnet", "test.synthetix.accepted_values_core_usd_burned_arbitrum_mainnet_event_name__UsdBurned.9ecdb75459", "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_account_id__True__0.f8708303cd", "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_amount__True__0.2bf9da99f6", "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_pool_id__True__0.dad5587ce6", "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_account_id.c71695a669", "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_amount.638bb23cb6", "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_block_number.9d57cfa9ee", "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_block_timestamp.da67490d2d", "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_collateral_type.6f8f53a6c9", "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_contract.718a1f61dd", "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_event_name.2c934d7229", "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_id.f07377da8d", "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_pool_id.574d8e09b8", "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_sender.1b76ecab38", "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_transaction_hash.6535b2db90", "test.synthetix.unique_core_usd_burned_arbitrum_mainnet_id.1918882dbf"], "model.synthetix.core_withdrawn_arbitrum_mainnet": ["model.synthetix.fct_core_pool_collateral_arbitrum_mainnet", "test.synthetix.accepted_values_core_withdrawn_arbitrum_mainnet_event_name__Withdrawn.e5deebfa14", "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_account_id__True__0.8873db614c", "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_token_amount__True__0.0008eb5d09", "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_account_id.ccf8b71875", "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_block_number.29891eb70b", "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_block_timestamp.0605d1994e", "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_collateral_type.772b018013", "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_contract.a8c5968db3", "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_event_name.69a5a9a880", "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_id.46c5fcd073", "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_sender.665f4ade6b", "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_token_amount.4bc0081148", "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_transaction_hash.492d634608", "test.synthetix.unique_core_withdrawn_arbitrum_mainnet_id.9810244f0d"], "model.synthetix.core_market_updated_arbitrum_mainnet": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test.synthetix.accepted_values_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.b6d0a34129", "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_deposited_collateral_value__True__0.f78663cae5", "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_market_id__True__0.8e0b3e9147", "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_token_amount__True__0.bfc2ca181b", "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_block_number.eea9214a4b", "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_block_timestamp.2bd177f07f", "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_collateral_type.5ccd7ace00", "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_contract.3ed1c1d699", "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_credit_capacity.09c391d59d", "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_deposited_collateral_value.45b375717f", "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_event_name.1198969560", "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_id.6634d79b97", "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_market_id.92b8458e5c", "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_net_issuance.016c84545c", "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_sender.fe1f2d4275", "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_token_amount.b89be9c43a", "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_transaction_hash.9db6bb9d6b", "test.synthetix.unique_core_market_updated_arbitrum_mainnet_id.ef7b2e2622"], "model.synthetix.core_usd_minted_arbitrum_mainnet": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet", "model.synthetix.fct_synth_supply_arbitrum_mainnet", "test.synthetix.accepted_values_core_usd_minted_arbitrum_mainnet_event_name__UsdMinted.cb75bc5dc7", "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_account_id__True__0.6487cbbb70", "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_amount__True__0.9400183d7a", "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_pool_id__True__0.5d700fe50b", "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_account_id.9ccf9039ea", "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_amount.f37a3a83d0", "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_block_number.2c3c8fc1e5", "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_block_timestamp.8ca5480dbc", "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_collateral_type.0129f350e1", "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_contract.317c6e89d1", "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_event_name.8c280cde80", "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_id.3157330f1c", "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_pool_id.4593996ffd", "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_sender.829a4593b0", "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_transaction_hash.74c68bc07e", "test.synthetix.unique_core_usd_minted_arbitrum_mainnet_id.557dbdade9"], "model.synthetix.core_vault_liquidation_arbitrum_mainnet": ["test.synthetix.accepted_values_core_vault_liquidation_arbitrum_mainnet_event_name__VaultLiquidation.429345a118", "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0.c9be297afd", "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_pool_id__True__0.c4b79598cb", "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_block_number.1dc8ebaf67", "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_block_timestamp.3054b6aeaa", "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_collateral_type.ba4823f6ed", "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_contract.625029e21f", "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_event_name.fcb481b7e9", "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_id.c7ac33a6c3", "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id.5e1fa876a7", "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_liquidation_data.2555b245ad", "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_pool_id.f9e6978af1", "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_sender.d35f8c0cc2", "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_transaction_hash.5da9d8cd8f", "test.synthetix.unique_core_vault_liquidation_arbitrum_mainnet_id.3f5a30c375"], "model.synthetix.spot_synth_sold_arbitrum_mainnet": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet", "test.synthetix.accepted_values_spot_synth_sold_arbitrum_mainnet_event_name__SynthSold.c2779b95d3", "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_amount_returned__True__0.94e383949d", "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_collected_fees__True__0.ebed4cb6c6", "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_price__True__0.736ec6a18f", "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_synth_market_id__True__0.502a7c73ae", "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_amount_returned.a22fe1e87b", "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_block_number.21c8144aca", "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp.ece96724ff", "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_collected_fees.ae5a9854f2", "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_contract.7e747f7197", "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_event_name.77e48ea6b8", "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_id.5672923066", "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_price.83b6e6b427", "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_referrer.fc97629e01", "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id.0a9309e0fe", "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash.b35ac6eb10", "test.synthetix.unique_spot_synth_sold_arbitrum_mainnet_id.77e9d1569f"], "model.synthetix.spot_synth_bought_arbitrum_mainnet": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet", "test.synthetix.accepted_values_spot_synth_bought_arbitrum_mainnet_event_name__SynthBought.6968f2e38e", "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_collected_fees__True__0.ffa72f24d6", "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_price__True__0.2666787a3a", "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_synth_market_id__True__0.39b07cbd1a", "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_block_number.3db00f8fd2", "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp.1e3c9accd9", "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_collected_fees.975bb20444", "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_contract.7f6d914e0b", "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_event_name.aa51f8b10f", "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_id.94c6a2689e", "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_price.b7069dc105", "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_referrer.d5123874c5", "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id.11b8c58586", "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash.46c5786b65", "test.synthetix.unique_spot_synth_bought_arbitrum_mainnet_id.97a98f064e"], "model.synthetix.spot_order_committed_arbitrum_mainnet": ["test.synthetix.accepted_values_spot_order_committed_arbitrum_mainnet_event_name__OrderCommitted.e30a77b9b3", "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_amount_provided__True__0.a0c5711e24", "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_market_id__True__0.fcb0bd480c", "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_amount_provided.618d749652", "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_block_number.bbd3030ffd", "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_block_timestamp.a4f827fd66", "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_contract.1d73e820e2", "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_event_name.364a2ed7fd", "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_id.2bedbed49c", "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_market_id.eb267aefe6", "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_order_type.9bedf0c3bc", "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_referrer.23dc146929", "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_sender.d7cbd6bc05", "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_transaction_hash.47ac362f75", "test.synthetix.unique_spot_order_committed_arbitrum_mainnet_id.715535831f"], "model.synthetix.spot_synth_registered_arbitrum_mainnet": ["model.synthetix.fct_spot_markets_arbitrum_mainnet", "test.synthetix.accepted_values_spot_synth_registered_arbitrum_mainnet_event_name__SynthRegistered.dab3843a60", "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_arbitrum_mainnet_synth_market_id__True__0.03490626a4", "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_block_number.c19306427b", "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp.155e02a96a", "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_contract.dc09abd1d6", "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_event_name.aa6a178336", "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_id.456af96984", "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id.b02a502d7f", "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_synth_token_address.e815b8c9d4", "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_transaction_hash.ae02976291", "test.synthetix.unique_spot_synth_registered_arbitrum_mainnet_id.d4fd9eb0ba"], "model.synthetix.spot_order_cancelled_arbitrum_mainnet": ["test.synthetix.accepted_values_spot_order_cancelled_arbitrum_mainnet_event_name__OrderCancelled.bcb12d7741", "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_arbitrum_mainnet_market_id__True__0.8d08288d1d", "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_block_number.a85db0bd00", "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp.a2656a614b", "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_contract.cc9a04e73e", "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_event_name.f29a2c6180", "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_id.bf2929fb2c", "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_market_id.629e55a158", "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_sender.a796a774d3", "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash.43ee88aad5", "test.synthetix.unique_spot_order_cancelled_arbitrum_mainnet_id.de40647c46"], "model.synthetix.spot_order_settled_arbitrum_mainnet": ["test.synthetix.accepted_values_spot_order_settled_arbitrum_mainnet_event_name__OrderSettled.c43865614e", "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_collected_fees__True__0.e9fce02c77", "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_final_order_amount__True__0.d78aeda819", "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_market_id__True__0.498546554e", "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_price__True__0.94dec93a68", "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_block_number.876a0a0282", "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_block_timestamp.483fdb2a21", "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_collected_fees.4c46cfb386", "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_contract.7d4f904249", "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_event_name.32a64f7398", "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_id.1124fb8990", "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_market_id.84635206a3", "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_order_type.cc9846cfde", "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_price.3e2897303c", "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_settler.2f85667062", "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_transaction_hash.a8b7f93ae5", "test.synthetix.unique_spot_order_settled_arbitrum_mainnet_id.a1ec7e590f"], "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "test.synthetix.accepted_values_spot_synth_unwrapped_arbitrum_mainnet_event_name__SynthUnwrapped.0156eda083", "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped__True__0.dfb2bf555e", "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_fees_collected__True__0.caa0ab5069", "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id__True__0.c8e2a0ce2e", "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped.6338d14461", "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number.6c4594ed9b", "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp.7eb830695e", "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_contract.df671e35b9", "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name.15be4b2d2e", "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected.82edb6c70c", "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_id.c93a8c455f", "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id.597a45b266", "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash.266bb54277", "test.synthetix.unique_spot_synth_unwrapped_arbitrum_mainnet_id.81790072c1"], "model.synthetix.spot_synth_wrapped_arbitrum_mainnet": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "test.synthetix.accepted_values_spot_synth_wrapped_arbitrum_mainnet_event_name__SynthWrapped.c2a7fae75f", "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_fees_collected__True__0.8427a98042", "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_synth_market_id__True__0.69e1aef58d", "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_block_number.388f222586", "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp.62e5fb2f2c", "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_contract.12b8537d63", "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_event_name.a537b3bcc9", "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected.ab1cc1a24e", "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_id.e6be3c26ab", "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id.22e9bbcaaf", "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash.470b375862", "test.synthetix.unique_spot_synth_wrapped_arbitrum_mainnet_id.4240a5b9ed"], "model.synthetix.blocks_arbitrum_sepolia": ["test.synthetix.dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1.8a321a2874", "test.synthetix.not_null_blocks_arbitrum_sepolia_block_number.73833a1893", "test.synthetix.unique_blocks_arbitrum_sepolia_block_number.4c474d2bd5"], "model.synthetix.core_vault_liquidation_arbitrum_sepolia": ["test.synthetix.accepted_values_core_vault_liquidation_arbitrum_sepolia_event_name__VaultLiquidation.0c7e403f1c", "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0.8896409533", "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_pool_id__True__0.6022175c23", "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_block_number.fbedd6aa28", "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_block_timestamp.3f8fcf20ee", "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_collateral_type.0b2d659b09", "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_contract.2bb4203c78", "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_event_name.6ee4c7edec", "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_id.e478906cc0", "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id.557d546c5f", "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_liquidation_data.0e7de46ea6", "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_pool_id.c0c0a011c4", "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_sender.e33149c915", "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_transaction_hash.6b1e45b06a", "test.synthetix.unique_core_vault_liquidation_arbitrum_sepolia_id.39f25ec5ad"], "model.synthetix.core_rewards_distributed_arbitrum_sepolia": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia", "test.synthetix.accepted_values_core_rewards_distributed_arbitrum_sepolia_event_name__RewardsDistributed.94958bacc6", "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_amount__True__0.a57935c0b7", "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_duration__True__0.905006d2f0", "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_pool_id__True__0.4ca72a296c", "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_amount.8682e416ae", "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_block_number.5fbc655c9b", "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_block_timestamp.b3adafb4cf", "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_collateral_type.099d0e256e", "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_contract.7bb7fd8da4", "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_distributor.f184171df4", "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_duration.a042625996", "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_event_name.1803af1787", "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_id.4fea69e81a", "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_pool_id.4ae694bfec", "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_transaction_hash.2ae04c7450", "test.synthetix.unique_core_rewards_distributed_arbitrum_sepolia_id.728eef2ccb"], "model.synthetix.core_vault_collateral_arbitrum_sepolia": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "model.synthetix.fct_prices_arbitrum_sepolia", "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_amount__True__0.ceaca21b1b", "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_collateral_value__True__0.5e64981616", "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_pool_id__True__0.99b4d66658", "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_amount.e85fb4a97b", "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_block_number.7c4c28bc6d", "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_collateral_type.c23ed9827f", "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_collateral_value.77882c9c22", "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_contract_address.d90d5e4d47", "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_pool_id.11828e6701", "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_ts.74e3fe431f"], "model.synthetix.core_delegation_updated_arbitrum_sepolia": ["model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia", "test.synthetix.accepted_values_core_delegation_updated_arbitrum_sepolia_event_name__DelegationUpdated.46889d7476", "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_account_id__True__0.ead58dff29", "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_amount__True__0.aefd73a62f", "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_leverage__True__1000000000000000000__1000000000000000000.5ff8a67507", "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_pool_id__True__0.f9aeca9f9a", "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_account_id.689f7da996", "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_amount.77ddc8625f", "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_block_number.fa4a36eaeb", "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_block_timestamp.ae4bac2433", "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_collateral_type.db67498e80", "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_contract.8f08a5a9da", "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_event_name.4d0a81b0f4", "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_id.12fb857e85", "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_leverage.d5bd156a6e", "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_pool_id.8f59052242", "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_sender.ef3937b25b", "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_transaction_hash.8199cb0155", "test.synthetix.unique_core_delegation_updated_arbitrum_sepolia_id.beef769010"], "model.synthetix.core_deposited_arbitrum_sepolia": ["model.synthetix.fct_core_pool_collateral_arbitrum_sepolia", "test.synthetix.accepted_values_core_deposited_arbitrum_sepolia_event_name__Deposited.1c0d375890", "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_account_id__True__0.d3287e563c", "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_token_amount__True__0.0f0aa65236", "test.synthetix.not_null_core_deposited_arbitrum_sepolia_account_id.0850a5cdd2", "test.synthetix.not_null_core_deposited_arbitrum_sepolia_block_number.c3036ab47e", "test.synthetix.not_null_core_deposited_arbitrum_sepolia_block_timestamp.423f2e9f55", "test.synthetix.not_null_core_deposited_arbitrum_sepolia_collateral_type.88d590c5ca", "test.synthetix.not_null_core_deposited_arbitrum_sepolia_contract.98776e9523", "test.synthetix.not_null_core_deposited_arbitrum_sepolia_event_name.ca52f6033b", "test.synthetix.not_null_core_deposited_arbitrum_sepolia_id.7d3846b9e3", "test.synthetix.not_null_core_deposited_arbitrum_sepolia_sender.2aeec9aec1", "test.synthetix.not_null_core_deposited_arbitrum_sepolia_token_amount.653e14e03e", "test.synthetix.not_null_core_deposited_arbitrum_sepolia_transaction_hash.8084f934a8", "test.synthetix.unique_core_deposited_arbitrum_sepolia_id.9f22c1a15e"], "model.synthetix.core_liquidation_arbitrum_sepolia": ["test.synthetix.accepted_values_core_liquidation_arbitrum_sepolia_event_name__Liquidation.32c120b3b8", "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_account_id__True__0.fa367d1bc5", "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0.aa641f64fe", "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_pool_id__True__0.d1a4bd0579", "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_account_id.2f2251c90a", "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_block_number.28a164853c", "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_block_timestamp.2b65fcd144", "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_collateral_type.611a474b69", "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_contract.b3848813ec", "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_event_name.6dff9cd9a5", "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_id.acb7c881c1", "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_liquidate_as_account_id.8fb362bd59", "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_pool_id.851303c6c6", "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_sender.b1951bbf59", "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_transaction_hash.aa34dc1b7f", "test.synthetix.unique_core_liquidation_arbitrum_sepolia_id.7489e81022"], "model.synthetix.core_pool_created_arbitrum_sepolia": ["model.synthetix.fct_core_pools_arbitrum_sepolia", "test.synthetix.accepted_values_core_pool_created_arbitrum_sepolia_event_name__PoolCreated.d04166c685", "test.synthetix.dbt_utils_accepted_range_core_pool_created_arbitrum_sepolia_pool_id__True__0.d3bc479935", "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_block_number.28a66d0e74", "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_block_timestamp.fd0d1a2266", "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_contract.bd9da8f8fc", "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_event_name.9148e96626", "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_id.2ecf600861", "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_owner.980ce0b630", "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_pool_id.1fccbc8d94", "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_sender.999d6ba1d5", "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_transaction_hash.09e0ac3340", "test.synthetix.unique_core_pool_created_arbitrum_sepolia_id.520ef444f0"], "model.synthetix.core_account_created_arbitrum_sepolia": ["test.synthetix.accepted_values_core_account_created_arbitrum_sepolia_event_name__AccountCreated.f6de61acf3", "test.synthetix.dbt_utils_accepted_range_core_account_created_arbitrum_sepolia_account_id__True__0.2ee2f4ab2f", "test.synthetix.not_null_core_account_created_arbitrum_sepolia_account_id.7a98480d2d", "test.synthetix.not_null_core_account_created_arbitrum_sepolia_block_number.1841c44bbb", "test.synthetix.not_null_core_account_created_arbitrum_sepolia_block_timestamp.74d0052bed", "test.synthetix.not_null_core_account_created_arbitrum_sepolia_contract.c63e7e4dbf", "test.synthetix.not_null_core_account_created_arbitrum_sepolia_event_name.8db7179ccc", "test.synthetix.not_null_core_account_created_arbitrum_sepolia_id.07253fa9ea", "test.synthetix.not_null_core_account_created_arbitrum_sepolia_owner.9aad095481", "test.synthetix.not_null_core_account_created_arbitrum_sepolia_transaction_hash.59070c07aa", "test.synthetix.unique_core_account_created_arbitrum_sepolia_id.f9001194ee"], "model.synthetix.core_market_registered_arbitrum_sepolia": ["test.synthetix.accepted_values_core_market_registered_arbitrum_sepolia_event_name__MarketRegistered.0d43228789", "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_block_number.94a8562b13", "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_block_timestamp.fa45bb6a23", "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_contract.8d5b49ae4d", "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_event_name.72e398dd82", "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_id.88f5db38d2", "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_market.67fc30dc60", "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_market_id.c742aae1d0", "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_sender.f940ee9c3a", "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_transaction_hash.9904023035", "test.synthetix.unique_core_market_registered_arbitrum_sepolia_id.5964f1fbf3", "test.synthetix.unique_core_market_registered_arbitrum_sepolia_market_id.78637df31f"], "model.synthetix.core_market_updated_arbitrum_sepolia": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test.synthetix.accepted_values_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.4a106f8344", "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_deposited_collateral_value__True__0.bb2ac3f8fc", "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_market_id__True__0.f774945861", "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_token_amount__True__0.33dea408c4", "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_block_number.18b9e7bff4", "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_block_timestamp.f0ccbe740a", "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_collateral_type.0163e724c2", "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_contract.925fa67624", "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_credit_capacity.ed07eaef21", "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_deposited_collateral_value.2a9afd7205", "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_event_name.07d4bde491", "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_id.087024faa4", "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_market_id.4d2767c0b4", "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_net_issuance.ab387b275f", "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_sender.b4216822d2", "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_token_amount.e980630f1e", "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_transaction_hash.697e3dd319", "test.synthetix.unique_core_market_updated_arbitrum_sepolia_id.7ed403a10d"], "model.synthetix.core_vault_debt_arbitrum_sepolia": ["model.synthetix.fct_pool_debt_arbitrum_sepolia", "test.synthetix.dbt_utils_accepted_range_core_vault_debt_arbitrum_sepolia_pool_id__True__0.6a7fea5bbc", "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_block_number.39b83b17e0", "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_collateral_type.c136eaeaa7", "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_contract_address.7162b1bbad", "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_debt.13e23e52e8", "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_pool_id.3d27f2e067", "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_ts.6259a43e83"], "model.synthetix.core_withdrawn_arbitrum_sepolia": ["model.synthetix.fct_core_pool_collateral_arbitrum_sepolia", "test.synthetix.accepted_values_core_withdrawn_arbitrum_sepolia_event_name__Withdrawn.cd07ab25e2", "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_account_id__True__0.d4050dde67", "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_token_amount__True__0.0301b264d6", "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_account_id.93a7f1c6e0", "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_block_number.fb2901f9b9", "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_block_timestamp.7fcd8e34b4", "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_collateral_type.462d8e9d4a", "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_contract.7095f79cd5", "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_event_name.6e275cf97d", "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_id.bdd65cec2b", "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_sender.b2d53e6596", "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_token_amount.df20ce27b8", "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_transaction_hash.a4480fb9e0", "test.synthetix.unique_core_withdrawn_arbitrum_sepolia_id.3f0503a510"], "model.synthetix.core_rewards_claimed_arbitrum_sepolia": ["test.synthetix.accepted_values_core_rewards_claimed_arbitrum_sepolia_event_name__RewardsClaimed.34f660416a", "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_account_id__True__0.931fbcf6dd", "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_amount__True__0.4bdbe43c5e", "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_pool_id__True__0.8b433a3bc6", "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_account_id.f2bf56343c", "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_amount.c69c35b9b1", "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_block_number.9a6d0e0806", "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp.b87721cc33", "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type.d2183c9d15", "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_contract.d436fcb4ac", "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_distributor.3f6ad9aa55", "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_event_name.a3f0d6ec61", "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_id.9a1c133f3b", "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_pool_id.a883be69bc", "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash.680f286a1c", "test.synthetix.unique_core_rewards_claimed_arbitrum_sepolia_id.f24f1c4553"], "model.synthetix.core_usd_minted_arbitrum_sepolia": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia", "model.synthetix.fct_synth_supply_arbitrum_sepolia", "test.synthetix.accepted_values_core_usd_minted_arbitrum_sepolia_event_name__UsdMinted.5fd40cc553", "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_account_id__True__0.3ae041bf59", "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_amount__True__0.e93e8d1936", "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_pool_id__True__0.ae99bd6ea3", "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_account_id.e8dbb7db41", "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_amount.cd18eb6390", "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_block_number.3319b5e432", "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_block_timestamp.baa0ed9288", "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_collateral_type.36a06f20c5", "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_contract.71d9365153", "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_event_name.b210011389", "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_id.07b94c915b", "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_pool_id.41123c7a06", "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_sender.b183e1c56f", "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_transaction_hash.38f21551fd", "test.synthetix.unique_core_usd_minted_arbitrum_sepolia_id.d868aed363"], "model.synthetix.core_usd_burned_arbitrum_sepolia": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia", "model.synthetix.fct_synth_supply_arbitrum_sepolia", "test.synthetix.accepted_values_core_usd_burned_arbitrum_sepolia_event_name__UsdBurned.82b5e1f839", "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_account_id__True__0.2bc68923f9", "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_amount__True__0.048d31e429", "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_pool_id__True__0.d19a9e58b9", "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_account_id.620cecde52", "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_amount.6baf89b24c", "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_block_number.a36a988eb1", "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_block_timestamp.5bcc977f3d", "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_collateral_type.9bcf375dc5", "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_contract.91add9f346", "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_event_name.2334208293", "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_id.a9d148b478", "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_pool_id.7bf8dd6882", "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_sender.e732504915", "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_transaction_hash.91ab5b1d0b", "test.synthetix.unique_core_usd_burned_arbitrum_sepolia_id.65a6dbfca4"], "model.synthetix.spot_order_settled_arbitrum_sepolia": ["test.synthetix.accepted_values_spot_order_settled_arbitrum_sepolia_event_name__OrderSettled.3825809881", "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_collected_fees__True__0.43d000a1f2", "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_final_order_amount__True__0.976f3b49e5", "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_market_id__True__0.6880f35b4a", "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_price__True__0.6c6c67c752", "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_block_number.f4d15aa1c6", "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_block_timestamp.4104ea8ae8", "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_collected_fees.1010c0a5f8", "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_contract.2b0e9ad75a", "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_event_name.51feaa1c12", "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_id.61da8ff5ef", "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_market_id.d28592e51d", "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_order_type.ce3ce512a2", "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_price.1a44fe5106", "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_settler.709cf86f6a", "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_transaction_hash.e39d83aa1f", "test.synthetix.unique_spot_order_settled_arbitrum_sepolia_id.fce4a382d0"], "model.synthetix.spot_synth_wrapped_arbitrum_sepolia": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "test.synthetix.accepted_values_spot_synth_wrapped_arbitrum_sepolia_event_name__SynthWrapped.a482cbf84f", "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_fees_collected__True__0.9f8402c770", "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_synth_market_id__True__0.ca19b05f78", "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_block_number.c861cf7b58", "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp.cc2e2e7857", "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_contract.410ac0c77b", "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_event_name.e16041e32c", "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected.8c22c01d20", "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_id.ec9012b5a4", "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id.f1fccfdd91", "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash.60e01a101a", "test.synthetix.unique_spot_synth_wrapped_arbitrum_sepolia_id.25ef0efbd8"], "model.synthetix.spot_synth_sold_arbitrum_sepolia": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia", "test.synthetix.accepted_values_spot_synth_sold_arbitrum_sepolia_event_name__SynthSold.fe13707237", "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_amount_returned__True__0.491570b785", "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_collected_fees__True__0.18ef00cae1", "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_price__True__0.9416491d1c", "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_synth_market_id__True__0.2196afe46e", "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_amount_returned.31fa2e2854", "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_block_number.9eb624134f", "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp.5734b00c78", "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_collected_fees.0c503232cc", "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_contract.d5f31e0816", "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_event_name.333367310e", "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_id.415e7f2126", "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_price.1a5abe8024", "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_referrer.31558bcae3", "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id.2629bdcd49", "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash.da63dad649", "test.synthetix.unique_spot_synth_sold_arbitrum_sepolia_id.dd4ab72a64"], "model.synthetix.spot_synth_bought_arbitrum_sepolia": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia", "test.synthetix.accepted_values_spot_synth_bought_arbitrum_sepolia_event_name__SynthBought.134dc8cabd", "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_collected_fees__True__0.e69ec41d5e", "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_price__True__0.d95f1532c7", "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_synth_market_id__True__0.869a31cec1", "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_block_number.1414f728f0", "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp.af0cba6258", "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_collected_fees.32235682bf", "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_contract.2c9cdafac9", "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_event_name.a810bafafd", "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_id.ed20008417", "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_price.9dde4ea814", "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_referrer.c39eda4686", "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id.92397dca4f", "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash.b57c5b3476", "test.synthetix.unique_spot_synth_bought_arbitrum_sepolia_id.3ade424d59"], "model.synthetix.spot_order_committed_arbitrum_sepolia": ["test.synthetix.accepted_values_spot_order_committed_arbitrum_sepolia_event_name__OrderCommitted.48f82592c2", "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_amount_provided__True__0.e297093a69", "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_market_id__True__0.156852fc84", "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_amount_provided.b4fbc53f60", "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_block_number.e402f23638", "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_block_timestamp.053b915e14", "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_contract.8724d32b95", "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_event_name.10fb9fe2fd", "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_id.3dc77e7585", "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_market_id.4600734bce", "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_order_type.cfe77ca9a2", "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_referrer.3934248ab9", "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_sender.6665c965c9", "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_transaction_hash.44fbdb881f", "test.synthetix.unique_spot_order_committed_arbitrum_sepolia_id.7dddd93b21"], "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "test.synthetix.accepted_values_spot_synth_unwrapped_arbitrum_sepolia_event_name__SynthUnwrapped.20624d41fd", "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped__True__0.2d01453854", "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_fees_collected__True__0.f01b734c27", "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id__True__0.6744618704", "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped.4d83dd17da", "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number.bfaa7aabea", "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp.2897aa2af1", "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_contract.9a67446eba", "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name.e2e470100a", "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected.342d8ecaba", "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_id.885fac7a78", "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id.0f2f845893", "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash.5b5d8f1737", "test.synthetix.unique_spot_synth_unwrapped_arbitrum_sepolia_id.5985d5d1de"], "model.synthetix.spot_order_cancelled_arbitrum_sepolia": ["test.synthetix.accepted_values_spot_order_cancelled_arbitrum_sepolia_event_name__OrderCancelled.7763c43292", "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_arbitrum_sepolia_market_id__True__0.047630938a", "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_block_number.6b3267b9d4", "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp.5b304e425f", "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_contract.b838860ee1", "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_event_name.e938eb2758", "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_id.8e031ca154", "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_market_id.d248c77fa3", "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_sender.dd378adc77", "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash.7bc3d70f6e", "test.synthetix.unique_spot_order_cancelled_arbitrum_sepolia_id.463daca854"], "model.synthetix.spot_synth_registered_arbitrum_sepolia": ["model.synthetix.fct_spot_markets_arbitrum_sepolia", "test.synthetix.accepted_values_spot_synth_registered_arbitrum_sepolia_event_name__SynthRegistered.66b8fe9ef2", "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_arbitrum_sepolia_synth_market_id__True__0.adc193de63", "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_block_number.e17831aecf", "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp.8ad856419d", "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_contract.13305b5b4f", "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_event_name.5caf84c585", "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_id.ae9e680918", "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id.41d8ffc96a", "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_synth_token_address.30dd706c48", "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_transaction_hash.211b9e6913", "test.synthetix.unique_spot_synth_registered_arbitrum_sepolia_id.a09499cc92"], "model.synthetix.blocks_base_mainnet": ["test.synthetix.dbt_utils_recency_blocks_base_mainnet_hour__ts__1.b0724712c2", "test.synthetix.not_null_blocks_base_mainnet_block_number.bb1b2f53c2", "test.synthetix.unique_blocks_base_mainnet_block_number.e303976d40"], "model.synthetix.perp_market_created_base_mainnet": ["model.synthetix.fct_perp_markets_base_mainnet", "test.synthetix.accepted_values_perp_market_created_base_mainnet_event_name__MarketCreated.d9da845e2f", "test.synthetix.dbt_utils_accepted_range_perp_market_created_base_mainnet_perps_market_id__True__0.7835f6c4e2", "test.synthetix.not_null_perp_market_created_base_mainnet_block_number.31d8a749ec", "test.synthetix.not_null_perp_market_created_base_mainnet_block_timestamp.b13b8b381f", "test.synthetix.not_null_perp_market_created_base_mainnet_contract.dd8ab60012", "test.synthetix.not_null_perp_market_created_base_mainnet_event_name.f103b43404", "test.synthetix.not_null_perp_market_created_base_mainnet_id.eb84eb9821", "test.synthetix.not_null_perp_market_created_base_mainnet_market_name.162fe82996", "test.synthetix.not_null_perp_market_created_base_mainnet_market_symbol.06e88b6544", "test.synthetix.not_null_perp_market_created_base_mainnet_perps_market_id.d04a2adf66", "test.synthetix.not_null_perp_market_created_base_mainnet_transaction_hash.005c8ea981", "test.synthetix.unique_perp_market_created_base_mainnet_id.e1227e7e46"], "model.synthetix.perp_account_created_base_mainnet": ["model.synthetix.fct_perp_accounts_base_mainnet", "test.synthetix.accepted_values_perp_account_created_base_mainnet_event_name__AccountCreated.c906cbec9d", "test.synthetix.dbt_utils_accepted_range_perp_account_created_base_mainnet_account_id__True__0.31cc3873de", "test.synthetix.not_null_perp_account_created_base_mainnet_account_id.2d9e573ba3", "test.synthetix.not_null_perp_account_created_base_mainnet_block_number.089e467aa3", "test.synthetix.not_null_perp_account_created_base_mainnet_block_timestamp.4e4344d68a", "test.synthetix.not_null_perp_account_created_base_mainnet_contract.d77785377c", "test.synthetix.not_null_perp_account_created_base_mainnet_event_name.0ab1553ed8", "test.synthetix.not_null_perp_account_created_base_mainnet_id.88dc5d9a3e", "test.synthetix.not_null_perp_account_created_base_mainnet_owner.1aca280221", "test.synthetix.not_null_perp_account_created_base_mainnet_transaction_hash.0274c58381", "test.synthetix.unique_perp_account_created_base_mainnet_id.7e77a8a023"], "model.synthetix.perp_interest_rate_updated_base_mainnet": ["test.synthetix.accepted_values_perp_interest_rate_updated_base_mainnet_event_name__InterestRateUpdated.1f640e1a2e", "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_interest_rate__True__0.9e368f0a36", "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_super_market_id__True__0.4d69e0aece", "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_block_number.76213ff694", "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_block_timestamp.0d665a1669", "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_contract.79599300ad", "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_event_name.36434bd8cd", "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_id.e9a20cc82f", "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_interest_rate.cfecf76356", "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_super_market_id.234f62d024", "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_transaction_hash.84f20da856", "test.synthetix.unique_perp_interest_rate_updated_base_mainnet_id.bddddb2671"], "model.synthetix.perp_order_committed_base_mainnet": ["model.synthetix.fct_perp_orders_base_mainnet", "test.synthetix.accepted_values_perp_order_committed_base_mainnet_event_name__OrderCommitted.ce39697ea3", "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_mainnet_account_id__True__0.c996cff012", "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_mainnet_market_id__True__0.9964b7c003", "test.synthetix.not_null_perp_order_committed_base_mainnet_account_id.4dabd60cd4", "test.synthetix.not_null_perp_order_committed_base_mainnet_block_number.743f5b2c16", "test.synthetix.not_null_perp_order_committed_base_mainnet_block_timestamp.ba049c4adc", "test.synthetix.not_null_perp_order_committed_base_mainnet_contract.ec04bc0cd9", "test.synthetix.not_null_perp_order_committed_base_mainnet_event_name.ea7921e749", "test.synthetix.not_null_perp_order_committed_base_mainnet_id.deaaf9a2d9", "test.synthetix.not_null_perp_order_committed_base_mainnet_market_id.09e2f9dd2e", "test.synthetix.not_null_perp_order_committed_base_mainnet_transaction_hash.ba7bf1fc20", "test.synthetix.unique_perp_order_committed_base_mainnet_id.471fd9d19f"], "model.synthetix.perp_collateral_modified_base_mainnet": ["model.synthetix.fct_perp_collateral_modified_base_mainnet", "test.synthetix.accepted_values_perp_collateral_modified_base_mainnet_event_name__CollateralModified.a5e57f2d75", "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_account_id__True__0.9f7c28c3fd", "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_synth_market_id__True__0.d556e7848d", "test.synthetix.not_null_perp_collateral_modified_base_mainnet_account_id.cdccf3f2af", "test.synthetix.not_null_perp_collateral_modified_base_mainnet_block_number.9a27b3b231", "test.synthetix.not_null_perp_collateral_modified_base_mainnet_block_timestamp.dba3f4ea26", "test.synthetix.not_null_perp_collateral_modified_base_mainnet_contract.c11139c863", "test.synthetix.not_null_perp_collateral_modified_base_mainnet_event_name.ea66af17fe", "test.synthetix.not_null_perp_collateral_modified_base_mainnet_id.f24bcc6b1b", "test.synthetix.not_null_perp_collateral_modified_base_mainnet_sender.b40c55b7ee", "test.synthetix.not_null_perp_collateral_modified_base_mainnet_synth_market_id.d41b8065af", "test.synthetix.not_null_perp_collateral_modified_base_mainnet_transaction_hash.3d3881c53b", "test.synthetix.unique_perp_collateral_modified_base_mainnet_id.311ce0d794"], "model.synthetix.perp_interest_charged_base_mainnet": ["model.synthetix.fct_perp_interest_charged_base_mainnet", "test.synthetix.accepted_values_perp_interest_charged_base_mainnet_event_name__InterestCharged.92bd4d647b", "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_base_mainnet_account_id__True__0.a3ec3de479", "test.synthetix.not_null_perp_interest_charged_base_mainnet_account_id.9cea8c57e9", "test.synthetix.not_null_perp_interest_charged_base_mainnet_block_number.634b5a2ca3", "test.synthetix.not_null_perp_interest_charged_base_mainnet_block_timestamp.c006ab16a0", "test.synthetix.not_null_perp_interest_charged_base_mainnet_contract.637ff31ac5", "test.synthetix.not_null_perp_interest_charged_base_mainnet_event_name.d0c6828a2c", "test.synthetix.not_null_perp_interest_charged_base_mainnet_id.a4394853e3", "test.synthetix.not_null_perp_interest_charged_base_mainnet_transaction_hash.82d6f4539b", "test.synthetix.unique_perp_interest_charged_base_mainnet_id.849ecb5e38"], "model.synthetix.perp_previous_order_expired_base_mainnet": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test.synthetix.accepted_values_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired.a675fe5038", "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_account_id__True__0.e4b1283a09", "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_market_id__True__0.edc1c768de", "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_account_id.c8037fd435", "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_block_number.a563a713e9", "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_block_timestamp.8433c78b93", "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_contract.5eed227a76", "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_event_name.14c38c565c", "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_id.bc7a46deda", "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_market_id.3b39458251", "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_transaction_hash.97e2d12b2c", "test.synthetix.unique_perp_previous_order_expired_base_mainnet_id.f02978148f"], "model.synthetix.perp_position_liquidated_base_mainnet": ["model.synthetix.fct_perp_liq_position_base_mainnet", "test.synthetix.accepted_values_perp_position_liquidated_base_mainnet_event_name__PositionLiquidated.71fb40cadb", "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_account_id__True__0.4dca14dbcd", "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_amount_liquidated__True__0.be0c7ea09d", "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_current_position_size__True__0.f59eb84311", "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_market_id__True__0.f77ba4ae2f", "test.synthetix.not_null_perp_position_liquidated_base_mainnet_account_id.498f567370", "test.synthetix.not_null_perp_position_liquidated_base_mainnet_amount_liquidated.29ad6c9103", "test.synthetix.not_null_perp_position_liquidated_base_mainnet_block_number.a7b9be436d", "test.synthetix.not_null_perp_position_liquidated_base_mainnet_block_timestamp.7e8e3434f7", "test.synthetix.not_null_perp_position_liquidated_base_mainnet_contract.16d824dbca", "test.synthetix.not_null_perp_position_liquidated_base_mainnet_current_position_size.b48e72d00b", "test.synthetix.not_null_perp_position_liquidated_base_mainnet_event_name.321097aa34", "test.synthetix.not_null_perp_position_liquidated_base_mainnet_id.32c367bb62", "test.synthetix.not_null_perp_position_liquidated_base_mainnet_market_id.564386819e", "test.synthetix.not_null_perp_position_liquidated_base_mainnet_transaction_hash.c67a9607db", "test.synthetix.unique_perp_position_liquidated_base_mainnet_id.922d3c5143"], "model.synthetix.perp_order_settled_base_mainnet": ["model.synthetix.fct_perp_trades_base_mainnet", "test.synthetix.accepted_values_perp_order_settled_base_mainnet_event_name__OrderSettled.2c75532624", "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_account_id__True__0.e5564d3ff0", "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_collected_fees__True__0.160f85cd41", "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_market_id__True__0.f0b24bdf87", "test.synthetix.not_null_perp_order_settled_base_mainnet_account_id.16ba855b23", "test.synthetix.not_null_perp_order_settled_base_mainnet_block_number.f58d806635", "test.synthetix.not_null_perp_order_settled_base_mainnet_block_timestamp.81876ddb40", "test.synthetix.not_null_perp_order_settled_base_mainnet_collected_fees.b6a0c12cde", "test.synthetix.not_null_perp_order_settled_base_mainnet_contract.4999a48971", "test.synthetix.not_null_perp_order_settled_base_mainnet_event_name.f1e61c05e6", "test.synthetix.not_null_perp_order_settled_base_mainnet_id.5b3863aece", "test.synthetix.not_null_perp_order_settled_base_mainnet_market_id.6f4d850570", "test.synthetix.not_null_perp_order_settled_base_mainnet_transaction_hash.a60987fbb0", "test.synthetix.unique_perp_order_settled_base_mainnet_id.0225a9550b"], "model.synthetix.perp_market_updated_base_mainnet": ["model.synthetix.fct_perp_market_history_base_mainnet", "test.synthetix.accepted_values_perp_market_updated_base_mainnet_event_name__MarketUpdated.33121cd63c", "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_interest_rate__True__0.7f6ed158d2", "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_market_id__True__0.5c7a41566b", "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_price__True__0.ae7f542736", "test.synthetix.not_null_perp_market_updated_base_mainnet_block_number.3088915c67", "test.synthetix.not_null_perp_market_updated_base_mainnet_block_timestamp.c0b049d2d6", "test.synthetix.not_null_perp_market_updated_base_mainnet_contract.e19df268b3", "test.synthetix.not_null_perp_market_updated_base_mainnet_event_name.de1019fbef", "test.synthetix.not_null_perp_market_updated_base_mainnet_id.23f3e68a12", "test.synthetix.not_null_perp_market_updated_base_mainnet_interest_rate.10b7a6c389", "test.synthetix.not_null_perp_market_updated_base_mainnet_market_id.8ec7a63f6b", "test.synthetix.not_null_perp_market_updated_base_mainnet_price.f0d91e2bd5", "test.synthetix.not_null_perp_market_updated_base_mainnet_transaction_hash.28faaa00e5", "test.synthetix.unique_perp_market_updated_base_mainnet_id.a3e4d3e22f"], "model.synthetix.perp_account_liquidation_attempt_base_mainnet": ["model.synthetix.fct_perp_liq_account_base_mainnet", "test.synthetix.accepted_values_perp_account_liquidation_attempt_base_mainnet_event_name__AccountLiquidationAttempt.aeb7d6db9c", "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_account_id__True__0.1b7d106a7e", "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_reward__True__0.cb285aadec", "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_account_id.b9af0ad259", "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_block_number.eb82068b1f", "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_block_timestamp.8bb23c25bf", "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_contract.52c72e7f83", "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_event_name.bdd4a2d793", "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_full_liquidation.13fc102881", "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_id.f0a38fed0b", "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_reward.c18396dc96", "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_transaction_hash.70575855b6", "test.synthetix.unique_perp_account_liquidation_attempt_base_mainnet_id.4ca8a36246"], "model.synthetix.buyback_processed_base_mainnet": ["model.synthetix.fct_buyback_base_mainnet", "test.synthetix.accepted_values_buyback_processed_base_mainnet_event_name__BuybackProcessed.dfe71d53df", "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_mainnet_snx__True__0.afaf938419", "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_mainnet_usd__True__0.4acbfc34a4", "test.synthetix.not_null_buyback_processed_base_mainnet_block_number.7938e67f70", "test.synthetix.not_null_buyback_processed_base_mainnet_block_timestamp.a03c2a402e", "test.synthetix.not_null_buyback_processed_base_mainnet_buyer.6dc7c79cf3", "test.synthetix.not_null_buyback_processed_base_mainnet_contract.73ecec38f3", "test.synthetix.not_null_buyback_processed_base_mainnet_event_name.6b55058ad0", "test.synthetix.not_null_buyback_processed_base_mainnet_id.f2ddc16a13", "test.synthetix.not_null_buyback_processed_base_mainnet_snx.d434d429ea", "test.synthetix.not_null_buyback_processed_base_mainnet_transaction_hash.48c42ff159", "test.synthetix.not_null_buyback_processed_base_mainnet_usd.c5f2eba3f9", "test.synthetix.unique_buyback_processed_base_mainnet_id.7d5a3bf3a8"], "model.synthetix.core_deposited_base_mainnet": ["model.synthetix.fct_core_pool_collateral_base_mainnet", "test.synthetix.accepted_values_core_deposited_base_mainnet_event_name__Deposited.8716111032", "test.synthetix.dbt_utils_accepted_range_core_deposited_base_mainnet_account_id__True__0.64bcc1c124", "test.synthetix.dbt_utils_accepted_range_core_deposited_base_mainnet_token_amount__True__0.60382baf55", "test.synthetix.not_null_core_deposited_base_mainnet_account_id.7193b1a2c0", "test.synthetix.not_null_core_deposited_base_mainnet_block_number.08ee53cd26", "test.synthetix.not_null_core_deposited_base_mainnet_block_timestamp.560df883dc", "test.synthetix.not_null_core_deposited_base_mainnet_collateral_type.be650ff685", "test.synthetix.not_null_core_deposited_base_mainnet_contract.6e9ec1150a", "test.synthetix.not_null_core_deposited_base_mainnet_event_name.31446f5c55", "test.synthetix.not_null_core_deposited_base_mainnet_id.ee16c24c51", "test.synthetix.not_null_core_deposited_base_mainnet_sender.7b7ebe7456", "test.synthetix.not_null_core_deposited_base_mainnet_token_amount.5b0e4b379d", "test.synthetix.not_null_core_deposited_base_mainnet_transaction_hash.272eb2e81d", "test.synthetix.unique_core_deposited_base_mainnet_id.c13be8e337"], "model.synthetix.core_rewards_claimed_base_mainnet": ["test.synthetix.accepted_values_core_rewards_claimed_base_mainnet_event_name__RewardsClaimed.aa2ca50bfd", "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_account_id__True__0.f3a8537aec", "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_amount__True__0.d32a48611c", "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_pool_id__True__0.4091fd0cb1", "test.synthetix.not_null_core_rewards_claimed_base_mainnet_account_id.854e016ff9", "test.synthetix.not_null_core_rewards_claimed_base_mainnet_amount.2d80149737", "test.synthetix.not_null_core_rewards_claimed_base_mainnet_block_number.4b65195293", "test.synthetix.not_null_core_rewards_claimed_base_mainnet_block_timestamp.365bd8971d", "test.synthetix.not_null_core_rewards_claimed_base_mainnet_collateral_type.f4a0d97e20", "test.synthetix.not_null_core_rewards_claimed_base_mainnet_contract.c7544b70ac", "test.synthetix.not_null_core_rewards_claimed_base_mainnet_distributor.edc7126cd6", "test.synthetix.not_null_core_rewards_claimed_base_mainnet_event_name.8699999c22", "test.synthetix.not_null_core_rewards_claimed_base_mainnet_id.e1c2a57eae", "test.synthetix.not_null_core_rewards_claimed_base_mainnet_pool_id.28e40cfefe", "test.synthetix.not_null_core_rewards_claimed_base_mainnet_transaction_hash.b63233ece5", "test.synthetix.unique_core_rewards_claimed_base_mainnet_id.3e937354d7"], "model.synthetix.core_pool_created_base_mainnet": ["model.synthetix.fct_core_pools_base_mainnet", "test.synthetix.accepted_values_core_pool_created_base_mainnet_event_name__PoolCreated.a1f7123964", "test.synthetix.dbt_utils_accepted_range_core_pool_created_base_mainnet_pool_id__True__0.39f67d8bfc", "test.synthetix.not_null_core_pool_created_base_mainnet_block_number.8ef3c64233", "test.synthetix.not_null_core_pool_created_base_mainnet_block_timestamp.94505d3912", "test.synthetix.not_null_core_pool_created_base_mainnet_contract.6f3850c4d8", "test.synthetix.not_null_core_pool_created_base_mainnet_event_name.0770467455", "test.synthetix.not_null_core_pool_created_base_mainnet_id.44cc56adee", "test.synthetix.not_null_core_pool_created_base_mainnet_owner.875044313e", "test.synthetix.not_null_core_pool_created_base_mainnet_pool_id.d63bf41661", "test.synthetix.not_null_core_pool_created_base_mainnet_sender.0c210116c7", "test.synthetix.not_null_core_pool_created_base_mainnet_transaction_hash.88325163ff", "test.synthetix.unique_core_pool_created_base_mainnet_id.f5ca162629"], "model.synthetix.core_vault_collateral_base_mainnet": ["model.synthetix.fct_core_vault_collateral_base_mainnet", "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "model.synthetix.fct_prices_base_mainnet", "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_amount__True__0.9e07833bf5", "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_collateral_value__True__0.7350cb66f7", "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_pool_id__True__0.c52772c114", "test.synthetix.not_null_core_vault_collateral_base_mainnet_amount.45536133a9", "test.synthetix.not_null_core_vault_collateral_base_mainnet_block_number.6eaab21095", "test.synthetix.not_null_core_vault_collateral_base_mainnet_collateral_type.bef58af2ef", "test.synthetix.not_null_core_vault_collateral_base_mainnet_collateral_value.5805db9c59", "test.synthetix.not_null_core_vault_collateral_base_mainnet_contract_address.bc7a096c7d", "test.synthetix.not_null_core_vault_collateral_base_mainnet_pool_id.e1a826b5b2", "test.synthetix.not_null_core_vault_collateral_base_mainnet_ts.a02f87cd0d"], "model.synthetix.core_usd_burned_base_mainnet": ["model.synthetix.fct_pool_issuance_base_mainnet", "model.synthetix.fct_synth_supply_base_mainnet", "test.synthetix.accepted_values_core_usd_burned_base_mainnet_event_name__UsdBurned.9df46c6616", "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_account_id__True__0.40ca1a8133", "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_amount__True__0.27adfdbff9", "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_pool_id__True__0.52120b282a", "test.synthetix.not_null_core_usd_burned_base_mainnet_account_id.b4f53ab613", "test.synthetix.not_null_core_usd_burned_base_mainnet_amount.57fdbdea35", "test.synthetix.not_null_core_usd_burned_base_mainnet_block_number.6f683bcb34", "test.synthetix.not_null_core_usd_burned_base_mainnet_block_timestamp.346c53ef95", "test.synthetix.not_null_core_usd_burned_base_mainnet_collateral_type.e208105e0e", "test.synthetix.not_null_core_usd_burned_base_mainnet_contract.dba51aebb5", "test.synthetix.not_null_core_usd_burned_base_mainnet_event_name.0bb05d75cc", "test.synthetix.not_null_core_usd_burned_base_mainnet_id.7d6df2e91f", "test.synthetix.not_null_core_usd_burned_base_mainnet_pool_id.abf28cfdf6", "test.synthetix.not_null_core_usd_burned_base_mainnet_sender.b813be6ecc", "test.synthetix.not_null_core_usd_burned_base_mainnet_transaction_hash.d80af383d5", "test.synthetix.unique_core_usd_burned_base_mainnet_id.5953435682"], "model.synthetix.core_liquidation_base_mainnet": ["test.synthetix.accepted_values_core_liquidation_base_mainnet_event_name__Liquidation.b1c18b74aa", "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_account_id__True__0.136053be04", "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_liquidate_as_account_id__True__0.7686495bd9", "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_pool_id__True__0.9af005d964", "test.synthetix.not_null_core_liquidation_base_mainnet_account_id.2ddc542a47", "test.synthetix.not_null_core_liquidation_base_mainnet_block_number.896bca83af", "test.synthetix.not_null_core_liquidation_base_mainnet_block_timestamp.cc029a06b8", "test.synthetix.not_null_core_liquidation_base_mainnet_collateral_type.c78d491846", "test.synthetix.not_null_core_liquidation_base_mainnet_contract.cb2b40daff", "test.synthetix.not_null_core_liquidation_base_mainnet_event_name.b9c8609dd4", "test.synthetix.not_null_core_liquidation_base_mainnet_id.c949216a70", "test.synthetix.not_null_core_liquidation_base_mainnet_liquidate_as_account_id.b2d7294162", "test.synthetix.not_null_core_liquidation_base_mainnet_pool_id.0342c9a9f7", "test.synthetix.not_null_core_liquidation_base_mainnet_sender.0c2397ee76", "test.synthetix.not_null_core_liquidation_base_mainnet_transaction_hash.adee36dc81", "test.synthetix.unique_core_liquidation_base_mainnet_id.876ec280ff"], "model.synthetix.core_vault_liquidation_base_mainnet": ["test.synthetix.accepted_values_core_vault_liquidation_base_mainnet_event_name__VaultLiquidation.b8ea6a7925", "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_liquidate_as_account_id__True__0.b04df95186", "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_pool_id__True__0.bfc340e4f6", "test.synthetix.not_null_core_vault_liquidation_base_mainnet_block_number.667cea546c", "test.synthetix.not_null_core_vault_liquidation_base_mainnet_block_timestamp.2dca047589", "test.synthetix.not_null_core_vault_liquidation_base_mainnet_collateral_type.e0c76340c5", "test.synthetix.not_null_core_vault_liquidation_base_mainnet_contract.d5acf50762", "test.synthetix.not_null_core_vault_liquidation_base_mainnet_event_name.1e10a7bb02", "test.synthetix.not_null_core_vault_liquidation_base_mainnet_id.3054417f0f", "test.synthetix.not_null_core_vault_liquidation_base_mainnet_liquidate_as_account_id.042bc52396", "test.synthetix.not_null_core_vault_liquidation_base_mainnet_liquidation_data.be698b5245", "test.synthetix.not_null_core_vault_liquidation_base_mainnet_pool_id.4a337176ad", "test.synthetix.not_null_core_vault_liquidation_base_mainnet_sender.512fed362a", "test.synthetix.not_null_core_vault_liquidation_base_mainnet_transaction_hash.063cc50ef6", "test.synthetix.unique_core_vault_liquidation_base_mainnet_id.74bcb7a076"], "model.synthetix.core_withdrawn_base_mainnet": ["model.synthetix.fct_core_pool_collateral_base_mainnet", "test.synthetix.accepted_values_core_withdrawn_base_mainnet_event_name__Withdrawn.8eb5613297", "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_mainnet_account_id__True__0.0bf8555841", "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_mainnet_token_amount__True__0.54af4bae82", "test.synthetix.not_null_core_withdrawn_base_mainnet_account_id.ef84b5b40c", "test.synthetix.not_null_core_withdrawn_base_mainnet_block_number.03c7cebae3", "test.synthetix.not_null_core_withdrawn_base_mainnet_block_timestamp.3b8ffa7210", "test.synthetix.not_null_core_withdrawn_base_mainnet_collateral_type.f32eb82738", "test.synthetix.not_null_core_withdrawn_base_mainnet_contract.a8511fdb92", "test.synthetix.not_null_core_withdrawn_base_mainnet_event_name.f423143c4b", "test.synthetix.not_null_core_withdrawn_base_mainnet_id.8106f47c4d", "test.synthetix.not_null_core_withdrawn_base_mainnet_sender.2f5cf91bdf", "test.synthetix.not_null_core_withdrawn_base_mainnet_token_amount.fbabce38ba", "test.synthetix.not_null_core_withdrawn_base_mainnet_transaction_hash.a3fda71b2a", "test.synthetix.unique_core_withdrawn_base_mainnet_id.72a24b0786"], "model.synthetix.core_account_created_base_mainnet": ["test.synthetix.accepted_values_core_account_created_base_mainnet_event_name__AccountCreated.8d266dd241", "test.synthetix.dbt_utils_accepted_range_core_account_created_base_mainnet_account_id__True__0.13ad3c12e1", "test.synthetix.not_null_core_account_created_base_mainnet_account_id.9f366bbbab", "test.synthetix.not_null_core_account_created_base_mainnet_block_number.1b0ff0bd14", "test.synthetix.not_null_core_account_created_base_mainnet_block_timestamp.8e5d2b5809", "test.synthetix.not_null_core_account_created_base_mainnet_contract.9c9629d4bf", "test.synthetix.not_null_core_account_created_base_mainnet_event_name.f3ba489917", "test.synthetix.not_null_core_account_created_base_mainnet_id.a6878c49cb", "test.synthetix.not_null_core_account_created_base_mainnet_owner.c498d5b28f", "test.synthetix.not_null_core_account_created_base_mainnet_transaction_hash.21cf6568c1", "test.synthetix.unique_core_account_created_base_mainnet_id.d79e3ab0d1"], "model.synthetix.core_market_updated_base_mainnet": ["model.synthetix.fct_core_market_updated_base_mainnet", "test.synthetix.accepted_values_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.06e57bf5c5", "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_deposited_collateral_value__True__0.3945f7eca1", "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_market_id__True__0.ab7b335af7", "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_token_amount__True__0.159f754b68", "test.synthetix.not_null_core_market_updated_base_mainnet_block_number.e9e83211a7", "test.synthetix.not_null_core_market_updated_base_mainnet_block_timestamp.648a5f6e8c", "test.synthetix.not_null_core_market_updated_base_mainnet_collateral_type.6e2d5502d4", "test.synthetix.not_null_core_market_updated_base_mainnet_contract.6d90834e3f", "test.synthetix.not_null_core_market_updated_base_mainnet_credit_capacity.4cad1dd5dd", "test.synthetix.not_null_core_market_updated_base_mainnet_deposited_collateral_value.905a08bfbb", "test.synthetix.not_null_core_market_updated_base_mainnet_event_name.6afe397967", "test.synthetix.not_null_core_market_updated_base_mainnet_id.bdb44c0b54", "test.synthetix.not_null_core_market_updated_base_mainnet_market_id.de78147356", "test.synthetix.not_null_core_market_updated_base_mainnet_net_issuance.334062f568", "test.synthetix.not_null_core_market_updated_base_mainnet_sender.5b6ff88208", "test.synthetix.not_null_core_market_updated_base_mainnet_token_amount.ce8694585d", "test.synthetix.not_null_core_market_updated_base_mainnet_transaction_hash.7b8eb5d77d", "test.synthetix.unique_core_market_updated_base_mainnet_id.b2a5abdd48"], "model.synthetix.core_rewards_distributed_base_mainnet": ["model.synthetix.fct_pool_rewards_base_mainnet", "test.synthetix.accepted_values_core_rewards_distributed_base_mainnet_event_name__RewardsDistributed.c4ccd15bed", "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_amount__True__0.839843f110", "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_duration__True__0.7efb65f7c3", "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_pool_id__True__0.7d779ece26", "test.synthetix.not_null_core_rewards_distributed_base_mainnet_amount.2580da873a", "test.synthetix.not_null_core_rewards_distributed_base_mainnet_block_number.8a561feed6", "test.synthetix.not_null_core_rewards_distributed_base_mainnet_block_timestamp.3080d49013", "test.synthetix.not_null_core_rewards_distributed_base_mainnet_collateral_type.7253a5e6ec", "test.synthetix.not_null_core_rewards_distributed_base_mainnet_contract.5545c1884a", "test.synthetix.not_null_core_rewards_distributed_base_mainnet_distributor.eb73b71c1b", "test.synthetix.not_null_core_rewards_distributed_base_mainnet_duration.78ed8fd436", "test.synthetix.not_null_core_rewards_distributed_base_mainnet_event_name.16811bbe2c", "test.synthetix.not_null_core_rewards_distributed_base_mainnet_id.0142695043", "test.synthetix.not_null_core_rewards_distributed_base_mainnet_pool_id.8ee087c0fc", "test.synthetix.not_null_core_rewards_distributed_base_mainnet_transaction_hash.bc1d7442f3", "test.synthetix.unique_core_rewards_distributed_base_mainnet_id.8cb2f0871f"], "model.synthetix.core_usd_minted_base_mainnet": ["model.synthetix.fct_pool_issuance_base_mainnet", "model.synthetix.fct_synth_supply_base_mainnet", "test.synthetix.accepted_values_core_usd_minted_base_mainnet_event_name__UsdMinted.62f89abcc8", "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_account_id__True__0.fd790b59ca", "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_amount__True__0.1d256007a1", "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_pool_id__True__0.38a3f5fcf9", "test.synthetix.not_null_core_usd_minted_base_mainnet_account_id.ccf3e769fe", "test.synthetix.not_null_core_usd_minted_base_mainnet_amount.196acb6a64", "test.synthetix.not_null_core_usd_minted_base_mainnet_block_number.9528b63fbc", "test.synthetix.not_null_core_usd_minted_base_mainnet_block_timestamp.a004821ccd", "test.synthetix.not_null_core_usd_minted_base_mainnet_collateral_type.f8bfd4628e", "test.synthetix.not_null_core_usd_minted_base_mainnet_contract.f56e539b17", "test.synthetix.not_null_core_usd_minted_base_mainnet_event_name.33ff07927a", "test.synthetix.not_null_core_usd_minted_base_mainnet_id.9cb007fc5c", "test.synthetix.not_null_core_usd_minted_base_mainnet_pool_id.ee8fc13465", "test.synthetix.not_null_core_usd_minted_base_mainnet_sender.363a1c6bc9", "test.synthetix.not_null_core_usd_minted_base_mainnet_transaction_hash.c04da14c24", "test.synthetix.unique_core_usd_minted_base_mainnet_id.476f2a0b45"], "model.synthetix.core_vault_debt_base_mainnet": ["model.synthetix.fct_perp_pnl_base_mainnet", "model.synthetix.fct_pool_debt_base_mainnet", "test.synthetix.dbt_utils_accepted_range_core_vault_debt_base_mainnet_pool_id__True__0.583a0abe4f", "test.synthetix.not_null_core_vault_debt_base_mainnet_block_number.bd4478b322", "test.synthetix.not_null_core_vault_debt_base_mainnet_collateral_type.e3f9b96478", "test.synthetix.not_null_core_vault_debt_base_mainnet_contract_address.f2b82344e4", "test.synthetix.not_null_core_vault_debt_base_mainnet_debt.922a67baf4", "test.synthetix.not_null_core_vault_debt_base_mainnet_pool_id.e33ea26a56", "test.synthetix.not_null_core_vault_debt_base_mainnet_ts.fc19d225e3"], "model.synthetix.core_market_registered_base_mainnet": ["test.synthetix.accepted_values_core_market_registered_base_mainnet_event_name__MarketRegistered.b297851ae7", "test.synthetix.not_null_core_market_registered_base_mainnet_block_number.14cb004b58", "test.synthetix.not_null_core_market_registered_base_mainnet_block_timestamp.41726ce377", "test.synthetix.not_null_core_market_registered_base_mainnet_contract.0187a84f0b", "test.synthetix.not_null_core_market_registered_base_mainnet_event_name.c5054f10bf", "test.synthetix.not_null_core_market_registered_base_mainnet_id.58185ba1ad", "test.synthetix.not_null_core_market_registered_base_mainnet_market.6a5311f9b7", "test.synthetix.not_null_core_market_registered_base_mainnet_market_id.8fa95d0adc", "test.synthetix.not_null_core_market_registered_base_mainnet_sender.9825c848f6", "test.synthetix.not_null_core_market_registered_base_mainnet_transaction_hash.7e49be40a9", "test.synthetix.unique_core_market_registered_base_mainnet_id.b0e87b4cdb", "test.synthetix.unique_core_market_registered_base_mainnet_market_id.e03ba7f671"], "model.synthetix.core_delegation_updated_base_mainnet": ["model.synthetix.fct_core_account_delegation_base_mainnet", "model.synthetix.fct_core_pool_delegation_base_mainnet", "test.synthetix.accepted_values_core_delegation_updated_base_mainnet_event_name__DelegationUpdated.67d059ef8b", "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_account_id__True__0.682b9be0e3", "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_amount__True__0.a8783e193f", "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_leverage__True__1000000000000000000__1000000000000000000.d5cf2050cc", "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_pool_id__True__0.4316662214", "test.synthetix.not_null_core_delegation_updated_base_mainnet_account_id.d54eaa7e33", "test.synthetix.not_null_core_delegation_updated_base_mainnet_amount.a0ab515e0a", "test.synthetix.not_null_core_delegation_updated_base_mainnet_block_number.b7e4e88578", "test.synthetix.not_null_core_delegation_updated_base_mainnet_block_timestamp.c521a83475", "test.synthetix.not_null_core_delegation_updated_base_mainnet_collateral_type.ed1a32a32c", "test.synthetix.not_null_core_delegation_updated_base_mainnet_contract.26c790b056", "test.synthetix.not_null_core_delegation_updated_base_mainnet_event_name.cfe99ccc6b", "test.synthetix.not_null_core_delegation_updated_base_mainnet_id.3f46fc5fef", "test.synthetix.not_null_core_delegation_updated_base_mainnet_leverage.5efc0a9617", "test.synthetix.not_null_core_delegation_updated_base_mainnet_pool_id.05c5c779bf", "test.synthetix.not_null_core_delegation_updated_base_mainnet_sender.0138cb07ed", "test.synthetix.not_null_core_delegation_updated_base_mainnet_transaction_hash.6915579646", "test.synthetix.unique_core_delegation_updated_base_mainnet_id.cb86d131a2"], "model.synthetix.spot_synth_wrapped_base_mainnet": ["model.synthetix.fct_spot_wrapper_base_mainnet", "test.synthetix.accepted_values_spot_synth_wrapped_base_mainnet_event_name__SynthWrapped.e81f79edcb", "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_fees_collected__True__0.88e8d792fd", "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_synth_market_id__True__0.3d7fa017bf", "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_block_number.4bf40252e1", "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_block_timestamp.66ddebcfe0", "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_contract.33e8d1917b", "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_event_name.1f22f5789b", "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_fees_collected.9a641530e9", "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_id.7d79ad852d", "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_synth_market_id.e2b2f4733f", "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_transaction_hash.9cbd57629d", "test.synthetix.unique_spot_synth_wrapped_base_mainnet_id.77a4ae72ae"], "model.synthetix.spot_synth_unwrapped_base_mainnet": ["model.synthetix.fct_spot_wrapper_base_mainnet", "test.synthetix.accepted_values_spot_synth_unwrapped_base_mainnet_event_name__SynthUnwrapped.a1713eb60e", "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_amount_unwrapped__True__0.2e78bc25a2", "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_fees_collected__True__0.48d9a0e389", "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_synth_market_id__True__0.de01d6cd38", "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped.025e49370b", "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_block_number.81e8f4c2ea", "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_block_timestamp.0e8329af5c", "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_contract.cba8e61baa", "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_event_name.dbfac4a471", "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_fees_collected.cd35bec369", "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_id.cd459ace96", "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_synth_market_id.47983f606b", "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_transaction_hash.e27a71ff2d", "test.synthetix.unique_spot_synth_unwrapped_base_mainnet_id.1256b6907b"], "model.synthetix.spot_synth_registered_base_mainnet": ["model.synthetix.fct_spot_markets_base_mainnet", "test.synthetix.accepted_values_spot_synth_registered_base_mainnet_event_name__SynthRegistered.5528c05ba2", "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_base_mainnet_synth_market_id__True__0.289066bb62", "test.synthetix.not_null_spot_synth_registered_base_mainnet_block_number.fb558416fb", "test.synthetix.not_null_spot_synth_registered_base_mainnet_block_timestamp.9fcd6d9ec6", "test.synthetix.not_null_spot_synth_registered_base_mainnet_contract.a1096e5fd9", "test.synthetix.not_null_spot_synth_registered_base_mainnet_event_name.6d850cc54d", "test.synthetix.not_null_spot_synth_registered_base_mainnet_id.9f21a7f761", "test.synthetix.not_null_spot_synth_registered_base_mainnet_synth_market_id.97f70d1e33", "test.synthetix.not_null_spot_synth_registered_base_mainnet_synth_token_address.f2f086a15a", "test.synthetix.not_null_spot_synth_registered_base_mainnet_transaction_hash.7e53d9e7f0", "test.synthetix.unique_spot_synth_registered_base_mainnet_id.81eda4804d"], "model.synthetix.spot_order_committed_base_mainnet": ["test.synthetix.accepted_values_spot_order_committed_base_mainnet_event_name__OrderCommitted.7219cd261b", "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_mainnet_amount_provided__True__0.9f6ff0bd95", "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_mainnet_market_id__True__0.d412907ad8", "test.synthetix.not_null_spot_order_committed_base_mainnet_amount_provided.99b6d3d7c6", "test.synthetix.not_null_spot_order_committed_base_mainnet_block_number.b73840a782", "test.synthetix.not_null_spot_order_committed_base_mainnet_block_timestamp.b355df469e", "test.synthetix.not_null_spot_order_committed_base_mainnet_contract.2711d7c5f2", "test.synthetix.not_null_spot_order_committed_base_mainnet_event_name.dc08478d35", "test.synthetix.not_null_spot_order_committed_base_mainnet_id.4e7c563b12", "test.synthetix.not_null_spot_order_committed_base_mainnet_market_id.eb878589ce", "test.synthetix.not_null_spot_order_committed_base_mainnet_order_type.af8cf04472", "test.synthetix.not_null_spot_order_committed_base_mainnet_referrer.773110510c", "test.synthetix.not_null_spot_order_committed_base_mainnet_sender.fcb2f6b8e6", "test.synthetix.not_null_spot_order_committed_base_mainnet_transaction_hash.bf2697d39d", "test.synthetix.unique_spot_order_committed_base_mainnet_id.ebe225e3c1"], "model.synthetix.spot_synth_bought_base_mainnet": ["model.synthetix.fct_spot_atomics_base_mainnet", "test.synthetix.accepted_values_spot_synth_bought_base_mainnet_event_name__SynthBought.7302486ec0", "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_collected_fees__True__0.3fcb3fda3a", "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_price__True__0.e25fbf2240", "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_synth_market_id__True__0.e3b9a2a2bf", "test.synthetix.not_null_spot_synth_bought_base_mainnet_block_number.afabe746ef", "test.synthetix.not_null_spot_synth_bought_base_mainnet_block_timestamp.5044e48413", "test.synthetix.not_null_spot_synth_bought_base_mainnet_collected_fees.d9c17c84f7", "test.synthetix.not_null_spot_synth_bought_base_mainnet_contract.d6d311c160", "test.synthetix.not_null_spot_synth_bought_base_mainnet_event_name.8a35f2634d", "test.synthetix.not_null_spot_synth_bought_base_mainnet_id.f9e555c962", "test.synthetix.not_null_spot_synth_bought_base_mainnet_price.f59f9c339a", "test.synthetix.not_null_spot_synth_bought_base_mainnet_referrer.3b61ce852c", "test.synthetix.not_null_spot_synth_bought_base_mainnet_synth_market_id.32145e8cb4", "test.synthetix.not_null_spot_synth_bought_base_mainnet_transaction_hash.1e8279de09", "test.synthetix.unique_spot_synth_bought_base_mainnet_id.e00678ebae"], "model.synthetix.spot_order_settled_base_mainnet": ["test.synthetix.accepted_values_spot_order_settled_base_mainnet_event_name__OrderSettled.30376f4577", "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_collected_fees__True__0.d7bd810890", "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_final_order_amount__True__0.285227b4ad", "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_market_id__True__0.57e7a4e22d", "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_price__True__0.a69aaf95b9", "test.synthetix.not_null_spot_order_settled_base_mainnet_block_number.0da3f5f83c", "test.synthetix.not_null_spot_order_settled_base_mainnet_block_timestamp.d6a06e33d2", "test.synthetix.not_null_spot_order_settled_base_mainnet_collected_fees.f0d64ac401", "test.synthetix.not_null_spot_order_settled_base_mainnet_contract.901410d0f9", "test.synthetix.not_null_spot_order_settled_base_mainnet_event_name.b99840eec6", "test.synthetix.not_null_spot_order_settled_base_mainnet_id.bee9f4adc9", "test.synthetix.not_null_spot_order_settled_base_mainnet_market_id.ea53981200", "test.synthetix.not_null_spot_order_settled_base_mainnet_order_type.0e7f500a0a", "test.synthetix.not_null_spot_order_settled_base_mainnet_price.a8065724a1", "test.synthetix.not_null_spot_order_settled_base_mainnet_settler.32eafc3529", "test.synthetix.not_null_spot_order_settled_base_mainnet_transaction_hash.cc03e5396c", "test.synthetix.unique_spot_order_settled_base_mainnet_id.3552e2a2e6"], "model.synthetix.spot_order_cancelled_base_mainnet": ["test.synthetix.accepted_values_spot_order_cancelled_base_mainnet_event_name__OrderCancelled.468b0aa5ec", "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_base_mainnet_market_id__True__0.9edddeabb3", "test.synthetix.not_null_spot_order_cancelled_base_mainnet_block_number.59e7d43c87", "test.synthetix.not_null_spot_order_cancelled_base_mainnet_block_timestamp.81016bb88f", "test.synthetix.not_null_spot_order_cancelled_base_mainnet_contract.b45f673add", "test.synthetix.not_null_spot_order_cancelled_base_mainnet_event_name.75d1cf92ef", "test.synthetix.not_null_spot_order_cancelled_base_mainnet_id.5486ce1cb2", "test.synthetix.not_null_spot_order_cancelled_base_mainnet_market_id.3d2e9d2ba5", "test.synthetix.not_null_spot_order_cancelled_base_mainnet_sender.666cd271e1", "test.synthetix.not_null_spot_order_cancelled_base_mainnet_transaction_hash.524e2820c0", "test.synthetix.unique_spot_order_cancelled_base_mainnet_id.5ac9e5a86c"], "model.synthetix.spot_synth_sold_base_mainnet": ["model.synthetix.fct_spot_atomics_base_mainnet", "test.synthetix.accepted_values_spot_synth_sold_base_mainnet_event_name__SynthSold.b1a44748ed", "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_amount_returned__True__0.250710e6f1", "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_collected_fees__True__0.6cc814f854", "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_price__True__0.994b9376fd", "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_synth_market_id__True__0.3ec6dae33c", "test.synthetix.not_null_spot_synth_sold_base_mainnet_amount_returned.989a4131c2", "test.synthetix.not_null_spot_synth_sold_base_mainnet_block_number.148bf58e52", "test.synthetix.not_null_spot_synth_sold_base_mainnet_block_timestamp.1713f1d130", "test.synthetix.not_null_spot_synth_sold_base_mainnet_collected_fees.99a85c53ea", "test.synthetix.not_null_spot_synth_sold_base_mainnet_contract.46ddd59981", "test.synthetix.not_null_spot_synth_sold_base_mainnet_event_name.f76ff966dc", "test.synthetix.not_null_spot_synth_sold_base_mainnet_id.763b711f62", "test.synthetix.not_null_spot_synth_sold_base_mainnet_price.3d1a702fbb", "test.synthetix.not_null_spot_synth_sold_base_mainnet_referrer.ee678360be", "test.synthetix.not_null_spot_synth_sold_base_mainnet_synth_market_id.b7dab5388d", "test.synthetix.not_null_spot_synth_sold_base_mainnet_transaction_hash.6957d51d9c", "test.synthetix.unique_spot_synth_sold_base_mainnet_id.4cbe90534a"], "model.synthetix.blocks_base_sepolia": ["test.synthetix.dbt_utils_recency_blocks_base_sepolia_hour__ts__1.b4197f397a", "test.synthetix.not_null_blocks_base_sepolia_block_number.1adc80fce5", "test.synthetix.unique_blocks_base_sepolia_block_number.b9de81024b"], "model.synthetix.perp_order_committed_base_sepolia": ["model.synthetix.fct_perp_orders_base_sepolia", "test.synthetix.accepted_values_perp_order_committed_base_sepolia_event_name__OrderCommitted.f236dead5d", "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_sepolia_account_id__True__0.2a5b9bdddf", "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_sepolia_market_id__True__0.6174df8d83", "test.synthetix.not_null_perp_order_committed_base_sepolia_account_id.e0cc9cd7a0", "test.synthetix.not_null_perp_order_committed_base_sepolia_block_number.f3230cc50d", "test.synthetix.not_null_perp_order_committed_base_sepolia_block_timestamp.192957d40c", "test.synthetix.not_null_perp_order_committed_base_sepolia_contract.ad38cda3df", "test.synthetix.not_null_perp_order_committed_base_sepolia_event_name.dc8411b8b1", "test.synthetix.not_null_perp_order_committed_base_sepolia_id.5b74c78258", "test.synthetix.not_null_perp_order_committed_base_sepolia_market_id.9c41f762ec", "test.synthetix.not_null_perp_order_committed_base_sepolia_transaction_hash.761f6c5146", "test.synthetix.unique_perp_order_committed_base_sepolia_id.eb024384af"], "model.synthetix.perp_order_settled_base_sepolia": ["model.synthetix.fct_perp_trades_base_sepolia", "test.synthetix.accepted_values_perp_order_settled_base_sepolia_event_name__OrderSettled.b82d60a6cd", "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_account_id__True__0.dd4d18c933", "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_collected_fees__True__0.cfcb7626da", "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_market_id__True__0.00baab3b06", "test.synthetix.not_null_perp_order_settled_base_sepolia_account_id.0505121484", "test.synthetix.not_null_perp_order_settled_base_sepolia_block_number.723c9f9ccf", "test.synthetix.not_null_perp_order_settled_base_sepolia_block_timestamp.8624d8c529", "test.synthetix.not_null_perp_order_settled_base_sepolia_collected_fees.19815f72b6", "test.synthetix.not_null_perp_order_settled_base_sepolia_contract.03742630fd", "test.synthetix.not_null_perp_order_settled_base_sepolia_event_name.95d61e9b53", "test.synthetix.not_null_perp_order_settled_base_sepolia_id.6a51920964", "test.synthetix.not_null_perp_order_settled_base_sepolia_market_id.90e9816e9b", "test.synthetix.not_null_perp_order_settled_base_sepolia_transaction_hash.e40380e103", "test.synthetix.unique_perp_order_settled_base_sepolia_id.52c8b658a1"], "model.synthetix.perp_market_updated_base_sepolia": ["model.synthetix.fct_perp_market_history_base_sepolia", "test.synthetix.accepted_values_perp_market_updated_base_sepolia_event_name__MarketUpdated.6507eaa7c6", "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_interest_rate__True__0.82fe5b32f6", "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_market_id__True__0.2aed99d0b6", "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_price__True__0.4f4858e59f", "test.synthetix.not_null_perp_market_updated_base_sepolia_block_number.6d91893cd9", "test.synthetix.not_null_perp_market_updated_base_sepolia_block_timestamp.eabfe875b1", "test.synthetix.not_null_perp_market_updated_base_sepolia_contract.7a798ec958", "test.synthetix.not_null_perp_market_updated_base_sepolia_event_name.5808660a29", "test.synthetix.not_null_perp_market_updated_base_sepolia_id.c010e8e9d3", "test.synthetix.not_null_perp_market_updated_base_sepolia_interest_rate.20f815f06a", "test.synthetix.not_null_perp_market_updated_base_sepolia_market_id.1d15a36e0c", "test.synthetix.not_null_perp_market_updated_base_sepolia_price.821df5b6b3", "test.synthetix.not_null_perp_market_updated_base_sepolia_transaction_hash.b36ca2219f", "test.synthetix.unique_perp_market_updated_base_sepolia_id.5fa0b8a094"], "model.synthetix.perp_collateral_modified_base_sepolia": ["model.synthetix.fct_perp_collateral_modified_base_sepolia", "test.synthetix.accepted_values_perp_collateral_modified_base_sepolia_event_name__CollateralModified.35bbd5a11f", "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_account_id__True__0.4061e8095e", "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_synth_market_id__True__0.e6426004ec", "test.synthetix.not_null_perp_collateral_modified_base_sepolia_account_id.41a4ca06b6", "test.synthetix.not_null_perp_collateral_modified_base_sepolia_block_number.5818313783", "test.synthetix.not_null_perp_collateral_modified_base_sepolia_block_timestamp.a0b63e8833", "test.synthetix.not_null_perp_collateral_modified_base_sepolia_contract.c669409e90", "test.synthetix.not_null_perp_collateral_modified_base_sepolia_event_name.05505fea35", "test.synthetix.not_null_perp_collateral_modified_base_sepolia_id.0306c59b13", "test.synthetix.not_null_perp_collateral_modified_base_sepolia_sender.c5a5dbc794", "test.synthetix.not_null_perp_collateral_modified_base_sepolia_synth_market_id.6b585142fd", "test.synthetix.not_null_perp_collateral_modified_base_sepolia_transaction_hash.ccfe215417", "test.synthetix.unique_perp_collateral_modified_base_sepolia_id.df76a33926"], "model.synthetix.perp_interest_rate_updated_base_sepolia": ["test.synthetix.accepted_values_perp_interest_rate_updated_base_sepolia_event_name__InterestRateUpdated.5d317c53f3", "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_interest_rate__True__0.c114557661", "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_super_market_id__True__0.cc3fb6ff17", "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_block_number.eeff2c078a", "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_block_timestamp.609017baeb", "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_contract.ccc079c59c", "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_event_name.30275ad446", "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_id.24c18054e7", "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_interest_rate.7f5f7342cd", "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_super_market_id.68b732b580", "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_transaction_hash.3601647535", "test.synthetix.unique_perp_interest_rate_updated_base_sepolia_id.2295efc83a"], "model.synthetix.perp_account_created_base_sepolia": ["model.synthetix.fct_perp_accounts_base_sepolia", "test.synthetix.accepted_values_perp_account_created_base_sepolia_event_name__AccountCreated.e5e94f342c", "test.synthetix.dbt_utils_accepted_range_perp_account_created_base_sepolia_account_id__True__0.72ab89cd5f", "test.synthetix.not_null_perp_account_created_base_sepolia_account_id.e2509a45ab", "test.synthetix.not_null_perp_account_created_base_sepolia_block_number.b9729c0627", "test.synthetix.not_null_perp_account_created_base_sepolia_block_timestamp.1f03770bcc", "test.synthetix.not_null_perp_account_created_base_sepolia_contract.1b1ec25344", "test.synthetix.not_null_perp_account_created_base_sepolia_event_name.d7deee96b5", "test.synthetix.not_null_perp_account_created_base_sepolia_id.7da01b5642", "test.synthetix.not_null_perp_account_created_base_sepolia_owner.31f8eb801c", "test.synthetix.not_null_perp_account_created_base_sepolia_transaction_hash.6324af1adb", "test.synthetix.unique_perp_account_created_base_sepolia_id.d2b0023315"], "model.synthetix.perp_market_created_base_sepolia": ["model.synthetix.fct_perp_markets_base_sepolia", "test.synthetix.accepted_values_perp_market_created_base_sepolia_event_name__MarketCreated.da7f65c9d0", "test.synthetix.dbt_utils_accepted_range_perp_market_created_base_sepolia_perps_market_id__True__0.89e2162ed5", "test.synthetix.not_null_perp_market_created_base_sepolia_block_number.f39a76515f", "test.synthetix.not_null_perp_market_created_base_sepolia_block_timestamp.087de488f9", "test.synthetix.not_null_perp_market_created_base_sepolia_contract.9b5b7d63ca", "test.synthetix.not_null_perp_market_created_base_sepolia_event_name.594bfb776d", "test.synthetix.not_null_perp_market_created_base_sepolia_id.3651be9d50", "test.synthetix.not_null_perp_market_created_base_sepolia_market_name.2335002c7c", "test.synthetix.not_null_perp_market_created_base_sepolia_market_symbol.b99df1cd19", "test.synthetix.not_null_perp_market_created_base_sepolia_perps_market_id.30bf02bc46", "test.synthetix.not_null_perp_market_created_base_sepolia_transaction_hash.83d1940949", "test.synthetix.unique_perp_market_created_base_sepolia_id.9af5f482a3"], "model.synthetix.perp_account_liquidation_attempt_base_sepolia": ["model.synthetix.fct_perp_liq_account_base_sepolia", "test.synthetix.accepted_values_perp_account_liquidation_attempt_base_sepolia_event_name__AccountLiquidationAttempt.7e035fbfbd", "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_account_id__True__0.d9d7f88802", "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_reward__True__0.d1fe263182", "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_account_id.72dba0b474", "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_block_number.c00ff06028", "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_block_timestamp.b212643602", "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_contract.5a7ac10d9d", "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_event_name.5a524744d4", "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_full_liquidation.4544a98926", "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_id.fa21a229e8", "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_reward.41da25d087", "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_transaction_hash.18ed9c33a9", "test.synthetix.unique_perp_account_liquidation_attempt_base_sepolia_id.64895ed40b"], "model.synthetix.perp_interest_charged_base_sepolia": ["model.synthetix.fct_perp_interest_charged_base_sepolia", "test.synthetix.accepted_values_perp_interest_charged_base_sepolia_event_name__InterestCharged.b607f55a72", "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_base_sepolia_account_id__True__0.7595935b71", "test.synthetix.not_null_perp_interest_charged_base_sepolia_account_id.ec1ea115af", "test.synthetix.not_null_perp_interest_charged_base_sepolia_block_number.e9b7b9cd80", "test.synthetix.not_null_perp_interest_charged_base_sepolia_block_timestamp.6723ccf2f9", "test.synthetix.not_null_perp_interest_charged_base_sepolia_contract.ad4bd5bb4b", "test.synthetix.not_null_perp_interest_charged_base_sepolia_event_name.7088270e38", "test.synthetix.not_null_perp_interest_charged_base_sepolia_id.a8d5a81503", "test.synthetix.not_null_perp_interest_charged_base_sepolia_transaction_hash.7d20550a93", "test.synthetix.unique_perp_interest_charged_base_sepolia_id.7023b7407d"], "model.synthetix.perp_position_liquidated_base_sepolia": ["model.synthetix.fct_perp_liq_position_base_sepolia", "test.synthetix.accepted_values_perp_position_liquidated_base_sepolia_event_name__PositionLiquidated.e07d1e03f2", "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_account_id__True__0.a60e1cbb90", "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_amount_liquidated__True__0.20b97e678b", "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_current_position_size__True__0.cf9da7d717", "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_market_id__True__0.c5145fd027", "test.synthetix.not_null_perp_position_liquidated_base_sepolia_account_id.8e9f2c1b4b", "test.synthetix.not_null_perp_position_liquidated_base_sepolia_amount_liquidated.c878a441e1", "test.synthetix.not_null_perp_position_liquidated_base_sepolia_block_number.d05dfab674", "test.synthetix.not_null_perp_position_liquidated_base_sepolia_block_timestamp.1700de694b", "test.synthetix.not_null_perp_position_liquidated_base_sepolia_contract.0a66db5700", "test.synthetix.not_null_perp_position_liquidated_base_sepolia_current_position_size.f98475edcb", "test.synthetix.not_null_perp_position_liquidated_base_sepolia_event_name.1d2d01fa50", "test.synthetix.not_null_perp_position_liquidated_base_sepolia_id.985f2af114", "test.synthetix.not_null_perp_position_liquidated_base_sepolia_market_id.6c389de6f5", "test.synthetix.not_null_perp_position_liquidated_base_sepolia_transaction_hash.b180fd2627", "test.synthetix.unique_perp_position_liquidated_base_sepolia_id.e92f27d6e6"], "model.synthetix.perp_previous_order_expired_base_sepolia": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test.synthetix.accepted_values_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired.1a5af6cb8b", "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_account_id__True__0.7ed9f71601", "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_market_id__True__0.92c22b0d98", "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_account_id.358a8acfe7", "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_block_number.b44f0bbf4b", "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_block_timestamp.2056bbf796", "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_contract.d5ae4c2080", "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_event_name.94027cf5fd", "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_id.35380c8364", "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_market_id.c3963e0426", "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_transaction_hash.47402badfc", "test.synthetix.unique_perp_previous_order_expired_base_sepolia_id.a9c841c5f7"], "model.synthetix.buyback_processed_base_sepolia": ["model.synthetix.fct_buyback_base_sepolia", "test.synthetix.accepted_values_buyback_processed_base_sepolia_event_name__BuybackProcessed.16f3176222", "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_sepolia_snx__True__0.628aa3b85b", "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_sepolia_usd__True__0.f23761f17f", "test.synthetix.not_null_buyback_processed_base_sepolia_block_number.73166259d7", "test.synthetix.not_null_buyback_processed_base_sepolia_block_timestamp.c83a09ad33", "test.synthetix.not_null_buyback_processed_base_sepolia_buyer.4fd04cc021", "test.synthetix.not_null_buyback_processed_base_sepolia_contract.b27543f734", "test.synthetix.not_null_buyback_processed_base_sepolia_event_name.755deb59b2", "test.synthetix.not_null_buyback_processed_base_sepolia_id.e10820e4d2", "test.synthetix.not_null_buyback_processed_base_sepolia_snx.52b876a9f7", "test.synthetix.not_null_buyback_processed_base_sepolia_transaction_hash.a38d34613b", "test.synthetix.not_null_buyback_processed_base_sepolia_usd.397135feed", "test.synthetix.unique_buyback_processed_base_sepolia_id.c3e20dc22e"], "model.synthetix.core_rewards_distributed_base_sepolia": ["model.synthetix.fct_pool_rewards_base_sepolia", "test.synthetix.accepted_values_core_rewards_distributed_base_sepolia_event_name__RewardsDistributed.23760c7762", "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_amount__True__0.6d7f4124f8", "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_duration__True__0.aca43f41bf", "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_pool_id__True__0.4ad1e16907", "test.synthetix.not_null_core_rewards_distributed_base_sepolia_amount.ec60c3040c", "test.synthetix.not_null_core_rewards_distributed_base_sepolia_block_number.1404eb5f75", "test.synthetix.not_null_core_rewards_distributed_base_sepolia_block_timestamp.305338d6ac", "test.synthetix.not_null_core_rewards_distributed_base_sepolia_collateral_type.d02c77e463", "test.synthetix.not_null_core_rewards_distributed_base_sepolia_contract.b51980138b", "test.synthetix.not_null_core_rewards_distributed_base_sepolia_distributor.8e49885144", "test.synthetix.not_null_core_rewards_distributed_base_sepolia_duration.151d5a6383", "test.synthetix.not_null_core_rewards_distributed_base_sepolia_event_name.e3a18ecd0c", "test.synthetix.not_null_core_rewards_distributed_base_sepolia_id.0d42a7a31a", "test.synthetix.not_null_core_rewards_distributed_base_sepolia_pool_id.618ac3407b", "test.synthetix.not_null_core_rewards_distributed_base_sepolia_transaction_hash.9d7346a555", "test.synthetix.unique_core_rewards_distributed_base_sepolia_id.fafe19f7d9"], "model.synthetix.core_market_updated_base_sepolia": ["model.synthetix.fct_core_market_updated_base_sepolia", "test.synthetix.accepted_values_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.97084835ea", "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_deposited_collateral_value__True__0.ff17627b64", "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_market_id__True__0.c2038f3200", "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_token_amount__True__0.00d32c5847", "test.synthetix.not_null_core_market_updated_base_sepolia_block_number.450e88640c", "test.synthetix.not_null_core_market_updated_base_sepolia_block_timestamp.66be40faea", "test.synthetix.not_null_core_market_updated_base_sepolia_collateral_type.a64be17284", "test.synthetix.not_null_core_market_updated_base_sepolia_contract.cf139c06ed", "test.synthetix.not_null_core_market_updated_base_sepolia_credit_capacity.2033e021e1", "test.synthetix.not_null_core_market_updated_base_sepolia_deposited_collateral_value.47b96d9782", "test.synthetix.not_null_core_market_updated_base_sepolia_event_name.c0e71ec841", "test.synthetix.not_null_core_market_updated_base_sepolia_id.179b4fa862", "test.synthetix.not_null_core_market_updated_base_sepolia_market_id.81913bae24", "test.synthetix.not_null_core_market_updated_base_sepolia_net_issuance.85d70c9059", "test.synthetix.not_null_core_market_updated_base_sepolia_sender.b57e7709cd", "test.synthetix.not_null_core_market_updated_base_sepolia_token_amount.a8f7145772", "test.synthetix.not_null_core_market_updated_base_sepolia_transaction_hash.6351c7ce23", "test.synthetix.unique_core_market_updated_base_sepolia_id.945f14ee77"], "model.synthetix.core_deposited_base_sepolia": ["model.synthetix.fct_core_pool_collateral_base_sepolia", "test.synthetix.accepted_values_core_deposited_base_sepolia_event_name__Deposited.2befe04139", "test.synthetix.dbt_utils_accepted_range_core_deposited_base_sepolia_account_id__True__0.7619844d60", "test.synthetix.dbt_utils_accepted_range_core_deposited_base_sepolia_token_amount__True__0.266baf687b", "test.synthetix.not_null_core_deposited_base_sepolia_account_id.d414fa2a62", "test.synthetix.not_null_core_deposited_base_sepolia_block_number.e9986d7fcf", "test.synthetix.not_null_core_deposited_base_sepolia_block_timestamp.cbbc8b2a2e", "test.synthetix.not_null_core_deposited_base_sepolia_collateral_type.a340ec02eb", "test.synthetix.not_null_core_deposited_base_sepolia_contract.8dbc5afa3f", "test.synthetix.not_null_core_deposited_base_sepolia_event_name.b7ccc83970", "test.synthetix.not_null_core_deposited_base_sepolia_id.0591da203f", "test.synthetix.not_null_core_deposited_base_sepolia_sender.0468b8397d", "test.synthetix.not_null_core_deposited_base_sepolia_token_amount.af75bc1896", "test.synthetix.not_null_core_deposited_base_sepolia_transaction_hash.305ad04c84", "test.synthetix.unique_core_deposited_base_sepolia_id.3b38f638da"], "model.synthetix.core_account_created_base_sepolia": ["test.synthetix.accepted_values_core_account_created_base_sepolia_event_name__AccountCreated.419b9196c4", "test.synthetix.dbt_utils_accepted_range_core_account_created_base_sepolia_account_id__True__0.dd17e6e171", "test.synthetix.not_null_core_account_created_base_sepolia_account_id.fb36b0b793", "test.synthetix.not_null_core_account_created_base_sepolia_block_number.01a77f24bc", "test.synthetix.not_null_core_account_created_base_sepolia_block_timestamp.56ac347427", "test.synthetix.not_null_core_account_created_base_sepolia_contract.53ca26628e", "test.synthetix.not_null_core_account_created_base_sepolia_event_name.4849c8704e", "test.synthetix.not_null_core_account_created_base_sepolia_id.804b852bd8", "test.synthetix.not_null_core_account_created_base_sepolia_owner.adee48eb04", "test.synthetix.not_null_core_account_created_base_sepolia_transaction_hash.53f2200f19", "test.synthetix.unique_core_account_created_base_sepolia_id.3342caea87"], "model.synthetix.core_vault_collateral_base_sepolia": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia", "model.synthetix.fct_prices_base_sepolia", "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_amount__True__0.6d9b6133f3", "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_collateral_value__True__0.026e20a97f", "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_pool_id__True__0.0047a9a52a", "test.synthetix.not_null_core_vault_collateral_base_sepolia_amount.ff25c0c9a0", "test.synthetix.not_null_core_vault_collateral_base_sepolia_block_number.3a3cfc3edf", "test.synthetix.not_null_core_vault_collateral_base_sepolia_collateral_type.8cfa2c8f99", "test.synthetix.not_null_core_vault_collateral_base_sepolia_collateral_value.30cde60b22", "test.synthetix.not_null_core_vault_collateral_base_sepolia_contract_address.aa0f2cd57b", "test.synthetix.not_null_core_vault_collateral_base_sepolia_pool_id.3607d11df2", "test.synthetix.not_null_core_vault_collateral_base_sepolia_ts.78a98d96c2"], "model.synthetix.core_withdrawn_base_sepolia": ["model.synthetix.fct_core_pool_collateral_base_sepolia", "test.synthetix.accepted_values_core_withdrawn_base_sepolia_event_name__Withdrawn.12079a5ee6", "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_sepolia_account_id__True__0.283560870b", "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_sepolia_token_amount__True__0.600b962701", "test.synthetix.not_null_core_withdrawn_base_sepolia_account_id.6536ec7b3c", "test.synthetix.not_null_core_withdrawn_base_sepolia_block_number.b38561efe3", "test.synthetix.not_null_core_withdrawn_base_sepolia_block_timestamp.276176a645", "test.synthetix.not_null_core_withdrawn_base_sepolia_collateral_type.e4b3817245", "test.synthetix.not_null_core_withdrawn_base_sepolia_contract.9a643890c5", "test.synthetix.not_null_core_withdrawn_base_sepolia_event_name.919fe4b5de", "test.synthetix.not_null_core_withdrawn_base_sepolia_id.a4ef85d6dd", "test.synthetix.not_null_core_withdrawn_base_sepolia_sender.935071b6a7", "test.synthetix.not_null_core_withdrawn_base_sepolia_token_amount.3582c76f95", "test.synthetix.not_null_core_withdrawn_base_sepolia_transaction_hash.ea6432763a", "test.synthetix.unique_core_withdrawn_base_sepolia_id.30c3b98bff"], "model.synthetix.core_vault_liquidation_base_sepolia": ["test.synthetix.accepted_values_core_vault_liquidation_base_sepolia_event_name__VaultLiquidation.958e4fe8de", "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_liquidate_as_account_id__True__0.ee3dd8dc1e", "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_pool_id__True__0.5ea2ba7eab", "test.synthetix.not_null_core_vault_liquidation_base_sepolia_block_number.72d5fcf75c", "test.synthetix.not_null_core_vault_liquidation_base_sepolia_block_timestamp.5c4fdcd348", "test.synthetix.not_null_core_vault_liquidation_base_sepolia_collateral_type.18870127b8", "test.synthetix.not_null_core_vault_liquidation_base_sepolia_contract.58dafa50b4", "test.synthetix.not_null_core_vault_liquidation_base_sepolia_event_name.04b05d8fa6", "test.synthetix.not_null_core_vault_liquidation_base_sepolia_id.08162ec8b5", "test.synthetix.not_null_core_vault_liquidation_base_sepolia_liquidate_as_account_id.b170dba1d3", "test.synthetix.not_null_core_vault_liquidation_base_sepolia_liquidation_data.a5dc2b7337", "test.synthetix.not_null_core_vault_liquidation_base_sepolia_pool_id.47e473f735", "test.synthetix.not_null_core_vault_liquidation_base_sepolia_sender.2f502247e7", "test.synthetix.not_null_core_vault_liquidation_base_sepolia_transaction_hash.fcdcfcdcdd", "test.synthetix.unique_core_vault_liquidation_base_sepolia_id.5759c475e5"], "model.synthetix.core_rewards_claimed_base_sepolia": ["test.synthetix.accepted_values_core_rewards_claimed_base_sepolia_event_name__RewardsClaimed.813e8d6cab", "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_account_id__True__0.56bdf07961", "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_amount__True__0.83b60baad2", "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_pool_id__True__0.80a0443cd0", "test.synthetix.not_null_core_rewards_claimed_base_sepolia_account_id.35c6ac2750", "test.synthetix.not_null_core_rewards_claimed_base_sepolia_amount.8d0b56d69c", "test.synthetix.not_null_core_rewards_claimed_base_sepolia_block_number.2341e8ee42", "test.synthetix.not_null_core_rewards_claimed_base_sepolia_block_timestamp.78d8816d82", "test.synthetix.not_null_core_rewards_claimed_base_sepolia_collateral_type.44fc9e2622", "test.synthetix.not_null_core_rewards_claimed_base_sepolia_contract.8063e60014", "test.synthetix.not_null_core_rewards_claimed_base_sepolia_distributor.cfc3ec6cdd", "test.synthetix.not_null_core_rewards_claimed_base_sepolia_event_name.5d0bea85a4", "test.synthetix.not_null_core_rewards_claimed_base_sepolia_id.a324c0d7d4", "test.synthetix.not_null_core_rewards_claimed_base_sepolia_pool_id.e61695fb4f", "test.synthetix.not_null_core_rewards_claimed_base_sepolia_transaction_hash.399851f94f", "test.synthetix.unique_core_rewards_claimed_base_sepolia_id.b13c8534bb"], "model.synthetix.core_liquidation_base_sepolia": ["test.synthetix.accepted_values_core_liquidation_base_sepolia_event_name__Liquidation.24bb1726f1", "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_account_id__True__0.02852291f8", "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_liquidate_as_account_id__True__0.6947f1cc05", "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_pool_id__True__0.7493427efd", "test.synthetix.not_null_core_liquidation_base_sepolia_account_id.0aa7b969f5", "test.synthetix.not_null_core_liquidation_base_sepolia_block_number.f510e99a58", "test.synthetix.not_null_core_liquidation_base_sepolia_block_timestamp.212c6a9018", "test.synthetix.not_null_core_liquidation_base_sepolia_collateral_type.c93d2f649b", "test.synthetix.not_null_core_liquidation_base_sepolia_contract.2d1b4b38d4", "test.synthetix.not_null_core_liquidation_base_sepolia_event_name.ab3ef77d1c", "test.synthetix.not_null_core_liquidation_base_sepolia_id.efbd949b78", "test.synthetix.not_null_core_liquidation_base_sepolia_liquidate_as_account_id.3e3ca344a6", "test.synthetix.not_null_core_liquidation_base_sepolia_pool_id.0059acd0f9", "test.synthetix.not_null_core_liquidation_base_sepolia_sender.3afbae055d", "test.synthetix.not_null_core_liquidation_base_sepolia_transaction_hash.78921d6775", "test.synthetix.unique_core_liquidation_base_sepolia_id.321d95d29c"], "model.synthetix.core_usd_minted_base_sepolia": ["model.synthetix.fct_pool_issuance_base_sepolia", "model.synthetix.fct_synth_supply_base_sepolia", "test.synthetix.accepted_values_core_usd_minted_base_sepolia_event_name__UsdMinted.d686f1f1af", "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_account_id__True__0.8d375d28dd", "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_amount__True__0.8db2f09ae2", "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_pool_id__True__0.49903b0695", "test.synthetix.not_null_core_usd_minted_base_sepolia_account_id.56f2a7acd7", "test.synthetix.not_null_core_usd_minted_base_sepolia_amount.c1ab51fea3", "test.synthetix.not_null_core_usd_minted_base_sepolia_block_number.37baa764ce", "test.synthetix.not_null_core_usd_minted_base_sepolia_block_timestamp.a33ebf4ef7", "test.synthetix.not_null_core_usd_minted_base_sepolia_collateral_type.028faf1711", "test.synthetix.not_null_core_usd_minted_base_sepolia_contract.ebf65a8472", "test.synthetix.not_null_core_usd_minted_base_sepolia_event_name.c1bfdffc84", "test.synthetix.not_null_core_usd_minted_base_sepolia_id.3fd3162bcc", "test.synthetix.not_null_core_usd_minted_base_sepolia_pool_id.7dfafbe9ee", "test.synthetix.not_null_core_usd_minted_base_sepolia_sender.5053739593", "test.synthetix.not_null_core_usd_minted_base_sepolia_transaction_hash.04ae981572", "test.synthetix.unique_core_usd_minted_base_sepolia_id.9cce972c7e"], "model.synthetix.core_delegation_updated_base_sepolia": ["model.synthetix.fct_core_account_delegation_base_sepolia", "model.synthetix.fct_core_pool_delegation_base_sepolia", "test.synthetix.accepted_values_core_delegation_updated_base_sepolia_event_name__DelegationUpdated.05fda2d1e2", "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_account_id__True__0.744442e3e1", "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_amount__True__0.c17a0b7ccb", "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_leverage__True__1000000000000000000__1000000000000000000.bc25b2b948", "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_pool_id__True__0.76dffc3ab3", "test.synthetix.not_null_core_delegation_updated_base_sepolia_account_id.eeaa67ead3", "test.synthetix.not_null_core_delegation_updated_base_sepolia_amount.b946bd0b57", "test.synthetix.not_null_core_delegation_updated_base_sepolia_block_number.d1ae1c451b", "test.synthetix.not_null_core_delegation_updated_base_sepolia_block_timestamp.d9e4249b7d", "test.synthetix.not_null_core_delegation_updated_base_sepolia_collateral_type.0ccc2f8e54", "test.synthetix.not_null_core_delegation_updated_base_sepolia_contract.f5b6f539eb", "test.synthetix.not_null_core_delegation_updated_base_sepolia_event_name.1eb3a277fa", "test.synthetix.not_null_core_delegation_updated_base_sepolia_id.dcd3b41380", "test.synthetix.not_null_core_delegation_updated_base_sepolia_leverage.b016b358da", "test.synthetix.not_null_core_delegation_updated_base_sepolia_pool_id.8e7b343725", "test.synthetix.not_null_core_delegation_updated_base_sepolia_sender.ff059463dc", "test.synthetix.not_null_core_delegation_updated_base_sepolia_transaction_hash.403e1a44d0", "test.synthetix.unique_core_delegation_updated_base_sepolia_id.09af5f863a"], "model.synthetix.core_vault_debt_base_sepolia": ["model.synthetix.fct_perp_pnl_base_sepolia", "model.synthetix.fct_pool_debt_base_sepolia", "test.synthetix.dbt_utils_accepted_range_core_vault_debt_base_sepolia_pool_id__True__0.908dbaecbc", "test.synthetix.not_null_core_vault_debt_base_sepolia_block_number.f25dcd2c96", "test.synthetix.not_null_core_vault_debt_base_sepolia_collateral_type.70a5498cf3", "test.synthetix.not_null_core_vault_debt_base_sepolia_contract_address.a9d7ef2e2d", "test.synthetix.not_null_core_vault_debt_base_sepolia_debt.9b99714e7f", "test.synthetix.not_null_core_vault_debt_base_sepolia_pool_id.05a1d5275c", "test.synthetix.not_null_core_vault_debt_base_sepolia_ts.d366714ec5"], "model.synthetix.core_usd_burned_base_sepolia": ["model.synthetix.fct_pool_issuance_base_sepolia", "model.synthetix.fct_synth_supply_base_sepolia", "test.synthetix.accepted_values_core_usd_burned_base_sepolia_event_name__UsdBurned.c736a2b5fd", "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_account_id__True__0.1c3ad25fc6", "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_amount__True__0.2ff0339bf6", "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_pool_id__True__0.bdbba08629", "test.synthetix.not_null_core_usd_burned_base_sepolia_account_id.8014155212", "test.synthetix.not_null_core_usd_burned_base_sepolia_amount.d577462790", "test.synthetix.not_null_core_usd_burned_base_sepolia_block_number.9acf3a65f4", "test.synthetix.not_null_core_usd_burned_base_sepolia_block_timestamp.d6c5fafe43", "test.synthetix.not_null_core_usd_burned_base_sepolia_collateral_type.1d7071aef1", "test.synthetix.not_null_core_usd_burned_base_sepolia_contract.559c9a6e92", "test.synthetix.not_null_core_usd_burned_base_sepolia_event_name.2c789d8ccb", "test.synthetix.not_null_core_usd_burned_base_sepolia_id.9208a4e4a2", "test.synthetix.not_null_core_usd_burned_base_sepolia_pool_id.8bd0f688e5", "test.synthetix.not_null_core_usd_burned_base_sepolia_sender.d28854bdf2", "test.synthetix.not_null_core_usd_burned_base_sepolia_transaction_hash.07cbe78bce", "test.synthetix.unique_core_usd_burned_base_sepolia_id.3b90c11835"], "model.synthetix.core_market_registered_base_sepolia": ["test.synthetix.accepted_values_core_market_registered_base_sepolia_event_name__MarketRegistered.52bda7875b", "test.synthetix.not_null_core_market_registered_base_sepolia_block_number.fd8cdd563c", "test.synthetix.not_null_core_market_registered_base_sepolia_block_timestamp.209ede7f48", "test.synthetix.not_null_core_market_registered_base_sepolia_contract.8cc1db09cc", "test.synthetix.not_null_core_market_registered_base_sepolia_event_name.c0f99c65cf", "test.synthetix.not_null_core_market_registered_base_sepolia_id.6150b3d520", "test.synthetix.not_null_core_market_registered_base_sepolia_market.c1fe5f76b8", "test.synthetix.not_null_core_market_registered_base_sepolia_market_id.dc3f59aaaf", "test.synthetix.not_null_core_market_registered_base_sepolia_sender.0ec521b301", "test.synthetix.not_null_core_market_registered_base_sepolia_transaction_hash.de234a0b4d", "test.synthetix.unique_core_market_registered_base_sepolia_id.1efe4c6aec", "test.synthetix.unique_core_market_registered_base_sepolia_market_id.37a04d292a"], "model.synthetix.core_pool_created_base_sepolia": ["model.synthetix.fct_core_pools_base_sepolia", "test.synthetix.accepted_values_core_pool_created_base_sepolia_event_name__PoolCreated.f08bef53a3", "test.synthetix.dbt_utils_accepted_range_core_pool_created_base_sepolia_pool_id__True__0.b3e7c8b05d", "test.synthetix.not_null_core_pool_created_base_sepolia_block_number.094a784336", "test.synthetix.not_null_core_pool_created_base_sepolia_block_timestamp.770a6f30f6", "test.synthetix.not_null_core_pool_created_base_sepolia_contract.3347ab7e86", "test.synthetix.not_null_core_pool_created_base_sepolia_event_name.1dac944daf", "test.synthetix.not_null_core_pool_created_base_sepolia_id.b1a35dd808", "test.synthetix.not_null_core_pool_created_base_sepolia_owner.de5ae68a1a", "test.synthetix.not_null_core_pool_created_base_sepolia_pool_id.e6e51130fd", "test.synthetix.not_null_core_pool_created_base_sepolia_sender.40177457bd", "test.synthetix.not_null_core_pool_created_base_sepolia_transaction_hash.c6810d0b49", "test.synthetix.unique_core_pool_created_base_sepolia_id.bc373a2eb3"], "model.synthetix.spot_order_committed_base_sepolia": ["test.synthetix.accepted_values_spot_order_committed_base_sepolia_event_name__OrderCommitted.5b70cba35c", "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_sepolia_amount_provided__True__0.054ef0ffa5", "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_sepolia_market_id__True__0.6632755b0a", "test.synthetix.not_null_spot_order_committed_base_sepolia_amount_provided.38ad18f779", "test.synthetix.not_null_spot_order_committed_base_sepolia_block_number.9e8c3cbe19", "test.synthetix.not_null_spot_order_committed_base_sepolia_block_timestamp.8c88551cb4", "test.synthetix.not_null_spot_order_committed_base_sepolia_contract.665bb25f85", "test.synthetix.not_null_spot_order_committed_base_sepolia_event_name.438812a0d2", "test.synthetix.not_null_spot_order_committed_base_sepolia_id.11a4430aff", "test.synthetix.not_null_spot_order_committed_base_sepolia_market_id.15c2459855", "test.synthetix.not_null_spot_order_committed_base_sepolia_order_type.3954986bef", "test.synthetix.not_null_spot_order_committed_base_sepolia_referrer.7ec29fa647", "test.synthetix.not_null_spot_order_committed_base_sepolia_sender.4e585d7f19", "test.synthetix.not_null_spot_order_committed_base_sepolia_transaction_hash.9c446b3700", "test.synthetix.unique_spot_order_committed_base_sepolia_id.3819dc1084"], "model.synthetix.spot_synth_wrapped_base_sepolia": ["model.synthetix.fct_spot_wrapper_base_sepolia", "test.synthetix.accepted_values_spot_synth_wrapped_base_sepolia_event_name__SynthWrapped.031ffbb73f", "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_fees_collected__True__0.c2a49865fe", "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_synth_market_id__True__0.2dfd67bc58", "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_block_number.6d42ca2157", "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_block_timestamp.5b4c2eecf8", "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_contract.d4446f0372", "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_event_name.fe439b73da", "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_fees_collected.b6fac60b85", "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_id.8905f554af", "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_synth_market_id.601db0f648", "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_transaction_hash.7672de0496", "test.synthetix.unique_spot_synth_wrapped_base_sepolia_id.159b2de78a"], "model.synthetix.spot_synth_registered_base_sepolia": ["model.synthetix.fct_spot_markets_base_sepolia", "test.synthetix.accepted_values_spot_synth_registered_base_sepolia_event_name__SynthRegistered.560c96fe92", "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_base_sepolia_synth_market_id__True__0.e252f6d23b", "test.synthetix.not_null_spot_synth_registered_base_sepolia_block_number.bb37a01e8d", "test.synthetix.not_null_spot_synth_registered_base_sepolia_block_timestamp.79c2f95be5", "test.synthetix.not_null_spot_synth_registered_base_sepolia_contract.4039370624", "test.synthetix.not_null_spot_synth_registered_base_sepolia_event_name.40165b8566", "test.synthetix.not_null_spot_synth_registered_base_sepolia_id.82e3f87ac4", "test.synthetix.not_null_spot_synth_registered_base_sepolia_synth_market_id.5a96ef8d3b", "test.synthetix.not_null_spot_synth_registered_base_sepolia_synth_token_address.9a1399c63c", "test.synthetix.not_null_spot_synth_registered_base_sepolia_transaction_hash.0cea3ca1bf", "test.synthetix.unique_spot_synth_registered_base_sepolia_id.59dadce592"], "model.synthetix.spot_synth_sold_base_sepolia": ["model.synthetix.fct_spot_atomics_base_sepolia", "test.synthetix.accepted_values_spot_synth_sold_base_sepolia_event_name__SynthSold.bc9ca74c87", "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_amount_returned__True__0.400f957fc7", "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_collected_fees__True__0.0a04ec9ef2", "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_price__True__0.cedd17dbea", "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_synth_market_id__True__0.5175d72781", "test.synthetix.not_null_spot_synth_sold_base_sepolia_amount_returned.c33656b778", "test.synthetix.not_null_spot_synth_sold_base_sepolia_block_number.17e7ff9528", "test.synthetix.not_null_spot_synth_sold_base_sepolia_block_timestamp.f3d45165ff", "test.synthetix.not_null_spot_synth_sold_base_sepolia_collected_fees.8ad9625fb0", "test.synthetix.not_null_spot_synth_sold_base_sepolia_contract.8d370e2248", "test.synthetix.not_null_spot_synth_sold_base_sepolia_event_name.24601a4262", "test.synthetix.not_null_spot_synth_sold_base_sepolia_id.c2f7e77070", "test.synthetix.not_null_spot_synth_sold_base_sepolia_price.88b1a85b40", "test.synthetix.not_null_spot_synth_sold_base_sepolia_referrer.51ef2f8d16", "test.synthetix.not_null_spot_synth_sold_base_sepolia_synth_market_id.25c988c205", "test.synthetix.not_null_spot_synth_sold_base_sepolia_transaction_hash.a13ba6bde1", "test.synthetix.unique_spot_synth_sold_base_sepolia_id.d31e78319f"], "model.synthetix.spot_synth_unwrapped_base_sepolia": ["model.synthetix.fct_spot_wrapper_base_sepolia", "test.synthetix.accepted_values_spot_synth_unwrapped_base_sepolia_event_name__SynthUnwrapped.8dae19258e", "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_amount_unwrapped__True__0.8e197e25e9", "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_fees_collected__True__0.e56453f4c6", "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_synth_market_id__True__0.a469219bab", "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped.1a220b9007", "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_block_number.5cfd06abfe", "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_block_timestamp.41ba03a5b2", "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_contract.87983c1fa3", "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_event_name.b17d6e42c7", "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_fees_collected.c3d167c521", "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_id.6b02b454d5", "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_synth_market_id.214a3db22f", "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_transaction_hash.2ea11780cc", "test.synthetix.unique_spot_synth_unwrapped_base_sepolia_id.74a8e666e5"], "model.synthetix.spot_order_cancelled_base_sepolia": ["test.synthetix.accepted_values_spot_order_cancelled_base_sepolia_event_name__OrderCancelled.19ae93abc4", "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_base_sepolia_market_id__True__0.256744e74d", "test.synthetix.not_null_spot_order_cancelled_base_sepolia_block_number.86a31f2f2c", "test.synthetix.not_null_spot_order_cancelled_base_sepolia_block_timestamp.fa9df55b40", "test.synthetix.not_null_spot_order_cancelled_base_sepolia_contract.0c41210b4f", "test.synthetix.not_null_spot_order_cancelled_base_sepolia_event_name.860a2e2098", "test.synthetix.not_null_spot_order_cancelled_base_sepolia_id.5e9a576929", "test.synthetix.not_null_spot_order_cancelled_base_sepolia_market_id.29f20fb008", "test.synthetix.not_null_spot_order_cancelled_base_sepolia_sender.aac13d426e", "test.synthetix.not_null_spot_order_cancelled_base_sepolia_transaction_hash.0752dd402b", "test.synthetix.unique_spot_order_cancelled_base_sepolia_id.0e40062e64"], "model.synthetix.spot_synth_bought_base_sepolia": ["model.synthetix.fct_spot_atomics_base_sepolia", "test.synthetix.accepted_values_spot_synth_bought_base_sepolia_event_name__SynthBought.3932e43413", "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_collected_fees__True__0.1b65c16e7a", "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_price__True__0.1dfcf66dee", "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_synth_market_id__True__0.2be12779d3", "test.synthetix.not_null_spot_synth_bought_base_sepolia_block_number.b137c20668", "test.synthetix.not_null_spot_synth_bought_base_sepolia_block_timestamp.b2a61f5718", "test.synthetix.not_null_spot_synth_bought_base_sepolia_collected_fees.9d30351609", "test.synthetix.not_null_spot_synth_bought_base_sepolia_contract.4678866b0c", "test.synthetix.not_null_spot_synth_bought_base_sepolia_event_name.cacb370344", "test.synthetix.not_null_spot_synth_bought_base_sepolia_id.942697f903", "test.synthetix.not_null_spot_synth_bought_base_sepolia_price.d27790b16d", "test.synthetix.not_null_spot_synth_bought_base_sepolia_referrer.4756917b09", "test.synthetix.not_null_spot_synth_bought_base_sepolia_synth_market_id.b1c1943367", "test.synthetix.not_null_spot_synth_bought_base_sepolia_transaction_hash.368cb3f67e", "test.synthetix.unique_spot_synth_bought_base_sepolia_id.17a8acaf0c"], "model.synthetix.spot_order_settled_base_sepolia": ["test.synthetix.accepted_values_spot_order_settled_base_sepolia_event_name__OrderSettled.177309ebc4", "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_collected_fees__True__0.7f14aa7a7b", "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_final_order_amount__True__0.db1eb9bae2", "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_market_id__True__0.57c7ca8b8a", "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_price__True__0.be79188042", "test.synthetix.not_null_spot_order_settled_base_sepolia_block_number.65da819fda", "test.synthetix.not_null_spot_order_settled_base_sepolia_block_timestamp.2af878ee49", "test.synthetix.not_null_spot_order_settled_base_sepolia_collected_fees.ce03171f19", "test.synthetix.not_null_spot_order_settled_base_sepolia_contract.70a66ec745", "test.synthetix.not_null_spot_order_settled_base_sepolia_event_name.78cc82e3ab", "test.synthetix.not_null_spot_order_settled_base_sepolia_id.41dd4b147f", "test.synthetix.not_null_spot_order_settled_base_sepolia_market_id.08f8f7cfee", "test.synthetix.not_null_spot_order_settled_base_sepolia_order_type.aba0efecf9", "test.synthetix.not_null_spot_order_settled_base_sepolia_price.5e737efecc", "test.synthetix.not_null_spot_order_settled_base_sepolia_settler.3cce2227a9", "test.synthetix.not_null_spot_order_settled_base_sepolia_transaction_hash.db4a8fd73d", "test.synthetix.unique_spot_order_settled_base_sepolia_id.d146f45657"], "model.synthetix.fct_core_pool_collateral_eth_mainnet": ["test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited.b943283ec6", "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_collateral_type.217e5cb420", "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_ts.61a1043b04"], "model.synthetix.fct_core_apr_rewards_eth_mainnet": [], "model.synthetix.fct_pool_pnl_hourly_eth_mainnet": ["model.synthetix.fct_core_apr_eth_mainnet", "model.synthetix.fct_pool_pnl_hourly_reward_eth_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_collateral_value__True__0.aa5cf487aa", "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct__True__1___1.ad0a057625", "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct__True__1__0.b431022b52", "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_pool_id__True__0.ad130b0c2f", "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_rewards_usd__True__0.80c1c42490", "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type.8346dc5b9e", "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value.bf72ec5191", "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_debt.34ed8f7e19", "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated.b2364c3711", "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance.d981b1941f", "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl.aef91ccc24", "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct.d9b73c59f7", "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct.d8b6a6177f", "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct.b8f62bde16", "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id.d4b3c4be36", "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd.8fd34c30e5", "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_ts.2a846b2bb8"], "model.synthetix.fct_pool_pnl_hourly_reward_eth_mainnet": ["model.synthetix.fct_core_apr_rewards_eth_mainnet"], "model.synthetix.fct_core_migration_eth_mainnet": ["model.synthetix.fct_core_migration_hourly_eth_mainnet", "test.synthetix.accepted_values_fct_core_migration_eth_mainnet_collateral_type__0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F.a38946ae0c", "test.synthetix.dbt_utils_accepted_range_fct_core_migration_eth_mainnet_collateral_amount__True__0.049cad30eb", "test.synthetix.dbt_utils_accepted_range_fct_core_migration_eth_mainnet_pool_id__True__1__1.451aedc606", "test.synthetix.not_null_fct_core_migration_eth_mainnet_account_id.afcffa2df1", "test.synthetix.not_null_fct_core_migration_eth_mainnet_block_number.9a454098b0", "test.synthetix.not_null_fct_core_migration_eth_mainnet_collateral_amount.0b05c3add8", "test.synthetix.not_null_fct_core_migration_eth_mainnet_collateral_type.d3ff39474d", "test.synthetix.not_null_fct_core_migration_eth_mainnet_debt_amount.8b36e762c2", "test.synthetix.not_null_fct_core_migration_eth_mainnet_pool_id.f0e6b5266e", "test.synthetix.not_null_fct_core_migration_eth_mainnet_staker.745012ec35", "test.synthetix.not_null_fct_core_migration_eth_mainnet_transaction_hash.15435ec6a4", "test.synthetix.not_null_fct_core_migration_eth_mainnet_ts.4a5f6995ac"], "model.synthetix.fct_pool_rewards_hourly_eth_mainnet": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_pool_id__True__0.208ead2f02", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_rewards_usd__True__0.2e789c32db", "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type.1949d93db9", "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id.7f91755bfb", "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd.3095906515", "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_ts.89ba67bb4f"], "model.synthetix.fct_pool_debt_eth_mainnet": ["model.synthetix.fct_core_migration_hourly_eth_mainnet", "model.synthetix.fct_pool_issuance_hourly_eth_mainnet", "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_eth_mainnet_pool_id__True__0.9ab83c23dd", "test.synthetix.not_null_fct_pool_debt_eth_mainnet_block_number.d707149fdd", "test.synthetix.not_null_fct_pool_debt_eth_mainnet_collateral_type.2f39d51963", "test.synthetix.not_null_fct_pool_debt_eth_mainnet_debt.100ad3cae1", "test.synthetix.not_null_fct_pool_debt_eth_mainnet_pool_id.088122bb77", "test.synthetix.not_null_fct_pool_debt_eth_mainnet_ts.0a20d36f28"], "model.synthetix.fct_pool_issuance_hourly_eth_mainnet": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_eth_mainnet_pool_id__True__0.2f6d1cabb6", "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type.04853a2f55", "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance.3ee79944a3", "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id.0bd0e6635e", "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_ts.d84f234266"], "model.synthetix.fct_core_migration_hourly_eth_mainnet": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated__True__0.2c5355cf5c", "test.synthetix.dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_pool_id__True__0.a0670cc5c1", "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_collateral_type.e0ef271f9a", "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated.99b91b00b5", "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_pool_id.55def21e95", "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_ts.a201c86ec0"], "model.synthetix.fct_core_pool_delegation_eth_mainnet": ["test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_eth_mainnet_pool_id__True__0.8087f39696", "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_collateral_type.687e523e9a", "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_pool_id.38ebfdf86f", "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_ts.4c81cbc76a"], "model.synthetix.fct_pool_issuance_eth_mainnet": ["model.synthetix.fct_pool_issuance_hourly_eth_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_eth_mainnet_pool_id__True__0.c3af88d954", "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_account_id.d686918ab7", "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_amount.4a0d8649af", "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_block_number.76ac645e79", "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_collateral_type.9e0a6d3551", "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_pool_id.fd6c3981fe", "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_transaction_hash.801e733838", "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_ts.5f32fba981"], "model.synthetix.fct_core_account_delegation_eth_mainnet": ["test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_amount_delegated__True__0.854bbca778", "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_pool_id__True__0.35dc5bbd4b", "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_account_id.9b9eed26fe", "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_amount_delegated.7c91dafbd8", "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_collateral_type.f9b6e0e993", "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_pool_id.f6076a6b8b", "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_ts.a916375fbd"], "model.synthetix.fct_core_market_updated_eth_mainnet": ["test.synthetix.accepted_values_fct_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.f0e721a249", "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_eth_mainnet_market_id__True__0.32701334f3", "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_collateral_type.fbe59aeb13", "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_credit_capacity.bc652bf021", "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_event_name.e682d1b7d5", "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_id.7444e98615", "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_market_id.9fbceacdbc", "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_net_issuance.95ea8efb4e", "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_token_amount.fe11f0ce69", "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_transaction_hash.f31c00e39e", "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_ts.950a116067", "test.synthetix.unique_fct_core_market_updated_eth_mainnet_id.d5c16089e9"], "model.synthetix.fct_core_apr_eth_mainnet": ["test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_collateral_value__True__0.b44f8cd90f", "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_pnl_pct__True__1___1.573c85fbab", "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_rewards_pct__True__1__0.a383e39737", "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_pool_id__True__0.2e06d77a8b", "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_rewards_usd__True__0.0ccd0edcb4", "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_24h.1e94a76b1e", "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_28d.8dfb1e005a", "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_7d.35bc5cfb13", "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_24h.b52a8fd842", "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_28d.053e0eda01", "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_7d.08d703cbb6", "test.synthetix.not_null_fct_core_apr_eth_mainnet_collateral_type.0bc0302d7e", "test.synthetix.not_null_fct_core_apr_eth_mainnet_collateral_value.14594eca47", "test.synthetix.not_null_fct_core_apr_eth_mainnet_cumulative_issuance.ab1f8da889", "test.synthetix.not_null_fct_core_apr_eth_mainnet_cumulative_pnl.4a739c13a4", "test.synthetix.not_null_fct_core_apr_eth_mainnet_debt.14b9039622", "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated.1606ded24b", "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_issuance.d21fe7e33b", "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_pnl.6570b2bdb2", "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct.b582b1f1e2", "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct.284fa06b64", "test.synthetix.not_null_fct_core_apr_eth_mainnet_pool_id.c5e20f437d", "test.synthetix.not_null_fct_core_apr_eth_mainnet_rewards_usd.e91f21e2d5", "test.synthetix.not_null_fct_core_apr_eth_mainnet_ts.99cae9616f"], "model.synthetix.fct_pool_rewards_eth_mainnet": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_amount__True__0.db5fff0dcd", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_pool_id__True__0.e03ffa9a09", "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_amount.313b524117", "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_collateral_type.6ac8e6e2aa", "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_distributor.7111e37b09", "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_pool_id.7fd59c6d8c", "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_token_symbol.4bbde77781", "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_ts.e44412832a"], "model.synthetix.fct_core_pools_eth_mainnet": ["test.synthetix.dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0.e529c0ad91", "test.synthetix.not_null_fct_core_pools_eth_mainnet_block_number.d5795e3469", "test.synthetix.not_null_fct_core_pools_eth_mainnet_created_ts.85e7c6f7d7", "test.synthetix.not_null_fct_core_pools_eth_mainnet_id.ac06cb59ca", "test.synthetix.not_null_fct_core_pools_eth_mainnet_owner.13db5fad75"], "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet": ["model.synthetix.fct_pool_pnl_hourly_reward_eth_mainnet", "model.synthetix.fct_pool_rewards_hourly_eth_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed__True__0.26815f50d4", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount__True__0.76ed6e76ab", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_pool_id__True__0.0f059b9a12", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_price__True__0.3b4b47afcc", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd__True__0.0d8876b70b", "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed.3faeed6846", "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_collateral_type.22ec7c38ba", "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor.a65a6d19bf", "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount.701c4a765f", "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id.69049a093a", "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_price.89f536fe6c", "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd.84778cf230", "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol.609ae29f03", "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts.667157dbf6"], "model.synthetix.fct_prices_eth_mainnet": ["model.synthetix.fct_prices_hourly_eth_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0.4a537a60cd", "test.synthetix.not_null_fct_prices_eth_mainnet_market_symbol.f1f5318f4a", "test.synthetix.not_null_fct_prices_eth_mainnet_price.fff835950c", "test.synthetix.not_null_fct_prices_eth_mainnet_ts.4a1a2f8c2d"], "model.synthetix.fct_prices_hourly_eth_mainnet": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_eth_mainnet_price__True__0.7cc073306d", "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_market_symbol.dad998df0c", "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_price.f438a75278", "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_ts.6f3aced404"], "model.synthetix.fct_pool_debt_arbitrum_mainnet": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_arbitrum_mainnet_pool_id__True__0.15db752b00", "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_block_number.f6d01f24fd", "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_collateral_type.a3b9300e6c", "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_debt.5ff363252c", "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_pool_id.dc562b5c31", "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_ts.aac8a7264c"], "model.synthetix.fct_core_account_delegation_arbitrum_mainnet": ["test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_amount_delegated__True__0.f003c4fdae", "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_pool_id__True__0.aa7ddfc925", "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_account_id.bd5bdf25e3", "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_amount_delegated.56c41128cd", "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_collateral_type.2ce3f7a9bb", "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id.54d8a339d7", "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_ts.47ea299d3f"], "model.synthetix.fct_core_apr_arbitrum_mainnet": ["test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_collateral_value__True__0.ffb99e9e0a", "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct__True__1___1.1b8022dfc1", "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct__True__1__0.f1335e174b", "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_pool_id__True__0.8a8c4f782b", "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_rewards_usd__True__0.1ddf38024d", "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_24h.8106520838", "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_28d.964b18810e", "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_7d.06f4c6a6e1", "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_24h.83d96a1a08", "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_28d.fa829d9ef7", "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_7d.cf96fd9428", "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_collateral_type.063adda35b", "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_collateral_value.21b8ffe226", "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance.e1798a309e", "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl.3aeb9de820", "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_debt.3dc045078a", "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance.80329841e3", "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl.cca97779a8", "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct.fb9fdebdde", "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct.c370595c99", "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_pool_id.6f62001f11", "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_rewards_usd.382bc038bb", "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_ts.97e8b55304"], "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet": ["model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet", "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed__True__0.7447bf410c", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount__True__0.e75762e0c1", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id__True__0.4ed8a94f92", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_price__True__0.bd113fbed7", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd__True__0.034dbdbb73", "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed.0abef6eb56", "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_collateral_type.dee4fdda32", "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_distributor.a9383020e8", "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount.1f06d81670", "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id.35527b8712", "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price.e94408c4a3", "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd.38626f59b3", "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_token_symbol.0f93337098", "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts.22756175d0"], "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id__True__0.24b97cc6ba", "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_collateral_type.5b444b3e9d", "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_hourly_issuance.dcbdd9b577", "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id.ad0bc3744f", "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts.9170e8931e"], "model.synthetix.fct_core_pools_arbitrum_mainnet": ["test.synthetix.dbt_utils_accepted_range_fct_core_pools_arbitrum_mainnet_id__True__0.913c01840d", "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_block_number.7aac324156", "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_created_ts.b08fc3c233", "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_id.61336667c3", "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_owner.4cc2187f96"], "model.synthetix.fct_core_market_updated_arbitrum_mainnet": ["test.synthetix.accepted_values_fct_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.0bf85002ba", "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_arbitrum_mainnet_market_id__True__0.23d58ffdfe", "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_collateral_type.85f2ad0cb4", "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_credit_capacity.03f2d72a75", "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_event_name.5590c6c9b0", "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_id.322013511a", "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_market_id.286e3a43cf", "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance.c0d40f9ece", "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_token_amount.74526c215d", "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_transaction_hash.aa748b5290", "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_ts.b5fc2ec12e", "test.synthetix.unique_fct_core_market_updated_arbitrum_mainnet_id.1caa9c591c"], "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet": ["test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_mainnet_pool_id__True__0.cc3901412b", "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_collateral_type.d924f2d2aa", "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id.fe0fca7194", "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_ts.5d96538438"], "model.synthetix.fct_pool_rewards_arbitrum_mainnet": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_amount__True__0.debd774d66", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_pool_id__True__0.071c26474c", "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_amount.5d537baae4", "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type.d5a70bb05b", "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_distributor.78e1e8f668", "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_pool_id.ed851987e8", "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol.0fd511c8cb", "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_ts.19a49fa7ad"], "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id__True__0.4d32e65287", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd__True__0.d689f56d7e", "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_collateral_type.490293ba7d", "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id.3237fb1ab1", "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd.f0877fa7b3", "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts.55c84a8938"], "model.synthetix.fct_core_apr_rewards_arbitrum_mainnet": [], "model.synthetix.fct_pool_issuance_arbitrum_mainnet": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_arbitrum_mainnet_pool_id__True__0.411a2ea602", "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_account_id.2adc95113c", "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_amount.375d9b98af", "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_block_number.954a0fdf17", "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type.ba8bb06771", "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_pool_id.0706d99bc3", "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash.6a8e54c252", "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_ts.6d52d9f09c"], "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet": ["model.synthetix.fct_core_apr_rewards_arbitrum_mainnet"], "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet": ["test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_amount_deposited.e481f3fc24", "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_collateral_type.6824e3181d", "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_ts.e1e47715a3"], "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet": ["model.synthetix.fct_core_apr_arbitrum_mainnet", "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value__True__0.2e110c1268", "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct__True__1___1.5893ffde97", "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct__True__1__0.c0f135f71a", "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id__True__0.82a420e70a", "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd__True__0.636294733f", "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type.5b16d63899", "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value.d293fcea90", "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt.9ac5b9bf5c", "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance.5511774a0b", "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl.678864f7b5", "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct.860b962ff4", "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct.8068a50a34", "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct.2ba37617f1", "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id.e6c4e35168", "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd.196b421cb3", "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts.b23b3c4ccc"], "model.synthetix.fct_spot_atomics_arbitrum_mainnet": ["model.synthetix.fct_synth_supply_arbitrum_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_arbitrum_mainnet_synth_market_id__True__0.a856a28abf", "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_amount.2a29d582dd", "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_block_number.4090627930", "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_id.58d62fa75b", "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_price.8c5fac0d4b", "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_referrer.8f3d6e7ca8", "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id.3ce730fbe0", "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_ts.8faded4450", "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash.fc4480c793", "test.synthetix.unique_fct_spot_atomics_arbitrum_mainnet_id.103cfc1fee"], "model.synthetix.fct_synth_supply_arbitrum_mainnet": ["test.synthetix.dbt_utils_accepted_range_fct_synth_supply_arbitrum_mainnet_synth_market_id__True__0.214f52024f", "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_block_number.bf6d504d6f", "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_supply.4f38308508", "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id.9ef357e324", "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_ts.3133817d65"], "model.synthetix.fct_spot_markets_arbitrum_mainnet": ["test.synthetix.dbt_utils_accepted_range_fct_spot_markets_arbitrum_mainnet_id__True__0.fc6e00e4d7", "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_block_number.8e6492baa4", "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_created_ts.d20eea3054", "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_id.0f47b50907", "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_token_address.19fe19c198"], "model.synthetix.fct_spot_wrapper_arbitrum_mainnet": ["model.synthetix.fct_synth_supply_arbitrum_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_mainnet_synth_market_id__True__0.f6decdacf4", "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped.f91b4eedc8", "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_block_number.d1c04e4c89", "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_id.4d99f875a3", "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id.f0195bb21f", "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_ts.91d9f782bb", "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash.4401566d1f", "test.synthetix.unique_fct_spot_wrapper_arbitrum_mainnet_id.2107017636"], "model.synthetix.fct_prices_arbitrum_mainnet": ["model.synthetix.fct_prices_hourly_arbitrum_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_prices_arbitrum_mainnet_price__True__0.2dcde08f36", "test.synthetix.not_null_fct_prices_arbitrum_mainnet_market_symbol.2c3e729969", "test.synthetix.not_null_fct_prices_arbitrum_mainnet_price.0a15cd9a88", "test.synthetix.not_null_fct_prices_arbitrum_mainnet_ts.2fbdc0fed9"], "model.synthetix.fct_prices_hourly_arbitrum_mainnet": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_arbitrum_mainnet_price__True__0.a6e6a0e3ce", "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol.b0ef15f205", "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_price.cc751acae1", "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_ts.125ef9fa4d"], "model.synthetix.fct_pool_issuance_arbitrum_sepolia": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_arbitrum_sepolia_pool_id__True__0.0ec85b0399", "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_account_id.45720a8ffb", "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_amount.43a9be48cb", "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_block_number.7b40b6a61f", "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type.aef6de9ec1", "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_pool_id.2084f5f832", "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash.333c0c5e61", "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_ts.94cc660ca9"], "model.synthetix.fct_pool_rewards_arbitrum_sepolia": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_amount__True__0.7328694eba", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_pool_id__True__0.82e7a1605d", "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_amount.2019cf2384", "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type.9b8cfcd53f", "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_distributor.575416cf09", "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_pool_id.7e25d73251", "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol.6e44e80815", "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_ts.58ba7f8051"], "model.synthetix.fct_core_apr_arbitrum_sepolia": ["test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_collateral_value__True__0.fdfbc111a3", "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct__True__1___1.71d905126b", "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct__True__1__0.573ad6f791", "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_pool_id__True__0.a2269ae87b", "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_rewards_usd__True__0.16097a4425", "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_24h.70ceb15524", "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_28d.1273ef3c47", "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_7d.9df14e1133", "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_24h.cc6a60bf0d", "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_28d.c90acf86f3", "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_7d.d37e5ab6c3", "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_collateral_type.a646b7cb26", "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_collateral_value.2ada9cf10f", "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance.574d2a783c", "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl.4b337f056f", "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_debt.9b76325181", "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance.18ef26f177", "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl.d189c809ff", "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct.e663f8a83d", "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct.12f359d425", "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_pool_id.58add87a89", "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_rewards_usd.ae2ea707de", "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_ts.e6b3476db0"], "model.synthetix.fct_core_pools_arbitrum_sepolia": ["test.synthetix.dbt_utils_accepted_range_fct_core_pools_arbitrum_sepolia_id__True__0.d4e586601a", "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_block_number.8044e9af90", "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_created_ts.56d3c1e25b", "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_id.0242b18493", "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_owner.5ee993817b"], "model.synthetix.fct_core_account_delegation_arbitrum_sepolia": ["test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_amount_delegated__True__0.b9f7312790", "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_pool_id__True__0.8b1dae49a3", "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_account_id.a6811a48a4", "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_amount_delegated.f883895d2a", "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_collateral_type.c996bc8d62", "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id.0a7b37ae8c", "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_ts.143d36cd88"], "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia": ["model.synthetix.fct_core_apr_arbitrum_sepolia", "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value__True__0.8f44ccf6a8", "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct__True__1___1.758a1bd318", "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct__True__1__0.155d04b096", "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id__True__0.2553f9acd9", "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd__True__0.c70c3ef6d1", "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type.ad28430a8b", "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value.4feda18e6e", "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt.064b4f1aa0", "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance.98a21247a9", "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl.71c511680d", "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct.cfa91548b1", "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct.85b61a0a46", "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct.57d5efdf83", "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id.aa93d2af52", "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd.de45431bfe", "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts.a70d2ff18c"], "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia": ["test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_amount_deposited.feb182d7c0", "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_collateral_type.05d462c474", "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_ts.33284497f5"], "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia": ["model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia", "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed__True__0.a2ebbe6544", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount__True__0.b67f19c73b", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id__True__0.dc85f8adb9", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_price__True__0.03fbb6a68c", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd__True__0.1aeeb784bf", "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed.92aa5d68ee", "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_collateral_type.6bd3efb9ab", "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_distributor.57d35a371e", "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount.a128c8eb69", "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id.c9c0638ac8", "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price.8b9f940b5a", "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd.a4c3a5bd6d", "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_token_symbol.43135a2a58", "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts.408bc991e9"], "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia": ["model.synthetix.fct_core_apr_rewards_arbitrum_sepolia"], "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia": ["test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_sepolia_pool_id__True__0.72a7f44e62", "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_collateral_type.866b468c25", "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id.58ecabbbb6", "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_ts.f1e8f35f9b"], "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id__True__0.1156081282", "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_collateral_type.56203ac00f", "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_hourly_issuance.24747bdf20", "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id.cf6825af38", "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts.1cc52a2fae"], "model.synthetix.fct_core_apr_rewards_arbitrum_sepolia": [], "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id__True__0.550e7516ff", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd__True__0.29163ebf9c", "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_collateral_type.e8435924a6", "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id.a84969537b", "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd.a8bf6b50cf", "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts.c0fe0cb40b"], "model.synthetix.fct_core_market_updated_arbitrum_sepolia": ["test.synthetix.accepted_values_fct_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.ea1df73130", "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_arbitrum_sepolia_market_id__True__0.95e420ef94", "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_collateral_type.d8f0899c66", "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_credit_capacity.9862e1aaee", "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_event_name.4419326334", "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_id.378db4cf74", "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_market_id.2752afabd6", "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance.62f7b3daca", "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_token_amount.4d14e4bb21", "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_transaction_hash.45d8547f52", "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_ts.b76a8ffb56", "test.synthetix.unique_fct_core_market_updated_arbitrum_sepolia_id.8dc27d8b84"], "model.synthetix.fct_pool_debt_arbitrum_sepolia": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_arbitrum_sepolia_pool_id__True__0.ec7d22b029", "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_block_number.9fe11ea9dd", "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_collateral_type.a6fdff57f4", "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_debt.652029afcf", "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_pool_id.4539ef9df3", "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_ts.0ce19a05b3"], "model.synthetix.fct_synth_supply_arbitrum_sepolia": ["test.synthetix.dbt_utils_accepted_range_fct_synth_supply_arbitrum_sepolia_synth_market_id__True__0.e33f94430c", "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_block_number.f392305688", "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_supply.e3a1577f38", "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id.4a2d305755", "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_ts.27dc7912ff"], "model.synthetix.fct_spot_markets_arbitrum_sepolia": ["test.synthetix.dbt_utils_accepted_range_fct_spot_markets_arbitrum_sepolia_id__True__0.181ee7b620", "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_block_number.50ad9758fc", "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_created_ts.d5e3080b9d", "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_id.8e20da3df9", "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_token_address.1b182f5b09"], "model.synthetix.fct_spot_wrapper_arbitrum_sepolia": ["model.synthetix.fct_synth_supply_arbitrum_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_sepolia_synth_market_id__True__0.38952f7e02", "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped.77a6a551fc", "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_block_number.11ac634180", "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_id.e4af3a2e01", "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id.73a4297f2a", "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_ts.cac57bdf22", "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash.bc4c1e86f4", "test.synthetix.unique_fct_spot_wrapper_arbitrum_sepolia_id.ef7877efab"], "model.synthetix.fct_spot_atomics_arbitrum_sepolia": ["model.synthetix.fct_synth_supply_arbitrum_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_arbitrum_sepolia_synth_market_id__True__0.783d66767d", "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_amount.08628c0e8d", "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_block_number.8b344f291a", "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_id.491922c0de", "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_price.685e079a35", "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_referrer.ab47b8a4dc", "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id.b6c3e19705", "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_ts.892f2a57c7", "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash.e8c13a9755", "test.synthetix.unique_fct_spot_atomics_arbitrum_sepolia_id.ac19d3d198"], "model.synthetix.fct_prices_arbitrum_sepolia": ["model.synthetix.fct_prices_hourly_arbitrum_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_prices_arbitrum_sepolia_price__True__0.cd20dabe63", "test.synthetix.not_null_fct_prices_arbitrum_sepolia_market_symbol.5499da1cc7", "test.synthetix.not_null_fct_prices_arbitrum_sepolia_price.45fcd4b484", "test.synthetix.not_null_fct_prices_arbitrum_sepolia_ts.a139176cd1"], "model.synthetix.fct_prices_hourly_arbitrum_sepolia": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_arbitrum_sepolia_price__True__0.e322ab3e73", "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol.6b1d78c094", "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_price.774a8eccfb", "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_ts.45b8cdbd25"], "model.synthetix.fct_perp_trades_base_mainnet": ["model.synthetix.fct_perp_account_stats_hourly_base_mainnet", "model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet", "model.synthetix.fct_perp_market_stats_hourly_base_mainnet", "model.synthetix.fct_perp_tracking_stats_daily_base_mainnet", "model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_collected_fees__True__0.cec844302b", "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_exchange_fees__True__0.43ef826334", "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_fill_price__True__0.3edbbda7ae", "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_lp_fees__True__0.67c14ce54a", "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_market_id__True__0.585f613862", "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_referral_fees__True__0.09a87481d6", "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_settlement_reward__True__0.56c953ccdc", "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_total_fees__True__0.37a3c34f6a", "test.synthetix.not_null_fct_perp_trades_base_mainnet_account_id.8a94516fd9", "test.synthetix.not_null_fct_perp_trades_base_mainnet_accrued_funding.f6a962643b", "test.synthetix.not_null_fct_perp_trades_base_mainnet_block_number.474b7643d0", "test.synthetix.not_null_fct_perp_trades_base_mainnet_collected_fees.1888a67b67", "test.synthetix.not_null_fct_perp_trades_base_mainnet_contract.8897e47e7e", "test.synthetix.not_null_fct_perp_trades_base_mainnet_exchange_fees.5a4c21716f", "test.synthetix.not_null_fct_perp_trades_base_mainnet_fill_price.e731328206", "test.synthetix.not_null_fct_perp_trades_base_mainnet_id.35375a8491", "test.synthetix.not_null_fct_perp_trades_base_mainnet_lp_fees.1da0034ac9", "test.synthetix.not_null_fct_perp_trades_base_mainnet_market_id.6ea4246016", "test.synthetix.not_null_fct_perp_trades_base_mainnet_market_symbol.e75d95d12c", "test.synthetix.not_null_fct_perp_trades_base_mainnet_notional_position_size.549d1d1b0b", "test.synthetix.not_null_fct_perp_trades_base_mainnet_notional_trade_size.25efead997", "test.synthetix.not_null_fct_perp_trades_base_mainnet_pnl.e87ee65983", "test.synthetix.not_null_fct_perp_trades_base_mainnet_position_size.a687f5c9e4", "test.synthetix.not_null_fct_perp_trades_base_mainnet_referral_fees.8c5c0f55a4", "test.synthetix.not_null_fct_perp_trades_base_mainnet_settlement_reward.c472f75c36", "test.synthetix.not_null_fct_perp_trades_base_mainnet_settler.cebd15f3ad", "test.synthetix.not_null_fct_perp_trades_base_mainnet_total_fees.73178c801b", "test.synthetix.not_null_fct_perp_trades_base_mainnet_tracking_code.3b557b440d", "test.synthetix.not_null_fct_perp_trades_base_mainnet_trade_size.2a003017e9", "test.synthetix.not_null_fct_perp_trades_base_mainnet_transaction_hash.b1e9287d28", "test.synthetix.not_null_fct_perp_trades_base_mainnet_ts.e5e75d9d71", "test.synthetix.unique_fct_perp_trades_base_mainnet_id.b1b63119eb"], "model.synthetix.fct_perp_previous_order_expired_base_mainnet": ["test.synthetix.accepted_values_fct_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired.1769035769", "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_account_id__True__0.0f31e1095c", "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_market_id__True__0.59d73bf004", "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_account_id.e7aae917c2", "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_block_number.89b98bd9a2", "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_block_timestamp.da7b51b840", "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_contract.bd6be0f02f", "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_event_name.473a967d1d", "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_id.627b6b6b63", "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_market_id.8bf9effd5e", "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_transaction_hash.573aaff2f5", "test.synthetix.unique_fct_perp_previous_order_expired_base_mainnet_id.220846a37a"], "model.synthetix.fct_perp_market_history_base_mainnet": ["model.synthetix.fct_prices_base_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_market_id__True__0.c7e76b30aa", "test.synthetix.not_null_fct_perp_market_history_base_mainnet_block_number.485f73c767", "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_rate.904532dfcd", "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_rate_apr.50943753dc", "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_velocity.0bd6fa06fa", "test.synthetix.not_null_fct_perp_market_history_base_mainnet_id.c9dbfad377", "test.synthetix.not_null_fct_perp_market_history_base_mainnet_interest_rate.2c5e879eef", "test.synthetix.not_null_fct_perp_market_history_base_mainnet_long_rate_apr.785d324d07", "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_id.cab90009a8", "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_symbol.c60910b39a", "test.synthetix.not_null_fct_perp_market_history_base_mainnet_price.acf046de31", "test.synthetix.not_null_fct_perp_market_history_base_mainnet_short_rate_apr.a2f2135476", "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size.3bbf16be92", "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size_delta.c2cfd7a96f", "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size_usd.bc3090b261", "test.synthetix.not_null_fct_perp_market_history_base_mainnet_skew.a4d473f3fc", "test.synthetix.not_null_fct_perp_market_history_base_mainnet_transaction_hash.d53db511d0", "test.synthetix.not_null_fct_perp_market_history_base_mainnet_ts.d5f4e338d6", "test.synthetix.unique_fct_perp_market_history_base_mainnet_id.8b11f687f0"], "model.synthetix.fct_perp_orders_base_mainnet": ["test.synthetix.dbt_utils_accepted_range_fct_perp_orders_base_mainnet_market_id__True__0.2d585533fc", "test.synthetix.not_null_fct_perp_orders_base_mainnet_account_id.08880589a0", "test.synthetix.not_null_fct_perp_orders_base_mainnet_block_number.3be9f0b718", "test.synthetix.not_null_fct_perp_orders_base_mainnet_contract.6a5b003b92", "test.synthetix.not_null_fct_perp_orders_base_mainnet_id.2c415fb4fb", "test.synthetix.not_null_fct_perp_orders_base_mainnet_market_id.5b936d3011", "test.synthetix.not_null_fct_perp_orders_base_mainnet_market_symbol.554f14b42b", "test.synthetix.not_null_fct_perp_orders_base_mainnet_transaction_hash.71d76cac79", "test.synthetix.not_null_fct_perp_orders_base_mainnet_ts.a61957fc22", "test.synthetix.unique_fct_perp_orders_base_mainnet_id.1b8b85dac5"], "model.synthetix.fct_perp_collateral_modified_base_mainnet": ["test.synthetix.accepted_values_fct_perp_collateral_modified_base_mainnet_event_name__CollateralModified.00f5016782", "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_base_mainnet_synth_market_id__True__0.644f81887d", "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_block_number.45b34bf575", "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_block_timestamp.7c5c8a362c", "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_contract.f078950840", "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_event_name.44267a4fa1", "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_id.efa9bbeec9", "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_sender.b3270f32cc", "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_synth_market_id.3a3dffb920", "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_transaction_hash.8cc455d504", "test.synthetix.unique_fct_perp_collateral_modified_base_mainnet_id.9010e87027"], "model.synthetix.fct_perp_interest_charged_base_mainnet": ["test.synthetix.accepted_values_fct_perp_interest_charged_base_mainnet_event_name__InterestCharged.b8b39fbb4d", "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_account_id__True__0.d4da8249b8", "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_interest__True__0.b25a9c1b50", "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_account_id.2830ac0b93", "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_block_number.47e9d47bb4", "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_block_timestamp.60136d09c1", "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_contract.8e7dd8a6ef", "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_event_name.eaf9eac9c3", "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_id.a798ff42d8", "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_interest.073a973712", "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_transaction_hash.f85d4df49f", "test.synthetix.unique_fct_perp_interest_charged_base_mainnet_id.31ca39738f"], "model.synthetix.fct_perp_pnl_base_mainnet": ["test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_base_mainnet_market_id__True__0.58f61a0590", "test.synthetix.not_null_fct_perp_pnl_base_mainnet_market_id.915c961b40", "test.synthetix.not_null_fct_perp_pnl_base_mainnet_ts.aa0943ea1a"], "model.synthetix.fct_perp_markets_base_mainnet": ["model.synthetix.fct_perp_liq_position_base_mainnet", "model.synthetix.fct_perp_market_history_base_mainnet", "model.synthetix.fct_perp_orders_base_mainnet", "model.synthetix.fct_perp_trades_base_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_base_mainnet_id__True__0.ac58557180", "test.synthetix.not_null_fct_perp_markets_base_mainnet_block_number.6792b019f1", "test.synthetix.not_null_fct_perp_markets_base_mainnet_created_ts.b73d9a0c8a", "test.synthetix.not_null_fct_perp_markets_base_mainnet_id.bd1fc06532", "test.synthetix.not_null_fct_perp_markets_base_mainnet_market_name.303acf9a19", "test.synthetix.not_null_fct_perp_markets_base_mainnet_market_symbol.c8dc99abfc"], "model.synthetix.fct_perp_liq_position_base_mainnet": ["model.synthetix.fct_perp_account_stats_hourly_base_mainnet", "model.synthetix.fct_perp_market_stats_hourly_base_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_amount_liquidated__True__0.51c2fa3b3f", "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_market_id__True__0.149bc69560", "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_position_size__True__0.a626e988d4", "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_account_id.f3ec9ddba7", "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_amount_liquidated.893ef59124", "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_block_number.da16c5c256", "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_id.4311fef5a1", "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_market_id.7f965252ed", "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_market_symbol.a84ac24b5f", "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_position_size.dcfe3d8623", "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_transaction_hash.d54f66674c", "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_ts.2dc7a4a976", "test.synthetix.unique_fct_perp_liq_position_base_mainnet_id.f46ba34fa7"], "model.synthetix.fct_perp_liq_account_base_mainnet": ["model.synthetix.fct_perp_stats_hourly_base_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_base_mainnet_total_reward__True__0.a35af51633", "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_account_id.dd5099ce59", "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_total_reward.2a8b87e55c", "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_ts.5a3efee9f7"], "model.synthetix.fct_perp_accounts_base_mainnet": ["test.synthetix.not_null_fct_perp_accounts_base_mainnet_created_ts.cc57ba5d93", "test.synthetix.not_null_fct_perp_accounts_base_mainnet_id.cf1e1e2af0", "test.synthetix.not_null_fct_perp_accounts_base_mainnet_owner.b581a2df74", "test.synthetix.unique_fct_perp_accounts_base_mainnet_id.2a6de2d0f2"], "model.synthetix.fct_buyback_hourly_base_mainnet": ["test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_snx_amount__True__0.0a50a1b2a1", "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_usd_amount__True__0.897d810e27", "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_snx_amount__True__0.34d4d71a42", "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_usd_amount__True__0.153efe66c5", "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount.3f13efe309", "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount.d705144302", "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_snx_amount.8e18aeb895", "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_ts.712dc7c106", "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_usd_amount.cbc2a221fa"], "model.synthetix.fct_buyback_daily_base_mainnet": ["test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_snx_amount__True__0.40e1988439", "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_usd_amount__True__0.2fdc7f3ac4", "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_snx_amount__True__0.4dc1a7a815", "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_usd_amount__True__0.b33cfd2e0e", "test.synthetix.not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount.d9cc05c370", "test.synthetix.not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount.4602f5b0ec", "test.synthetix.not_null_fct_buyback_daily_base_mainnet_snx_amount.ea18aa299d", "test.synthetix.not_null_fct_buyback_daily_base_mainnet_ts.14a31d2a6b", "test.synthetix.not_null_fct_buyback_daily_base_mainnet_usd_amount.226e5c84b2"], "model.synthetix.fct_buyback_base_mainnet": ["model.synthetix.fct_buyback_daily_base_mainnet", "model.synthetix.fct_buyback_hourly_base_mainnet", "model.synthetix.fct_prices_base_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0.ffcae6ef8f", "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_snx_price__True__0.4ab5da9346", "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0.e9e29cece7", "test.synthetix.not_null_fct_buyback_base_mainnet_buyer.996c564c05", "test.synthetix.not_null_fct_buyback_base_mainnet_id.fbad84fb48", "test.synthetix.not_null_fct_buyback_base_mainnet_snx.75b728a26f", "test.synthetix.not_null_fct_buyback_base_mainnet_snx_price.e23de62b78", "test.synthetix.not_null_fct_buyback_base_mainnet_ts.42175c7800", "test.synthetix.not_null_fct_buyback_base_mainnet_usd.2e04e1ae30", "test.synthetix.unique_fct_buyback_base_mainnet_id.f0c25ee329"], "model.synthetix.fct_core_pools_base_mainnet": ["test.synthetix.dbt_utils_accepted_range_fct_core_pools_base_mainnet_id__True__0.2b14986ce3", "test.synthetix.not_null_fct_core_pools_base_mainnet_block_number.cc61b3ca43", "test.synthetix.not_null_fct_core_pools_base_mainnet_created_ts.a07bb6b8fe", "test.synthetix.not_null_fct_core_pools_base_mainnet_id.1f1f3ad095", "test.synthetix.not_null_fct_core_pools_base_mainnet_owner.a2cfe04f87"], "model.synthetix.fct_pool_rewards_hourly_base_mainnet": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_pool_id__True__0.0fe5a5d2d6", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_rewards_usd__True__0.e752fbfdf1", "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type.9a0efdf293", "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_pool_id.cc4be6d53f", "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd.2d36098b0e", "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_ts.cb01f363c1"], "model.synthetix.fct_core_vault_collateral_base_mainnet": ["test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_amount__True__0.031c10a818", "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_collateral_value__True__0.ffab802571", "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_pool_id__True__0.3c62ac166d", "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_amount.43a56286ca", "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_block_number.fc803534fc", "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_collateral_type.e2cbb7867d", "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_collateral_value.b35c2ac09a", "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_contract_address.f7e3ffefb9", "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_pool_id.1ea1a9fb17", "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_ts.878073b7e8"], "model.synthetix.fct_core_market_updated_base_mainnet": ["test.synthetix.accepted_values_fct_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.b6908f0c03", "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_base_mainnet_market_id__True__0.2ed4a3f792", "test.synthetix.not_null_fct_core_market_updated_base_mainnet_collateral_type.b71240306c", "test.synthetix.not_null_fct_core_market_updated_base_mainnet_credit_capacity.303317e986", "test.synthetix.not_null_fct_core_market_updated_base_mainnet_event_name.38e05844e8", "test.synthetix.not_null_fct_core_market_updated_base_mainnet_id.a50a975385", "test.synthetix.not_null_fct_core_market_updated_base_mainnet_market_id.c97cd708fa", "test.synthetix.not_null_fct_core_market_updated_base_mainnet_net_issuance.2d64ab52f8", "test.synthetix.not_null_fct_core_market_updated_base_mainnet_token_amount.ead854df90", "test.synthetix.not_null_fct_core_market_updated_base_mainnet_transaction_hash.87848e2a26", "test.synthetix.not_null_fct_core_market_updated_base_mainnet_ts.f35cfffa6d", "test.synthetix.unique_fct_core_market_updated_base_mainnet_id.ec01754a17"], "model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet": ["model.synthetix.fct_core_apr_rewards_base_mainnet"], "model.synthetix.fct_pool_rewards_base_mainnet": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_amount__True__0.5a5b31d40e", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_pool_id__True__0.f01ac775cc", "test.synthetix.not_null_fct_pool_rewards_base_mainnet_amount.c7b92514fd", "test.synthetix.not_null_fct_pool_rewards_base_mainnet_collateral_type.2f7e01ccd0", "test.synthetix.not_null_fct_pool_rewards_base_mainnet_distributor.5511d5880d", "test.synthetix.not_null_fct_pool_rewards_base_mainnet_pool_id.47db83edd0", "test.synthetix.not_null_fct_pool_rewards_base_mainnet_token_symbol.1810912a65", "test.synthetix.not_null_fct_pool_rewards_base_mainnet_ts.af8563a243"], "model.synthetix.fct_pool_issuance_base_mainnet": ["model.synthetix.fct_pool_issuance_hourly_base_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_base_mainnet_pool_id__True__0.5e68f64c49", "test.synthetix.not_null_fct_pool_issuance_base_mainnet_account_id.4f9de5ef81", "test.synthetix.not_null_fct_pool_issuance_base_mainnet_amount.29761360a6", "test.synthetix.not_null_fct_pool_issuance_base_mainnet_block_number.6ae22c8ac4", "test.synthetix.not_null_fct_pool_issuance_base_mainnet_collateral_type.72fe90c3b9", "test.synthetix.not_null_fct_pool_issuance_base_mainnet_pool_id.01d3ed0f62", "test.synthetix.not_null_fct_pool_issuance_base_mainnet_transaction_hash.0764eca614", "test.synthetix.not_null_fct_pool_issuance_base_mainnet_ts.2b8d4be103"], "model.synthetix.fct_core_apr_rewards_base_mainnet": [], "model.synthetix.fct_pool_issuance_hourly_base_mainnet": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_base_mainnet_pool_id__True__0.82c0a98d47", "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type.21efec6e56", "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance.1bde70000d", "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_pool_id.03eddab767", "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_ts.af3f6a895d"], "model.synthetix.fct_pool_pnl_hourly_base_mainnet": ["model.synthetix.fct_core_apr_base_mainnet", "model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_collateral_value__True__0.7bf7b1ccab", "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct__True__1__0.24176cb1b5", "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_pool_id__True__0.4246141dca", "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_rewards_usd__True__0.65717bc033", "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type.7d4e861773", "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value.34ddcc2ccb", "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_debt.e2d08dec52", "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance.b0e645a132", "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl.6f321ca648", "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct.43ef5d27cc", "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct.0d02b364b5", "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct.9656973b1c", "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_pool_id.7352d1abe5", "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd.de69bca40d", "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_ts.7c76badc22"], "model.synthetix.fct_core_account_delegation_base_mainnet": ["test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_amount_delegated__True__0.5d186a76ca", "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_pool_id__True__0.a18d31544f", "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_account_id.64d4657b45", "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_amount_delegated.c0cf7fdd11", "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_collateral_type.01ebd9c59e", "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_pool_id.c2b6448825", "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_ts.3412be3139"], "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet": ["model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet", "model.synthetix.fct_pool_rewards_hourly_base_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed__True__0.f2c99e8638", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount__True__0.edfffe8350", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_pool_id__True__0.59419d2477", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_price__True__0.5e57dd6ed8", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd__True__0.2f31fe80de", "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed.d339be6768", "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_collateral_type.52b0ac191f", "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor.608c8d5a0a", "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount.294d780f70", "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id.26caff37a4", "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_price.f29ff11a01", "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd.2724c9008d", "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_token_symbol.185f4e6438", "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_ts.b6c015406d"], "model.synthetix.fct_pool_debt_base_mainnet": ["model.synthetix.fct_pool_issuance_hourly_base_mainnet", "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_base_mainnet_pool_id__True__0.a1f5ec7b1b", "test.synthetix.not_null_fct_pool_debt_base_mainnet_block_number.dd32fc50c6", "test.synthetix.not_null_fct_pool_debt_base_mainnet_collateral_type.92a752ffea", "test.synthetix.not_null_fct_pool_debt_base_mainnet_debt.5b37c10505", "test.synthetix.not_null_fct_pool_debt_base_mainnet_pool_id.8e9e20797d", "test.synthetix.not_null_fct_pool_debt_base_mainnet_ts.f49a23ebcd"], "model.synthetix.fct_core_pool_delegation_base_mainnet": ["test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_base_mainnet_pool_id__True__0.4d81a0e2e0", "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_collateral_type.49ff2a0118", "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_pool_id.d338258729", "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_ts.2ed20ab777"], "model.synthetix.fct_core_pool_collateral_base_mainnet": ["test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_amount_deposited.9fabc246a7", "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_collateral_type.63ab148d0c", "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_ts.4e638376c4"], "model.synthetix.fct_core_apr_base_mainnet": ["test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_collateral_value__True__0.09ad3e4f8e", "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_hourly_rewards_pct__True__1__0.615edfd299", "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_pool_id__True__0.6f65c027c2", "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_rewards_usd__True__0.cd9a35763d", "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_24h.5f87709afa", "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_28d.69fcad855f", "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_7d.8545f2f45f", "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_24h.0d59b73826", "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_28d.384e146fdc", "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_7d.d068a55e21", "test.synthetix.not_null_fct_core_apr_base_mainnet_collateral_type.6b18aa87ce", "test.synthetix.not_null_fct_core_apr_base_mainnet_collateral_value.ca0cfe00d9", "test.synthetix.not_null_fct_core_apr_base_mainnet_cumulative_issuance.6b5aeff994", "test.synthetix.not_null_fct_core_apr_base_mainnet_cumulative_pnl.0dfa79c775", "test.synthetix.not_null_fct_core_apr_base_mainnet_debt.3003bbaef9", "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_issuance.58d7e6392e", "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_pnl.aace5f4a92", "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_pnl_pct.709eae57a9", "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_rewards_pct.e5170bb035", "test.synthetix.not_null_fct_core_apr_base_mainnet_pool_id.ec4f69201c", "test.synthetix.not_null_fct_core_apr_base_mainnet_rewards_usd.9770eed99e", "test.synthetix.not_null_fct_core_apr_base_mainnet_ts.fa672a8124"], "model.synthetix.fct_perp_stats_daily_base_mainnet": [], "model.synthetix.fct_perp_tracking_stats_daily_base_mainnet": [], "model.synthetix.fct_perp_market_stats_hourly_base_mainnet": ["model.synthetix.fct_perp_market_stats_daily_base_mainnet", "model.synthetix.fct_perp_stats_hourly_base_mainnet"], "model.synthetix.fct_perp_stats_hourly_base_mainnet": ["model.synthetix.fct_perp_stats_daily_base_mainnet"], "model.synthetix.fct_perp_account_stats_daily_base_mainnet": [], "model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet": ["model.synthetix.fct_perp_keeper_stats_daily_base_mainnet"], "model.synthetix.fct_perp_market_stats_daily_base_mainnet": [], "model.synthetix.fct_perp_account_stats_hourly_base_mainnet": ["model.synthetix.fct_perp_account_stats_daily_base_mainnet"], "model.synthetix.fct_perp_keeper_stats_daily_base_mainnet": [], "model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet": ["model.synthetix.fct_perp_tracking_stats_daily_base_mainnet"], "model.synthetix.fct_spot_markets_base_mainnet": ["test.synthetix.dbt_utils_accepted_range_fct_spot_markets_base_mainnet_id__True__0.51d4e415e8", "test.synthetix.not_null_fct_spot_markets_base_mainnet_block_number.dd426b1fb6", "test.synthetix.not_null_fct_spot_markets_base_mainnet_created_ts.746ff1f9ce", "test.synthetix.not_null_fct_spot_markets_base_mainnet_id.b85cc0ba41", "test.synthetix.not_null_fct_spot_markets_base_mainnet_token_address.454ffd144a"], "model.synthetix.fct_synth_supply_base_mainnet": ["test.synthetix.dbt_utils_accepted_range_fct_synth_supply_base_mainnet_synth_market_id__True__0.cf8aff1a32", "test.synthetix.not_null_fct_synth_supply_base_mainnet_block_number.8686c78edf", "test.synthetix.not_null_fct_synth_supply_base_mainnet_supply.3f0fbdddb9", "test.synthetix.not_null_fct_synth_supply_base_mainnet_synth_market_id.5a00a55aa2", "test.synthetix.not_null_fct_synth_supply_base_mainnet_ts.ab30396a5d"], "model.synthetix.fct_spot_wrapper_base_mainnet": ["model.synthetix.fct_synth_supply_base_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_base_mainnet_synth_market_id__True__0.69216a8846", "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_amount_wrapped.957e1a74f3", "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_block_number.9220599356", "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_id.b1091139a2", "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_synth_market_id.4d8b77f2da", "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_ts.b646319cc9", "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_tx_hash.eb92a57d59", "test.synthetix.unique_fct_spot_wrapper_base_mainnet_id.c51e21223d"], "model.synthetix.fct_spot_atomics_base_mainnet": ["model.synthetix.fct_synth_supply_base_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_base_mainnet_synth_market_id__True__0.09c446094a", "test.synthetix.not_null_fct_spot_atomics_base_mainnet_amount.f9fe9bd5d8", "test.synthetix.not_null_fct_spot_atomics_base_mainnet_block_number.f27d399305", "test.synthetix.not_null_fct_spot_atomics_base_mainnet_id.627bbbf01f", "test.synthetix.not_null_fct_spot_atomics_base_mainnet_price.425623addf", "test.synthetix.not_null_fct_spot_atomics_base_mainnet_referrer.ab87d661dd", "test.synthetix.not_null_fct_spot_atomics_base_mainnet_synth_market_id.6f09447421", "test.synthetix.not_null_fct_spot_atomics_base_mainnet_ts.8e16294c15", "test.synthetix.not_null_fct_spot_atomics_base_mainnet_tx_hash.95b2db0403", "test.synthetix.unique_fct_spot_atomics_base_mainnet_id.43d4b7c878"], "model.synthetix.fct_prices_base_mainnet": ["model.synthetix.fct_prices_hourly_base_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0.4906889fd6", "test.synthetix.not_null_fct_prices_base_mainnet_market_symbol.dc8cb46b8c", "test.synthetix.not_null_fct_prices_base_mainnet_price.a6c62844d1", "test.synthetix.not_null_fct_prices_base_mainnet_ts.c885673fc8"], "model.synthetix.fct_prices_hourly_base_mainnet": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_base_mainnet_price__True__0.1e768deaa2", "test.synthetix.not_null_fct_prices_hourly_base_mainnet_market_symbol.ffd656c11f", "test.synthetix.not_null_fct_prices_hourly_base_mainnet_price.73bbfd891b", "test.synthetix.not_null_fct_prices_hourly_base_mainnet_ts.a2c68d326d"], "model.synthetix.fct_perp_market_history_base_sepolia": ["model.synthetix.fct_prices_base_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_market_id__True__0.ee983a3e48", "test.synthetix.not_null_fct_perp_market_history_base_sepolia_block_number.2243d56672", "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_rate.8b0c11dd33", "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_rate_apr.d67d832c1f", "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_velocity.e94823ecab", "test.synthetix.not_null_fct_perp_market_history_base_sepolia_id.5597cbd783", "test.synthetix.not_null_fct_perp_market_history_base_sepolia_interest_rate.7281d4e302", "test.synthetix.not_null_fct_perp_market_history_base_sepolia_long_rate_apr.12346bb56d", "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_id.bdbb4acce1", "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_symbol.a5c87dfbbc", "test.synthetix.not_null_fct_perp_market_history_base_sepolia_price.701866f2d6", "test.synthetix.not_null_fct_perp_market_history_base_sepolia_short_rate_apr.8f7be1f404", "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size.4ba39d1f97", "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size_delta.a047554669", "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size_usd.38c4eef62e", "test.synthetix.not_null_fct_perp_market_history_base_sepolia_skew.2239f848ce", "test.synthetix.not_null_fct_perp_market_history_base_sepolia_transaction_hash.692634d15d", "test.synthetix.not_null_fct_perp_market_history_base_sepolia_ts.f38b043e70", "test.synthetix.unique_fct_perp_market_history_base_sepolia_id.a6cd45bc6b"], "model.synthetix.fct_perp_accounts_base_sepolia": ["test.synthetix.not_null_fct_perp_accounts_base_sepolia_created_ts.00ac8e7106", "test.synthetix.not_null_fct_perp_accounts_base_sepolia_id.e4031edaa1", "test.synthetix.not_null_fct_perp_accounts_base_sepolia_owner.578268eb9a", "test.synthetix.unique_fct_perp_accounts_base_sepolia_id.1ca885b5ec"], "model.synthetix.fct_perp_previous_order_expired_base_sepolia": ["test.synthetix.accepted_values_fct_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired.e124d4bad8", "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_account_id__True__0.b2f7060dcd", "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_market_id__True__0.b23f5ced4b", "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_account_id.e2bf90a189", "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_block_number.1ff7a5705c", "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_block_timestamp.4b41a82d13", "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_contract.b0da841bdf", "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_event_name.daad0addfa", "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_id.480d04976b", "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_market_id.17181fe5f1", "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_transaction_hash.e1f21d4fd3", "test.synthetix.unique_fct_perp_previous_order_expired_base_sepolia_id.38211e4c5d"], "model.synthetix.fct_perp_interest_charged_base_sepolia": ["test.synthetix.accepted_values_fct_perp_interest_charged_base_sepolia_event_name__InterestCharged.ff861d06a4", "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_account_id__True__0.3edc04f3c6", "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_interest__True__0.cbe80d3cfc", "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_account_id.86fbe78f66", "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_block_number.b5c567e21f", "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_block_timestamp.0a73b599b9", "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_contract.d0f4674d07", "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_event_name.237b079041", "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_id.eb661d1506", "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_interest.201254f262", "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_transaction_hash.aaef59efbb", "test.synthetix.unique_fct_perp_interest_charged_base_sepolia_id.53669ecac5"], "model.synthetix.fct_perp_liq_account_base_sepolia": ["model.synthetix.fct_perp_stats_hourly_base_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_base_sepolia_total_reward__True__0.42888d54ae", "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_account_id.f56cf61194", "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_total_reward.24d48c7864", "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_ts.c34644894f"], "model.synthetix.fct_perp_collateral_modified_base_sepolia": ["test.synthetix.accepted_values_fct_perp_collateral_modified_base_sepolia_event_name__CollateralModified.f6430341ee", "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_base_sepolia_synth_market_id__True__0.6fb45ff630", "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_block_number.36ad8cb4d3", "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_block_timestamp.983f4f7464", "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_contract.e1b2d1c3f1", "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_event_name.0d3e82bc99", "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_id.04ae0ab4fd", "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_sender.36cb6d7913", "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_synth_market_id.a933a52d36", "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_transaction_hash.834ecbfe7f", "test.synthetix.unique_fct_perp_collateral_modified_base_sepolia_id.a5b1b5d44a"], "model.synthetix.fct_perp_trades_base_sepolia": ["model.synthetix.fct_perp_account_stats_hourly_base_sepolia", "model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia", "model.synthetix.fct_perp_market_stats_hourly_base_sepolia", "model.synthetix.fct_perp_tracking_stats_daily_base_sepolia", "model.synthetix.fct_perp_tracking_stats_hourly_base_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_collected_fees__True__0.d4eb8f3a34", "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_exchange_fees__True__0.b3ce206dc8", "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_fill_price__True__0.b3d62542ac", "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_lp_fees__True__0.8a5e6825da", "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_market_id__True__0.67a1e76900", "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_referral_fees__True__0.dc2313066f", "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_settlement_reward__True__0.58cc15e824", "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_total_fees__True__0.68c3f148eb", "test.synthetix.not_null_fct_perp_trades_base_sepolia_account_id.74992c394c", "test.synthetix.not_null_fct_perp_trades_base_sepolia_accrued_funding.fb6b795bff", "test.synthetix.not_null_fct_perp_trades_base_sepolia_block_number.36502e409b", "test.synthetix.not_null_fct_perp_trades_base_sepolia_collected_fees.ac78e5e098", "test.synthetix.not_null_fct_perp_trades_base_sepolia_contract.92feeccb9f", "test.synthetix.not_null_fct_perp_trades_base_sepolia_exchange_fees.72c95e5df3", "test.synthetix.not_null_fct_perp_trades_base_sepolia_fill_price.3633433721", "test.synthetix.not_null_fct_perp_trades_base_sepolia_id.e94cf14cf4", "test.synthetix.not_null_fct_perp_trades_base_sepolia_lp_fees.08774e8672", "test.synthetix.not_null_fct_perp_trades_base_sepolia_market_id.3d4de88cac", "test.synthetix.not_null_fct_perp_trades_base_sepolia_market_symbol.8c61ba2703", "test.synthetix.not_null_fct_perp_trades_base_sepolia_notional_position_size.1d9238ede6", "test.synthetix.not_null_fct_perp_trades_base_sepolia_notional_trade_size.e076755f6b", "test.synthetix.not_null_fct_perp_trades_base_sepolia_pnl.42b0678535", "test.synthetix.not_null_fct_perp_trades_base_sepolia_position_size.d124874e35", "test.synthetix.not_null_fct_perp_trades_base_sepolia_referral_fees.12cd5804dd", "test.synthetix.not_null_fct_perp_trades_base_sepolia_settlement_reward.edb4d5c73f", "test.synthetix.not_null_fct_perp_trades_base_sepolia_settler.b1e9ff8b09", "test.synthetix.not_null_fct_perp_trades_base_sepolia_total_fees.d6fd22951b", "test.synthetix.not_null_fct_perp_trades_base_sepolia_tracking_code.482af3b84b", "test.synthetix.not_null_fct_perp_trades_base_sepolia_trade_size.e5fc6afe64", "test.synthetix.not_null_fct_perp_trades_base_sepolia_transaction_hash.4d4a1afa3d", "test.synthetix.not_null_fct_perp_trades_base_sepolia_ts.76a693976f", "test.synthetix.unique_fct_perp_trades_base_sepolia_id.ceece98634"], "model.synthetix.fct_perp_pnl_base_sepolia": ["test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_base_sepolia_market_id__True__0.2546d9a255", "test.synthetix.not_null_fct_perp_pnl_base_sepolia_market_id.f6d4268d28", "test.synthetix.not_null_fct_perp_pnl_base_sepolia_ts.74b2ae0437"], "model.synthetix.fct_perp_liq_position_base_sepolia": ["model.synthetix.fct_perp_account_stats_hourly_base_sepolia", "model.synthetix.fct_perp_market_stats_hourly_base_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_amount_liquidated__True__0.2ed4eec011", "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_market_id__True__0.def98e4452", "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_position_size__True__0.49ac413695", "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_account_id.8cf46dc9c7", "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_amount_liquidated.a06e8cfcb4", "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_block_number.1e9c90b546", "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_id.79b565b3e1", "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_market_id.781f0844d8", "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_market_symbol.f750183220", "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_position_size.75bf8c09a0", "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_transaction_hash.a0777a2fcc", "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_ts.57135ae312", "test.synthetix.unique_fct_perp_liq_position_base_sepolia_id.115ce32bec"], "model.synthetix.fct_perp_orders_base_sepolia": ["test.synthetix.dbt_utils_accepted_range_fct_perp_orders_base_sepolia_market_id__True__0.fe527d9b61", "test.synthetix.not_null_fct_perp_orders_base_sepolia_account_id.75a8413527", "test.synthetix.not_null_fct_perp_orders_base_sepolia_block_number.46d5d3c316", "test.synthetix.not_null_fct_perp_orders_base_sepolia_contract.17d50e01a2", "test.synthetix.not_null_fct_perp_orders_base_sepolia_id.8dca618afe", "test.synthetix.not_null_fct_perp_orders_base_sepolia_market_id.9c18ced1ce", "test.synthetix.not_null_fct_perp_orders_base_sepolia_market_symbol.ccf5837d32", "test.synthetix.not_null_fct_perp_orders_base_sepolia_transaction_hash.650c93c367", "test.synthetix.not_null_fct_perp_orders_base_sepolia_ts.acaae19ba7", "test.synthetix.unique_fct_perp_orders_base_sepolia_id.55dad680ba"], "model.synthetix.fct_perp_markets_base_sepolia": ["model.synthetix.fct_perp_liq_position_base_sepolia", "model.synthetix.fct_perp_market_history_base_sepolia", "model.synthetix.fct_perp_orders_base_sepolia", "model.synthetix.fct_perp_trades_base_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_base_sepolia_id__True__0.8545400fda", "test.synthetix.not_null_fct_perp_markets_base_sepolia_block_number.5b8bc4dbc4", "test.synthetix.not_null_fct_perp_markets_base_sepolia_created_ts.ec1571d5b3", "test.synthetix.not_null_fct_perp_markets_base_sepolia_id.908ad69766", "test.synthetix.not_null_fct_perp_markets_base_sepolia_market_name.47a0ccb5b2", "test.synthetix.not_null_fct_perp_markets_base_sepolia_market_symbol.e4e36d90ae"], "model.synthetix.fct_buyback_daily_base_sepolia": ["test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_snx_amount__True__0.ab215eff09", "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_usd_amount__True__0.f5fad30aa3", "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_snx_amount__True__0.378a6852a6", "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_usd_amount__True__0.e3dd96895e", "test.synthetix.not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount.c44f071e87", "test.synthetix.not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount.f40974a9be", "test.synthetix.not_null_fct_buyback_daily_base_sepolia_snx_amount.113325e30a", "test.synthetix.not_null_fct_buyback_daily_base_sepolia_ts.0b8a36c44c", "test.synthetix.not_null_fct_buyback_daily_base_sepolia_usd_amount.21bc5d392b"], "model.synthetix.fct_buyback_hourly_base_sepolia": ["test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_snx_amount__True__0.6d52afd421", "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_usd_amount__True__0.e3d3aff3f1", "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_snx_amount__True__0.40ea0d5e88", "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_usd_amount__True__0.89592b2e7d", "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount.806ce65de6", "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount.6347fe374e", "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_snx_amount.a856b40de9", "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_ts.39dec90aa4", "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_usd_amount.4f119280f7"], "model.synthetix.fct_buyback_base_sepolia": ["model.synthetix.fct_buyback_daily_base_sepolia", "model.synthetix.fct_buyback_hourly_base_sepolia", "model.synthetix.fct_prices_base_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0.21bd52e738", "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_snx_price__True__0.fedfb306c2", "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0.7426b61d1a", "test.synthetix.not_null_fct_buyback_base_sepolia_buyer.e7ec385108", "test.synthetix.not_null_fct_buyback_base_sepolia_id.03ec6b8e04", "test.synthetix.not_null_fct_buyback_base_sepolia_snx.39b0dcead2", "test.synthetix.not_null_fct_buyback_base_sepolia_snx_price.361a60f2b3", "test.synthetix.not_null_fct_buyback_base_sepolia_ts.f6314da709", "test.synthetix.not_null_fct_buyback_base_sepolia_usd.427a3c3ca1", "test.synthetix.unique_fct_buyback_base_sepolia_id.ce5fc96649"], "model.synthetix.fct_pool_rewards_base_sepolia": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_amount__True__0.da53fcc671", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_pool_id__True__0.bb2309b03e", "test.synthetix.not_null_fct_pool_rewards_base_sepolia_amount.e8cf1e51d5", "test.synthetix.not_null_fct_pool_rewards_base_sepolia_collateral_type.fcdb4bc8d4", "test.synthetix.not_null_fct_pool_rewards_base_sepolia_distributor.44cab292b1", "test.synthetix.not_null_fct_pool_rewards_base_sepolia_pool_id.8de57769b7", "test.synthetix.not_null_fct_pool_rewards_base_sepolia_token_symbol.7f69f8767a", "test.synthetix.not_null_fct_pool_rewards_base_sepolia_ts.3bc8aeff42"], "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia": ["model.synthetix.fct_core_apr_rewards_base_sepolia"], "model.synthetix.fct_core_pools_base_sepolia": ["test.synthetix.dbt_utils_accepted_range_fct_core_pools_base_sepolia_id__True__0.6010b3107d", "test.synthetix.not_null_fct_core_pools_base_sepolia_block_number.68462f9c7c", "test.synthetix.not_null_fct_core_pools_base_sepolia_created_ts.ddc75dd279", "test.synthetix.not_null_fct_core_pools_base_sepolia_id.b91a0ef35b", "test.synthetix.not_null_fct_core_pools_base_sepolia_owner.e551fe7bc6"], "model.synthetix.fct_pool_issuance_hourly_base_sepolia": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_base_sepolia_pool_id__True__0.9d327cf662", "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type.1a6b56fdf4", "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance.938e34bef0", "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_pool_id.10ae437d68", "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_ts.27f6b37554"], "model.synthetix.fct_pool_issuance_base_sepolia": ["model.synthetix.fct_pool_issuance_hourly_base_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_base_sepolia_pool_id__True__0.e99f9bdac0", "test.synthetix.not_null_fct_pool_issuance_base_sepolia_account_id.aa037160fb", "test.synthetix.not_null_fct_pool_issuance_base_sepolia_amount.5be777c996", "test.synthetix.not_null_fct_pool_issuance_base_sepolia_block_number.2f1e619103", "test.synthetix.not_null_fct_pool_issuance_base_sepolia_collateral_type.3b36d49350", "test.synthetix.not_null_fct_pool_issuance_base_sepolia_pool_id.5d2388a5a0", "test.synthetix.not_null_fct_pool_issuance_base_sepolia_transaction_hash.79420348fa", "test.synthetix.not_null_fct_pool_issuance_base_sepolia_ts.be998526ed"], "model.synthetix.fct_pool_debt_base_sepolia": ["model.synthetix.fct_pool_issuance_hourly_base_sepolia", "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_base_sepolia_pool_id__True__0.0228ac48ff", "test.synthetix.not_null_fct_pool_debt_base_sepolia_block_number.d6752d8232", "test.synthetix.not_null_fct_pool_debt_base_sepolia_collateral_type.5daff7c138", "test.synthetix.not_null_fct_pool_debt_base_sepolia_debt.235edf4e17", "test.synthetix.not_null_fct_pool_debt_base_sepolia_pool_id.bb5f56d624", "test.synthetix.not_null_fct_pool_debt_base_sepolia_ts.955bd8bfe6"], "model.synthetix.fct_pool_rewards_hourly_base_sepolia": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_pool_id__True__0.7fb80d19e2", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_rewards_usd__True__0.a1e92ad42f", "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type.ca06f7aa20", "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_pool_id.9e81c4a855", "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd.f98e64d589", "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_ts.521c0d428a"], "model.synthetix.fct_core_pool_delegation_base_sepolia": ["test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_base_sepolia_pool_id__True__0.6f4bec67e8", "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_collateral_type.6d78a9fae0", "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_pool_id.03e5ee04d2", "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_ts.29b697c43e"], "model.synthetix.fct_core_apr_rewards_base_sepolia": [], "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia": ["model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia", "model.synthetix.fct_pool_rewards_hourly_base_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed__True__0.45dd358d86", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount__True__0.c330c461c1", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_pool_id__True__0.81592c4342", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_price__True__0.5d2650f33d", "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd__True__0.c0730ac36d", "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed.c0f649a5e2", "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_collateral_type.d1a6cde42d", "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor.e0a88ca283", "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount.52789db2ec", "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id.be2709e1ec", "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_price.f86d19c3a1", "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd.d3001484ac", "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_token_symbol.0efe3d5a1b", "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_ts.965132b4de"], "model.synthetix.fct_core_market_updated_base_sepolia": ["test.synthetix.accepted_values_fct_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.f97649ec10", "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_base_sepolia_market_id__True__0.9ac29d575a", "test.synthetix.not_null_fct_core_market_updated_base_sepolia_collateral_type.5333cf7124", "test.synthetix.not_null_fct_core_market_updated_base_sepolia_credit_capacity.1096ceee18", "test.synthetix.not_null_fct_core_market_updated_base_sepolia_event_name.027b71247d", "test.synthetix.not_null_fct_core_market_updated_base_sepolia_id.34d77ebc84", "test.synthetix.not_null_fct_core_market_updated_base_sepolia_market_id.e1e1cc407f", "test.synthetix.not_null_fct_core_market_updated_base_sepolia_net_issuance.094fc9701e", "test.synthetix.not_null_fct_core_market_updated_base_sepolia_token_amount.dfd33d6c7e", "test.synthetix.not_null_fct_core_market_updated_base_sepolia_transaction_hash.8b87578f5d", "test.synthetix.not_null_fct_core_market_updated_base_sepolia_ts.9f306426fd", "test.synthetix.unique_fct_core_market_updated_base_sepolia_id.469dae108f"], "model.synthetix.fct_core_apr_base_sepolia": ["test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_collateral_value__True__0.50d2b91f46", "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_hourly_rewards_pct__True__1__0.6c15e31d20", "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_pool_id__True__0.dca944c591", "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_rewards_usd__True__0.090c92559d", "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_24h.275116a918", "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_28d.e099bf170a", "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_7d.cfc4ec14a3", "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_24h.b04b5222f4", "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_28d.1e8e0632e0", "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_7d.45a63722a9", "test.synthetix.not_null_fct_core_apr_base_sepolia_collateral_type.7a5590eb90", "test.synthetix.not_null_fct_core_apr_base_sepolia_collateral_value.6b7be2743f", "test.synthetix.not_null_fct_core_apr_base_sepolia_cumulative_issuance.5f3ec9bec1", "test.synthetix.not_null_fct_core_apr_base_sepolia_cumulative_pnl.ce3ab4e606", "test.synthetix.not_null_fct_core_apr_base_sepolia_debt.fadc5bb67a", "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_issuance.2fcf5254d1", "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_pnl.75c8c54189", "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_pnl_pct.d827dc6b5f", "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_rewards_pct.adeb7db337", "test.synthetix.not_null_fct_core_apr_base_sepolia_pool_id.a2ea5cc601", "test.synthetix.not_null_fct_core_apr_base_sepolia_rewards_usd.0b9d66ba19", "test.synthetix.not_null_fct_core_apr_base_sepolia_ts.2cc1721326"], "model.synthetix.fct_core_account_delegation_base_sepolia": ["test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_amount_delegated__True__0.2258d23e98", "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_pool_id__True__0.508b8be78d", "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_account_id.71a1fd9dac", "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_amount_delegated.07444b44f4", "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_collateral_type.dc085beb88", "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_pool_id.8eb393e4f4", "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_ts.4b517eadb1"], "model.synthetix.fct_pool_pnl_hourly_base_sepolia": ["model.synthetix.fct_core_apr_base_sepolia", "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_collateral_value__True__0.4f1a814d7b", "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct__True__1__0.3ae208ff52", "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_pool_id__True__0.05c766378f", "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_rewards_usd__True__0.9baf8da1f5", "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type.1eca6afa4f", "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value.02a125e570", "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_debt.27270b83bd", "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance.64beeb7093", "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl.1b2d20f29b", "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct.5e738de9f7", "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct.d3c5df3f72", "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct.32d5d04358", "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_pool_id.c9853b1694", "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd.3d8b12547d", "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_ts.5acc26229f"], "model.synthetix.fct_core_pool_collateral_base_sepolia": ["test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_amount_deposited.c9a6a6e3d1", "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_collateral_type.98bdc1fe0e", "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_ts.706747681b"], "model.synthetix.fct_perp_keeper_stats_daily_base_sepolia": [], "model.synthetix.fct_perp_stats_daily_base_sepolia": [], "model.synthetix.fct_perp_account_stats_hourly_base_sepolia": ["model.synthetix.fct_perp_account_stats_daily_base_sepolia"], "model.synthetix.fct_perp_market_stats_hourly_base_sepolia": ["model.synthetix.fct_perp_market_stats_daily_base_sepolia", "model.synthetix.fct_perp_stats_hourly_base_sepolia"], "model.synthetix.fct_perp_account_stats_daily_base_sepolia": [], "model.synthetix.fct_perp_stats_hourly_base_sepolia": ["model.synthetix.fct_perp_stats_daily_base_sepolia"], "model.synthetix.fct_perp_market_stats_daily_base_sepolia": [], "model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia": ["model.synthetix.fct_perp_keeper_stats_daily_base_sepolia"], "model.synthetix.fct_perp_tracking_stats_daily_base_sepolia": [], "model.synthetix.fct_perp_tracking_stats_hourly_base_sepolia": ["model.synthetix.fct_perp_tracking_stats_daily_base_sepolia"], "model.synthetix.fct_synth_supply_base_sepolia": ["test.synthetix.dbt_utils_accepted_range_fct_synth_supply_base_sepolia_synth_market_id__True__0.1c097f1721", "test.synthetix.not_null_fct_synth_supply_base_sepolia_block_number.f0997efcd8", "test.synthetix.not_null_fct_synth_supply_base_sepolia_supply.a13743a375", "test.synthetix.not_null_fct_synth_supply_base_sepolia_synth_market_id.75d7df8ce8", "test.synthetix.not_null_fct_synth_supply_base_sepolia_ts.0e3cf0c2f2"], "model.synthetix.fct_spot_wrapper_base_sepolia": ["model.synthetix.fct_synth_supply_base_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_base_sepolia_synth_market_id__True__0.f4eedf4f3f", "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_amount_wrapped.447890a6f4", "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_block_number.05149fa391", "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_id.6458cf0796", "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_synth_market_id.54687d51aa", "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_ts.8708b13a31", "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_tx_hash.0df62cff0d", "test.synthetix.unique_fct_spot_wrapper_base_sepolia_id.3a2fb8ee86"], "model.synthetix.fct_spot_atomics_base_sepolia": ["model.synthetix.fct_synth_supply_base_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_base_sepolia_synth_market_id__True__0.391b470dd2", "test.synthetix.not_null_fct_spot_atomics_base_sepolia_amount.81264c756d", "test.synthetix.not_null_fct_spot_atomics_base_sepolia_block_number.16d75a4323", "test.synthetix.not_null_fct_spot_atomics_base_sepolia_id.dfc0db9ed4", "test.synthetix.not_null_fct_spot_atomics_base_sepolia_price.ce30d003ce", "test.synthetix.not_null_fct_spot_atomics_base_sepolia_referrer.7533de1c2b", "test.synthetix.not_null_fct_spot_atomics_base_sepolia_synth_market_id.e8f636df14", "test.synthetix.not_null_fct_spot_atomics_base_sepolia_ts.4bca6422cc", "test.synthetix.not_null_fct_spot_atomics_base_sepolia_tx_hash.6d969998c6", "test.synthetix.unique_fct_spot_atomics_base_sepolia_id.6c8ed0bc2a"], "model.synthetix.fct_spot_markets_base_sepolia": ["test.synthetix.dbt_utils_accepted_range_fct_spot_markets_base_sepolia_id__True__0.f6b3a1dac3", "test.synthetix.not_null_fct_spot_markets_base_sepolia_block_number.25cd7e84c0", "test.synthetix.not_null_fct_spot_markets_base_sepolia_created_ts.69423c5ddb", "test.synthetix.not_null_fct_spot_markets_base_sepolia_id.a355928e0f", "test.synthetix.not_null_fct_spot_markets_base_sepolia_token_address.af639aa1d2"], "model.synthetix.fct_prices_base_sepolia": ["model.synthetix.fct_prices_hourly_base_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0.78bfe2f46a", "test.synthetix.not_null_fct_prices_base_sepolia_market_symbol.e2a8214091", "test.synthetix.not_null_fct_prices_base_sepolia_price.3c29a949cf", "test.synthetix.not_null_fct_prices_base_sepolia_ts.2875b0c397"], "model.synthetix.fct_prices_hourly_base_sepolia": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_base_sepolia_price__True__0.9b4c65b6bd", "test.synthetix.not_null_fct_prices_hourly_base_sepolia_market_symbol.35c2706bfd", "test.synthetix.not_null_fct_prices_hourly_base_sepolia_price.e263ee2224", "test.synthetix.not_null_fct_prices_hourly_base_sepolia_ts.fc60cfbaeb"], "seed.synthetix.eth_mainnet_tokens": ["model.synthetix.fct_prices_eth_mainnet"], "seed.synthetix.base_mainnet_tokens": ["model.synthetix.fct_prices_base_mainnet", "test.synthetix.not_null_base_mainnet_tokens_token_address.47a3f5acd2", "test.synthetix.not_null_base_mainnet_tokens_token_symbol.77007fd576"], "seed.synthetix.arbitrum_sepolia_tokens": ["model.synthetix.fct_prices_arbitrum_sepolia", "test.synthetix.not_null_arbitrum_sepolia_tokens_token_address.9daa149fb1", "test.synthetix.not_null_arbitrum_sepolia_tokens_token_symbol.17ecd3a7d8"], "seed.synthetix.base_sepolia_tokens": ["model.synthetix.fct_prices_base_sepolia", "test.synthetix.not_null_base_sepolia_tokens_token_address.73f3c4e0ef", "test.synthetix.not_null_base_sepolia_tokens_token_symbol.1afdd41b38"], "seed.synthetix.arbitrum_mainnet_tokens": ["model.synthetix.fct_prices_arbitrum_mainnet", "test.synthetix.not_null_arbitrum_mainnet_tokens_token_address.08d3db4ee2", "test.synthetix.not_null_arbitrum_mainnet_tokens_token_symbol.619d115f2e"], "seed.synthetix.arbitrum_sepolia_reward_distributors": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia", "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_distributor_address.6379395bc6", "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_token_symbol.62adebb178"], "seed.synthetix.eth_mainnet_reward_distributors": ["model.synthetix.fct_pool_rewards_eth_mainnet"], "seed.synthetix.base_mainnet_reward_distributors": ["model.synthetix.fct_pool_rewards_base_mainnet", "test.synthetix.not_null_base_mainnet_reward_distributors_distributor_address.d0aab9bee0", "test.synthetix.not_null_base_mainnet_reward_distributors_token_symbol.d94311a8fc"], "seed.synthetix.base_sepolia_reward_distributors": ["model.synthetix.fct_pool_rewards_base_sepolia", "test.synthetix.not_null_base_sepolia_reward_distributors_distributor_address.08551b149c", "test.synthetix.not_null_base_sepolia_reward_distributors_token_symbol.37319f3c5c"], "seed.synthetix.arbitrum_mainnet_reward_distributors": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet", "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_distributor_address.700581d5a6", "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_token_symbol.a65060c57e"], "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_distributor_address.700581d5a6": [], "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_token_symbol.a65060c57e": [], "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_distributor_address.6379395bc6": [], "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_token_symbol.62adebb178": [], "test.synthetix.not_null_base_mainnet_reward_distributors_distributor_address.d0aab9bee0": [], "test.synthetix.not_null_base_mainnet_reward_distributors_token_symbol.d94311a8fc": [], "test.synthetix.not_null_base_sepolia_reward_distributors_distributor_address.08551b149c": [], "test.synthetix.not_null_base_sepolia_reward_distributors_token_symbol.37319f3c5c": [], "test.synthetix.not_null_arbitrum_mainnet_tokens_token_address.08d3db4ee2": [], "test.synthetix.not_null_arbitrum_mainnet_tokens_token_symbol.619d115f2e": [], "test.synthetix.not_null_arbitrum_sepolia_tokens_token_address.9daa149fb1": [], "test.synthetix.not_null_arbitrum_sepolia_tokens_token_symbol.17ecd3a7d8": [], "test.synthetix.not_null_base_mainnet_tokens_token_address.47a3f5acd2": [], "test.synthetix.not_null_base_mainnet_tokens_token_symbol.77007fd576": [], "test.synthetix.not_null_base_sepolia_tokens_token_address.73f3c4e0ef": [], "test.synthetix.not_null_base_sepolia_tokens_token_symbol.1afdd41b38": [], "test.synthetix.not_null_blocks_eth_mainnet_block_number.aba38b4904": [], "test.synthetix.unique_blocks_eth_mainnet_block_number.ddb4ca7d09": [], "test.synthetix.dbt_utils_recency_blocks_eth_mainnet_hour__ts__1.7c6c4534db": [], "test.synthetix.not_null_core_account_created_eth_mainnet_owner.9141d07512": [], "test.synthetix.not_null_core_account_created_eth_mainnet_account_id.162a9a11ae": [], "test.synthetix.dbt_utils_accepted_range_core_account_created_eth_mainnet_account_id__True__0.4d9379ebdc": [], "test.synthetix.not_null_core_account_created_eth_mainnet_id.0d5cd71e99": [], "test.synthetix.unique_core_account_created_eth_mainnet_id.51b373b820": [], "test.synthetix.not_null_core_account_created_eth_mainnet_transaction_hash.5349e51024": [], "test.synthetix.not_null_core_account_created_eth_mainnet_block_number.be5f037644": [], "test.synthetix.not_null_core_account_created_eth_mainnet_block_timestamp.8287155cde": [], "test.synthetix.not_null_core_account_created_eth_mainnet_event_name.5a44f6813f": [], "test.synthetix.accepted_values_core_account_created_eth_mainnet_event_name__AccountCreated.7bff7383b3": [], "test.synthetix.not_null_core_account_created_eth_mainnet_contract.84cae83ab9": [], "test.synthetix.not_null_core_account_migrated_eth_mainnet_staker.cb3d4f410b": [], "test.synthetix.not_null_core_account_migrated_eth_mainnet_account_id.6263532792": [], "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_account_id__True__0.f1da2d38e8": [], "test.synthetix.not_null_core_account_migrated_eth_mainnet_id.3f18fc79cf": [], "test.synthetix.unique_core_account_migrated_eth_mainnet_id.b21ce76ba7": [], "test.synthetix.not_null_core_account_migrated_eth_mainnet_transaction_hash.bb710f8259": [], "test.synthetix.not_null_core_account_migrated_eth_mainnet_block_number.8a5aa490b5": [], "test.synthetix.not_null_core_account_migrated_eth_mainnet_block_timestamp.29c8a3ae97": [], "test.synthetix.not_null_core_account_migrated_eth_mainnet_event_name.969c074241": [], "test.synthetix.not_null_core_account_migrated_eth_mainnet_contract.ccd34b4a40": [], "test.synthetix.not_null_core_account_migrated_eth_mainnet_collateral_amount.3673a78a7a": [], "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_collateral_amount__True__0.b1df54815d": [], "test.synthetix.not_null_core_account_migrated_eth_mainnet_debt_amount.37622c6a60": [], "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_debt_amount__True__0.a8e29325c2": [], "test.synthetix.not_null_core_delegation_updated_eth_mainnet_contract.5d369822a4": [], "test.synthetix.not_null_core_delegation_updated_eth_mainnet_id.622c20c239": [], "test.synthetix.unique_core_delegation_updated_eth_mainnet_id.2467edf8ec": [], "test.synthetix.not_null_core_delegation_updated_eth_mainnet_account_id.141fb0f466": [], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_account_id__True__0.3a3f9a0475": [], "test.synthetix.not_null_core_delegation_updated_eth_mainnet_collateral_type.e3d73862e4": [], "test.synthetix.not_null_core_delegation_updated_eth_mainnet_pool_id.914b411c12": [], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_pool_id__True__0.fb370aa2ca": [], "test.synthetix.not_null_core_delegation_updated_eth_mainnet_sender.3a40ed8f3a": [], "test.synthetix.not_null_core_delegation_updated_eth_mainnet_block_timestamp.cd7fa2f4ff": [], "test.synthetix.not_null_core_delegation_updated_eth_mainnet_block_number.5479fa5e08": [], "test.synthetix.not_null_core_delegation_updated_eth_mainnet_leverage.3edfe7323e": [], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_leverage__True__1000000000000000000__1000000000000000000.eb061a2128": [], "test.synthetix.not_null_core_delegation_updated_eth_mainnet_transaction_hash.048b7a5c68": [], "test.synthetix.not_null_core_delegation_updated_eth_mainnet_amount.256481de3c": [], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_amount__True__0.94b97c0270": [], "test.synthetix.not_null_core_delegation_updated_eth_mainnet_event_name.69b76075f5": [], "test.synthetix.accepted_values_core_delegation_updated_eth_mainnet_event_name__DelegationUpdated.ec623b86f2": [], "test.synthetix.not_null_core_deposited_eth_mainnet_collateral_type.f940e4eba6": [], "test.synthetix.not_null_core_deposited_eth_mainnet_id.9c5a20c527": [], "test.synthetix.unique_core_deposited_eth_mainnet_id.97fd3624a5": [], "test.synthetix.not_null_core_deposited_eth_mainnet_contract.d1fbae48f5": [], "test.synthetix.not_null_core_deposited_eth_mainnet_event_name.e185f199f1": [], "test.synthetix.accepted_values_core_deposited_eth_mainnet_event_name__Deposited.18727c72b0": [], "test.synthetix.not_null_core_deposited_eth_mainnet_transaction_hash.7087a2e09e": [], "test.synthetix.not_null_core_deposited_eth_mainnet_account_id.527d2b71c3": [], "test.synthetix.dbt_utils_accepted_range_core_deposited_eth_mainnet_account_id__True__0.5e26b84f6a": [], "test.synthetix.not_null_core_deposited_eth_mainnet_sender.4c70b365da": [], "test.synthetix.not_null_core_deposited_eth_mainnet_block_timestamp.6194c9ac03": [], "test.synthetix.not_null_core_deposited_eth_mainnet_block_number.5e2350a777": [], "test.synthetix.not_null_core_deposited_eth_mainnet_token_amount.dc8696c011": [], "test.synthetix.dbt_utils_accepted_range_core_deposited_eth_mainnet_token_amount__True__0.a57f2edd1b": [], "test.synthetix.not_null_core_withdrawn_eth_mainnet_block_timestamp.b6326ea438": [], "test.synthetix.not_null_core_withdrawn_eth_mainnet_contract.a4eb9c51f7": [], "test.synthetix.not_null_core_withdrawn_eth_mainnet_block_number.74ee30eaa5": [], "test.synthetix.not_null_core_withdrawn_eth_mainnet_transaction_hash.6b6f75c74b": [], "test.synthetix.not_null_core_withdrawn_eth_mainnet_token_amount.d3547c3837": [], "test.synthetix.dbt_utils_accepted_range_core_withdrawn_eth_mainnet_token_amount__True__0.8bd25add1c": [], "test.synthetix.not_null_core_withdrawn_eth_mainnet_collateral_type.28458fb6de": [], "test.synthetix.not_null_core_withdrawn_eth_mainnet_account_id.7846828c26": [], "test.synthetix.dbt_utils_accepted_range_core_withdrawn_eth_mainnet_account_id__True__0.cdf381b428": [], "test.synthetix.not_null_core_withdrawn_eth_mainnet_id.b0e6ed95b5": [], "test.synthetix.unique_core_withdrawn_eth_mainnet_id.3d5210133c": [], "test.synthetix.not_null_core_withdrawn_eth_mainnet_sender.b7bc5bdadc": [], "test.synthetix.not_null_core_withdrawn_eth_mainnet_event_name.2d3b6771d6": [], "test.synthetix.accepted_values_core_withdrawn_eth_mainnet_event_name__Withdrawn.cbf35f5a80": [], "test.synthetix.not_null_core_liquidation_eth_mainnet_pool_id.0966ab4339": [], "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_pool_id__True__0.0b09af0400": [], "test.synthetix.not_null_core_liquidation_eth_mainnet_block_timestamp.c85990976a": [], "test.synthetix.not_null_core_liquidation_eth_mainnet_block_number.8c6c1cbe38": [], "test.synthetix.not_null_core_liquidation_eth_mainnet_id.8175916dcc": [], "test.synthetix.unique_core_liquidation_eth_mainnet_id.05a09be0f1": [], "test.synthetix.not_null_core_liquidation_eth_mainnet_contract.05fe5f9d13": [], "test.synthetix.not_null_core_liquidation_eth_mainnet_event_name.a70ed0a4dd": [], "test.synthetix.accepted_values_core_liquidation_eth_mainnet_event_name__Liquidation.10d3a28f0f": [], "test.synthetix.not_null_core_liquidation_eth_mainnet_collateral_type.59a2516e40": [], "test.synthetix.not_null_core_liquidation_eth_mainnet_sender.734f70adf9": [], "test.synthetix.not_null_core_liquidation_eth_mainnet_account_id.13c94e5d02": [], "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_account_id__True__0.d050e2f72d": [], "test.synthetix.not_null_core_liquidation_eth_mainnet_transaction_hash.e3478512f6": [], "test.synthetix.not_null_core_liquidation_eth_mainnet_liquidate_as_account_id.778690c632": [], "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_liquidate_as_account_id__True__0.02ffa79c7a": [], "test.synthetix.not_null_core_market_updated_eth_mainnet_id.f7dedb5ddb": [], "test.synthetix.unique_core_market_updated_eth_mainnet_id.7cd00231f1": [], "test.synthetix.not_null_core_market_updated_eth_mainnet_block_timestamp.683bea78d4": [], "test.synthetix.not_null_core_market_updated_eth_mainnet_block_number.f4a7497fbe": [], "test.synthetix.not_null_core_market_updated_eth_mainnet_transaction_hash.3a0d8e52a3": [], "test.synthetix.not_null_core_market_updated_eth_mainnet_contract.97f87c3b4a": [], "test.synthetix.not_null_core_market_updated_eth_mainnet_event_name.6d64c2a842": [], "test.synthetix.accepted_values_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.7de7687ac0": [], "test.synthetix.not_null_core_market_updated_eth_mainnet_market_id.649fb28529": [], "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_market_id__True__0.58438c84b4": [], "test.synthetix.not_null_core_market_updated_eth_mainnet_net_issuance.3e92a0dc4a": [], "test.synthetix.not_null_core_market_updated_eth_mainnet_deposited_collateral_value.93b2bdea02": [], "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_deposited_collateral_value__True__0.06de946dba": [], "test.synthetix.not_null_core_market_updated_eth_mainnet_sender.12a64a65ef": [], "test.synthetix.not_null_core_market_updated_eth_mainnet_collateral_type.c83211fd2f": [], "test.synthetix.not_null_core_market_updated_eth_mainnet_credit_capacity.baa89e2e5a": [], "test.synthetix.not_null_core_market_updated_eth_mainnet_token_amount.a9f6d4a588": [], "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_token_amount__True__0.fdf0db60b7": [], "test.synthetix.not_null_core_market_registered_eth_mainnet_market.fccda96dc8": [], "test.synthetix.not_null_core_market_registered_eth_mainnet_market_id.2e945dec67": [], "test.synthetix.unique_core_market_registered_eth_mainnet_market_id.496c543395": [], "test.synthetix.not_null_core_market_registered_eth_mainnet_id.35b1e4e0f3": [], "test.synthetix.unique_core_market_registered_eth_mainnet_id.ae732b851b": [], "test.synthetix.not_null_core_market_registered_eth_mainnet_block_timestamp.0b8054a50c": [], "test.synthetix.not_null_core_market_registered_eth_mainnet_contract.f582853f53": [], "test.synthetix.not_null_core_market_registered_eth_mainnet_transaction_hash.7c581f179e": [], "test.synthetix.not_null_core_market_registered_eth_mainnet_block_number.7eec7e8f2c": [], "test.synthetix.not_null_core_market_registered_eth_mainnet_event_name.0d26c502fa": [], "test.synthetix.accepted_values_core_market_registered_eth_mainnet_event_name__MarketRegistered.db8e4ac8d2": [], "test.synthetix.not_null_core_market_registered_eth_mainnet_sender.6e63d1acbc": [], "test.synthetix.not_null_core_pool_created_eth_mainnet_contract.31bb49a3da": [], "test.synthetix.not_null_core_pool_created_eth_mainnet_sender.0e2161372e": [], "test.synthetix.not_null_core_pool_created_eth_mainnet_block_timestamp.edc63e1dd6": [], "test.synthetix.not_null_core_pool_created_eth_mainnet_id.d903c0dfc4": [], "test.synthetix.unique_core_pool_created_eth_mainnet_id.8a7d542185": [], "test.synthetix.not_null_core_pool_created_eth_mainnet_block_number.2f99b31050": [], "test.synthetix.not_null_core_pool_created_eth_mainnet_transaction_hash.c51273100e": [], "test.synthetix.not_null_core_pool_created_eth_mainnet_event_name.86049849e6": [], "test.synthetix.accepted_values_core_pool_created_eth_mainnet_event_name__PoolCreated.109464a698": [], "test.synthetix.not_null_core_pool_created_eth_mainnet_owner.4ac2c4d7d7": [], "test.synthetix.not_null_core_pool_created_eth_mainnet_pool_id.6662208418": [], "test.synthetix.dbt_utils_accepted_range_core_pool_created_eth_mainnet_pool_id__True__0.7c8df298df": [], "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_transaction_hash.db7f7a63db": [], "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_account_id.a671c2ed40": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_account_id__True__0.7eae5581d0": [], "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_collateral_type.440762309c": [], "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_event_name.b83d684e5d": [], "test.synthetix.accepted_values_core_rewards_claimed_eth_mainnet_event_name__RewardsClaimed.e5c952f144": [], "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_contract.fba4f37c05": [], "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_amount.aa1ebaa88c": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_amount__True__0.8d7de0dad3": [], "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_distributor.728609281c": [], "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_block_timestamp.890e664a3c": [], "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_id.d534df2fd8": [], "test.synthetix.unique_core_rewards_claimed_eth_mainnet_id.b73c8da16c": [], "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_pool_id.760bae7f85": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_pool_id__True__0.4ee2d574e0": [], "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_block_number.fb82a92db5": [], "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_id.cb5898e934": [], "test.synthetix.unique_core_rewards_distributed_eth_mainnet_id.48f45b85d1": [], "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_event_name.193bdd11d3": [], "test.synthetix.accepted_values_core_rewards_distributed_eth_mainnet_event_name__RewardsDistributed.fae0bd904b": [], "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_amount.a39a6908b6": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_amount__True__0.43de804120": [], "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_contract.4cb5b10595": [], "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_block_timestamp.f066e2381d": [], "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_transaction_hash.dd811ca405": [], "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_collateral_type.2475fcd59d": [], "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_block_number.79a91ea969": [], "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_duration.07b5947e7c": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_duration__True__0.7d6965f572": [], "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_distributor.7022e12146": [], "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_pool_id.059709c3dd": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_pool_id__True__0.37dd01cd96": [], "test.synthetix.not_null_core_usd_burned_eth_mainnet_amount.45ebd0ede8": [], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_amount__True__0.7cba0ca593": [], "test.synthetix.not_null_core_usd_burned_eth_mainnet_pool_id.e4d58d3b63": [], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_pool_id__True__0.cc44e47fc8": [], "test.synthetix.not_null_core_usd_burned_eth_mainnet_event_name.7f0fc644d5": [], "test.synthetix.accepted_values_core_usd_burned_eth_mainnet_event_name__UsdBurned.1eb7853972": [], "test.synthetix.not_null_core_usd_burned_eth_mainnet_id.161a49599f": [], "test.synthetix.unique_core_usd_burned_eth_mainnet_id.482b04a60c": [], "test.synthetix.not_null_core_usd_burned_eth_mainnet_block_number.b5e8a371fc": [], "test.synthetix.not_null_core_usd_burned_eth_mainnet_account_id.fc5fb3a0e5": [], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_account_id__True__0.6d8f7f7d85": [], "test.synthetix.not_null_core_usd_burned_eth_mainnet_sender.62bbe0ad28": [], "test.synthetix.not_null_core_usd_burned_eth_mainnet_transaction_hash.e57add79d6": [], "test.synthetix.not_null_core_usd_burned_eth_mainnet_contract.f9009e6423": [], "test.synthetix.not_null_core_usd_burned_eth_mainnet_collateral_type.6dbc31d2ac": [], "test.synthetix.not_null_core_usd_burned_eth_mainnet_block_timestamp.616215c03f": [], "test.synthetix.not_null_core_usd_minted_eth_mainnet_pool_id.dd8998f0f3": [], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_pool_id__True__0.2d561e9842": [], "test.synthetix.not_null_core_usd_minted_eth_mainnet_block_timestamp.e1477f67df": [], "test.synthetix.not_null_core_usd_minted_eth_mainnet_account_id.e32d9e9621": [], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_account_id__True__0.b6d81dac3d": [], "test.synthetix.not_null_core_usd_minted_eth_mainnet_collateral_type.3bc61e56d9": [], "test.synthetix.not_null_core_usd_minted_eth_mainnet_block_number.8475901994": [], "test.synthetix.not_null_core_usd_minted_eth_mainnet_id.5b1199f72c": [], "test.synthetix.unique_core_usd_minted_eth_mainnet_id.ccad3381ec": [], "test.synthetix.not_null_core_usd_minted_eth_mainnet_sender.31025fd349": [], "test.synthetix.not_null_core_usd_minted_eth_mainnet_amount.d50e5f0da5": [], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_amount__True__0.17e2d727c5": [], "test.synthetix.not_null_core_usd_minted_eth_mainnet_event_name.061c40bc0a": [], "test.synthetix.accepted_values_core_usd_minted_eth_mainnet_event_name__UsdMinted.c8d883ddfa": [], "test.synthetix.not_null_core_usd_minted_eth_mainnet_transaction_hash.dba64c6cd2": [], "test.synthetix.not_null_core_usd_minted_eth_mainnet_contract.2287afa612": [], "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_transaction_hash.5e22cb6ded": [], "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_collateral_type.22405706c4": [], "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_pool_id.ca9bfaf7f3": [], "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_pool_id__True__0.cccb8c7cca": [], "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_event_name.e6bd41012e": [], "test.synthetix.accepted_values_core_vault_liquidation_eth_mainnet_event_name__VaultLiquidation.8d1cb5eebf": [], "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_id.11becd0eff": [], "test.synthetix.unique_core_vault_liquidation_eth_mainnet_id.9b474978a9": [], "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_block_timestamp.439cb16960": [], "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_liquidate_as_account_id.978ffc7da9": [], "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_liquidate_as_account_id__True__0.a9d184de0a": [], "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_liquidation_data.485b65c6b5": [], "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_contract.65501d763b": [], "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_block_number.39193d7213": [], "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_sender.03a447332b": [], "test.synthetix.not_null_core_vault_collateral_eth_mainnet_ts.dc63e45225": [], "test.synthetix.not_null_core_vault_collateral_eth_mainnet_block_number.68d8b02925": [], "test.synthetix.not_null_core_vault_collateral_eth_mainnet_pool_id.f31cb4b3e6": [], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_pool_id__True__0.509da6a489": [], "test.synthetix.not_null_core_vault_collateral_eth_mainnet_collateral_type.9ba1fda62f": [], "test.synthetix.not_null_core_vault_collateral_eth_mainnet_amount.62dc926f36": [], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_amount__True__0.320b16493d": [], "test.synthetix.not_null_core_vault_collateral_eth_mainnet_collateral_value.53d42edc8a": [], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_collateral_value__True__0.17170969dc": [], "test.synthetix.not_null_core_vault_collateral_eth_mainnet_contract_address.8b336867d2": [], "test.synthetix.not_null_core_vault_debt_eth_mainnet_ts.3b5cb40175": [], "test.synthetix.not_null_core_vault_debt_eth_mainnet_block_number.930416e329": [], "test.synthetix.not_null_core_vault_debt_eth_mainnet_pool_id.2f8f15549f": [], "test.synthetix.dbt_utils_accepted_range_core_vault_debt_eth_mainnet_pool_id__True__0.55f388e287": [], "test.synthetix.not_null_core_vault_debt_eth_mainnet_collateral_type.557a042f2b": [], "test.synthetix.not_null_core_vault_debt_eth_mainnet_debt.a314c480fe": [], "test.synthetix.not_null_core_vault_debt_eth_mainnet_contract_address.d43dcb9614": [], "test.synthetix.not_null_blocks_arbitrum_mainnet_block_number.60351acf6d": [], "test.synthetix.unique_blocks_arbitrum_mainnet_block_number.d70bece923": [], "test.synthetix.dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1.e5882e697a": [], "test.synthetix.not_null_core_account_created_arbitrum_mainnet_owner.510bc65b8e": [], "test.synthetix.not_null_core_account_created_arbitrum_mainnet_account_id.80fd41e8a3": [], "test.synthetix.dbt_utils_accepted_range_core_account_created_arbitrum_mainnet_account_id__True__0.1a60fd1c13": [], "test.synthetix.not_null_core_account_created_arbitrum_mainnet_id.ccb85216a1": [], "test.synthetix.unique_core_account_created_arbitrum_mainnet_id.572cf5cf85": [], "test.synthetix.not_null_core_account_created_arbitrum_mainnet_transaction_hash.ca429d274c": [], "test.synthetix.not_null_core_account_created_arbitrum_mainnet_block_number.ad85823ab6": [], "test.synthetix.not_null_core_account_created_arbitrum_mainnet_block_timestamp.707ea51d9b": [], "test.synthetix.not_null_core_account_created_arbitrum_mainnet_event_name.f044350ea8": [], "test.synthetix.accepted_values_core_account_created_arbitrum_mainnet_event_name__AccountCreated.8d24ea0d1c": [], "test.synthetix.not_null_core_account_created_arbitrum_mainnet_contract.51a2890c59": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_contract.ae8a4f4c27": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_id.a1e63ca6e1": [], "test.synthetix.unique_core_delegation_updated_arbitrum_mainnet_id.53afc27917": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_account_id.1f6cadcc5d": [], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_account_id__True__0.eb3b030871": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_collateral_type.ca955a713e": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_pool_id.0fcc7a403c": [], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_pool_id__True__0.ceaf47901a": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_sender.7b21b54d07": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_block_timestamp.bf7b6f5a50": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_block_number.e7dff1a919": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_leverage.e240b1993e": [], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_leverage__True__1000000000000000000__1000000000000000000.fa830910e7": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_transaction_hash.df3b0b1ada": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_amount.790af0bbca": [], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_amount__True__0.4dc42e5b67": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_event_name.124ce539d9": [], "test.synthetix.accepted_values_core_delegation_updated_arbitrum_mainnet_event_name__DelegationUpdated.8158a7cafc": [], "test.synthetix.not_null_core_deposited_arbitrum_mainnet_collateral_type.42a3d10d97": [], "test.synthetix.not_null_core_deposited_arbitrum_mainnet_id.2f7b341009": [], "test.synthetix.unique_core_deposited_arbitrum_mainnet_id.65592bb86d": [], "test.synthetix.not_null_core_deposited_arbitrum_mainnet_contract.a2cd7b2bb5": [], "test.synthetix.not_null_core_deposited_arbitrum_mainnet_event_name.8f5b81cb40": [], "test.synthetix.accepted_values_core_deposited_arbitrum_mainnet_event_name__Deposited.63620c995c": [], "test.synthetix.not_null_core_deposited_arbitrum_mainnet_transaction_hash.649446c0bd": [], "test.synthetix.not_null_core_deposited_arbitrum_mainnet_account_id.c7afbe52a5": [], "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_account_id__True__0.2fc937f08c": [], "test.synthetix.not_null_core_deposited_arbitrum_mainnet_sender.5f276242f7": [], "test.synthetix.not_null_core_deposited_arbitrum_mainnet_block_timestamp.a16e8ef361": [], "test.synthetix.not_null_core_deposited_arbitrum_mainnet_block_number.689c18351b": [], "test.synthetix.not_null_core_deposited_arbitrum_mainnet_token_amount.238a5119e6": [], "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_token_amount__True__0.825b012474": [], "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_block_timestamp.0605d1994e": [], "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_contract.a8c5968db3": [], "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_block_number.29891eb70b": [], "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_transaction_hash.492d634608": [], "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_token_amount.4bc0081148": [], "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_token_amount__True__0.0008eb5d09": [], "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_collateral_type.772b018013": [], "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_account_id.ccf8b71875": [], "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_account_id__True__0.8873db614c": [], "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_id.46c5fcd073": [], "test.synthetix.unique_core_withdrawn_arbitrum_mainnet_id.9810244f0d": [], "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_sender.665f4ade6b": [], "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_event_name.69a5a9a880": [], "test.synthetix.accepted_values_core_withdrawn_arbitrum_mainnet_event_name__Withdrawn.e5deebfa14": [], "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_pool_id.910c4e273f": [], "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_pool_id__True__0.5d8232e38f": [], "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_block_timestamp.e8b33f1dcb": [], "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_block_number.c43f5e1404": [], "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_id.428529a968": [], "test.synthetix.unique_core_liquidation_arbitrum_mainnet_id.ab79adeb33": [], "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_contract.b02df4336b": [], "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_event_name.c11ebbad99": [], "test.synthetix.accepted_values_core_liquidation_arbitrum_mainnet_event_name__Liquidation.85cae70384": [], "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_collateral_type.7eae92d91d": [], "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_sender.de5e917bc2": [], "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_account_id.2b9f90b003": [], "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_account_id__True__0.71c92954dd": [], "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_transaction_hash.7c4641c1db": [], "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_liquidate_as_account_id.00768ed71d": [], "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0.6ad1a29899": [], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_id.6634d79b97": [], "test.synthetix.unique_core_market_updated_arbitrum_mainnet_id.ef7b2e2622": [], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_block_timestamp.2bd177f07f": [], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_block_number.eea9214a4b": [], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_transaction_hash.9db6bb9d6b": [], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_contract.3ed1c1d699": [], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_event_name.1198969560": [], "test.synthetix.accepted_values_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.b6d0a34129": [], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_market_id.92b8458e5c": [], "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_market_id__True__0.8e0b3e9147": [], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_net_issuance.016c84545c": [], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_deposited_collateral_value.45b375717f": [], "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_deposited_collateral_value__True__0.f78663cae5": [], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_sender.fe1f2d4275": [], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_collateral_type.5ccd7ace00": [], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_credit_capacity.09c391d59d": [], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_token_amount.b89be9c43a": [], "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_token_amount__True__0.bfc2ca181b": [], "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_market.4671a5874b": [], "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_market_id.edc1b5f010": [], "test.synthetix.unique_core_market_registered_arbitrum_mainnet_market_id.f4e9d45c5f": [], "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_id.4c7305111a": [], "test.synthetix.unique_core_market_registered_arbitrum_mainnet_id.c4fce94bc5": [], "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_block_timestamp.9ccff6bb17": [], "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_contract.705a5b5579": [], "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_transaction_hash.2e6db31571": [], "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_block_number.49f898432d": [], "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_event_name.5833e57631": [], "test.synthetix.accepted_values_core_market_registered_arbitrum_mainnet_event_name__MarketRegistered.61c1a17f46": [], "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_sender.a9f878c2c9": [], "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_contract.ad227a594e": [], "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_sender.b85ac4e404": [], "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_block_timestamp.4bcfbab318": [], "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_id.b0e9e6535d": [], "test.synthetix.unique_core_pool_created_arbitrum_mainnet_id.4a0435d902": [], "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_block_number.184c04858e": [], "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_transaction_hash.762082599b": [], "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_event_name.67b202a2ae": [], "test.synthetix.accepted_values_core_pool_created_arbitrum_mainnet_event_name__PoolCreated.e7fda490fd": [], "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_owner.749821fb46": [], "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_pool_id.ce6f3bd570": [], "test.synthetix.dbt_utils_accepted_range_core_pool_created_arbitrum_mainnet_pool_id__True__0.fc42e6b4ce": [], "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash.b143b485c4": [], "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_account_id.657d0a650c": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_account_id__True__0.34b4de86db": [], "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type.868513a78c": [], "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_event_name.c85b97045f": [], "test.synthetix.accepted_values_core_rewards_claimed_arbitrum_mainnet_event_name__RewardsClaimed.3c1cd34ad1": [], "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_contract.dbeede65a0": [], "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_amount.b7ad8d34fd": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_amount__True__0.d98a3e4cc7": [], "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_distributor.cfe4797061": [], "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp.830ba4bdac": [], "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_id.ec96b450dd": [], "test.synthetix.unique_core_rewards_claimed_arbitrum_mainnet_id.0aa80585e9": [], "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_pool_id.bd58480578": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_pool_id__True__0.1c91c56a7b": [], "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_block_number.90a2165709": [], "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_id.2d439b2dff": [], "test.synthetix.unique_core_rewards_distributed_arbitrum_mainnet_id.b2d650e4fd": [], "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_event_name.bb49accedd": [], "test.synthetix.accepted_values_core_rewards_distributed_arbitrum_mainnet_event_name__RewardsDistributed.3370ace359": [], "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_amount.efe177b3e7": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_amount__True__0.09cd5040a6": [], "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_contract.cad4a84b49": [], "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_block_timestamp.b6efe37fde": [], "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_transaction_hash.a791a80876": [], "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_collateral_type.d8c598b114": [], "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_block_number.4692e1b237": [], "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_duration.8dfbbf7a51": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_duration__True__0.00212b4134": [], "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_distributor.b8c551ebf5": [], "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_pool_id.06cc36de8b": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_pool_id__True__0.d68e3c64d9": [], "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_amount.638bb23cb6": [], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_amount__True__0.2bf9da99f6": [], "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_pool_id.574d8e09b8": [], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_pool_id__True__0.dad5587ce6": [], "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_event_name.2c934d7229": [], "test.synthetix.accepted_values_core_usd_burned_arbitrum_mainnet_event_name__UsdBurned.9ecdb75459": [], "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_id.f07377da8d": [], "test.synthetix.unique_core_usd_burned_arbitrum_mainnet_id.1918882dbf": [], "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_block_number.9d57cfa9ee": [], "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_account_id.c71695a669": [], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_account_id__True__0.f8708303cd": [], "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_sender.1b76ecab38": [], "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_transaction_hash.6535b2db90": [], "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_contract.718a1f61dd": [], "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_collateral_type.6f8f53a6c9": [], "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_block_timestamp.da67490d2d": [], "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_pool_id.4593996ffd": [], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_pool_id__True__0.5d700fe50b": [], "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_block_timestamp.8ca5480dbc": [], "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_account_id.9ccf9039ea": [], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_account_id__True__0.6487cbbb70": [], "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_collateral_type.0129f350e1": [], "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_block_number.2c3c8fc1e5": [], "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_id.3157330f1c": [], "test.synthetix.unique_core_usd_minted_arbitrum_mainnet_id.557dbdade9": [], "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_sender.829a4593b0": [], "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_amount.f37a3a83d0": [], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_amount__True__0.9400183d7a": [], "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_event_name.8c280cde80": [], "test.synthetix.accepted_values_core_usd_minted_arbitrum_mainnet_event_name__UsdMinted.cb75bc5dc7": [], "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_transaction_hash.74c68bc07e": [], "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_contract.317c6e89d1": [], "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_transaction_hash.5da9d8cd8f": [], "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_collateral_type.ba4823f6ed": [], "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_pool_id.f9e6978af1": [], "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_pool_id__True__0.c4b79598cb": [], "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_event_name.fcb481b7e9": [], "test.synthetix.accepted_values_core_vault_liquidation_arbitrum_mainnet_event_name__VaultLiquidation.429345a118": [], "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_id.c7ac33a6c3": [], "test.synthetix.unique_core_vault_liquidation_arbitrum_mainnet_id.3f5a30c375": [], "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_block_timestamp.3054b6aeaa": [], "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id.5e1fa876a7": [], "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0.c9be297afd": [], "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_liquidation_data.2555b245ad": [], "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_contract.625029e21f": [], "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_block_number.1dc8ebaf67": [], "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_sender.d35f8c0cc2": [], "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_ts.d7d74011cb": [], "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_block_number.5a68e5a2c2": [], "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_pool_id.4536274374": [], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_pool_id__True__0.14e1d9edc3": [], "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_collateral_type.50f0a76c9d": [], "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_amount.0bdb85ef31": [], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_amount__True__0.b98dc30014": [], "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_collateral_value.09fcd07f3a": [], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_collateral_value__True__0.9fa49aae71": [], "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_contract_address.8cc08e1bbc": [], "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_ts.d2363d0b7d": [], "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_block_number.3ef5dfaa45": [], "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_pool_id.8f94082342": [], "test.synthetix.dbt_utils_accepted_range_core_vault_debt_arbitrum_mainnet_pool_id__True__0.8e3a2c72e9": [], "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_collateral_type.f9fb1089d7": [], "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_debt.7a33d30f43": [], "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_contract_address.fee8a6440d": [], "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_id.2bedbed49c": [], "test.synthetix.unique_spot_order_committed_arbitrum_mainnet_id.715535831f": [], "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_event_name.364a2ed7fd": [], "test.synthetix.accepted_values_spot_order_committed_arbitrum_mainnet_event_name__OrderCommitted.e30a77b9b3": [], "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_sender.d7cbd6bc05": [], "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_block_timestamp.a4f827fd66": [], "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_referrer.23dc146929": [], "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_amount_provided.618d749652": [], "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_amount_provided__True__0.a0c5711e24": [], "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_transaction_hash.47ac362f75": [], "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_contract.1d73e820e2": [], "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_market_id.eb267aefe6": [], "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_market_id__True__0.fcb0bd480c": [], "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_block_number.bbd3030ffd": [], "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_order_type.9bedf0c3bc": [], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_final_order_amount__True__0.d78aeda819": [], "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_settler.2f85667062": [], "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_block_number.876a0a0282": [], "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_transaction_hash.a8b7f93ae5": [], "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_block_timestamp.483fdb2a21": [], "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_id.1124fb8990": [], "test.synthetix.unique_spot_order_settled_arbitrum_mainnet_id.a1ec7e590f": [], "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_order_type.cc9846cfde": [], "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_contract.7d4f904249": [], "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_price.3e2897303c": [], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_price__True__0.94dec93a68": [], "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_market_id.84635206a3": [], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_market_id__True__0.498546554e": [], "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_collected_fees.4c46cfb386": [], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_collected_fees__True__0.e9fce02c77": [], "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_event_name.32a64f7398": [], "test.synthetix.accepted_values_spot_order_settled_arbitrum_mainnet_event_name__OrderSettled.c43865614e": [], "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_id.bf2929fb2c": [], "test.synthetix.unique_spot_order_cancelled_arbitrum_mainnet_id.de40647c46": [], "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp.a2656a614b": [], "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash.43ee88aad5": [], "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_sender.a796a774d3": [], "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_contract.cc9a04e73e": [], "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_event_name.f29a2c6180": [], "test.synthetix.accepted_values_spot_order_cancelled_arbitrum_mainnet_event_name__OrderCancelled.bcb12d7741": [], "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_market_id.629e55a158": [], "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_arbitrum_mainnet_market_id__True__0.8d08288d1d": [], "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_block_number.a85db0bd00": [], "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_id.456af96984": [], "test.synthetix.unique_spot_synth_registered_arbitrum_mainnet_id.d4fd9eb0ba": [], "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp.155e02a96a": [], "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id.b02a502d7f": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_arbitrum_mainnet_synth_market_id__True__0.03490626a4": [], "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_block_number.c19306427b": [], "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_contract.dc09abd1d6": [], "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_synth_token_address.e815b8c9d4": [], "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_event_name.aa6a178336": [], "test.synthetix.accepted_values_spot_synth_registered_arbitrum_mainnet_event_name__SynthRegistered.dab3843a60": [], "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_transaction_hash.ae02976291": [], "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_collected_fees.975bb20444": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_collected_fees__True__0.ffa72f24d6": [], "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash.46c5786b65": [], "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id.11b8c58586": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_synth_market_id__True__0.39b07cbd1a": [], "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_block_number.3db00f8fd2": [], "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp.1e3c9accd9": [], "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_id.94c6a2689e": [], "test.synthetix.unique_spot_synth_bought_arbitrum_mainnet_id.97a98f064e": [], "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_price.b7069dc105": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_price__True__0.2666787a3a": [], "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_contract.7f6d914e0b": [], "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_referrer.d5123874c5": [], "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_event_name.aa51f8b10f": [], "test.synthetix.accepted_values_spot_synth_bought_arbitrum_mainnet_event_name__SynthBought.6968f2e38e": [], "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_event_name.77e48ea6b8": [], "test.synthetix.accepted_values_spot_synth_sold_arbitrum_mainnet_event_name__SynthSold.c2779b95d3": [], "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash.b35ac6eb10": [], "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_collected_fees.ae5a9854f2": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_collected_fees__True__0.ebed4cb6c6": [], "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp.ece96724ff": [], "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_referrer.fc97629e01": [], "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_block_number.21c8144aca": [], "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_price.83b6e6b427": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_price__True__0.736ec6a18f": [], "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_amount_returned.a22fe1e87b": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_amount_returned__True__0.94e383949d": [], "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id.0a9309e0fe": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_synth_market_id__True__0.502a7c73ae": [], "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_id.5672923066": [], "test.synthetix.unique_spot_synth_sold_arbitrum_mainnet_id.77e9d1569f": [], "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_contract.7e747f7197": [], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_id.e6be3c26ab": [], "test.synthetix.unique_spot_synth_wrapped_arbitrum_mainnet_id.4240a5b9ed": [], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash.470b375862": [], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id.22e9bbcaaf": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_synth_market_id__True__0.69e1aef58d": [], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_contract.12b8537d63": [], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_event_name.a537b3bcc9": [], "test.synthetix.accepted_values_spot_synth_wrapped_arbitrum_mainnet_event_name__SynthWrapped.c2a7fae75f": [], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp.62e5fb2f2c": [], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_block_number.388f222586": [], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected.ab1cc1a24e": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_fees_collected__True__0.8427a98042": [], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp.7eb830695e": [], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped.6338d14461": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped__True__0.dfb2bf555e": [], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected.82edb6c70c": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_fees_collected__True__0.caa0ab5069": [], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name.15be4b2d2e": [], "test.synthetix.accepted_values_spot_synth_unwrapped_arbitrum_mainnet_event_name__SynthUnwrapped.0156eda083": [], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number.6c4594ed9b": [], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash.266bb54277": [], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_contract.df671e35b9": [], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_id.c93a8c455f": [], "test.synthetix.unique_spot_synth_unwrapped_arbitrum_mainnet_id.81790072c1": [], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id.597a45b266": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id__True__0.c8e2a0ce2e": [], "test.synthetix.not_null_blocks_arbitrum_sepolia_block_number.73833a1893": [], "test.synthetix.unique_blocks_arbitrum_sepolia_block_number.4c474d2bd5": [], "test.synthetix.dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1.8a321a2874": [], "test.synthetix.not_null_core_account_created_arbitrum_sepolia_owner.9aad095481": [], "test.synthetix.not_null_core_account_created_arbitrum_sepolia_account_id.7a98480d2d": [], "test.synthetix.dbt_utils_accepted_range_core_account_created_arbitrum_sepolia_account_id__True__0.2ee2f4ab2f": [], "test.synthetix.not_null_core_account_created_arbitrum_sepolia_id.07253fa9ea": [], "test.synthetix.unique_core_account_created_arbitrum_sepolia_id.f9001194ee": [], "test.synthetix.not_null_core_account_created_arbitrum_sepolia_transaction_hash.59070c07aa": [], "test.synthetix.not_null_core_account_created_arbitrum_sepolia_block_number.1841c44bbb": [], "test.synthetix.not_null_core_account_created_arbitrum_sepolia_block_timestamp.74d0052bed": [], "test.synthetix.not_null_core_account_created_arbitrum_sepolia_event_name.8db7179ccc": [], "test.synthetix.accepted_values_core_account_created_arbitrum_sepolia_event_name__AccountCreated.f6de61acf3": [], "test.synthetix.not_null_core_account_created_arbitrum_sepolia_contract.c63e7e4dbf": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_contract.8f08a5a9da": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_id.12fb857e85": [], "test.synthetix.unique_core_delegation_updated_arbitrum_sepolia_id.beef769010": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_account_id.689f7da996": [], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_account_id__True__0.ead58dff29": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_collateral_type.db67498e80": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_pool_id.8f59052242": [], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_pool_id__True__0.f9aeca9f9a": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_sender.ef3937b25b": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_block_timestamp.ae4bac2433": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_block_number.fa4a36eaeb": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_leverage.d5bd156a6e": [], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_leverage__True__1000000000000000000__1000000000000000000.5ff8a67507": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_transaction_hash.8199cb0155": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_amount.77ddc8625f": [], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_amount__True__0.aefd73a62f": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_event_name.4d0a81b0f4": [], "test.synthetix.accepted_values_core_delegation_updated_arbitrum_sepolia_event_name__DelegationUpdated.46889d7476": [], "test.synthetix.not_null_core_deposited_arbitrum_sepolia_collateral_type.88d590c5ca": [], "test.synthetix.not_null_core_deposited_arbitrum_sepolia_id.7d3846b9e3": [], "test.synthetix.unique_core_deposited_arbitrum_sepolia_id.9f22c1a15e": [], "test.synthetix.not_null_core_deposited_arbitrum_sepolia_contract.98776e9523": [], "test.synthetix.not_null_core_deposited_arbitrum_sepolia_event_name.ca52f6033b": [], "test.synthetix.accepted_values_core_deposited_arbitrum_sepolia_event_name__Deposited.1c0d375890": [], "test.synthetix.not_null_core_deposited_arbitrum_sepolia_transaction_hash.8084f934a8": [], "test.synthetix.not_null_core_deposited_arbitrum_sepolia_account_id.0850a5cdd2": [], "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_account_id__True__0.d3287e563c": [], "test.synthetix.not_null_core_deposited_arbitrum_sepolia_sender.2aeec9aec1": [], "test.synthetix.not_null_core_deposited_arbitrum_sepolia_block_timestamp.423f2e9f55": [], "test.synthetix.not_null_core_deposited_arbitrum_sepolia_block_number.c3036ab47e": [], "test.synthetix.not_null_core_deposited_arbitrum_sepolia_token_amount.653e14e03e": [], "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_token_amount__True__0.0f0aa65236": [], "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_block_timestamp.7fcd8e34b4": [], "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_contract.7095f79cd5": [], "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_block_number.fb2901f9b9": [], "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_transaction_hash.a4480fb9e0": [], "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_token_amount.df20ce27b8": [], "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_token_amount__True__0.0301b264d6": [], "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_collateral_type.462d8e9d4a": [], "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_account_id.93a7f1c6e0": [], "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_account_id__True__0.d4050dde67": [], "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_id.bdd65cec2b": [], "test.synthetix.unique_core_withdrawn_arbitrum_sepolia_id.3f0503a510": [], "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_sender.b2d53e6596": [], "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_event_name.6e275cf97d": [], "test.synthetix.accepted_values_core_withdrawn_arbitrum_sepolia_event_name__Withdrawn.cd07ab25e2": [], "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_pool_id.851303c6c6": [], "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_pool_id__True__0.d1a4bd0579": [], "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_block_timestamp.2b65fcd144": [], "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_block_number.28a164853c": [], "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_id.acb7c881c1": [], "test.synthetix.unique_core_liquidation_arbitrum_sepolia_id.7489e81022": [], "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_contract.b3848813ec": [], "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_event_name.6dff9cd9a5": [], "test.synthetix.accepted_values_core_liquidation_arbitrum_sepolia_event_name__Liquidation.32c120b3b8": [], "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_collateral_type.611a474b69": [], "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_sender.b1951bbf59": [], "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_account_id.2f2251c90a": [], "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_account_id__True__0.fa367d1bc5": [], "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_transaction_hash.aa34dc1b7f": [], "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_liquidate_as_account_id.8fb362bd59": [], "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0.aa641f64fe": [], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_id.087024faa4": [], "test.synthetix.unique_core_market_updated_arbitrum_sepolia_id.7ed403a10d": [], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_block_timestamp.f0ccbe740a": [], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_block_number.18b9e7bff4": [], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_transaction_hash.697e3dd319": [], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_contract.925fa67624": [], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_event_name.07d4bde491": [], "test.synthetix.accepted_values_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.4a106f8344": [], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_market_id.4d2767c0b4": [], "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_market_id__True__0.f774945861": [], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_net_issuance.ab387b275f": [], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_deposited_collateral_value.2a9afd7205": [], "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_deposited_collateral_value__True__0.bb2ac3f8fc": [], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_sender.b4216822d2": [], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_collateral_type.0163e724c2": [], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_credit_capacity.ed07eaef21": [], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_token_amount.e980630f1e": [], "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_token_amount__True__0.33dea408c4": [], "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_market.67fc30dc60": [], "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_market_id.c742aae1d0": [], "test.synthetix.unique_core_market_registered_arbitrum_sepolia_market_id.78637df31f": [], "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_id.88f5db38d2": [], "test.synthetix.unique_core_market_registered_arbitrum_sepolia_id.5964f1fbf3": [], "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_block_timestamp.fa45bb6a23": [], "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_contract.8d5b49ae4d": [], "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_transaction_hash.9904023035": [], "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_block_number.94a8562b13": [], "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_event_name.72e398dd82": [], "test.synthetix.accepted_values_core_market_registered_arbitrum_sepolia_event_name__MarketRegistered.0d43228789": [], "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_sender.f940ee9c3a": [], "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_contract.bd9da8f8fc": [], "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_sender.999d6ba1d5": [], "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_block_timestamp.fd0d1a2266": [], "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_id.2ecf600861": [], "test.synthetix.unique_core_pool_created_arbitrum_sepolia_id.520ef444f0": [], "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_block_number.28a66d0e74": [], "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_transaction_hash.09e0ac3340": [], "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_event_name.9148e96626": [], "test.synthetix.accepted_values_core_pool_created_arbitrum_sepolia_event_name__PoolCreated.d04166c685": [], "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_owner.980ce0b630": [], "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_pool_id.1fccbc8d94": [], "test.synthetix.dbt_utils_accepted_range_core_pool_created_arbitrum_sepolia_pool_id__True__0.d3bc479935": [], "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash.680f286a1c": [], "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_account_id.f2bf56343c": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_account_id__True__0.931fbcf6dd": [], "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type.d2183c9d15": [], "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_event_name.a3f0d6ec61": [], "test.synthetix.accepted_values_core_rewards_claimed_arbitrum_sepolia_event_name__RewardsClaimed.34f660416a": [], "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_contract.d436fcb4ac": [], "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_amount.c69c35b9b1": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_amount__True__0.4bdbe43c5e": [], "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_distributor.3f6ad9aa55": [], "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp.b87721cc33": [], "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_id.9a1c133f3b": [], "test.synthetix.unique_core_rewards_claimed_arbitrum_sepolia_id.f24f1c4553": [], "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_pool_id.a883be69bc": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_pool_id__True__0.8b433a3bc6": [], "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_block_number.9a6d0e0806": [], "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_id.4fea69e81a": [], "test.synthetix.unique_core_rewards_distributed_arbitrum_sepolia_id.728eef2ccb": [], "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_event_name.1803af1787": [], "test.synthetix.accepted_values_core_rewards_distributed_arbitrum_sepolia_event_name__RewardsDistributed.94958bacc6": [], "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_amount.8682e416ae": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_amount__True__0.a57935c0b7": [], "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_contract.7bb7fd8da4": [], "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_block_timestamp.b3adafb4cf": [], "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_transaction_hash.2ae04c7450": [], "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_collateral_type.099d0e256e": [], "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_block_number.5fbc655c9b": [], "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_duration.a042625996": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_duration__True__0.905006d2f0": [], "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_distributor.f184171df4": [], "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_pool_id.4ae694bfec": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_pool_id__True__0.4ca72a296c": [], "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_amount.6baf89b24c": [], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_amount__True__0.048d31e429": [], "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_pool_id.7bf8dd6882": [], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_pool_id__True__0.d19a9e58b9": [], "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_event_name.2334208293": [], "test.synthetix.accepted_values_core_usd_burned_arbitrum_sepolia_event_name__UsdBurned.82b5e1f839": [], "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_id.a9d148b478": [], "test.synthetix.unique_core_usd_burned_arbitrum_sepolia_id.65a6dbfca4": [], "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_block_number.a36a988eb1": [], "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_account_id.620cecde52": [], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_account_id__True__0.2bc68923f9": [], "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_sender.e732504915": [], "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_transaction_hash.91ab5b1d0b": [], "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_contract.91add9f346": [], "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_collateral_type.9bcf375dc5": [], "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_block_timestamp.5bcc977f3d": [], "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_pool_id.41123c7a06": [], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_pool_id__True__0.ae99bd6ea3": [], "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_block_timestamp.baa0ed9288": [], "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_account_id.e8dbb7db41": [], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_account_id__True__0.3ae041bf59": [], "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_collateral_type.36a06f20c5": [], "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_block_number.3319b5e432": [], "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_id.07b94c915b": [], "test.synthetix.unique_core_usd_minted_arbitrum_sepolia_id.d868aed363": [], "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_sender.b183e1c56f": [], "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_amount.cd18eb6390": [], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_amount__True__0.e93e8d1936": [], "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_event_name.b210011389": [], "test.synthetix.accepted_values_core_usd_minted_arbitrum_sepolia_event_name__UsdMinted.5fd40cc553": [], "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_transaction_hash.38f21551fd": [], "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_contract.71d9365153": [], "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_transaction_hash.6b1e45b06a": [], "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_collateral_type.0b2d659b09": [], "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_pool_id.c0c0a011c4": [], "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_pool_id__True__0.6022175c23": [], "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_event_name.6ee4c7edec": [], "test.synthetix.accepted_values_core_vault_liquidation_arbitrum_sepolia_event_name__VaultLiquidation.0c7e403f1c": [], "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_id.e478906cc0": [], "test.synthetix.unique_core_vault_liquidation_arbitrum_sepolia_id.39f25ec5ad": [], "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_block_timestamp.3f8fcf20ee": [], "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id.557d546c5f": [], "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0.8896409533": [], "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_liquidation_data.0e7de46ea6": [], "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_contract.2bb4203c78": [], "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_block_number.fbedd6aa28": [], "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_sender.e33149c915": [], "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_ts.74e3fe431f": [], "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_block_number.7c4c28bc6d": [], "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_pool_id.11828e6701": [], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_pool_id__True__0.99b4d66658": [], "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_collateral_type.c23ed9827f": [], "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_amount.e85fb4a97b": [], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_amount__True__0.ceaca21b1b": [], "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_collateral_value.77882c9c22": [], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_collateral_value__True__0.5e64981616": [], "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_contract_address.d90d5e4d47": [], "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_ts.6259a43e83": [], "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_block_number.39b83b17e0": [], "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_pool_id.3d27f2e067": [], "test.synthetix.dbt_utils_accepted_range_core_vault_debt_arbitrum_sepolia_pool_id__True__0.6a7fea5bbc": [], "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_collateral_type.c136eaeaa7": [], "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_debt.13e23e52e8": [], "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_contract_address.7162b1bbad": [], "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_id.3dc77e7585": [], "test.synthetix.unique_spot_order_committed_arbitrum_sepolia_id.7dddd93b21": [], "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_event_name.10fb9fe2fd": [], "test.synthetix.accepted_values_spot_order_committed_arbitrum_sepolia_event_name__OrderCommitted.48f82592c2": [], "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_sender.6665c965c9": [], "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_block_timestamp.053b915e14": [], "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_referrer.3934248ab9": [], "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_amount_provided.b4fbc53f60": [], "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_amount_provided__True__0.e297093a69": [], "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_transaction_hash.44fbdb881f": [], "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_contract.8724d32b95": [], "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_market_id.4600734bce": [], "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_market_id__True__0.156852fc84": [], "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_block_number.e402f23638": [], "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_order_type.cfe77ca9a2": [], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_final_order_amount__True__0.976f3b49e5": [], "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_settler.709cf86f6a": [], "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_block_number.f4d15aa1c6": [], "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_transaction_hash.e39d83aa1f": [], "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_block_timestamp.4104ea8ae8": [], "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_id.61da8ff5ef": [], "test.synthetix.unique_spot_order_settled_arbitrum_sepolia_id.fce4a382d0": [], "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_order_type.ce3ce512a2": [], "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_contract.2b0e9ad75a": [], "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_price.1a44fe5106": [], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_price__True__0.6c6c67c752": [], "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_market_id.d28592e51d": [], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_market_id__True__0.6880f35b4a": [], "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_collected_fees.1010c0a5f8": [], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_collected_fees__True__0.43d000a1f2": [], "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_event_name.51feaa1c12": [], "test.synthetix.accepted_values_spot_order_settled_arbitrum_sepolia_event_name__OrderSettled.3825809881": [], "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_id.8e031ca154": [], "test.synthetix.unique_spot_order_cancelled_arbitrum_sepolia_id.463daca854": [], "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp.5b304e425f": [], "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash.7bc3d70f6e": [], "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_sender.dd378adc77": [], "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_contract.b838860ee1": [], "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_event_name.e938eb2758": [], "test.synthetix.accepted_values_spot_order_cancelled_arbitrum_sepolia_event_name__OrderCancelled.7763c43292": [], "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_market_id.d248c77fa3": [], "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_arbitrum_sepolia_market_id__True__0.047630938a": [], "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_block_number.6b3267b9d4": [], "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_id.ae9e680918": [], "test.synthetix.unique_spot_synth_registered_arbitrum_sepolia_id.a09499cc92": [], "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp.8ad856419d": [], "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id.41d8ffc96a": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_arbitrum_sepolia_synth_market_id__True__0.adc193de63": [], "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_block_number.e17831aecf": [], "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_contract.13305b5b4f": [], "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_synth_token_address.30dd706c48": [], "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_event_name.5caf84c585": [], "test.synthetix.accepted_values_spot_synth_registered_arbitrum_sepolia_event_name__SynthRegistered.66b8fe9ef2": [], "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_transaction_hash.211b9e6913": [], "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_collected_fees.32235682bf": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_collected_fees__True__0.e69ec41d5e": [], "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash.b57c5b3476": [], "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id.92397dca4f": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_synth_market_id__True__0.869a31cec1": [], "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_block_number.1414f728f0": [], "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp.af0cba6258": [], "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_id.ed20008417": [], "test.synthetix.unique_spot_synth_bought_arbitrum_sepolia_id.3ade424d59": [], "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_price.9dde4ea814": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_price__True__0.d95f1532c7": [], "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_contract.2c9cdafac9": [], "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_referrer.c39eda4686": [], "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_event_name.a810bafafd": [], "test.synthetix.accepted_values_spot_synth_bought_arbitrum_sepolia_event_name__SynthBought.134dc8cabd": [], "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_event_name.333367310e": [], "test.synthetix.accepted_values_spot_synth_sold_arbitrum_sepolia_event_name__SynthSold.fe13707237": [], "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash.da63dad649": [], "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_collected_fees.0c503232cc": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_collected_fees__True__0.18ef00cae1": [], "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp.5734b00c78": [], "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_referrer.31558bcae3": [], "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_block_number.9eb624134f": [], "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_price.1a5abe8024": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_price__True__0.9416491d1c": [], "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_amount_returned.31fa2e2854": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_amount_returned__True__0.491570b785": [], "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id.2629bdcd49": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_synth_market_id__True__0.2196afe46e": [], "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_id.415e7f2126": [], "test.synthetix.unique_spot_synth_sold_arbitrum_sepolia_id.dd4ab72a64": [], "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_contract.d5f31e0816": [], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_id.ec9012b5a4": [], "test.synthetix.unique_spot_synth_wrapped_arbitrum_sepolia_id.25ef0efbd8": [], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash.60e01a101a": [], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id.f1fccfdd91": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_synth_market_id__True__0.ca19b05f78": [], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_contract.410ac0c77b": [], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_event_name.e16041e32c": [], "test.synthetix.accepted_values_spot_synth_wrapped_arbitrum_sepolia_event_name__SynthWrapped.a482cbf84f": [], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp.cc2e2e7857": [], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_block_number.c861cf7b58": [], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected.8c22c01d20": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_fees_collected__True__0.9f8402c770": [], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp.2897aa2af1": [], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped.4d83dd17da": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped__True__0.2d01453854": [], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected.342d8ecaba": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_fees_collected__True__0.f01b734c27": [], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name.e2e470100a": [], "test.synthetix.accepted_values_spot_synth_unwrapped_arbitrum_sepolia_event_name__SynthUnwrapped.20624d41fd": [], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number.bfaa7aabea": [], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash.5b5d8f1737": [], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_contract.9a67446eba": [], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_id.885fac7a78": [], "test.synthetix.unique_spot_synth_unwrapped_arbitrum_sepolia_id.5985d5d1de": [], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id.0f2f845893": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id__True__0.6744618704": [], "test.synthetix.not_null_blocks_base_mainnet_block_number.bb1b2f53c2": [], "test.synthetix.unique_blocks_base_mainnet_block_number.e303976d40": [], "test.synthetix.dbt_utils_recency_blocks_base_mainnet_hour__ts__1.b0724712c2": [], "test.synthetix.unique_perp_account_created_base_mainnet_id.7e77a8a023": [], "test.synthetix.not_null_perp_account_created_base_mainnet_id.88dc5d9a3e": [], "test.synthetix.not_null_perp_account_created_base_mainnet_event_name.0ab1553ed8": [], "test.synthetix.accepted_values_perp_account_created_base_mainnet_event_name__AccountCreated.c906cbec9d": [], "test.synthetix.not_null_perp_account_created_base_mainnet_block_number.089e467aa3": [], "test.synthetix.not_null_perp_account_created_base_mainnet_block_timestamp.4e4344d68a": [], "test.synthetix.not_null_perp_account_created_base_mainnet_owner.1aca280221": [], "test.synthetix.not_null_perp_account_created_base_mainnet_account_id.2d9e573ba3": [], "test.synthetix.dbt_utils_accepted_range_perp_account_created_base_mainnet_account_id__True__0.31cc3873de": [], "test.synthetix.not_null_perp_account_created_base_mainnet_transaction_hash.0274c58381": [], "test.synthetix.not_null_perp_account_created_base_mainnet_contract.d77785377c": [], "test.synthetix.unique_perp_order_committed_base_mainnet_id.471fd9d19f": [], "test.synthetix.not_null_perp_order_committed_base_mainnet_id.deaaf9a2d9": [], "test.synthetix.not_null_perp_order_committed_base_mainnet_block_number.743f5b2c16": [], "test.synthetix.not_null_perp_order_committed_base_mainnet_block_timestamp.ba049c4adc": [], "test.synthetix.not_null_perp_order_committed_base_mainnet_transaction_hash.ba7bf1fc20": [], "test.synthetix.not_null_perp_order_committed_base_mainnet_contract.ec04bc0cd9": [], "test.synthetix.not_null_perp_order_committed_base_mainnet_event_name.ea7921e749": [], "test.synthetix.accepted_values_perp_order_committed_base_mainnet_event_name__OrderCommitted.ce39697ea3": [], "test.synthetix.not_null_perp_order_committed_base_mainnet_market_id.09e2f9dd2e": [], "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_mainnet_market_id__True__0.9964b7c003": [], "test.synthetix.not_null_perp_order_committed_base_mainnet_account_id.4dabd60cd4": [], "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_mainnet_account_id__True__0.c996cff012": [], "test.synthetix.not_null_perp_order_settled_base_mainnet_contract.4999a48971": [], "test.synthetix.not_null_perp_order_settled_base_mainnet_event_name.f1e61c05e6": [], "test.synthetix.accepted_values_perp_order_settled_base_mainnet_event_name__OrderSettled.2c75532624": [], "test.synthetix.not_null_perp_order_settled_base_mainnet_account_id.16ba855b23": [], "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_account_id__True__0.e5564d3ff0": [], "test.synthetix.not_null_perp_order_settled_base_mainnet_market_id.6f4d850570": [], "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_market_id__True__0.f0b24bdf87": [], "test.synthetix.not_null_perp_order_settled_base_mainnet_collected_fees.b6a0c12cde": [], "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_collected_fees__True__0.160f85cd41": [], "test.synthetix.not_null_perp_order_settled_base_mainnet_transaction_hash.a60987fbb0": [], "test.synthetix.not_null_perp_order_settled_base_mainnet_block_timestamp.81876ddb40": [], "test.synthetix.not_null_perp_order_settled_base_mainnet_block_number.f58d806635": [], "test.synthetix.unique_perp_order_settled_base_mainnet_id.0225a9550b": [], "test.synthetix.not_null_perp_order_settled_base_mainnet_id.5b3863aece": [], "test.synthetix.unique_perp_market_updated_base_mainnet_id.a3e4d3e22f": [], "test.synthetix.not_null_perp_market_updated_base_mainnet_id.23f3e68a12": [], "test.synthetix.not_null_perp_market_updated_base_mainnet_block_number.3088915c67": [], "test.synthetix.not_null_perp_market_updated_base_mainnet_block_timestamp.c0b049d2d6": [], "test.synthetix.not_null_perp_market_updated_base_mainnet_transaction_hash.28faaa00e5": [], "test.synthetix.not_null_perp_market_updated_base_mainnet_contract.e19df268b3": [], "test.synthetix.not_null_perp_market_updated_base_mainnet_event_name.de1019fbef": [], "test.synthetix.accepted_values_perp_market_updated_base_mainnet_event_name__MarketUpdated.33121cd63c": [], "test.synthetix.not_null_perp_market_updated_base_mainnet_market_id.8ec7a63f6b": [], "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_market_id__True__0.5c7a41566b": [], "test.synthetix.not_null_perp_market_updated_base_mainnet_price.f0d91e2bd5": [], "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_price__True__0.ae7f542736": [], "test.synthetix.not_null_perp_market_updated_base_mainnet_interest_rate.10b7a6c389": [], "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_interest_rate__True__0.7f6ed158d2": [], "test.synthetix.not_null_perp_position_liquidated_base_mainnet_account_id.498f567370": [], "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_account_id__True__0.4dca14dbcd": [], "test.synthetix.not_null_perp_position_liquidated_base_mainnet_market_id.564386819e": [], "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_market_id__True__0.f77ba4ae2f": [], "test.synthetix.unique_perp_position_liquidated_base_mainnet_id.922d3c5143": [], "test.synthetix.not_null_perp_position_liquidated_base_mainnet_id.32c367bb62": [], "test.synthetix.not_null_perp_position_liquidated_base_mainnet_transaction_hash.c67a9607db": [], "test.synthetix.not_null_perp_position_liquidated_base_mainnet_current_position_size.b48e72d00b": [], "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_current_position_size__True__0.f59eb84311": [], "test.synthetix.not_null_perp_position_liquidated_base_mainnet_event_name.321097aa34": [], "test.synthetix.accepted_values_perp_position_liquidated_base_mainnet_event_name__PositionLiquidated.71fb40cadb": [], "test.synthetix.not_null_perp_position_liquidated_base_mainnet_block_number.a7b9be436d": [], "test.synthetix.not_null_perp_position_liquidated_base_mainnet_amount_liquidated.29ad6c9103": [], "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_amount_liquidated__True__0.be0c7ea09d": [], "test.synthetix.not_null_perp_position_liquidated_base_mainnet_contract.16d824dbca": [], "test.synthetix.not_null_perp_position_liquidated_base_mainnet_block_timestamp.7e8e3434f7": [], "test.synthetix.unique_perp_account_liquidation_attempt_base_mainnet_id.4ca8a36246": [], "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_id.f0a38fed0b": [], "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_account_id.b9af0ad259": [], "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_account_id__True__0.1b7d106a7e": [], "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_block_number.eb82068b1f": [], "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_reward.c18396dc96": [], "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_reward__True__0.cb285aadec": [], "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_block_timestamp.8bb23c25bf": [], "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_contract.52c72e7f83": [], "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_event_name.bdd4a2d793": [], "test.synthetix.accepted_values_perp_account_liquidation_attempt_base_mainnet_event_name__AccountLiquidationAttempt.aeb7d6db9c": [], "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_transaction_hash.70575855b6": [], "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_full_liquidation.13fc102881": [], "test.synthetix.not_null_perp_collateral_modified_base_mainnet_block_timestamp.dba3f4ea26": [], "test.synthetix.not_null_perp_collateral_modified_base_mainnet_contract.c11139c863": [], "test.synthetix.not_null_perp_collateral_modified_base_mainnet_event_name.ea66af17fe": [], "test.synthetix.accepted_values_perp_collateral_modified_base_mainnet_event_name__CollateralModified.a5e57f2d75": [], "test.synthetix.not_null_perp_collateral_modified_base_mainnet_block_number.9a27b3b231": [], "test.synthetix.not_null_perp_collateral_modified_base_mainnet_synth_market_id.d41b8065af": [], "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_synth_market_id__True__0.d556e7848d": [], "test.synthetix.unique_perp_collateral_modified_base_mainnet_id.311ce0d794": [], "test.synthetix.not_null_perp_collateral_modified_base_mainnet_id.f24bcc6b1b": [], "test.synthetix.not_null_perp_collateral_modified_base_mainnet_sender.b40c55b7ee": [], "test.synthetix.not_null_perp_collateral_modified_base_mainnet_account_id.cdccf3f2af": [], "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_account_id__True__0.9f7c28c3fd": [], "test.synthetix.not_null_perp_collateral_modified_base_mainnet_transaction_hash.3d3881c53b": [], "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_block_timestamp.8433c78b93": [], "test.synthetix.unique_perp_previous_order_expired_base_mainnet_id.f02978148f": [], "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_id.bc7a46deda": [], "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_block_number.a563a713e9": [], "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_market_id.3b39458251": [], "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_market_id__True__0.edc1c768de": [], "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_event_name.14c38c565c": [], "test.synthetix.accepted_values_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired.a675fe5038": [], "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_transaction_hash.97e2d12b2c": [], "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_account_id.c8037fd435": [], "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_account_id__True__0.e4b1283a09": [], "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_contract.5eed227a76": [], "test.synthetix.not_null_perp_market_created_base_mainnet_market_name.162fe82996": [], "test.synthetix.unique_perp_market_created_base_mainnet_id.e1227e7e46": [], "test.synthetix.not_null_perp_market_created_base_mainnet_id.eb84eb9821": [], "test.synthetix.not_null_perp_market_created_base_mainnet_market_symbol.06e88b6544": [], "test.synthetix.not_null_perp_market_created_base_mainnet_event_name.f103b43404": [], "test.synthetix.accepted_values_perp_market_created_base_mainnet_event_name__MarketCreated.d9da845e2f": [], "test.synthetix.not_null_perp_market_created_base_mainnet_block_number.31d8a749ec": [], "test.synthetix.not_null_perp_market_created_base_mainnet_block_timestamp.b13b8b381f": [], "test.synthetix.not_null_perp_market_created_base_mainnet_contract.dd8ab60012": [], "test.synthetix.not_null_perp_market_created_base_mainnet_perps_market_id.d04a2adf66": [], "test.synthetix.dbt_utils_accepted_range_perp_market_created_base_mainnet_perps_market_id__True__0.7835f6c4e2": [], "test.synthetix.not_null_perp_market_created_base_mainnet_transaction_hash.005c8ea981": [], "test.synthetix.not_null_perp_interest_charged_base_mainnet_event_name.d0c6828a2c": [], "test.synthetix.accepted_values_perp_interest_charged_base_mainnet_event_name__InterestCharged.92bd4d647b": [], "test.synthetix.not_null_perp_interest_charged_base_mainnet_contract.637ff31ac5": [], "test.synthetix.not_null_perp_interest_charged_base_mainnet_transaction_hash.82d6f4539b": [], "test.synthetix.not_null_perp_interest_charged_base_mainnet_block_timestamp.c006ab16a0": [], "test.synthetix.unique_perp_interest_charged_base_mainnet_id.849ecb5e38": [], "test.synthetix.not_null_perp_interest_charged_base_mainnet_id.a4394853e3": [], "test.synthetix.not_null_perp_interest_charged_base_mainnet_block_number.634b5a2ca3": [], "test.synthetix.not_null_perp_interest_charged_base_mainnet_account_id.9cea8c57e9": [], "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_base_mainnet_account_id__True__0.a3ec3de479": [], "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_block_timestamp.0d665a1669": [], "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_event_name.36434bd8cd": [], "test.synthetix.accepted_values_perp_interest_rate_updated_base_mainnet_event_name__InterestRateUpdated.1f640e1a2e": [], "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_transaction_hash.84f20da856": [], "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_interest_rate.cfecf76356": [], "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_interest_rate__True__0.9e368f0a36": [], "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_block_number.76213ff694": [], "test.synthetix.unique_perp_interest_rate_updated_base_mainnet_id.bddddb2671": [], "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_id.e9a20cc82f": [], "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_contract.79599300ad": [], "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_super_market_id.234f62d024": [], "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_super_market_id__True__0.4d69e0aece": [], "test.synthetix.not_null_buyback_processed_base_mainnet_id.f2ddc16a13": [], "test.synthetix.unique_buyback_processed_base_mainnet_id.7d5a3bf3a8": [], "test.synthetix.not_null_buyback_processed_base_mainnet_block_number.7938e67f70": [], "test.synthetix.not_null_buyback_processed_base_mainnet_block_timestamp.a03c2a402e": [], "test.synthetix.not_null_buyback_processed_base_mainnet_transaction_hash.48c42ff159": [], "test.synthetix.not_null_buyback_processed_base_mainnet_event_name.6b55058ad0": [], "test.synthetix.accepted_values_buyback_processed_base_mainnet_event_name__BuybackProcessed.dfe71d53df": [], "test.synthetix.not_null_buyback_processed_base_mainnet_contract.73ecec38f3": [], "test.synthetix.not_null_buyback_processed_base_mainnet_buyer.6dc7c79cf3": [], "test.synthetix.not_null_buyback_processed_base_mainnet_snx.d434d429ea": [], "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_mainnet_snx__True__0.afaf938419": [], "test.synthetix.not_null_buyback_processed_base_mainnet_usd.c5f2eba3f9": [], "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_mainnet_usd__True__0.4acbfc34a4": [], "test.synthetix.not_null_core_account_created_base_mainnet_owner.c498d5b28f": [], "test.synthetix.not_null_core_account_created_base_mainnet_account_id.9f366bbbab": [], "test.synthetix.dbt_utils_accepted_range_core_account_created_base_mainnet_account_id__True__0.13ad3c12e1": [], "test.synthetix.not_null_core_account_created_base_mainnet_id.a6878c49cb": [], "test.synthetix.unique_core_account_created_base_mainnet_id.d79e3ab0d1": [], "test.synthetix.not_null_core_account_created_base_mainnet_transaction_hash.21cf6568c1": [], "test.synthetix.not_null_core_account_created_base_mainnet_block_number.1b0ff0bd14": [], "test.synthetix.not_null_core_account_created_base_mainnet_block_timestamp.8e5d2b5809": [], "test.synthetix.not_null_core_account_created_base_mainnet_event_name.f3ba489917": [], "test.synthetix.accepted_values_core_account_created_base_mainnet_event_name__AccountCreated.8d266dd241": [], "test.synthetix.not_null_core_account_created_base_mainnet_contract.9c9629d4bf": [], "test.synthetix.not_null_core_delegation_updated_base_mainnet_contract.26c790b056": [], "test.synthetix.not_null_core_delegation_updated_base_mainnet_id.3f46fc5fef": [], "test.synthetix.unique_core_delegation_updated_base_mainnet_id.cb86d131a2": [], "test.synthetix.not_null_core_delegation_updated_base_mainnet_account_id.d54eaa7e33": [], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_account_id__True__0.682b9be0e3": [], "test.synthetix.not_null_core_delegation_updated_base_mainnet_collateral_type.ed1a32a32c": [], "test.synthetix.not_null_core_delegation_updated_base_mainnet_pool_id.05c5c779bf": [], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_pool_id__True__0.4316662214": [], "test.synthetix.not_null_core_delegation_updated_base_mainnet_sender.0138cb07ed": [], "test.synthetix.not_null_core_delegation_updated_base_mainnet_block_timestamp.c521a83475": [], "test.synthetix.not_null_core_delegation_updated_base_mainnet_block_number.b7e4e88578": [], "test.synthetix.not_null_core_delegation_updated_base_mainnet_leverage.5efc0a9617": [], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_leverage__True__1000000000000000000__1000000000000000000.d5cf2050cc": [], "test.synthetix.not_null_core_delegation_updated_base_mainnet_transaction_hash.6915579646": [], "test.synthetix.not_null_core_delegation_updated_base_mainnet_amount.a0ab515e0a": [], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_amount__True__0.a8783e193f": [], "test.synthetix.not_null_core_delegation_updated_base_mainnet_event_name.cfe99ccc6b": [], "test.synthetix.accepted_values_core_delegation_updated_base_mainnet_event_name__DelegationUpdated.67d059ef8b": [], "test.synthetix.not_null_core_deposited_base_mainnet_collateral_type.be650ff685": [], "test.synthetix.not_null_core_deposited_base_mainnet_id.ee16c24c51": [], "test.synthetix.unique_core_deposited_base_mainnet_id.c13be8e337": [], "test.synthetix.not_null_core_deposited_base_mainnet_contract.6e9ec1150a": [], "test.synthetix.not_null_core_deposited_base_mainnet_event_name.31446f5c55": [], "test.synthetix.accepted_values_core_deposited_base_mainnet_event_name__Deposited.8716111032": [], "test.synthetix.not_null_core_deposited_base_mainnet_transaction_hash.272eb2e81d": [], "test.synthetix.not_null_core_deposited_base_mainnet_account_id.7193b1a2c0": [], "test.synthetix.dbt_utils_accepted_range_core_deposited_base_mainnet_account_id__True__0.64bcc1c124": [], "test.synthetix.not_null_core_deposited_base_mainnet_sender.7b7ebe7456": [], "test.synthetix.not_null_core_deposited_base_mainnet_block_timestamp.560df883dc": [], "test.synthetix.not_null_core_deposited_base_mainnet_block_number.08ee53cd26": [], "test.synthetix.not_null_core_deposited_base_mainnet_token_amount.5b0e4b379d": [], "test.synthetix.dbt_utils_accepted_range_core_deposited_base_mainnet_token_amount__True__0.60382baf55": [], "test.synthetix.not_null_core_withdrawn_base_mainnet_block_timestamp.3b8ffa7210": [], "test.synthetix.not_null_core_withdrawn_base_mainnet_contract.a8511fdb92": [], "test.synthetix.not_null_core_withdrawn_base_mainnet_block_number.03c7cebae3": [], "test.synthetix.not_null_core_withdrawn_base_mainnet_transaction_hash.a3fda71b2a": [], "test.synthetix.not_null_core_withdrawn_base_mainnet_token_amount.fbabce38ba": [], "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_mainnet_token_amount__True__0.54af4bae82": [], "test.synthetix.not_null_core_withdrawn_base_mainnet_collateral_type.f32eb82738": [], "test.synthetix.not_null_core_withdrawn_base_mainnet_account_id.ef84b5b40c": [], "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_mainnet_account_id__True__0.0bf8555841": [], "test.synthetix.not_null_core_withdrawn_base_mainnet_id.8106f47c4d": [], "test.synthetix.unique_core_withdrawn_base_mainnet_id.72a24b0786": [], "test.synthetix.not_null_core_withdrawn_base_mainnet_sender.2f5cf91bdf": [], "test.synthetix.not_null_core_withdrawn_base_mainnet_event_name.f423143c4b": [], "test.synthetix.accepted_values_core_withdrawn_base_mainnet_event_name__Withdrawn.8eb5613297": [], "test.synthetix.not_null_core_liquidation_base_mainnet_pool_id.0342c9a9f7": [], "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_pool_id__True__0.9af005d964": [], "test.synthetix.not_null_core_liquidation_base_mainnet_block_timestamp.cc029a06b8": [], "test.synthetix.not_null_core_liquidation_base_mainnet_block_number.896bca83af": [], "test.synthetix.not_null_core_liquidation_base_mainnet_id.c949216a70": [], "test.synthetix.unique_core_liquidation_base_mainnet_id.876ec280ff": [], "test.synthetix.not_null_core_liquidation_base_mainnet_contract.cb2b40daff": [], "test.synthetix.not_null_core_liquidation_base_mainnet_event_name.b9c8609dd4": [], "test.synthetix.accepted_values_core_liquidation_base_mainnet_event_name__Liquidation.b1c18b74aa": [], "test.synthetix.not_null_core_liquidation_base_mainnet_collateral_type.c78d491846": [], "test.synthetix.not_null_core_liquidation_base_mainnet_sender.0c2397ee76": [], "test.synthetix.not_null_core_liquidation_base_mainnet_account_id.2ddc542a47": [], "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_account_id__True__0.136053be04": [], "test.synthetix.not_null_core_liquidation_base_mainnet_transaction_hash.adee36dc81": [], "test.synthetix.not_null_core_liquidation_base_mainnet_liquidate_as_account_id.b2d7294162": [], "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_liquidate_as_account_id__True__0.7686495bd9": [], "test.synthetix.not_null_core_market_updated_base_mainnet_id.bdb44c0b54": [], "test.synthetix.unique_core_market_updated_base_mainnet_id.b2a5abdd48": [], "test.synthetix.not_null_core_market_updated_base_mainnet_block_timestamp.648a5f6e8c": [], "test.synthetix.not_null_core_market_updated_base_mainnet_block_number.e9e83211a7": [], "test.synthetix.not_null_core_market_updated_base_mainnet_transaction_hash.7b8eb5d77d": [], "test.synthetix.not_null_core_market_updated_base_mainnet_contract.6d90834e3f": [], "test.synthetix.not_null_core_market_updated_base_mainnet_event_name.6afe397967": [], "test.synthetix.accepted_values_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.06e57bf5c5": [], "test.synthetix.not_null_core_market_updated_base_mainnet_market_id.de78147356": [], "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_market_id__True__0.ab7b335af7": [], "test.synthetix.not_null_core_market_updated_base_mainnet_net_issuance.334062f568": [], "test.synthetix.not_null_core_market_updated_base_mainnet_deposited_collateral_value.905a08bfbb": [], "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_deposited_collateral_value__True__0.3945f7eca1": [], "test.synthetix.not_null_core_market_updated_base_mainnet_sender.5b6ff88208": [], "test.synthetix.not_null_core_market_updated_base_mainnet_collateral_type.6e2d5502d4": [], "test.synthetix.not_null_core_market_updated_base_mainnet_credit_capacity.4cad1dd5dd": [], "test.synthetix.not_null_core_market_updated_base_mainnet_token_amount.ce8694585d": [], "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_token_amount__True__0.159f754b68": [], "test.synthetix.not_null_core_market_registered_base_mainnet_market.6a5311f9b7": [], "test.synthetix.not_null_core_market_registered_base_mainnet_market_id.8fa95d0adc": [], "test.synthetix.unique_core_market_registered_base_mainnet_market_id.e03ba7f671": [], "test.synthetix.not_null_core_market_registered_base_mainnet_id.58185ba1ad": [], "test.synthetix.unique_core_market_registered_base_mainnet_id.b0e87b4cdb": [], "test.synthetix.not_null_core_market_registered_base_mainnet_block_timestamp.41726ce377": [], "test.synthetix.not_null_core_market_registered_base_mainnet_contract.0187a84f0b": [], "test.synthetix.not_null_core_market_registered_base_mainnet_transaction_hash.7e49be40a9": [], "test.synthetix.not_null_core_market_registered_base_mainnet_block_number.14cb004b58": [], "test.synthetix.not_null_core_market_registered_base_mainnet_event_name.c5054f10bf": [], "test.synthetix.accepted_values_core_market_registered_base_mainnet_event_name__MarketRegistered.b297851ae7": [], "test.synthetix.not_null_core_market_registered_base_mainnet_sender.9825c848f6": [], "test.synthetix.not_null_core_pool_created_base_mainnet_contract.6f3850c4d8": [], "test.synthetix.not_null_core_pool_created_base_mainnet_sender.0c210116c7": [], "test.synthetix.not_null_core_pool_created_base_mainnet_block_timestamp.94505d3912": [], "test.synthetix.not_null_core_pool_created_base_mainnet_id.44cc56adee": [], "test.synthetix.unique_core_pool_created_base_mainnet_id.f5ca162629": [], "test.synthetix.not_null_core_pool_created_base_mainnet_block_number.8ef3c64233": [], "test.synthetix.not_null_core_pool_created_base_mainnet_transaction_hash.88325163ff": [], "test.synthetix.not_null_core_pool_created_base_mainnet_event_name.0770467455": [], "test.synthetix.accepted_values_core_pool_created_base_mainnet_event_name__PoolCreated.a1f7123964": [], "test.synthetix.not_null_core_pool_created_base_mainnet_owner.875044313e": [], "test.synthetix.not_null_core_pool_created_base_mainnet_pool_id.d63bf41661": [], "test.synthetix.dbt_utils_accepted_range_core_pool_created_base_mainnet_pool_id__True__0.39f67d8bfc": [], "test.synthetix.not_null_core_rewards_claimed_base_mainnet_transaction_hash.b63233ece5": [], "test.synthetix.not_null_core_rewards_claimed_base_mainnet_account_id.854e016ff9": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_account_id__True__0.f3a8537aec": [], "test.synthetix.not_null_core_rewards_claimed_base_mainnet_collateral_type.f4a0d97e20": [], "test.synthetix.not_null_core_rewards_claimed_base_mainnet_event_name.8699999c22": [], "test.synthetix.accepted_values_core_rewards_claimed_base_mainnet_event_name__RewardsClaimed.aa2ca50bfd": [], "test.synthetix.not_null_core_rewards_claimed_base_mainnet_contract.c7544b70ac": [], "test.synthetix.not_null_core_rewards_claimed_base_mainnet_amount.2d80149737": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_amount__True__0.d32a48611c": [], "test.synthetix.not_null_core_rewards_claimed_base_mainnet_distributor.edc7126cd6": [], "test.synthetix.not_null_core_rewards_claimed_base_mainnet_block_timestamp.365bd8971d": [], "test.synthetix.not_null_core_rewards_claimed_base_mainnet_id.e1c2a57eae": [], "test.synthetix.unique_core_rewards_claimed_base_mainnet_id.3e937354d7": [], "test.synthetix.not_null_core_rewards_claimed_base_mainnet_pool_id.28e40cfefe": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_pool_id__True__0.4091fd0cb1": [], "test.synthetix.not_null_core_rewards_claimed_base_mainnet_block_number.4b65195293": [], "test.synthetix.not_null_core_rewards_distributed_base_mainnet_id.0142695043": [], "test.synthetix.unique_core_rewards_distributed_base_mainnet_id.8cb2f0871f": [], "test.synthetix.not_null_core_rewards_distributed_base_mainnet_event_name.16811bbe2c": [], "test.synthetix.accepted_values_core_rewards_distributed_base_mainnet_event_name__RewardsDistributed.c4ccd15bed": [], "test.synthetix.not_null_core_rewards_distributed_base_mainnet_amount.2580da873a": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_amount__True__0.839843f110": [], "test.synthetix.not_null_core_rewards_distributed_base_mainnet_contract.5545c1884a": [], "test.synthetix.not_null_core_rewards_distributed_base_mainnet_block_timestamp.3080d49013": [], "test.synthetix.not_null_core_rewards_distributed_base_mainnet_transaction_hash.bc1d7442f3": [], "test.synthetix.not_null_core_rewards_distributed_base_mainnet_collateral_type.7253a5e6ec": [], "test.synthetix.not_null_core_rewards_distributed_base_mainnet_block_number.8a561feed6": [], "test.synthetix.not_null_core_rewards_distributed_base_mainnet_duration.78ed8fd436": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_duration__True__0.7efb65f7c3": [], "test.synthetix.not_null_core_rewards_distributed_base_mainnet_distributor.eb73b71c1b": [], "test.synthetix.not_null_core_rewards_distributed_base_mainnet_pool_id.8ee087c0fc": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_pool_id__True__0.7d779ece26": [], "test.synthetix.not_null_core_usd_burned_base_mainnet_amount.57fdbdea35": [], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_amount__True__0.27adfdbff9": [], "test.synthetix.not_null_core_usd_burned_base_mainnet_pool_id.abf28cfdf6": [], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_pool_id__True__0.52120b282a": [], "test.synthetix.not_null_core_usd_burned_base_mainnet_event_name.0bb05d75cc": [], "test.synthetix.accepted_values_core_usd_burned_base_mainnet_event_name__UsdBurned.9df46c6616": [], "test.synthetix.not_null_core_usd_burned_base_mainnet_id.7d6df2e91f": [], "test.synthetix.unique_core_usd_burned_base_mainnet_id.5953435682": [], "test.synthetix.not_null_core_usd_burned_base_mainnet_block_number.6f683bcb34": [], "test.synthetix.not_null_core_usd_burned_base_mainnet_account_id.b4f53ab613": [], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_account_id__True__0.40ca1a8133": [], "test.synthetix.not_null_core_usd_burned_base_mainnet_sender.b813be6ecc": [], "test.synthetix.not_null_core_usd_burned_base_mainnet_transaction_hash.d80af383d5": [], "test.synthetix.not_null_core_usd_burned_base_mainnet_contract.dba51aebb5": [], "test.synthetix.not_null_core_usd_burned_base_mainnet_collateral_type.e208105e0e": [], "test.synthetix.not_null_core_usd_burned_base_mainnet_block_timestamp.346c53ef95": [], "test.synthetix.not_null_core_usd_minted_base_mainnet_pool_id.ee8fc13465": [], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_pool_id__True__0.38a3f5fcf9": [], "test.synthetix.not_null_core_usd_minted_base_mainnet_block_timestamp.a004821ccd": [], "test.synthetix.not_null_core_usd_minted_base_mainnet_account_id.ccf3e769fe": [], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_account_id__True__0.fd790b59ca": [], "test.synthetix.not_null_core_usd_minted_base_mainnet_collateral_type.f8bfd4628e": [], "test.synthetix.not_null_core_usd_minted_base_mainnet_block_number.9528b63fbc": [], "test.synthetix.not_null_core_usd_minted_base_mainnet_id.9cb007fc5c": [], "test.synthetix.unique_core_usd_minted_base_mainnet_id.476f2a0b45": [], "test.synthetix.not_null_core_usd_minted_base_mainnet_sender.363a1c6bc9": [], "test.synthetix.not_null_core_usd_minted_base_mainnet_amount.196acb6a64": [], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_amount__True__0.1d256007a1": [], "test.synthetix.not_null_core_usd_minted_base_mainnet_event_name.33ff07927a": [], "test.synthetix.accepted_values_core_usd_minted_base_mainnet_event_name__UsdMinted.62f89abcc8": [], "test.synthetix.not_null_core_usd_minted_base_mainnet_transaction_hash.c04da14c24": [], "test.synthetix.not_null_core_usd_minted_base_mainnet_contract.f56e539b17": [], "test.synthetix.not_null_core_vault_liquidation_base_mainnet_transaction_hash.063cc50ef6": [], "test.synthetix.not_null_core_vault_liquidation_base_mainnet_collateral_type.e0c76340c5": [], "test.synthetix.not_null_core_vault_liquidation_base_mainnet_pool_id.4a337176ad": [], "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_pool_id__True__0.bfc340e4f6": [], "test.synthetix.not_null_core_vault_liquidation_base_mainnet_event_name.1e10a7bb02": [], "test.synthetix.accepted_values_core_vault_liquidation_base_mainnet_event_name__VaultLiquidation.b8ea6a7925": [], "test.synthetix.not_null_core_vault_liquidation_base_mainnet_id.3054417f0f": [], "test.synthetix.unique_core_vault_liquidation_base_mainnet_id.74bcb7a076": [], "test.synthetix.not_null_core_vault_liquidation_base_mainnet_block_timestamp.2dca047589": [], "test.synthetix.not_null_core_vault_liquidation_base_mainnet_liquidate_as_account_id.042bc52396": [], "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_liquidate_as_account_id__True__0.b04df95186": [], "test.synthetix.not_null_core_vault_liquidation_base_mainnet_liquidation_data.be698b5245": [], "test.synthetix.not_null_core_vault_liquidation_base_mainnet_contract.d5acf50762": [], "test.synthetix.not_null_core_vault_liquidation_base_mainnet_block_number.667cea546c": [], "test.synthetix.not_null_core_vault_liquidation_base_mainnet_sender.512fed362a": [], "test.synthetix.not_null_core_vault_collateral_base_mainnet_ts.a02f87cd0d": [], "test.synthetix.not_null_core_vault_collateral_base_mainnet_block_number.6eaab21095": [], "test.synthetix.not_null_core_vault_collateral_base_mainnet_pool_id.e1a826b5b2": [], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_pool_id__True__0.c52772c114": [], "test.synthetix.not_null_core_vault_collateral_base_mainnet_collateral_type.bef58af2ef": [], "test.synthetix.not_null_core_vault_collateral_base_mainnet_amount.45536133a9": [], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_amount__True__0.9e07833bf5": [], "test.synthetix.not_null_core_vault_collateral_base_mainnet_collateral_value.5805db9c59": [], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_collateral_value__True__0.7350cb66f7": [], "test.synthetix.not_null_core_vault_collateral_base_mainnet_contract_address.bc7a096c7d": [], "test.synthetix.not_null_core_vault_debt_base_mainnet_ts.fc19d225e3": [], "test.synthetix.not_null_core_vault_debt_base_mainnet_block_number.bd4478b322": [], "test.synthetix.not_null_core_vault_debt_base_mainnet_pool_id.e33ea26a56": [], "test.synthetix.dbt_utils_accepted_range_core_vault_debt_base_mainnet_pool_id__True__0.583a0abe4f": [], "test.synthetix.not_null_core_vault_debt_base_mainnet_collateral_type.e3f9b96478": [], "test.synthetix.not_null_core_vault_debt_base_mainnet_debt.922a67baf4": [], "test.synthetix.not_null_core_vault_debt_base_mainnet_contract_address.f2b82344e4": [], "test.synthetix.not_null_spot_order_committed_base_mainnet_id.4e7c563b12": [], "test.synthetix.unique_spot_order_committed_base_mainnet_id.ebe225e3c1": [], "test.synthetix.not_null_spot_order_committed_base_mainnet_event_name.dc08478d35": [], "test.synthetix.accepted_values_spot_order_committed_base_mainnet_event_name__OrderCommitted.7219cd261b": [], "test.synthetix.not_null_spot_order_committed_base_mainnet_sender.fcb2f6b8e6": [], "test.synthetix.not_null_spot_order_committed_base_mainnet_block_timestamp.b355df469e": [], "test.synthetix.not_null_spot_order_committed_base_mainnet_referrer.773110510c": [], "test.synthetix.not_null_spot_order_committed_base_mainnet_amount_provided.99b6d3d7c6": [], "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_mainnet_amount_provided__True__0.9f6ff0bd95": [], "test.synthetix.not_null_spot_order_committed_base_mainnet_transaction_hash.bf2697d39d": [], "test.synthetix.not_null_spot_order_committed_base_mainnet_contract.2711d7c5f2": [], "test.synthetix.not_null_spot_order_committed_base_mainnet_market_id.eb878589ce": [], "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_mainnet_market_id__True__0.d412907ad8": [], "test.synthetix.not_null_spot_order_committed_base_mainnet_block_number.b73840a782": [], "test.synthetix.not_null_spot_order_committed_base_mainnet_order_type.af8cf04472": [], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_final_order_amount__True__0.285227b4ad": [], "test.synthetix.not_null_spot_order_settled_base_mainnet_settler.32eafc3529": [], "test.synthetix.not_null_spot_order_settled_base_mainnet_block_number.0da3f5f83c": [], "test.synthetix.not_null_spot_order_settled_base_mainnet_transaction_hash.cc03e5396c": [], "test.synthetix.not_null_spot_order_settled_base_mainnet_block_timestamp.d6a06e33d2": [], "test.synthetix.not_null_spot_order_settled_base_mainnet_id.bee9f4adc9": [], "test.synthetix.unique_spot_order_settled_base_mainnet_id.3552e2a2e6": [], "test.synthetix.not_null_spot_order_settled_base_mainnet_order_type.0e7f500a0a": [], "test.synthetix.not_null_spot_order_settled_base_mainnet_contract.901410d0f9": [], "test.synthetix.not_null_spot_order_settled_base_mainnet_price.a8065724a1": [], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_price__True__0.a69aaf95b9": [], "test.synthetix.not_null_spot_order_settled_base_mainnet_market_id.ea53981200": [], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_market_id__True__0.57e7a4e22d": [], "test.synthetix.not_null_spot_order_settled_base_mainnet_collected_fees.f0d64ac401": [], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_collected_fees__True__0.d7bd810890": [], "test.synthetix.not_null_spot_order_settled_base_mainnet_event_name.b99840eec6": [], "test.synthetix.accepted_values_spot_order_settled_base_mainnet_event_name__OrderSettled.30376f4577": [], "test.synthetix.not_null_spot_order_cancelled_base_mainnet_id.5486ce1cb2": [], "test.synthetix.unique_spot_order_cancelled_base_mainnet_id.5ac9e5a86c": [], "test.synthetix.not_null_spot_order_cancelled_base_mainnet_block_timestamp.81016bb88f": [], "test.synthetix.not_null_spot_order_cancelled_base_mainnet_transaction_hash.524e2820c0": [], "test.synthetix.not_null_spot_order_cancelled_base_mainnet_sender.666cd271e1": [], "test.synthetix.not_null_spot_order_cancelled_base_mainnet_contract.b45f673add": [], "test.synthetix.not_null_spot_order_cancelled_base_mainnet_event_name.75d1cf92ef": [], "test.synthetix.accepted_values_spot_order_cancelled_base_mainnet_event_name__OrderCancelled.468b0aa5ec": [], "test.synthetix.not_null_spot_order_cancelled_base_mainnet_market_id.3d2e9d2ba5": [], "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_base_mainnet_market_id__True__0.9edddeabb3": [], "test.synthetix.not_null_spot_order_cancelled_base_mainnet_block_number.59e7d43c87": [], "test.synthetix.not_null_spot_synth_registered_base_mainnet_id.9f21a7f761": [], "test.synthetix.unique_spot_synth_registered_base_mainnet_id.81eda4804d": [], "test.synthetix.not_null_spot_synth_registered_base_mainnet_block_timestamp.9fcd6d9ec6": [], "test.synthetix.not_null_spot_synth_registered_base_mainnet_synth_market_id.97f70d1e33": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_base_mainnet_synth_market_id__True__0.289066bb62": [], "test.synthetix.not_null_spot_synth_registered_base_mainnet_block_number.fb558416fb": [], "test.synthetix.not_null_spot_synth_registered_base_mainnet_contract.a1096e5fd9": [], "test.synthetix.not_null_spot_synth_registered_base_mainnet_synth_token_address.f2f086a15a": [], "test.synthetix.not_null_spot_synth_registered_base_mainnet_event_name.6d850cc54d": [], "test.synthetix.accepted_values_spot_synth_registered_base_mainnet_event_name__SynthRegistered.5528c05ba2": [], "test.synthetix.not_null_spot_synth_registered_base_mainnet_transaction_hash.7e53d9e7f0": [], "test.synthetix.not_null_spot_synth_bought_base_mainnet_collected_fees.d9c17c84f7": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_collected_fees__True__0.3fcb3fda3a": [], "test.synthetix.not_null_spot_synth_bought_base_mainnet_transaction_hash.1e8279de09": [], "test.synthetix.not_null_spot_synth_bought_base_mainnet_synth_market_id.32145e8cb4": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_synth_market_id__True__0.e3b9a2a2bf": [], "test.synthetix.not_null_spot_synth_bought_base_mainnet_block_number.afabe746ef": [], "test.synthetix.not_null_spot_synth_bought_base_mainnet_block_timestamp.5044e48413": [], "test.synthetix.not_null_spot_synth_bought_base_mainnet_id.f9e555c962": [], "test.synthetix.unique_spot_synth_bought_base_mainnet_id.e00678ebae": [], "test.synthetix.not_null_spot_synth_bought_base_mainnet_price.f59f9c339a": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_price__True__0.e25fbf2240": [], "test.synthetix.not_null_spot_synth_bought_base_mainnet_contract.d6d311c160": [], "test.synthetix.not_null_spot_synth_bought_base_mainnet_referrer.3b61ce852c": [], "test.synthetix.not_null_spot_synth_bought_base_mainnet_event_name.8a35f2634d": [], "test.synthetix.accepted_values_spot_synth_bought_base_mainnet_event_name__SynthBought.7302486ec0": [], "test.synthetix.not_null_spot_synth_sold_base_mainnet_event_name.f76ff966dc": [], "test.synthetix.accepted_values_spot_synth_sold_base_mainnet_event_name__SynthSold.b1a44748ed": [], "test.synthetix.not_null_spot_synth_sold_base_mainnet_transaction_hash.6957d51d9c": [], "test.synthetix.not_null_spot_synth_sold_base_mainnet_collected_fees.99a85c53ea": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_collected_fees__True__0.6cc814f854": [], "test.synthetix.not_null_spot_synth_sold_base_mainnet_block_timestamp.1713f1d130": [], "test.synthetix.not_null_spot_synth_sold_base_mainnet_referrer.ee678360be": [], "test.synthetix.not_null_spot_synth_sold_base_mainnet_block_number.148bf58e52": [], "test.synthetix.not_null_spot_synth_sold_base_mainnet_price.3d1a702fbb": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_price__True__0.994b9376fd": [], "test.synthetix.not_null_spot_synth_sold_base_mainnet_amount_returned.989a4131c2": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_amount_returned__True__0.250710e6f1": [], "test.synthetix.not_null_spot_synth_sold_base_mainnet_synth_market_id.b7dab5388d": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_synth_market_id__True__0.3ec6dae33c": [], "test.synthetix.not_null_spot_synth_sold_base_mainnet_id.763b711f62": [], "test.synthetix.unique_spot_synth_sold_base_mainnet_id.4cbe90534a": [], "test.synthetix.not_null_spot_synth_sold_base_mainnet_contract.46ddd59981": [], "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_id.7d79ad852d": [], "test.synthetix.unique_spot_synth_wrapped_base_mainnet_id.77a4ae72ae": [], "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_transaction_hash.9cbd57629d": [], "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_synth_market_id.e2b2f4733f": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_synth_market_id__True__0.3d7fa017bf": [], "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_contract.33e8d1917b": [], "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_event_name.1f22f5789b": [], "test.synthetix.accepted_values_spot_synth_wrapped_base_mainnet_event_name__SynthWrapped.e81f79edcb": [], "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_block_timestamp.66ddebcfe0": [], "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_block_number.4bf40252e1": [], "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_fees_collected.9a641530e9": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_fees_collected__True__0.88e8d792fd": [], "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_block_timestamp.0e8329af5c": [], "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped.025e49370b": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_amount_unwrapped__True__0.2e78bc25a2": [], "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_fees_collected.cd35bec369": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_fees_collected__True__0.48d9a0e389": [], "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_event_name.dbfac4a471": [], "test.synthetix.accepted_values_spot_synth_unwrapped_base_mainnet_event_name__SynthUnwrapped.a1713eb60e": [], "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_block_number.81e8f4c2ea": [], "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_transaction_hash.e27a71ff2d": [], "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_contract.cba8e61baa": [], "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_id.cd459ace96": [], "test.synthetix.unique_spot_synth_unwrapped_base_mainnet_id.1256b6907b": [], "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_synth_market_id.47983f606b": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_synth_market_id__True__0.de01d6cd38": [], "test.synthetix.not_null_blocks_base_sepolia_block_number.1adc80fce5": [], "test.synthetix.unique_blocks_base_sepolia_block_number.b9de81024b": [], "test.synthetix.dbt_utils_recency_blocks_base_sepolia_hour__ts__1.b4197f397a": [], "test.synthetix.unique_perp_account_created_base_sepolia_id.d2b0023315": [], "test.synthetix.not_null_perp_account_created_base_sepolia_id.7da01b5642": [], "test.synthetix.not_null_perp_account_created_base_sepolia_event_name.d7deee96b5": [], "test.synthetix.accepted_values_perp_account_created_base_sepolia_event_name__AccountCreated.e5e94f342c": [], "test.synthetix.not_null_perp_account_created_base_sepolia_block_number.b9729c0627": [], "test.synthetix.not_null_perp_account_created_base_sepolia_block_timestamp.1f03770bcc": [], "test.synthetix.not_null_perp_account_created_base_sepolia_owner.31f8eb801c": [], "test.synthetix.not_null_perp_account_created_base_sepolia_account_id.e2509a45ab": [], "test.synthetix.dbt_utils_accepted_range_perp_account_created_base_sepolia_account_id__True__0.72ab89cd5f": [], "test.synthetix.not_null_perp_account_created_base_sepolia_transaction_hash.6324af1adb": [], "test.synthetix.not_null_perp_account_created_base_sepolia_contract.1b1ec25344": [], "test.synthetix.unique_perp_order_committed_base_sepolia_id.eb024384af": [], "test.synthetix.not_null_perp_order_committed_base_sepolia_id.5b74c78258": [], "test.synthetix.not_null_perp_order_committed_base_sepolia_block_number.f3230cc50d": [], "test.synthetix.not_null_perp_order_committed_base_sepolia_block_timestamp.192957d40c": [], "test.synthetix.not_null_perp_order_committed_base_sepolia_transaction_hash.761f6c5146": [], "test.synthetix.not_null_perp_order_committed_base_sepolia_contract.ad38cda3df": [], "test.synthetix.not_null_perp_order_committed_base_sepolia_event_name.dc8411b8b1": [], "test.synthetix.accepted_values_perp_order_committed_base_sepolia_event_name__OrderCommitted.f236dead5d": [], "test.synthetix.not_null_perp_order_committed_base_sepolia_market_id.9c41f762ec": [], "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_sepolia_market_id__True__0.6174df8d83": [], "test.synthetix.not_null_perp_order_committed_base_sepolia_account_id.e0cc9cd7a0": [], "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_sepolia_account_id__True__0.2a5b9bdddf": [], "test.synthetix.not_null_perp_order_settled_base_sepolia_contract.03742630fd": [], "test.synthetix.not_null_perp_order_settled_base_sepolia_event_name.95d61e9b53": [], "test.synthetix.accepted_values_perp_order_settled_base_sepolia_event_name__OrderSettled.b82d60a6cd": [], "test.synthetix.not_null_perp_order_settled_base_sepolia_account_id.0505121484": [], "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_account_id__True__0.dd4d18c933": [], "test.synthetix.not_null_perp_order_settled_base_sepolia_market_id.90e9816e9b": [], "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_market_id__True__0.00baab3b06": [], "test.synthetix.not_null_perp_order_settled_base_sepolia_collected_fees.19815f72b6": [], "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_collected_fees__True__0.cfcb7626da": [], "test.synthetix.not_null_perp_order_settled_base_sepolia_transaction_hash.e40380e103": [], "test.synthetix.not_null_perp_order_settled_base_sepolia_block_timestamp.8624d8c529": [], "test.synthetix.not_null_perp_order_settled_base_sepolia_block_number.723c9f9ccf": [], "test.synthetix.unique_perp_order_settled_base_sepolia_id.52c8b658a1": [], "test.synthetix.not_null_perp_order_settled_base_sepolia_id.6a51920964": [], "test.synthetix.unique_perp_market_updated_base_sepolia_id.5fa0b8a094": [], "test.synthetix.not_null_perp_market_updated_base_sepolia_id.c010e8e9d3": [], "test.synthetix.not_null_perp_market_updated_base_sepolia_block_number.6d91893cd9": [], "test.synthetix.not_null_perp_market_updated_base_sepolia_block_timestamp.eabfe875b1": [], "test.synthetix.not_null_perp_market_updated_base_sepolia_transaction_hash.b36ca2219f": [], "test.synthetix.not_null_perp_market_updated_base_sepolia_contract.7a798ec958": [], "test.synthetix.not_null_perp_market_updated_base_sepolia_event_name.5808660a29": [], "test.synthetix.accepted_values_perp_market_updated_base_sepolia_event_name__MarketUpdated.6507eaa7c6": [], "test.synthetix.not_null_perp_market_updated_base_sepolia_market_id.1d15a36e0c": [], "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_market_id__True__0.2aed99d0b6": [], "test.synthetix.not_null_perp_market_updated_base_sepolia_price.821df5b6b3": [], "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_price__True__0.4f4858e59f": [], "test.synthetix.not_null_perp_market_updated_base_sepolia_interest_rate.20f815f06a": [], "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_interest_rate__True__0.82fe5b32f6": [], "test.synthetix.not_null_perp_position_liquidated_base_sepolia_account_id.8e9f2c1b4b": [], "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_account_id__True__0.a60e1cbb90": [], "test.synthetix.not_null_perp_position_liquidated_base_sepolia_market_id.6c389de6f5": [], "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_market_id__True__0.c5145fd027": [], "test.synthetix.unique_perp_position_liquidated_base_sepolia_id.e92f27d6e6": [], "test.synthetix.not_null_perp_position_liquidated_base_sepolia_id.985f2af114": [], "test.synthetix.not_null_perp_position_liquidated_base_sepolia_transaction_hash.b180fd2627": [], "test.synthetix.not_null_perp_position_liquidated_base_sepolia_current_position_size.f98475edcb": [], "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_current_position_size__True__0.cf9da7d717": [], "test.synthetix.not_null_perp_position_liquidated_base_sepolia_event_name.1d2d01fa50": [], "test.synthetix.accepted_values_perp_position_liquidated_base_sepolia_event_name__PositionLiquidated.e07d1e03f2": [], "test.synthetix.not_null_perp_position_liquidated_base_sepolia_block_number.d05dfab674": [], "test.synthetix.not_null_perp_position_liquidated_base_sepolia_amount_liquidated.c878a441e1": [], "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_amount_liquidated__True__0.20b97e678b": [], "test.synthetix.not_null_perp_position_liquidated_base_sepolia_contract.0a66db5700": [], "test.synthetix.not_null_perp_position_liquidated_base_sepolia_block_timestamp.1700de694b": [], "test.synthetix.unique_perp_account_liquidation_attempt_base_sepolia_id.64895ed40b": [], "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_id.fa21a229e8": [], "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_account_id.72dba0b474": [], "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_account_id__True__0.d9d7f88802": [], "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_block_number.c00ff06028": [], "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_reward.41da25d087": [], "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_reward__True__0.d1fe263182": [], "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_block_timestamp.b212643602": [], "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_contract.5a7ac10d9d": [], "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_event_name.5a524744d4": [], "test.synthetix.accepted_values_perp_account_liquidation_attempt_base_sepolia_event_name__AccountLiquidationAttempt.7e035fbfbd": [], "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_transaction_hash.18ed9c33a9": [], "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_full_liquidation.4544a98926": [], "test.synthetix.not_null_perp_collateral_modified_base_sepolia_block_timestamp.a0b63e8833": [], "test.synthetix.not_null_perp_collateral_modified_base_sepolia_contract.c669409e90": [], "test.synthetix.not_null_perp_collateral_modified_base_sepolia_event_name.05505fea35": [], "test.synthetix.accepted_values_perp_collateral_modified_base_sepolia_event_name__CollateralModified.35bbd5a11f": [], "test.synthetix.not_null_perp_collateral_modified_base_sepolia_block_number.5818313783": [], "test.synthetix.not_null_perp_collateral_modified_base_sepolia_synth_market_id.6b585142fd": [], "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_synth_market_id__True__0.e6426004ec": [], "test.synthetix.unique_perp_collateral_modified_base_sepolia_id.df76a33926": [], "test.synthetix.not_null_perp_collateral_modified_base_sepolia_id.0306c59b13": [], "test.synthetix.not_null_perp_collateral_modified_base_sepolia_sender.c5a5dbc794": [], "test.synthetix.not_null_perp_collateral_modified_base_sepolia_account_id.41a4ca06b6": [], "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_account_id__True__0.4061e8095e": [], "test.synthetix.not_null_perp_collateral_modified_base_sepolia_transaction_hash.ccfe215417": [], "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_block_timestamp.2056bbf796": [], "test.synthetix.unique_perp_previous_order_expired_base_sepolia_id.a9c841c5f7": [], "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_id.35380c8364": [], "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_block_number.b44f0bbf4b": [], "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_market_id.c3963e0426": [], "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_market_id__True__0.92c22b0d98": [], "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_event_name.94027cf5fd": [], "test.synthetix.accepted_values_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired.1a5af6cb8b": [], "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_transaction_hash.47402badfc": [], "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_account_id.358a8acfe7": [], "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_account_id__True__0.7ed9f71601": [], "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_contract.d5ae4c2080": [], "test.synthetix.not_null_perp_market_created_base_sepolia_market_name.2335002c7c": [], "test.synthetix.unique_perp_market_created_base_sepolia_id.9af5f482a3": [], "test.synthetix.not_null_perp_market_created_base_sepolia_id.3651be9d50": [], "test.synthetix.not_null_perp_market_created_base_sepolia_market_symbol.b99df1cd19": [], "test.synthetix.not_null_perp_market_created_base_sepolia_event_name.594bfb776d": [], "test.synthetix.accepted_values_perp_market_created_base_sepolia_event_name__MarketCreated.da7f65c9d0": [], "test.synthetix.not_null_perp_market_created_base_sepolia_block_number.f39a76515f": [], "test.synthetix.not_null_perp_market_created_base_sepolia_block_timestamp.087de488f9": [], "test.synthetix.not_null_perp_market_created_base_sepolia_contract.9b5b7d63ca": [], "test.synthetix.not_null_perp_market_created_base_sepolia_perps_market_id.30bf02bc46": [], "test.synthetix.dbt_utils_accepted_range_perp_market_created_base_sepolia_perps_market_id__True__0.89e2162ed5": [], "test.synthetix.not_null_perp_market_created_base_sepolia_transaction_hash.83d1940949": [], "test.synthetix.not_null_perp_interest_charged_base_sepolia_event_name.7088270e38": [], "test.synthetix.accepted_values_perp_interest_charged_base_sepolia_event_name__InterestCharged.b607f55a72": [], "test.synthetix.not_null_perp_interest_charged_base_sepolia_contract.ad4bd5bb4b": [], "test.synthetix.not_null_perp_interest_charged_base_sepolia_transaction_hash.7d20550a93": [], "test.synthetix.not_null_perp_interest_charged_base_sepolia_block_timestamp.6723ccf2f9": [], "test.synthetix.unique_perp_interest_charged_base_sepolia_id.7023b7407d": [], "test.synthetix.not_null_perp_interest_charged_base_sepolia_id.a8d5a81503": [], "test.synthetix.not_null_perp_interest_charged_base_sepolia_block_number.e9b7b9cd80": [], "test.synthetix.not_null_perp_interest_charged_base_sepolia_account_id.ec1ea115af": [], "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_base_sepolia_account_id__True__0.7595935b71": [], "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_block_timestamp.609017baeb": [], "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_event_name.30275ad446": [], "test.synthetix.accepted_values_perp_interest_rate_updated_base_sepolia_event_name__InterestRateUpdated.5d317c53f3": [], "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_transaction_hash.3601647535": [], "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_interest_rate.7f5f7342cd": [], "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_interest_rate__True__0.c114557661": [], "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_block_number.eeff2c078a": [], "test.synthetix.unique_perp_interest_rate_updated_base_sepolia_id.2295efc83a": [], "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_id.24c18054e7": [], "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_contract.ccc079c59c": [], "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_super_market_id.68b732b580": [], "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_super_market_id__True__0.cc3fb6ff17": [], "test.synthetix.not_null_buyback_processed_base_sepolia_id.e10820e4d2": [], "test.synthetix.unique_buyback_processed_base_sepolia_id.c3e20dc22e": [], "test.synthetix.not_null_buyback_processed_base_sepolia_block_number.73166259d7": [], "test.synthetix.not_null_buyback_processed_base_sepolia_block_timestamp.c83a09ad33": [], "test.synthetix.not_null_buyback_processed_base_sepolia_transaction_hash.a38d34613b": [], "test.synthetix.not_null_buyback_processed_base_sepolia_event_name.755deb59b2": [], "test.synthetix.accepted_values_buyback_processed_base_sepolia_event_name__BuybackProcessed.16f3176222": [], "test.synthetix.not_null_buyback_processed_base_sepolia_contract.b27543f734": [], "test.synthetix.not_null_buyback_processed_base_sepolia_buyer.4fd04cc021": [], "test.synthetix.not_null_buyback_processed_base_sepolia_snx.52b876a9f7": [], "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_sepolia_snx__True__0.628aa3b85b": [], "test.synthetix.not_null_buyback_processed_base_sepolia_usd.397135feed": [], "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_sepolia_usd__True__0.f23761f17f": [], "test.synthetix.not_null_core_account_created_base_sepolia_owner.adee48eb04": [], "test.synthetix.not_null_core_account_created_base_sepolia_account_id.fb36b0b793": [], "test.synthetix.dbt_utils_accepted_range_core_account_created_base_sepolia_account_id__True__0.dd17e6e171": [], "test.synthetix.not_null_core_account_created_base_sepolia_id.804b852bd8": [], "test.synthetix.unique_core_account_created_base_sepolia_id.3342caea87": [], "test.synthetix.not_null_core_account_created_base_sepolia_transaction_hash.53f2200f19": [], "test.synthetix.not_null_core_account_created_base_sepolia_block_number.01a77f24bc": [], "test.synthetix.not_null_core_account_created_base_sepolia_block_timestamp.56ac347427": [], "test.synthetix.not_null_core_account_created_base_sepolia_event_name.4849c8704e": [], "test.synthetix.accepted_values_core_account_created_base_sepolia_event_name__AccountCreated.419b9196c4": [], "test.synthetix.not_null_core_account_created_base_sepolia_contract.53ca26628e": [], "test.synthetix.not_null_core_delegation_updated_base_sepolia_contract.f5b6f539eb": [], "test.synthetix.not_null_core_delegation_updated_base_sepolia_id.dcd3b41380": [], "test.synthetix.unique_core_delegation_updated_base_sepolia_id.09af5f863a": [], "test.synthetix.not_null_core_delegation_updated_base_sepolia_account_id.eeaa67ead3": [], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_account_id__True__0.744442e3e1": [], "test.synthetix.not_null_core_delegation_updated_base_sepolia_collateral_type.0ccc2f8e54": [], "test.synthetix.not_null_core_delegation_updated_base_sepolia_pool_id.8e7b343725": [], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_pool_id__True__0.76dffc3ab3": [], "test.synthetix.not_null_core_delegation_updated_base_sepolia_sender.ff059463dc": [], "test.synthetix.not_null_core_delegation_updated_base_sepolia_block_timestamp.d9e4249b7d": [], "test.synthetix.not_null_core_delegation_updated_base_sepolia_block_number.d1ae1c451b": [], "test.synthetix.not_null_core_delegation_updated_base_sepolia_leverage.b016b358da": [], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_leverage__True__1000000000000000000__1000000000000000000.bc25b2b948": [], "test.synthetix.not_null_core_delegation_updated_base_sepolia_transaction_hash.403e1a44d0": [], "test.synthetix.not_null_core_delegation_updated_base_sepolia_amount.b946bd0b57": [], "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_amount__True__0.c17a0b7ccb": [], "test.synthetix.not_null_core_delegation_updated_base_sepolia_event_name.1eb3a277fa": [], "test.synthetix.accepted_values_core_delegation_updated_base_sepolia_event_name__DelegationUpdated.05fda2d1e2": [], "test.synthetix.not_null_core_deposited_base_sepolia_collateral_type.a340ec02eb": [], "test.synthetix.not_null_core_deposited_base_sepolia_id.0591da203f": [], "test.synthetix.unique_core_deposited_base_sepolia_id.3b38f638da": [], "test.synthetix.not_null_core_deposited_base_sepolia_contract.8dbc5afa3f": [], "test.synthetix.not_null_core_deposited_base_sepolia_event_name.b7ccc83970": [], "test.synthetix.accepted_values_core_deposited_base_sepolia_event_name__Deposited.2befe04139": [], "test.synthetix.not_null_core_deposited_base_sepolia_transaction_hash.305ad04c84": [], "test.synthetix.not_null_core_deposited_base_sepolia_account_id.d414fa2a62": [], "test.synthetix.dbt_utils_accepted_range_core_deposited_base_sepolia_account_id__True__0.7619844d60": [], "test.synthetix.not_null_core_deposited_base_sepolia_sender.0468b8397d": [], "test.synthetix.not_null_core_deposited_base_sepolia_block_timestamp.cbbc8b2a2e": [], "test.synthetix.not_null_core_deposited_base_sepolia_block_number.e9986d7fcf": [], "test.synthetix.not_null_core_deposited_base_sepolia_token_amount.af75bc1896": [], "test.synthetix.dbt_utils_accepted_range_core_deposited_base_sepolia_token_amount__True__0.266baf687b": [], "test.synthetix.not_null_core_withdrawn_base_sepolia_block_timestamp.276176a645": [], "test.synthetix.not_null_core_withdrawn_base_sepolia_contract.9a643890c5": [], "test.synthetix.not_null_core_withdrawn_base_sepolia_block_number.b38561efe3": [], "test.synthetix.not_null_core_withdrawn_base_sepolia_transaction_hash.ea6432763a": [], "test.synthetix.not_null_core_withdrawn_base_sepolia_token_amount.3582c76f95": [], "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_sepolia_token_amount__True__0.600b962701": [], "test.synthetix.not_null_core_withdrawn_base_sepolia_collateral_type.e4b3817245": [], "test.synthetix.not_null_core_withdrawn_base_sepolia_account_id.6536ec7b3c": [], "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_sepolia_account_id__True__0.283560870b": [], "test.synthetix.not_null_core_withdrawn_base_sepolia_id.a4ef85d6dd": [], "test.synthetix.unique_core_withdrawn_base_sepolia_id.30c3b98bff": [], "test.synthetix.not_null_core_withdrawn_base_sepolia_sender.935071b6a7": [], "test.synthetix.not_null_core_withdrawn_base_sepolia_event_name.919fe4b5de": [], "test.synthetix.accepted_values_core_withdrawn_base_sepolia_event_name__Withdrawn.12079a5ee6": [], "test.synthetix.not_null_core_liquidation_base_sepolia_pool_id.0059acd0f9": [], "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_pool_id__True__0.7493427efd": [], "test.synthetix.not_null_core_liquidation_base_sepolia_block_timestamp.212c6a9018": [], "test.synthetix.not_null_core_liquidation_base_sepolia_block_number.f510e99a58": [], "test.synthetix.not_null_core_liquidation_base_sepolia_id.efbd949b78": [], "test.synthetix.unique_core_liquidation_base_sepolia_id.321d95d29c": [], "test.synthetix.not_null_core_liquidation_base_sepolia_contract.2d1b4b38d4": [], "test.synthetix.not_null_core_liquidation_base_sepolia_event_name.ab3ef77d1c": [], "test.synthetix.accepted_values_core_liquidation_base_sepolia_event_name__Liquidation.24bb1726f1": [], "test.synthetix.not_null_core_liquidation_base_sepolia_collateral_type.c93d2f649b": [], "test.synthetix.not_null_core_liquidation_base_sepolia_sender.3afbae055d": [], "test.synthetix.not_null_core_liquidation_base_sepolia_account_id.0aa7b969f5": [], "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_account_id__True__0.02852291f8": [], "test.synthetix.not_null_core_liquidation_base_sepolia_transaction_hash.78921d6775": [], "test.synthetix.not_null_core_liquidation_base_sepolia_liquidate_as_account_id.3e3ca344a6": [], "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_liquidate_as_account_id__True__0.6947f1cc05": [], "test.synthetix.not_null_core_market_updated_base_sepolia_id.179b4fa862": [], "test.synthetix.unique_core_market_updated_base_sepolia_id.945f14ee77": [], "test.synthetix.not_null_core_market_updated_base_sepolia_block_timestamp.66be40faea": [], "test.synthetix.not_null_core_market_updated_base_sepolia_block_number.450e88640c": [], "test.synthetix.not_null_core_market_updated_base_sepolia_transaction_hash.6351c7ce23": [], "test.synthetix.not_null_core_market_updated_base_sepolia_contract.cf139c06ed": [], "test.synthetix.not_null_core_market_updated_base_sepolia_event_name.c0e71ec841": [], "test.synthetix.accepted_values_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.97084835ea": [], "test.synthetix.not_null_core_market_updated_base_sepolia_market_id.81913bae24": [], "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_market_id__True__0.c2038f3200": [], "test.synthetix.not_null_core_market_updated_base_sepolia_net_issuance.85d70c9059": [], "test.synthetix.not_null_core_market_updated_base_sepolia_deposited_collateral_value.47b96d9782": [], "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_deposited_collateral_value__True__0.ff17627b64": [], "test.synthetix.not_null_core_market_updated_base_sepolia_sender.b57e7709cd": [], "test.synthetix.not_null_core_market_updated_base_sepolia_collateral_type.a64be17284": [], "test.synthetix.not_null_core_market_updated_base_sepolia_credit_capacity.2033e021e1": [], "test.synthetix.not_null_core_market_updated_base_sepolia_token_amount.a8f7145772": [], "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_token_amount__True__0.00d32c5847": [], "test.synthetix.not_null_core_market_registered_base_sepolia_market.c1fe5f76b8": [], "test.synthetix.not_null_core_market_registered_base_sepolia_market_id.dc3f59aaaf": [], "test.synthetix.unique_core_market_registered_base_sepolia_market_id.37a04d292a": [], "test.synthetix.not_null_core_market_registered_base_sepolia_id.6150b3d520": [], "test.synthetix.unique_core_market_registered_base_sepolia_id.1efe4c6aec": [], "test.synthetix.not_null_core_market_registered_base_sepolia_block_timestamp.209ede7f48": [], "test.synthetix.not_null_core_market_registered_base_sepolia_contract.8cc1db09cc": [], "test.synthetix.not_null_core_market_registered_base_sepolia_transaction_hash.de234a0b4d": [], "test.synthetix.not_null_core_market_registered_base_sepolia_block_number.fd8cdd563c": [], "test.synthetix.not_null_core_market_registered_base_sepolia_event_name.c0f99c65cf": [], "test.synthetix.accepted_values_core_market_registered_base_sepolia_event_name__MarketRegistered.52bda7875b": [], "test.synthetix.not_null_core_market_registered_base_sepolia_sender.0ec521b301": [], "test.synthetix.not_null_core_pool_created_base_sepolia_contract.3347ab7e86": [], "test.synthetix.not_null_core_pool_created_base_sepolia_sender.40177457bd": [], "test.synthetix.not_null_core_pool_created_base_sepolia_block_timestamp.770a6f30f6": [], "test.synthetix.not_null_core_pool_created_base_sepolia_id.b1a35dd808": [], "test.synthetix.unique_core_pool_created_base_sepolia_id.bc373a2eb3": [], "test.synthetix.not_null_core_pool_created_base_sepolia_block_number.094a784336": [], "test.synthetix.not_null_core_pool_created_base_sepolia_transaction_hash.c6810d0b49": [], "test.synthetix.not_null_core_pool_created_base_sepolia_event_name.1dac944daf": [], "test.synthetix.accepted_values_core_pool_created_base_sepolia_event_name__PoolCreated.f08bef53a3": [], "test.synthetix.not_null_core_pool_created_base_sepolia_owner.de5ae68a1a": [], "test.synthetix.not_null_core_pool_created_base_sepolia_pool_id.e6e51130fd": [], "test.synthetix.dbt_utils_accepted_range_core_pool_created_base_sepolia_pool_id__True__0.b3e7c8b05d": [], "test.synthetix.not_null_core_rewards_claimed_base_sepolia_transaction_hash.399851f94f": [], "test.synthetix.not_null_core_rewards_claimed_base_sepolia_account_id.35c6ac2750": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_account_id__True__0.56bdf07961": [], "test.synthetix.not_null_core_rewards_claimed_base_sepolia_collateral_type.44fc9e2622": [], "test.synthetix.not_null_core_rewards_claimed_base_sepolia_event_name.5d0bea85a4": [], "test.synthetix.accepted_values_core_rewards_claimed_base_sepolia_event_name__RewardsClaimed.813e8d6cab": [], "test.synthetix.not_null_core_rewards_claimed_base_sepolia_contract.8063e60014": [], "test.synthetix.not_null_core_rewards_claimed_base_sepolia_amount.8d0b56d69c": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_amount__True__0.83b60baad2": [], "test.synthetix.not_null_core_rewards_claimed_base_sepolia_distributor.cfc3ec6cdd": [], "test.synthetix.not_null_core_rewards_claimed_base_sepolia_block_timestamp.78d8816d82": [], "test.synthetix.not_null_core_rewards_claimed_base_sepolia_id.a324c0d7d4": [], "test.synthetix.unique_core_rewards_claimed_base_sepolia_id.b13c8534bb": [], "test.synthetix.not_null_core_rewards_claimed_base_sepolia_pool_id.e61695fb4f": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_pool_id__True__0.80a0443cd0": [], "test.synthetix.not_null_core_rewards_claimed_base_sepolia_block_number.2341e8ee42": [], "test.synthetix.not_null_core_rewards_distributed_base_sepolia_id.0d42a7a31a": [], "test.synthetix.unique_core_rewards_distributed_base_sepolia_id.fafe19f7d9": [], "test.synthetix.not_null_core_rewards_distributed_base_sepolia_event_name.e3a18ecd0c": [], "test.synthetix.accepted_values_core_rewards_distributed_base_sepolia_event_name__RewardsDistributed.23760c7762": [], "test.synthetix.not_null_core_rewards_distributed_base_sepolia_amount.ec60c3040c": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_amount__True__0.6d7f4124f8": [], "test.synthetix.not_null_core_rewards_distributed_base_sepolia_contract.b51980138b": [], "test.synthetix.not_null_core_rewards_distributed_base_sepolia_block_timestamp.305338d6ac": [], "test.synthetix.not_null_core_rewards_distributed_base_sepolia_transaction_hash.9d7346a555": [], "test.synthetix.not_null_core_rewards_distributed_base_sepolia_collateral_type.d02c77e463": [], "test.synthetix.not_null_core_rewards_distributed_base_sepolia_block_number.1404eb5f75": [], "test.synthetix.not_null_core_rewards_distributed_base_sepolia_duration.151d5a6383": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_duration__True__0.aca43f41bf": [], "test.synthetix.not_null_core_rewards_distributed_base_sepolia_distributor.8e49885144": [], "test.synthetix.not_null_core_rewards_distributed_base_sepolia_pool_id.618ac3407b": [], "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_pool_id__True__0.4ad1e16907": [], "test.synthetix.not_null_core_usd_burned_base_sepolia_amount.d577462790": [], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_amount__True__0.2ff0339bf6": [], "test.synthetix.not_null_core_usd_burned_base_sepolia_pool_id.8bd0f688e5": [], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_pool_id__True__0.bdbba08629": [], "test.synthetix.not_null_core_usd_burned_base_sepolia_event_name.2c789d8ccb": [], "test.synthetix.accepted_values_core_usd_burned_base_sepolia_event_name__UsdBurned.c736a2b5fd": [], "test.synthetix.not_null_core_usd_burned_base_sepolia_id.9208a4e4a2": [], "test.synthetix.unique_core_usd_burned_base_sepolia_id.3b90c11835": [], "test.synthetix.not_null_core_usd_burned_base_sepolia_block_number.9acf3a65f4": [], "test.synthetix.not_null_core_usd_burned_base_sepolia_account_id.8014155212": [], "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_account_id__True__0.1c3ad25fc6": [], "test.synthetix.not_null_core_usd_burned_base_sepolia_sender.d28854bdf2": [], "test.synthetix.not_null_core_usd_burned_base_sepolia_transaction_hash.07cbe78bce": [], "test.synthetix.not_null_core_usd_burned_base_sepolia_contract.559c9a6e92": [], "test.synthetix.not_null_core_usd_burned_base_sepolia_collateral_type.1d7071aef1": [], "test.synthetix.not_null_core_usd_burned_base_sepolia_block_timestamp.d6c5fafe43": [], "test.synthetix.not_null_core_usd_minted_base_sepolia_pool_id.7dfafbe9ee": [], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_pool_id__True__0.49903b0695": [], "test.synthetix.not_null_core_usd_minted_base_sepolia_block_timestamp.a33ebf4ef7": [], "test.synthetix.not_null_core_usd_minted_base_sepolia_account_id.56f2a7acd7": [], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_account_id__True__0.8d375d28dd": [], "test.synthetix.not_null_core_usd_minted_base_sepolia_collateral_type.028faf1711": [], "test.synthetix.not_null_core_usd_minted_base_sepolia_block_number.37baa764ce": [], "test.synthetix.not_null_core_usd_minted_base_sepolia_id.3fd3162bcc": [], "test.synthetix.unique_core_usd_minted_base_sepolia_id.9cce972c7e": [], "test.synthetix.not_null_core_usd_minted_base_sepolia_sender.5053739593": [], "test.synthetix.not_null_core_usd_minted_base_sepolia_amount.c1ab51fea3": [], "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_amount__True__0.8db2f09ae2": [], "test.synthetix.not_null_core_usd_minted_base_sepolia_event_name.c1bfdffc84": [], "test.synthetix.accepted_values_core_usd_minted_base_sepolia_event_name__UsdMinted.d686f1f1af": [], "test.synthetix.not_null_core_usd_minted_base_sepolia_transaction_hash.04ae981572": [], "test.synthetix.not_null_core_usd_minted_base_sepolia_contract.ebf65a8472": [], "test.synthetix.not_null_core_vault_liquidation_base_sepolia_transaction_hash.fcdcfcdcdd": [], "test.synthetix.not_null_core_vault_liquidation_base_sepolia_collateral_type.18870127b8": [], "test.synthetix.not_null_core_vault_liquidation_base_sepolia_pool_id.47e473f735": [], "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_pool_id__True__0.5ea2ba7eab": [], "test.synthetix.not_null_core_vault_liquidation_base_sepolia_event_name.04b05d8fa6": [], "test.synthetix.accepted_values_core_vault_liquidation_base_sepolia_event_name__VaultLiquidation.958e4fe8de": [], "test.synthetix.not_null_core_vault_liquidation_base_sepolia_id.08162ec8b5": [], "test.synthetix.unique_core_vault_liquidation_base_sepolia_id.5759c475e5": [], "test.synthetix.not_null_core_vault_liquidation_base_sepolia_block_timestamp.5c4fdcd348": [], "test.synthetix.not_null_core_vault_liquidation_base_sepolia_liquidate_as_account_id.b170dba1d3": [], "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_liquidate_as_account_id__True__0.ee3dd8dc1e": [], "test.synthetix.not_null_core_vault_liquidation_base_sepolia_liquidation_data.a5dc2b7337": [], "test.synthetix.not_null_core_vault_liquidation_base_sepolia_contract.58dafa50b4": [], "test.synthetix.not_null_core_vault_liquidation_base_sepolia_block_number.72d5fcf75c": [], "test.synthetix.not_null_core_vault_liquidation_base_sepolia_sender.2f502247e7": [], "test.synthetix.not_null_core_vault_collateral_base_sepolia_ts.78a98d96c2": [], "test.synthetix.not_null_core_vault_collateral_base_sepolia_block_number.3a3cfc3edf": [], "test.synthetix.not_null_core_vault_collateral_base_sepolia_pool_id.3607d11df2": [], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_pool_id__True__0.0047a9a52a": [], "test.synthetix.not_null_core_vault_collateral_base_sepolia_collateral_type.8cfa2c8f99": [], "test.synthetix.not_null_core_vault_collateral_base_sepolia_amount.ff25c0c9a0": [], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_amount__True__0.6d9b6133f3": [], "test.synthetix.not_null_core_vault_collateral_base_sepolia_collateral_value.30cde60b22": [], "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_collateral_value__True__0.026e20a97f": [], "test.synthetix.not_null_core_vault_collateral_base_sepolia_contract_address.aa0f2cd57b": [], "test.synthetix.not_null_core_vault_debt_base_sepolia_ts.d366714ec5": [], "test.synthetix.not_null_core_vault_debt_base_sepolia_block_number.f25dcd2c96": [], "test.synthetix.not_null_core_vault_debt_base_sepolia_pool_id.05a1d5275c": [], "test.synthetix.dbt_utils_accepted_range_core_vault_debt_base_sepolia_pool_id__True__0.908dbaecbc": [], "test.synthetix.not_null_core_vault_debt_base_sepolia_collateral_type.70a5498cf3": [], "test.synthetix.not_null_core_vault_debt_base_sepolia_debt.9b99714e7f": [], "test.synthetix.not_null_core_vault_debt_base_sepolia_contract_address.a9d7ef2e2d": [], "test.synthetix.not_null_spot_order_committed_base_sepolia_id.11a4430aff": [], "test.synthetix.unique_spot_order_committed_base_sepolia_id.3819dc1084": [], "test.synthetix.not_null_spot_order_committed_base_sepolia_event_name.438812a0d2": [], "test.synthetix.accepted_values_spot_order_committed_base_sepolia_event_name__OrderCommitted.5b70cba35c": [], "test.synthetix.not_null_spot_order_committed_base_sepolia_sender.4e585d7f19": [], "test.synthetix.not_null_spot_order_committed_base_sepolia_block_timestamp.8c88551cb4": [], "test.synthetix.not_null_spot_order_committed_base_sepolia_referrer.7ec29fa647": [], "test.synthetix.not_null_spot_order_committed_base_sepolia_amount_provided.38ad18f779": [], "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_sepolia_amount_provided__True__0.054ef0ffa5": [], "test.synthetix.not_null_spot_order_committed_base_sepolia_transaction_hash.9c446b3700": [], "test.synthetix.not_null_spot_order_committed_base_sepolia_contract.665bb25f85": [], "test.synthetix.not_null_spot_order_committed_base_sepolia_market_id.15c2459855": [], "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_sepolia_market_id__True__0.6632755b0a": [], "test.synthetix.not_null_spot_order_committed_base_sepolia_block_number.9e8c3cbe19": [], "test.synthetix.not_null_spot_order_committed_base_sepolia_order_type.3954986bef": [], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_final_order_amount__True__0.db1eb9bae2": [], "test.synthetix.not_null_spot_order_settled_base_sepolia_settler.3cce2227a9": [], "test.synthetix.not_null_spot_order_settled_base_sepolia_block_number.65da819fda": [], "test.synthetix.not_null_spot_order_settled_base_sepolia_transaction_hash.db4a8fd73d": [], "test.synthetix.not_null_spot_order_settled_base_sepolia_block_timestamp.2af878ee49": [], "test.synthetix.not_null_spot_order_settled_base_sepolia_id.41dd4b147f": [], "test.synthetix.unique_spot_order_settled_base_sepolia_id.d146f45657": [], "test.synthetix.not_null_spot_order_settled_base_sepolia_order_type.aba0efecf9": [], "test.synthetix.not_null_spot_order_settled_base_sepolia_contract.70a66ec745": [], "test.synthetix.not_null_spot_order_settled_base_sepolia_price.5e737efecc": [], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_price__True__0.be79188042": [], "test.synthetix.not_null_spot_order_settled_base_sepolia_market_id.08f8f7cfee": [], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_market_id__True__0.57c7ca8b8a": [], "test.synthetix.not_null_spot_order_settled_base_sepolia_collected_fees.ce03171f19": [], "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_collected_fees__True__0.7f14aa7a7b": [], "test.synthetix.not_null_spot_order_settled_base_sepolia_event_name.78cc82e3ab": [], "test.synthetix.accepted_values_spot_order_settled_base_sepolia_event_name__OrderSettled.177309ebc4": [], "test.synthetix.not_null_spot_order_cancelled_base_sepolia_id.5e9a576929": [], "test.synthetix.unique_spot_order_cancelled_base_sepolia_id.0e40062e64": [], "test.synthetix.not_null_spot_order_cancelled_base_sepolia_block_timestamp.fa9df55b40": [], "test.synthetix.not_null_spot_order_cancelled_base_sepolia_transaction_hash.0752dd402b": [], "test.synthetix.not_null_spot_order_cancelled_base_sepolia_sender.aac13d426e": [], "test.synthetix.not_null_spot_order_cancelled_base_sepolia_contract.0c41210b4f": [], "test.synthetix.not_null_spot_order_cancelled_base_sepolia_event_name.860a2e2098": [], "test.synthetix.accepted_values_spot_order_cancelled_base_sepolia_event_name__OrderCancelled.19ae93abc4": [], "test.synthetix.not_null_spot_order_cancelled_base_sepolia_market_id.29f20fb008": [], "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_base_sepolia_market_id__True__0.256744e74d": [], "test.synthetix.not_null_spot_order_cancelled_base_sepolia_block_number.86a31f2f2c": [], "test.synthetix.not_null_spot_synth_registered_base_sepolia_id.82e3f87ac4": [], "test.synthetix.unique_spot_synth_registered_base_sepolia_id.59dadce592": [], "test.synthetix.not_null_spot_synth_registered_base_sepolia_block_timestamp.79c2f95be5": [], "test.synthetix.not_null_spot_synth_registered_base_sepolia_synth_market_id.5a96ef8d3b": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_base_sepolia_synth_market_id__True__0.e252f6d23b": [], "test.synthetix.not_null_spot_synth_registered_base_sepolia_block_number.bb37a01e8d": [], "test.synthetix.not_null_spot_synth_registered_base_sepolia_contract.4039370624": [], "test.synthetix.not_null_spot_synth_registered_base_sepolia_synth_token_address.9a1399c63c": [], "test.synthetix.not_null_spot_synth_registered_base_sepolia_event_name.40165b8566": [], "test.synthetix.accepted_values_spot_synth_registered_base_sepolia_event_name__SynthRegistered.560c96fe92": [], "test.synthetix.not_null_spot_synth_registered_base_sepolia_transaction_hash.0cea3ca1bf": [], "test.synthetix.not_null_spot_synth_bought_base_sepolia_collected_fees.9d30351609": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_collected_fees__True__0.1b65c16e7a": [], "test.synthetix.not_null_spot_synth_bought_base_sepolia_transaction_hash.368cb3f67e": [], "test.synthetix.not_null_spot_synth_bought_base_sepolia_synth_market_id.b1c1943367": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_synth_market_id__True__0.2be12779d3": [], "test.synthetix.not_null_spot_synth_bought_base_sepolia_block_number.b137c20668": [], "test.synthetix.not_null_spot_synth_bought_base_sepolia_block_timestamp.b2a61f5718": [], "test.synthetix.not_null_spot_synth_bought_base_sepolia_id.942697f903": [], "test.synthetix.unique_spot_synth_bought_base_sepolia_id.17a8acaf0c": [], "test.synthetix.not_null_spot_synth_bought_base_sepolia_price.d27790b16d": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_price__True__0.1dfcf66dee": [], "test.synthetix.not_null_spot_synth_bought_base_sepolia_contract.4678866b0c": [], "test.synthetix.not_null_spot_synth_bought_base_sepolia_referrer.4756917b09": [], "test.synthetix.not_null_spot_synth_bought_base_sepolia_event_name.cacb370344": [], "test.synthetix.accepted_values_spot_synth_bought_base_sepolia_event_name__SynthBought.3932e43413": [], "test.synthetix.not_null_spot_synth_sold_base_sepolia_event_name.24601a4262": [], "test.synthetix.accepted_values_spot_synth_sold_base_sepolia_event_name__SynthSold.bc9ca74c87": [], "test.synthetix.not_null_spot_synth_sold_base_sepolia_transaction_hash.a13ba6bde1": [], "test.synthetix.not_null_spot_synth_sold_base_sepolia_collected_fees.8ad9625fb0": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_collected_fees__True__0.0a04ec9ef2": [], "test.synthetix.not_null_spot_synth_sold_base_sepolia_block_timestamp.f3d45165ff": [], "test.synthetix.not_null_spot_synth_sold_base_sepolia_referrer.51ef2f8d16": [], "test.synthetix.not_null_spot_synth_sold_base_sepolia_block_number.17e7ff9528": [], "test.synthetix.not_null_spot_synth_sold_base_sepolia_price.88b1a85b40": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_price__True__0.cedd17dbea": [], "test.synthetix.not_null_spot_synth_sold_base_sepolia_amount_returned.c33656b778": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_amount_returned__True__0.400f957fc7": [], "test.synthetix.not_null_spot_synth_sold_base_sepolia_synth_market_id.25c988c205": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_synth_market_id__True__0.5175d72781": [], "test.synthetix.not_null_spot_synth_sold_base_sepolia_id.c2f7e77070": [], "test.synthetix.unique_spot_synth_sold_base_sepolia_id.d31e78319f": [], "test.synthetix.not_null_spot_synth_sold_base_sepolia_contract.8d370e2248": [], "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_id.8905f554af": [], "test.synthetix.unique_spot_synth_wrapped_base_sepolia_id.159b2de78a": [], "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_transaction_hash.7672de0496": [], "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_synth_market_id.601db0f648": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_synth_market_id__True__0.2dfd67bc58": [], "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_contract.d4446f0372": [], "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_event_name.fe439b73da": [], "test.synthetix.accepted_values_spot_synth_wrapped_base_sepolia_event_name__SynthWrapped.031ffbb73f": [], "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_block_timestamp.5b4c2eecf8": [], "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_block_number.6d42ca2157": [], "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_fees_collected.b6fac60b85": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_fees_collected__True__0.c2a49865fe": [], "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_block_timestamp.41ba03a5b2": [], "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped.1a220b9007": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_amount_unwrapped__True__0.8e197e25e9": [], "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_fees_collected.c3d167c521": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_fees_collected__True__0.e56453f4c6": [], "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_event_name.b17d6e42c7": [], "test.synthetix.accepted_values_spot_synth_unwrapped_base_sepolia_event_name__SynthUnwrapped.8dae19258e": [], "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_block_number.5cfd06abfe": [], "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_transaction_hash.2ea11780cc": [], "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_contract.87983c1fa3": [], "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_id.6b02b454d5": [], "test.synthetix.unique_spot_synth_unwrapped_base_sepolia_id.74a8e666e5": [], "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_synth_market_id.214a3db22f": [], "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_synth_market_id__True__0.a469219bab": [], "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_ts.e44412832a": [], "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_pool_id.7fd59c6d8c": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_pool_id__True__0.e03ffa9a09": [], "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_collateral_type.6ac8e6e2aa": [], "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_distributor.7111e37b09": [], "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_token_symbol.4bbde77781": [], "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_amount.313b524117": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_amount__True__0.db5fff0dcd": [], "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_ts.a916375fbd": [], "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_account_id.9b9eed26fe": [], "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_pool_id.f6076a6b8b": [], "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_pool_id__True__0.35dc5bbd4b": [], "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_collateral_type.f9b6e0e993": [], "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_amount_delegated.7c91dafbd8": [], "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_amount_delegated__True__0.854bbca778": [], "test.synthetix.not_null_fct_core_apr_eth_mainnet_ts.99cae9616f": [], "test.synthetix.not_null_fct_core_apr_eth_mainnet_pool_id.c5e20f437d": [], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_pool_id__True__0.2e06d77a8b": [], "test.synthetix.not_null_fct_core_apr_eth_mainnet_collateral_type.0bc0302d7e": [], "test.synthetix.not_null_fct_core_apr_eth_mainnet_collateral_value.14594eca47": [], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_collateral_value__True__0.b44f8cd90f": [], "test.synthetix.not_null_fct_core_apr_eth_mainnet_debt.14b9039622": [], "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_issuance.d21fe7e33b": [], "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated.1606ded24b": [], "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_pnl.6570b2bdb2": [], "test.synthetix.not_null_fct_core_apr_eth_mainnet_cumulative_pnl.4a739c13a4": [], "test.synthetix.not_null_fct_core_apr_eth_mainnet_cumulative_issuance.ab1f8da889": [], "test.synthetix.not_null_fct_core_apr_eth_mainnet_rewards_usd.e91f21e2d5": [], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_rewards_usd__True__0.0ccd0edcb4": [], "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct.b582b1f1e2": [], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_pnl_pct__True__1___1.573c85fbab": [], "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct.284fa06b64": [], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_rewards_pct__True__1__0.a383e39737": [], "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_24h.1e94a76b1e": [], "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_24h.b52a8fd842": [], "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_7d.35bc5cfb13": [], "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_7d.08d703cbb6": [], "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_28d.8dfb1e005a": [], "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_28d.053e0eda01": [], "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_id.7444e98615": [], "test.synthetix.unique_fct_core_market_updated_eth_mainnet_id.d5c16089e9": [], "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_ts.950a116067": [], "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_transaction_hash.f31c00e39e": [], "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_event_name.e682d1b7d5": [], "test.synthetix.accepted_values_fct_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.f0e721a249": [], "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_market_id.9fbceacdbc": [], "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_eth_mainnet_market_id__True__0.32701334f3": [], "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_collateral_type.fbe59aeb13": [], "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_credit_capacity.bc652bf021": [], "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_net_issuance.95ea8efb4e": [], "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_token_amount.fe11f0ce69": [], "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_ts.61a1043b04": [], "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_collateral_type.217e5cb420": [], "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited.b943283ec6": [], "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_ts.4c81cbc76a": [], "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_pool_id.38ebfdf86f": [], "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_eth_mainnet_pool_id__True__0.8087f39696": [], "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_collateral_type.687e523e9a": [], "test.synthetix.not_null_fct_core_pools_eth_mainnet_id.ac06cb59ca": [], "test.synthetix.dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0.e529c0ad91": [], "test.synthetix.not_null_fct_core_pools_eth_mainnet_created_ts.85e7c6f7d7": [], "test.synthetix.not_null_fct_core_pools_eth_mainnet_block_number.d5795e3469": [], "test.synthetix.not_null_fct_core_pools_eth_mainnet_owner.13db5fad75": [], "test.synthetix.not_null_fct_pool_debt_eth_mainnet_ts.0a20d36f28": [], "test.synthetix.not_null_fct_pool_debt_eth_mainnet_block_number.d707149fdd": [], "test.synthetix.not_null_fct_pool_debt_eth_mainnet_pool_id.088122bb77": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_eth_mainnet_pool_id__True__0.9ab83c23dd": [], "test.synthetix.not_null_fct_pool_debt_eth_mainnet_collateral_type.2f39d51963": [], "test.synthetix.not_null_fct_pool_debt_eth_mainnet_debt.100ad3cae1": [], "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_ts.d84f234266": [], "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id.0bd0e6635e": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_eth_mainnet_pool_id__True__0.2f6d1cabb6": [], "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type.04853a2f55": [], "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance.3ee79944a3": [], "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_ts.5f32fba981": [], "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_block_number.76ac645e79": [], "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_transaction_hash.801e733838": [], "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_pool_id.fd6c3981fe": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_eth_mainnet_pool_id__True__0.c3af88d954": [], "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_collateral_type.9e0a6d3551": [], "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_account_id.d686918ab7": [], "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_amount.4a0d8649af": [], "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_ts.2a846b2bb8": [], "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id.d4b3c4be36": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_pool_id__True__0.ad130b0c2f": [], "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type.8346dc5b9e": [], "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value.bf72ec5191": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_collateral_value__True__0.aa5cf487aa": [], "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_debt.34ed8f7e19": [], "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance.d981b1941f": [], "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl.aef91ccc24": [], "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated.b2364c3711": [], "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd.8fd34c30e5": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_rewards_usd__True__0.80c1c42490": [], "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct.d9b73c59f7": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct__True__1___1.ad0a057625": [], "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct.d8b6a6177f": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct__True__1__0.b431022b52": [], "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct.b8f62bde16": [], "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_ts.89ba67bb4f": [], "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id.7f91755bfb": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_pool_id__True__0.208ead2f02": [], "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type.1949d93db9": [], "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd.3095906515": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_rewards_usd__True__0.2e789c32db": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts.667157dbf6": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id.69049a093a": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_pool_id__True__0.0f059b9a12": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_collateral_type.22ec7c38ba": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor.a65a6d19bf": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol.609ae29f03": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_price.89f536fe6c": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_price__True__0.3b4b47afcc": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount.701c4a765f": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount__True__0.76ed6e76ab": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed.3faeed6846": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed__True__0.26815f50d4": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd.84778cf230": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd__True__0.0d8876b70b": [], "test.synthetix.not_null_fct_core_migration_eth_mainnet_ts.4a5f6995ac": [], "test.synthetix.not_null_fct_core_migration_eth_mainnet_block_number.9a454098b0": [], "test.synthetix.not_null_fct_core_migration_eth_mainnet_transaction_hash.15435ec6a4": [], "test.synthetix.not_null_fct_core_migration_eth_mainnet_pool_id.f0e6b5266e": [], "test.synthetix.dbt_utils_accepted_range_fct_core_migration_eth_mainnet_pool_id__True__1__1.451aedc606": [], "test.synthetix.not_null_fct_core_migration_eth_mainnet_collateral_type.d3ff39474d": [], "test.synthetix.accepted_values_fct_core_migration_eth_mainnet_collateral_type__0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F.a38946ae0c": [], "test.synthetix.not_null_fct_core_migration_eth_mainnet_staker.745012ec35": [], "test.synthetix.not_null_fct_core_migration_eth_mainnet_account_id.afcffa2df1": [], "test.synthetix.not_null_fct_core_migration_eth_mainnet_collateral_amount.0b05c3add8": [], "test.synthetix.dbt_utils_accepted_range_fct_core_migration_eth_mainnet_collateral_amount__True__0.049cad30eb": [], "test.synthetix.not_null_fct_core_migration_eth_mainnet_debt_amount.8b36e762c2": [], "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_ts.a201c86ec0": [], "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_pool_id.55def21e95": [], "test.synthetix.dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_pool_id__True__0.a0670cc5c1": [], "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_collateral_type.e0ef271f9a": [], "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated.99b91b00b5": [], "test.synthetix.dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated__True__0.2c5355cf5c": [], "test.synthetix.not_null_fct_prices_eth_mainnet_ts.4a1a2f8c2d": [], "test.synthetix.not_null_fct_prices_eth_mainnet_market_symbol.f1f5318f4a": [], "test.synthetix.not_null_fct_prices_eth_mainnet_price.fff835950c": [], "test.synthetix.dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0.4a537a60cd": [], "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_ts.6f3aced404": [], "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_market_symbol.dad998df0c": [], "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_price.f438a75278": [], "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_eth_mainnet_price__True__0.7cc073306d": [], "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_ts.19a49fa7ad": [], "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_pool_id.ed851987e8": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_pool_id__True__0.071c26474c": [], "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type.d5a70bb05b": [], "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_distributor.78e1e8f668": [], "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol.0fd511c8cb": [], "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_amount.5d537baae4": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_amount__True__0.debd774d66": [], "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_ts.47ea299d3f": [], "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_account_id.bd5bdf25e3": [], "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id.54d8a339d7": [], "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_pool_id__True__0.aa7ddfc925": [], "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_collateral_type.2ce3f7a9bb": [], "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_amount_delegated.56c41128cd": [], "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_amount_delegated__True__0.f003c4fdae": [], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_ts.97e8b55304": [], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_pool_id.6f62001f11": [], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_pool_id__True__0.8a8c4f782b": [], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_collateral_type.063adda35b": [], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_collateral_value.21b8ffe226": [], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_collateral_value__True__0.ffb99e9e0a": [], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_debt.3dc045078a": [], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance.80329841e3": [], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl.cca97779a8": [], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl.3aeb9de820": [], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance.e1798a309e": [], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_rewards_usd.382bc038bb": [], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_rewards_usd__True__0.1ddf38024d": [], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct.fb9fdebdde": [], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct__True__1___1.1b8022dfc1": [], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct.c370595c99": [], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct__True__1__0.f1335e174b": [], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_24h.8106520838": [], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_24h.83d96a1a08": [], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_7d.06f4c6a6e1": [], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_7d.cf96fd9428": [], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_28d.964b18810e": [], "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_28d.fa829d9ef7": [], "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_id.322013511a": [], "test.synthetix.unique_fct_core_market_updated_arbitrum_mainnet_id.1caa9c591c": [], "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_ts.b5fc2ec12e": [], "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_transaction_hash.aa748b5290": [], "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_event_name.5590c6c9b0": [], "test.synthetix.accepted_values_fct_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.0bf85002ba": [], "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_market_id.286e3a43cf": [], "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_arbitrum_mainnet_market_id__True__0.23d58ffdfe": [], "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_collateral_type.85f2ad0cb4": [], "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_credit_capacity.03f2d72a75": [], "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance.c0d40f9ece": [], "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_token_amount.74526c215d": [], "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_ts.e1e47715a3": [], "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_collateral_type.6824e3181d": [], "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_amount_deposited.e481f3fc24": [], "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_ts.5d96538438": [], "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id.fe0fca7194": [], "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_mainnet_pool_id__True__0.cc3901412b": [], "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_collateral_type.d924f2d2aa": [], "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_id.61336667c3": [], "test.synthetix.dbt_utils_accepted_range_fct_core_pools_arbitrum_mainnet_id__True__0.913c01840d": [], "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_created_ts.b08fc3c233": [], "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_block_number.7aac324156": [], "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_owner.4cc2187f96": [], "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_ts.aac8a7264c": [], "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_block_number.f6d01f24fd": [], "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_pool_id.dc562b5c31": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_arbitrum_mainnet_pool_id__True__0.15db752b00": [], "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_collateral_type.a3b9300e6c": [], "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_debt.5ff363252c": [], "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts.9170e8931e": [], "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id.ad0bc3744f": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id__True__0.24b97cc6ba": [], "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_collateral_type.5b444b3e9d": [], "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_hourly_issuance.dcbdd9b577": [], "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_ts.6d52d9f09c": [], "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_block_number.954a0fdf17": [], "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash.6a8e54c252": [], "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_pool_id.0706d99bc3": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_arbitrum_mainnet_pool_id__True__0.411a2ea602": [], "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type.ba8bb06771": [], "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_account_id.2adc95113c": [], "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_amount.375d9b98af": [], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts.b23b3c4ccc": [], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id.e6c4e35168": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id__True__0.82a420e70a": [], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type.5b16d63899": [], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value.d293fcea90": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value__True__0.2e110c1268": [], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt.9ac5b9bf5c": [], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance.5511774a0b": [], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl.678864f7b5": [], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd.196b421cb3": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd__True__0.636294733f": [], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct.860b962ff4": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct__True__1___1.5893ffde97": [], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct.8068a50a34": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct__True__1__0.c0f135f71a": [], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct.2ba37617f1": [], "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts.55c84a8938": [], "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id.3237fb1ab1": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id__True__0.4d32e65287": [], "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_collateral_type.490293ba7d": [], "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd.f0877fa7b3": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd__True__0.d689f56d7e": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts.22756175d0": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id.35527b8712": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id__True__0.4ed8a94f92": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_collateral_type.dee4fdda32": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_distributor.a9383020e8": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_token_symbol.0f93337098": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price.e94408c4a3": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_price__True__0.bd113fbed7": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount.1f06d81670": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount__True__0.e75762e0c1": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed.0abef6eb56": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed__True__0.7447bf410c": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd.38626f59b3": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd__True__0.034dbdbb73": [], "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_ts.3133817d65": [], "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_block_number.bf6d504d6f": [], "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id.9ef357e324": [], "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_arbitrum_mainnet_synth_market_id__True__0.214f52024f": [], "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_supply.4f38308508": [], "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_id.58d62fa75b": [], "test.synthetix.unique_fct_spot_atomics_arbitrum_mainnet_id.103cfc1fee": [], "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_ts.8faded4450": [], "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_block_number.4090627930": [], "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash.fc4480c793": [], "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id.3ce730fbe0": [], "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_arbitrum_mainnet_synth_market_id__True__0.a856a28abf": [], "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_price.8c5fac0d4b": [], "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_amount.2a29d582dd": [], "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_referrer.8f3d6e7ca8": [], "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_id.0f47b50907": [], "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_arbitrum_mainnet_id__True__0.fc6e00e4d7": [], "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_created_ts.d20eea3054": [], "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_block_number.8e6492baa4": [], "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_token_address.19fe19c198": [], "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_id.4d99f875a3": [], "test.synthetix.unique_fct_spot_wrapper_arbitrum_mainnet_id.2107017636": [], "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_ts.91d9f782bb": [], "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_block_number.d1c04e4c89": [], "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash.4401566d1f": [], "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id.f0195bb21f": [], "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_mainnet_synth_market_id__True__0.f6decdacf4": [], "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped.f91b4eedc8": [], "test.synthetix.not_null_fct_prices_arbitrum_mainnet_ts.2fbdc0fed9": [], "test.synthetix.not_null_fct_prices_arbitrum_mainnet_market_symbol.2c3e729969": [], "test.synthetix.not_null_fct_prices_arbitrum_mainnet_price.0a15cd9a88": [], "test.synthetix.dbt_utils_accepted_range_fct_prices_arbitrum_mainnet_price__True__0.2dcde08f36": [], "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_ts.125ef9fa4d": [], "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol.b0ef15f205": [], "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_price.cc751acae1": [], "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_arbitrum_mainnet_price__True__0.a6e6a0e3ce": [], "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_ts.58ba7f8051": [], "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_pool_id.7e25d73251": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_pool_id__True__0.82e7a1605d": [], "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type.9b8cfcd53f": [], "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_distributor.575416cf09": [], "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol.6e44e80815": [], "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_amount.2019cf2384": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_amount__True__0.7328694eba": [], "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_ts.143d36cd88": [], "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_account_id.a6811a48a4": [], "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id.0a7b37ae8c": [], "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_pool_id__True__0.8b1dae49a3": [], "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_collateral_type.c996bc8d62": [], "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_amount_delegated.f883895d2a": [], "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_amount_delegated__True__0.b9f7312790": [], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_ts.e6b3476db0": [], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_pool_id.58add87a89": [], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_pool_id__True__0.a2269ae87b": [], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_collateral_type.a646b7cb26": [], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_collateral_value.2ada9cf10f": [], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_collateral_value__True__0.fdfbc111a3": [], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_debt.9b76325181": [], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance.18ef26f177": [], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl.d189c809ff": [], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl.4b337f056f": [], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance.574d2a783c": [], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_rewards_usd.ae2ea707de": [], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_rewards_usd__True__0.16097a4425": [], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct.e663f8a83d": [], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct__True__1___1.71d905126b": [], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct.12f359d425": [], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct__True__1__0.573ad6f791": [], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_24h.70ceb15524": [], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_24h.cc6a60bf0d": [], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_7d.9df14e1133": [], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_7d.d37e5ab6c3": [], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_28d.1273ef3c47": [], "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_28d.c90acf86f3": [], "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_id.378db4cf74": [], "test.synthetix.unique_fct_core_market_updated_arbitrum_sepolia_id.8dc27d8b84": [], "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_ts.b76a8ffb56": [], "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_transaction_hash.45d8547f52": [], "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_event_name.4419326334": [], "test.synthetix.accepted_values_fct_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.ea1df73130": [], "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_market_id.2752afabd6": [], "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_arbitrum_sepolia_market_id__True__0.95e420ef94": [], "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_collateral_type.d8f0899c66": [], "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_credit_capacity.9862e1aaee": [], "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance.62f7b3daca": [], "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_token_amount.4d14e4bb21": [], "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_ts.33284497f5": [], "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_collateral_type.05d462c474": [], "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_amount_deposited.feb182d7c0": [], "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_ts.f1e8f35f9b": [], "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id.58ecabbbb6": [], "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_sepolia_pool_id__True__0.72a7f44e62": [], "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_collateral_type.866b468c25": [], "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_id.0242b18493": [], "test.synthetix.dbt_utils_accepted_range_fct_core_pools_arbitrum_sepolia_id__True__0.d4e586601a": [], "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_created_ts.56d3c1e25b": [], "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_block_number.8044e9af90": [], "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_owner.5ee993817b": [], "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_ts.0ce19a05b3": [], "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_block_number.9fe11ea9dd": [], "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_pool_id.4539ef9df3": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_arbitrum_sepolia_pool_id__True__0.ec7d22b029": [], "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_collateral_type.a6fdff57f4": [], "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_debt.652029afcf": [], "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts.1cc52a2fae": [], "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id.cf6825af38": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id__True__0.1156081282": [], "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_collateral_type.56203ac00f": [], "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_hourly_issuance.24747bdf20": [], "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_ts.94cc660ca9": [], "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_block_number.7b40b6a61f": [], "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash.333c0c5e61": [], "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_pool_id.2084f5f832": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_arbitrum_sepolia_pool_id__True__0.0ec85b0399": [], "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type.aef6de9ec1": [], "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_account_id.45720a8ffb": [], "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_amount.43a9be48cb": [], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts.a70d2ff18c": [], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id.aa93d2af52": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id__True__0.2553f9acd9": [], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type.ad28430a8b": [], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value.4feda18e6e": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value__True__0.8f44ccf6a8": [], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt.064b4f1aa0": [], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance.98a21247a9": [], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl.71c511680d": [], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd.de45431bfe": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd__True__0.c70c3ef6d1": [], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct.cfa91548b1": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct__True__1___1.758a1bd318": [], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct.85b61a0a46": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct__True__1__0.155d04b096": [], "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct.57d5efdf83": [], "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts.c0fe0cb40b": [], "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id.a84969537b": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id__True__0.550e7516ff": [], "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_collateral_type.e8435924a6": [], "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd.a8bf6b50cf": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd__True__0.29163ebf9c": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts.408bc991e9": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id.c9c0638ac8": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id__True__0.dc85f8adb9": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_collateral_type.6bd3efb9ab": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_distributor.57d35a371e": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_token_symbol.43135a2a58": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price.8b9f940b5a": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_price__True__0.03fbb6a68c": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount.a128c8eb69": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount__True__0.b67f19c73b": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed.92aa5d68ee": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed__True__0.a2ebbe6544": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd.a4c3a5bd6d": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd__True__0.1aeeb784bf": [], "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_ts.27dc7912ff": [], "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_block_number.f392305688": [], "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id.4a2d305755": [], "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_arbitrum_sepolia_synth_market_id__True__0.e33f94430c": [], "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_supply.e3a1577f38": [], "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_id.491922c0de": [], "test.synthetix.unique_fct_spot_atomics_arbitrum_sepolia_id.ac19d3d198": [], "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_ts.892f2a57c7": [], "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_block_number.8b344f291a": [], "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash.e8c13a9755": [], "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id.b6c3e19705": [], "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_arbitrum_sepolia_synth_market_id__True__0.783d66767d": [], "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_price.685e079a35": [], "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_amount.08628c0e8d": [], "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_referrer.ab47b8a4dc": [], "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_id.8e20da3df9": [], "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_arbitrum_sepolia_id__True__0.181ee7b620": [], "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_created_ts.d5e3080b9d": [], "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_block_number.50ad9758fc": [], "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_token_address.1b182f5b09": [], "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_id.e4af3a2e01": [], "test.synthetix.unique_fct_spot_wrapper_arbitrum_sepolia_id.ef7877efab": [], "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_ts.cac57bdf22": [], "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_block_number.11ac634180": [], "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash.bc4c1e86f4": [], "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id.73a4297f2a": [], "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_sepolia_synth_market_id__True__0.38952f7e02": [], "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped.77a6a551fc": [], "test.synthetix.not_null_fct_prices_arbitrum_sepolia_ts.a139176cd1": [], "test.synthetix.not_null_fct_prices_arbitrum_sepolia_market_symbol.5499da1cc7": [], "test.synthetix.not_null_fct_prices_arbitrum_sepolia_price.45fcd4b484": [], "test.synthetix.dbt_utils_accepted_range_fct_prices_arbitrum_sepolia_price__True__0.cd20dabe63": [], "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_ts.45b8cdbd25": [], "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol.6b1d78c094": [], "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_price.774a8eccfb": [], "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_arbitrum_sepolia_price__True__0.e322ab3e73": [], "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_id.a798ff42d8": [], "test.synthetix.unique_fct_perp_interest_charged_base_mainnet_id.31ca39738f": [], "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_block_timestamp.60136d09c1": [], "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_block_number.47e9d47bb4": [], "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_transaction_hash.f85d4df49f": [], "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_contract.8e7dd8a6ef": [], "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_event_name.eaf9eac9c3": [], "test.synthetix.accepted_values_fct_perp_interest_charged_base_mainnet_event_name__InterestCharged.b8b39fbb4d": [], "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_account_id.2830ac0b93": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_account_id__True__0.d4da8249b8": [], "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_interest.073a973712": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_interest__True__0.b25a9c1b50": [], "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_id.efa9bbeec9": [], "test.synthetix.unique_fct_perp_collateral_modified_base_mainnet_id.9010e87027": [], "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_block_timestamp.7c5c8a362c": [], "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_block_number.45b34bf575": [], "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_transaction_hash.8cc455d504": [], "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_contract.f078950840": [], "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_event_name.44267a4fa1": [], "test.synthetix.accepted_values_fct_perp_collateral_modified_base_mainnet_event_name__CollateralModified.00f5016782": [], "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_synth_market_id.3a3dffb920": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_base_mainnet_synth_market_id__True__0.644f81887d": [], "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_sender.b3270f32cc": [], "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_id.627b6b6b63": [], "test.synthetix.unique_fct_perp_previous_order_expired_base_mainnet_id.220846a37a": [], "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_block_timestamp.da7b51b840": [], "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_block_number.89b98bd9a2": [], "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_transaction_hash.573aaff2f5": [], "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_contract.bd6be0f02f": [], "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_event_name.473a967d1d": [], "test.synthetix.accepted_values_fct_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired.1769035769": [], "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_market_id.8bf9effd5e": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_market_id__True__0.59d73bf004": [], "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_account_id.e7aae917c2": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_account_id__True__0.0f31e1095c": [], "test.synthetix.not_null_fct_perp_trades_base_mainnet_id.35375a8491": [], "test.synthetix.unique_fct_perp_trades_base_mainnet_id.b1b63119eb": [], "test.synthetix.not_null_fct_perp_trades_base_mainnet_ts.e5e75d9d71": [], "test.synthetix.not_null_fct_perp_trades_base_mainnet_block_number.474b7643d0": [], "test.synthetix.not_null_fct_perp_trades_base_mainnet_transaction_hash.b1e9287d28": [], "test.synthetix.not_null_fct_perp_trades_base_mainnet_contract.8897e47e7e": [], "test.synthetix.not_null_fct_perp_trades_base_mainnet_market_id.6ea4246016": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_market_id__True__0.585f613862": [], "test.synthetix.not_null_fct_perp_trades_base_mainnet_market_symbol.e75d95d12c": [], "test.synthetix.not_null_fct_perp_trades_base_mainnet_account_id.8a94516fd9": [], "test.synthetix.not_null_fct_perp_trades_base_mainnet_fill_price.e731328206": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_fill_price__True__0.3edbbda7ae": [], "test.synthetix.not_null_fct_perp_trades_base_mainnet_pnl.e87ee65983": [], "test.synthetix.not_null_fct_perp_trades_base_mainnet_accrued_funding.f6a962643b": [], "test.synthetix.not_null_fct_perp_trades_base_mainnet_trade_size.2a003017e9": [], "test.synthetix.not_null_fct_perp_trades_base_mainnet_position_size.a687f5c9e4": [], "test.synthetix.not_null_fct_perp_trades_base_mainnet_total_fees.73178c801b": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_total_fees__True__0.37a3c34f6a": [], "test.synthetix.not_null_fct_perp_trades_base_mainnet_referral_fees.8c5c0f55a4": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_referral_fees__True__0.09a87481d6": [], "test.synthetix.not_null_fct_perp_trades_base_mainnet_collected_fees.1888a67b67": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_collected_fees__True__0.cec844302b": [], "test.synthetix.not_null_fct_perp_trades_base_mainnet_settlement_reward.c472f75c36": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_settlement_reward__True__0.56c953ccdc": [], "test.synthetix.not_null_fct_perp_trades_base_mainnet_tracking_code.3b557b440d": [], "test.synthetix.not_null_fct_perp_trades_base_mainnet_settler.cebd15f3ad": [], "test.synthetix.not_null_fct_perp_trades_base_mainnet_notional_trade_size.25efead997": [], "test.synthetix.not_null_fct_perp_trades_base_mainnet_notional_position_size.549d1d1b0b": [], "test.synthetix.not_null_fct_perp_trades_base_mainnet_lp_fees.1da0034ac9": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_lp_fees__True__0.67c14ce54a": [], "test.synthetix.not_null_fct_perp_trades_base_mainnet_exchange_fees.5a4c21716f": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_exchange_fees__True__0.43ef826334": [], "test.synthetix.not_null_fct_perp_pnl_base_mainnet_ts.aa0943ea1a": [], "test.synthetix.not_null_fct_perp_pnl_base_mainnet_market_id.915c961b40": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_base_mainnet_market_id__True__0.58f61a0590": [], "test.synthetix.not_null_fct_perp_orders_base_mainnet_id.2c415fb4fb": [], "test.synthetix.unique_fct_perp_orders_base_mainnet_id.1b8b85dac5": [], "test.synthetix.not_null_fct_perp_orders_base_mainnet_ts.a61957fc22": [], "test.synthetix.not_null_fct_perp_orders_base_mainnet_block_number.3be9f0b718": [], "test.synthetix.not_null_fct_perp_orders_base_mainnet_transaction_hash.71d76cac79": [], "test.synthetix.not_null_fct_perp_orders_base_mainnet_contract.6a5b003b92": [], "test.synthetix.not_null_fct_perp_orders_base_mainnet_market_id.5b936d3011": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_base_mainnet_market_id__True__0.2d585533fc": [], "test.synthetix.not_null_fct_perp_orders_base_mainnet_market_symbol.554f14b42b": [], "test.synthetix.not_null_fct_perp_orders_base_mainnet_account_id.08880589a0": [], "test.synthetix.not_null_fct_perp_markets_base_mainnet_id.bd1fc06532": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_base_mainnet_id__True__0.ac58557180": [], "test.synthetix.not_null_fct_perp_markets_base_mainnet_created_ts.b73d9a0c8a": [], "test.synthetix.not_null_fct_perp_markets_base_mainnet_block_number.6792b019f1": [], "test.synthetix.not_null_fct_perp_markets_base_mainnet_market_symbol.c8dc99abfc": [], "test.synthetix.not_null_fct_perp_markets_base_mainnet_market_name.303acf9a19": [], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_id.c9dbfad377": [], "test.synthetix.unique_fct_perp_market_history_base_mainnet_id.8b11f687f0": [], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_ts.d5f4e338d6": [], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_block_number.485f73c767": [], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_transaction_hash.d53db511d0": [], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_id.cab90009a8": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_market_id__True__0.c7e76b30aa": [], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_symbol.c60910b39a": [], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_price.acf046de31": [], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_skew.a4d473f3fc": [], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size.3bbf16be92": [], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size_delta.c2cfd7a96f": [], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_rate.904532dfcd": [], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_velocity.0bd6fa06fa": [], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_interest_rate.2c5e879eef": [], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_rate_apr.50943753dc": [], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_long_rate_apr.785d324d07": [], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_short_rate_apr.a2f2135476": [], "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size_usd.bc3090b261": [], "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_id.4311fef5a1": [], "test.synthetix.unique_fct_perp_liq_position_base_mainnet_id.f46ba34fa7": [], "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_ts.2dc7a4a976": [], "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_block_number.da16c5c256": [], "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_transaction_hash.d54f66674c": [], "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_account_id.f3ec9ddba7": [], "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_market_id.7f965252ed": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_market_id__True__0.149bc69560": [], "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_market_symbol.a84ac24b5f": [], "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_amount_liquidated.893ef59124": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_amount_liquidated__True__0.51c2fa3b3f": [], "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_position_size.dcfe3d8623": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_position_size__True__0.a626e988d4": [], "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_account_id.dd5099ce59": [], "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_ts.5a3efee9f7": [], "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_total_reward.2a8b87e55c": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_base_mainnet_total_reward__True__0.a35af51633": [], "test.synthetix.not_null_fct_perp_accounts_base_mainnet_id.cf1e1e2af0": [], "test.synthetix.unique_fct_perp_accounts_base_mainnet_id.2a6de2d0f2": [], "test.synthetix.not_null_fct_perp_accounts_base_mainnet_created_ts.cc57ba5d93": [], "test.synthetix.not_null_fct_perp_accounts_base_mainnet_owner.b581a2df74": [], "test.synthetix.not_null_fct_buyback_daily_base_mainnet_ts.14a31d2a6b": [], "test.synthetix.not_null_fct_buyback_daily_base_mainnet_snx_amount.ea18aa299d": [], "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_snx_amount__True__0.4dc1a7a815": [], "test.synthetix.not_null_fct_buyback_daily_base_mainnet_usd_amount.226e5c84b2": [], "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_usd_amount__True__0.b33cfd2e0e": [], "test.synthetix.not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount.d9cc05c370": [], "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_snx_amount__True__0.40e1988439": [], "test.synthetix.not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount.4602f5b0ec": [], "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_usd_amount__True__0.2fdc7f3ac4": [], "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_ts.712dc7c106": [], "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_snx_amount.8e18aeb895": [], "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_snx_amount__True__0.34d4d71a42": [], "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_usd_amount.cbc2a221fa": [], "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_usd_amount__True__0.153efe66c5": [], "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount.3f13efe309": [], "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_snx_amount__True__0.0a50a1b2a1": [], "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount.d705144302": [], "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_usd_amount__True__0.897d810e27": [], "test.synthetix.not_null_fct_buyback_base_mainnet_id.fbad84fb48": [], "test.synthetix.unique_fct_buyback_base_mainnet_id.f0c25ee329": [], "test.synthetix.not_null_fct_buyback_base_mainnet_ts.42175c7800": [], "test.synthetix.not_null_fct_buyback_base_mainnet_buyer.996c564c05": [], "test.synthetix.not_null_fct_buyback_base_mainnet_snx.75b728a26f": [], "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0.ffcae6ef8f": [], "test.synthetix.not_null_fct_buyback_base_mainnet_usd.2e04e1ae30": [], "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0.e9e29cece7": [], "test.synthetix.not_null_fct_buyback_base_mainnet_snx_price.e23de62b78": [], "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_snx_price__True__0.4ab5da9346": [], "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_ts.878073b7e8": [], "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_block_number.fc803534fc": [], "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_contract_address.f7e3ffefb9": [], "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_pool_id.1ea1a9fb17": [], "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_pool_id__True__0.3c62ac166d": [], "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_collateral_type.e2cbb7867d": [], "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_amount.43a56286ca": [], "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_amount__True__0.031c10a818": [], "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_collateral_value.b35c2ac09a": [], "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_collateral_value__True__0.ffab802571": [], "test.synthetix.not_null_fct_pool_rewards_base_mainnet_ts.af8563a243": [], "test.synthetix.not_null_fct_pool_rewards_base_mainnet_pool_id.47db83edd0": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_pool_id__True__0.f01ac775cc": [], "test.synthetix.not_null_fct_pool_rewards_base_mainnet_collateral_type.2f7e01ccd0": [], "test.synthetix.not_null_fct_pool_rewards_base_mainnet_distributor.5511d5880d": [], "test.synthetix.not_null_fct_pool_rewards_base_mainnet_token_symbol.1810912a65": [], "test.synthetix.not_null_fct_pool_rewards_base_mainnet_amount.c7b92514fd": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_amount__True__0.5a5b31d40e": [], "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_ts.3412be3139": [], "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_account_id.64d4657b45": [], "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_pool_id.c2b6448825": [], "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_pool_id__True__0.a18d31544f": [], "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_collateral_type.01ebd9c59e": [], "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_amount_delegated.c0cf7fdd11": [], "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_amount_delegated__True__0.5d186a76ca": [], "test.synthetix.not_null_fct_core_apr_base_mainnet_ts.fa672a8124": [], "test.synthetix.not_null_fct_core_apr_base_mainnet_pool_id.ec4f69201c": [], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_pool_id__True__0.6f65c027c2": [], "test.synthetix.not_null_fct_core_apr_base_mainnet_collateral_type.6b18aa87ce": [], "test.synthetix.not_null_fct_core_apr_base_mainnet_collateral_value.ca0cfe00d9": [], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_collateral_value__True__0.09ad3e4f8e": [], "test.synthetix.not_null_fct_core_apr_base_mainnet_debt.3003bbaef9": [], "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_issuance.58d7e6392e": [], "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_pnl.aace5f4a92": [], "test.synthetix.not_null_fct_core_apr_base_mainnet_cumulative_pnl.0dfa79c775": [], "test.synthetix.not_null_fct_core_apr_base_mainnet_cumulative_issuance.6b5aeff994": [], "test.synthetix.not_null_fct_core_apr_base_mainnet_rewards_usd.9770eed99e": [], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_rewards_usd__True__0.cd9a35763d": [], "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_pnl_pct.709eae57a9": [], "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_rewards_pct.e5170bb035": [], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_hourly_rewards_pct__True__1__0.615edfd299": [], "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_24h.5f87709afa": [], "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_24h.0d59b73826": [], "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_7d.8545f2f45f": [], "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_7d.d068a55e21": [], "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_28d.69fcad855f": [], "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_28d.384e146fdc": [], "test.synthetix.not_null_fct_core_market_updated_base_mainnet_id.a50a975385": [], "test.synthetix.unique_fct_core_market_updated_base_mainnet_id.ec01754a17": [], "test.synthetix.not_null_fct_core_market_updated_base_mainnet_ts.f35cfffa6d": [], "test.synthetix.not_null_fct_core_market_updated_base_mainnet_transaction_hash.87848e2a26": [], "test.synthetix.not_null_fct_core_market_updated_base_mainnet_event_name.38e05844e8": [], "test.synthetix.accepted_values_fct_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.b6908f0c03": [], "test.synthetix.not_null_fct_core_market_updated_base_mainnet_market_id.c97cd708fa": [], "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_base_mainnet_market_id__True__0.2ed4a3f792": [], "test.synthetix.not_null_fct_core_market_updated_base_mainnet_collateral_type.b71240306c": [], "test.synthetix.not_null_fct_core_market_updated_base_mainnet_credit_capacity.303317e986": [], "test.synthetix.not_null_fct_core_market_updated_base_mainnet_net_issuance.2d64ab52f8": [], "test.synthetix.not_null_fct_core_market_updated_base_mainnet_token_amount.ead854df90": [], "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_ts.4e638376c4": [], "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_collateral_type.63ab148d0c": [], "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_amount_deposited.9fabc246a7": [], "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_ts.2ed20ab777": [], "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_pool_id.d338258729": [], "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_base_mainnet_pool_id__True__0.4d81a0e2e0": [], "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_collateral_type.49ff2a0118": [], "test.synthetix.not_null_fct_core_pools_base_mainnet_id.1f1f3ad095": [], "test.synthetix.dbt_utils_accepted_range_fct_core_pools_base_mainnet_id__True__0.2b14986ce3": [], "test.synthetix.not_null_fct_core_pools_base_mainnet_created_ts.a07bb6b8fe": [], "test.synthetix.not_null_fct_core_pools_base_mainnet_block_number.cc61b3ca43": [], "test.synthetix.not_null_fct_core_pools_base_mainnet_owner.a2cfe04f87": [], "test.synthetix.not_null_fct_pool_debt_base_mainnet_ts.f49a23ebcd": [], "test.synthetix.not_null_fct_pool_debt_base_mainnet_block_number.dd32fc50c6": [], "test.synthetix.not_null_fct_pool_debt_base_mainnet_pool_id.8e9e20797d": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_base_mainnet_pool_id__True__0.a1f5ec7b1b": [], "test.synthetix.not_null_fct_pool_debt_base_mainnet_collateral_type.92a752ffea": [], "test.synthetix.not_null_fct_pool_debt_base_mainnet_debt.5b37c10505": [], "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_ts.af3f6a895d": [], "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_pool_id.03eddab767": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_base_mainnet_pool_id__True__0.82c0a98d47": [], "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type.21efec6e56": [], "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance.1bde70000d": [], "test.synthetix.not_null_fct_pool_issuance_base_mainnet_ts.2b8d4be103": [], "test.synthetix.not_null_fct_pool_issuance_base_mainnet_block_number.6ae22c8ac4": [], "test.synthetix.not_null_fct_pool_issuance_base_mainnet_transaction_hash.0764eca614": [], "test.synthetix.not_null_fct_pool_issuance_base_mainnet_pool_id.01d3ed0f62": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_base_mainnet_pool_id__True__0.5e68f64c49": [], "test.synthetix.not_null_fct_pool_issuance_base_mainnet_collateral_type.72fe90c3b9": [], "test.synthetix.not_null_fct_pool_issuance_base_mainnet_account_id.4f9de5ef81": [], "test.synthetix.not_null_fct_pool_issuance_base_mainnet_amount.29761360a6": [], "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_ts.7c76badc22": [], "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_pool_id.7352d1abe5": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_pool_id__True__0.4246141dca": [], "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type.7d4e861773": [], "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value.34ddcc2ccb": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_collateral_value__True__0.7bf7b1ccab": [], "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_debt.e2d08dec52": [], "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance.b0e645a132": [], "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl.6f321ca648": [], "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd.de69bca40d": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_rewards_usd__True__0.65717bc033": [], "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct.43ef5d27cc": [], "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct.0d02b364b5": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct__True__1__0.24176cb1b5": [], "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct.9656973b1c": [], "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_ts.cb01f363c1": [], "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_pool_id.cc4be6d53f": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_pool_id__True__0.0fe5a5d2d6": [], "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type.9a0efdf293": [], "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd.2d36098b0e": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_rewards_usd__True__0.e752fbfdf1": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_ts.b6c015406d": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id.26caff37a4": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_pool_id__True__0.59419d2477": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_collateral_type.52b0ac191f": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor.608c8d5a0a": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_token_symbol.185f4e6438": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_price.f29ff11a01": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_price__True__0.5e57dd6ed8": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount.294d780f70": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount__True__0.edfffe8350": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed.d339be6768": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed__True__0.f2c99e8638": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd.2724c9008d": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd__True__0.2f31fe80de": [], "test.synthetix.not_null_fct_synth_supply_base_mainnet_ts.ab30396a5d": [], "test.synthetix.not_null_fct_synth_supply_base_mainnet_block_number.8686c78edf": [], "test.synthetix.not_null_fct_synth_supply_base_mainnet_synth_market_id.5a00a55aa2": [], "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_base_mainnet_synth_market_id__True__0.cf8aff1a32": [], "test.synthetix.not_null_fct_synth_supply_base_mainnet_supply.3f0fbdddb9": [], "test.synthetix.not_null_fct_spot_atomics_base_mainnet_id.627bbbf01f": [], "test.synthetix.unique_fct_spot_atomics_base_mainnet_id.43d4b7c878": [], "test.synthetix.not_null_fct_spot_atomics_base_mainnet_ts.8e16294c15": [], "test.synthetix.not_null_fct_spot_atomics_base_mainnet_block_number.f27d399305": [], "test.synthetix.not_null_fct_spot_atomics_base_mainnet_tx_hash.95b2db0403": [], "test.synthetix.not_null_fct_spot_atomics_base_mainnet_synth_market_id.6f09447421": [], "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_base_mainnet_synth_market_id__True__0.09c446094a": [], "test.synthetix.not_null_fct_spot_atomics_base_mainnet_price.425623addf": [], "test.synthetix.not_null_fct_spot_atomics_base_mainnet_amount.f9fe9bd5d8": [], "test.synthetix.not_null_fct_spot_atomics_base_mainnet_referrer.ab87d661dd": [], "test.synthetix.not_null_fct_spot_markets_base_mainnet_id.b85cc0ba41": [], "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_base_mainnet_id__True__0.51d4e415e8": [], "test.synthetix.not_null_fct_spot_markets_base_mainnet_created_ts.746ff1f9ce": [], "test.synthetix.not_null_fct_spot_markets_base_mainnet_block_number.dd426b1fb6": [], "test.synthetix.not_null_fct_spot_markets_base_mainnet_token_address.454ffd144a": [], "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_id.b1091139a2": [], "test.synthetix.unique_fct_spot_wrapper_base_mainnet_id.c51e21223d": [], "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_ts.b646319cc9": [], "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_block_number.9220599356": [], "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_tx_hash.eb92a57d59": [], "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_synth_market_id.4d8b77f2da": [], "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_base_mainnet_synth_market_id__True__0.69216a8846": [], "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_amount_wrapped.957e1a74f3": [], "test.synthetix.not_null_fct_prices_base_mainnet_ts.c885673fc8": [], "test.synthetix.not_null_fct_prices_base_mainnet_market_symbol.dc8cb46b8c": [], "test.synthetix.not_null_fct_prices_base_mainnet_price.a6c62844d1": [], "test.synthetix.dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0.4906889fd6": [], "test.synthetix.not_null_fct_prices_hourly_base_mainnet_ts.a2c68d326d": [], "test.synthetix.not_null_fct_prices_hourly_base_mainnet_market_symbol.ffd656c11f": [], "test.synthetix.not_null_fct_prices_hourly_base_mainnet_price.73bbfd891b": [], "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_base_mainnet_price__True__0.1e768deaa2": [], "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_id.eb661d1506": [], "test.synthetix.unique_fct_perp_interest_charged_base_sepolia_id.53669ecac5": [], "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_block_timestamp.0a73b599b9": [], "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_block_number.b5c567e21f": [], "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_transaction_hash.aaef59efbb": [], "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_contract.d0f4674d07": [], "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_event_name.237b079041": [], "test.synthetix.accepted_values_fct_perp_interest_charged_base_sepolia_event_name__InterestCharged.ff861d06a4": [], "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_account_id.86fbe78f66": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_account_id__True__0.3edc04f3c6": [], "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_interest.201254f262": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_interest__True__0.cbe80d3cfc": [], "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_id.04ae0ab4fd": [], "test.synthetix.unique_fct_perp_collateral_modified_base_sepolia_id.a5b1b5d44a": [], "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_block_timestamp.983f4f7464": [], "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_block_number.36ad8cb4d3": [], "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_transaction_hash.834ecbfe7f": [], "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_contract.e1b2d1c3f1": [], "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_event_name.0d3e82bc99": [], "test.synthetix.accepted_values_fct_perp_collateral_modified_base_sepolia_event_name__CollateralModified.f6430341ee": [], "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_synth_market_id.a933a52d36": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_base_sepolia_synth_market_id__True__0.6fb45ff630": [], "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_sender.36cb6d7913": [], "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_id.480d04976b": [], "test.synthetix.unique_fct_perp_previous_order_expired_base_sepolia_id.38211e4c5d": [], "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_block_timestamp.4b41a82d13": [], "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_block_number.1ff7a5705c": [], "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_transaction_hash.e1f21d4fd3": [], "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_contract.b0da841bdf": [], "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_event_name.daad0addfa": [], "test.synthetix.accepted_values_fct_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired.e124d4bad8": [], "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_market_id.17181fe5f1": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_market_id__True__0.b23f5ced4b": [], "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_account_id.e2bf90a189": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_account_id__True__0.b2f7060dcd": [], "test.synthetix.not_null_fct_perp_trades_base_sepolia_id.e94cf14cf4": [], "test.synthetix.unique_fct_perp_trades_base_sepolia_id.ceece98634": [], "test.synthetix.not_null_fct_perp_trades_base_sepolia_ts.76a693976f": [], "test.synthetix.not_null_fct_perp_trades_base_sepolia_block_number.36502e409b": [], "test.synthetix.not_null_fct_perp_trades_base_sepolia_transaction_hash.4d4a1afa3d": [], "test.synthetix.not_null_fct_perp_trades_base_sepolia_contract.92feeccb9f": [], "test.synthetix.not_null_fct_perp_trades_base_sepolia_market_id.3d4de88cac": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_market_id__True__0.67a1e76900": [], "test.synthetix.not_null_fct_perp_trades_base_sepolia_market_symbol.8c61ba2703": [], "test.synthetix.not_null_fct_perp_trades_base_sepolia_account_id.74992c394c": [], "test.synthetix.not_null_fct_perp_trades_base_sepolia_fill_price.3633433721": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_fill_price__True__0.b3d62542ac": [], "test.synthetix.not_null_fct_perp_trades_base_sepolia_pnl.42b0678535": [], "test.synthetix.not_null_fct_perp_trades_base_sepolia_accrued_funding.fb6b795bff": [], "test.synthetix.not_null_fct_perp_trades_base_sepolia_trade_size.e5fc6afe64": [], "test.synthetix.not_null_fct_perp_trades_base_sepolia_position_size.d124874e35": [], "test.synthetix.not_null_fct_perp_trades_base_sepolia_total_fees.d6fd22951b": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_total_fees__True__0.68c3f148eb": [], "test.synthetix.not_null_fct_perp_trades_base_sepolia_referral_fees.12cd5804dd": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_referral_fees__True__0.dc2313066f": [], "test.synthetix.not_null_fct_perp_trades_base_sepolia_collected_fees.ac78e5e098": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_collected_fees__True__0.d4eb8f3a34": [], "test.synthetix.not_null_fct_perp_trades_base_sepolia_settlement_reward.edb4d5c73f": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_settlement_reward__True__0.58cc15e824": [], "test.synthetix.not_null_fct_perp_trades_base_sepolia_tracking_code.482af3b84b": [], "test.synthetix.not_null_fct_perp_trades_base_sepolia_settler.b1e9ff8b09": [], "test.synthetix.not_null_fct_perp_trades_base_sepolia_notional_trade_size.e076755f6b": [], "test.synthetix.not_null_fct_perp_trades_base_sepolia_notional_position_size.1d9238ede6": [], "test.synthetix.not_null_fct_perp_trades_base_sepolia_lp_fees.08774e8672": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_lp_fees__True__0.8a5e6825da": [], "test.synthetix.not_null_fct_perp_trades_base_sepolia_exchange_fees.72c95e5df3": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_exchange_fees__True__0.b3ce206dc8": [], "test.synthetix.not_null_fct_perp_pnl_base_sepolia_ts.74b2ae0437": [], "test.synthetix.not_null_fct_perp_pnl_base_sepolia_market_id.f6d4268d28": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_base_sepolia_market_id__True__0.2546d9a255": [], "test.synthetix.not_null_fct_perp_orders_base_sepolia_id.8dca618afe": [], "test.synthetix.unique_fct_perp_orders_base_sepolia_id.55dad680ba": [], "test.synthetix.not_null_fct_perp_orders_base_sepolia_ts.acaae19ba7": [], "test.synthetix.not_null_fct_perp_orders_base_sepolia_block_number.46d5d3c316": [], "test.synthetix.not_null_fct_perp_orders_base_sepolia_transaction_hash.650c93c367": [], "test.synthetix.not_null_fct_perp_orders_base_sepolia_contract.17d50e01a2": [], "test.synthetix.not_null_fct_perp_orders_base_sepolia_market_id.9c18ced1ce": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_base_sepolia_market_id__True__0.fe527d9b61": [], "test.synthetix.not_null_fct_perp_orders_base_sepolia_market_symbol.ccf5837d32": [], "test.synthetix.not_null_fct_perp_orders_base_sepolia_account_id.75a8413527": [], "test.synthetix.not_null_fct_perp_markets_base_sepolia_id.908ad69766": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_base_sepolia_id__True__0.8545400fda": [], "test.synthetix.not_null_fct_perp_markets_base_sepolia_created_ts.ec1571d5b3": [], "test.synthetix.not_null_fct_perp_markets_base_sepolia_block_number.5b8bc4dbc4": [], "test.synthetix.not_null_fct_perp_markets_base_sepolia_market_symbol.e4e36d90ae": [], "test.synthetix.not_null_fct_perp_markets_base_sepolia_market_name.47a0ccb5b2": [], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_id.5597cbd783": [], "test.synthetix.unique_fct_perp_market_history_base_sepolia_id.a6cd45bc6b": [], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_ts.f38b043e70": [], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_block_number.2243d56672": [], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_transaction_hash.692634d15d": [], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_id.bdbb4acce1": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_market_id__True__0.ee983a3e48": [], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_symbol.a5c87dfbbc": [], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_price.701866f2d6": [], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_skew.2239f848ce": [], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size.4ba39d1f97": [], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size_delta.a047554669": [], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_rate.8b0c11dd33": [], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_velocity.e94823ecab": [], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_interest_rate.7281d4e302": [], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_rate_apr.d67d832c1f": [], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_long_rate_apr.12346bb56d": [], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_short_rate_apr.8f7be1f404": [], "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size_usd.38c4eef62e": [], "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_id.79b565b3e1": [], "test.synthetix.unique_fct_perp_liq_position_base_sepolia_id.115ce32bec": [], "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_ts.57135ae312": [], "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_block_number.1e9c90b546": [], "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_transaction_hash.a0777a2fcc": [], "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_account_id.8cf46dc9c7": [], "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_market_id.781f0844d8": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_market_id__True__0.def98e4452": [], "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_market_symbol.f750183220": [], "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_amount_liquidated.a06e8cfcb4": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_amount_liquidated__True__0.2ed4eec011": [], "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_position_size.75bf8c09a0": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_position_size__True__0.49ac413695": [], "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_account_id.f56cf61194": [], "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_ts.c34644894f": [], "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_total_reward.24d48c7864": [], "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_base_sepolia_total_reward__True__0.42888d54ae": [], "test.synthetix.not_null_fct_perp_accounts_base_sepolia_id.e4031edaa1": [], "test.synthetix.unique_fct_perp_accounts_base_sepolia_id.1ca885b5ec": [], "test.synthetix.not_null_fct_perp_accounts_base_sepolia_created_ts.00ac8e7106": [], "test.synthetix.not_null_fct_perp_accounts_base_sepolia_owner.578268eb9a": [], "test.synthetix.not_null_fct_buyback_daily_base_sepolia_ts.0b8a36c44c": [], "test.synthetix.not_null_fct_buyback_daily_base_sepolia_snx_amount.113325e30a": [], "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_snx_amount__True__0.378a6852a6": [], "test.synthetix.not_null_fct_buyback_daily_base_sepolia_usd_amount.21bc5d392b": [], "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_usd_amount__True__0.e3dd96895e": [], "test.synthetix.not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount.c44f071e87": [], "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_snx_amount__True__0.ab215eff09": [], "test.synthetix.not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount.f40974a9be": [], "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_usd_amount__True__0.f5fad30aa3": [], "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_ts.39dec90aa4": [], "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_snx_amount.a856b40de9": [], "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_snx_amount__True__0.40ea0d5e88": [], "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_usd_amount.4f119280f7": [], "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_usd_amount__True__0.89592b2e7d": [], "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount.806ce65de6": [], "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_snx_amount__True__0.6d52afd421": [], "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount.6347fe374e": [], "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_usd_amount__True__0.e3d3aff3f1": [], "test.synthetix.not_null_fct_buyback_base_sepolia_id.03ec6b8e04": [], "test.synthetix.unique_fct_buyback_base_sepolia_id.ce5fc96649": [], "test.synthetix.not_null_fct_buyback_base_sepolia_ts.f6314da709": [], "test.synthetix.not_null_fct_buyback_base_sepolia_buyer.e7ec385108": [], "test.synthetix.not_null_fct_buyback_base_sepolia_snx.39b0dcead2": [], "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0.21bd52e738": [], "test.synthetix.not_null_fct_buyback_base_sepolia_usd.427a3c3ca1": [], "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0.7426b61d1a": [], "test.synthetix.not_null_fct_buyback_base_sepolia_snx_price.361a60f2b3": [], "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_snx_price__True__0.fedfb306c2": [], "test.synthetix.not_null_fct_pool_rewards_base_sepolia_ts.3bc8aeff42": [], "test.synthetix.not_null_fct_pool_rewards_base_sepolia_pool_id.8de57769b7": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_pool_id__True__0.bb2309b03e": [], "test.synthetix.not_null_fct_pool_rewards_base_sepolia_collateral_type.fcdb4bc8d4": [], "test.synthetix.not_null_fct_pool_rewards_base_sepolia_distributor.44cab292b1": [], "test.synthetix.not_null_fct_pool_rewards_base_sepolia_token_symbol.7f69f8767a": [], "test.synthetix.not_null_fct_pool_rewards_base_sepolia_amount.e8cf1e51d5": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_amount__True__0.da53fcc671": [], "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_ts.4b517eadb1": [], "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_account_id.71a1fd9dac": [], "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_pool_id.8eb393e4f4": [], "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_pool_id__True__0.508b8be78d": [], "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_collateral_type.dc085beb88": [], "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_amount_delegated.07444b44f4": [], "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_amount_delegated__True__0.2258d23e98": [], "test.synthetix.not_null_fct_core_apr_base_sepolia_ts.2cc1721326": [], "test.synthetix.not_null_fct_core_apr_base_sepolia_pool_id.a2ea5cc601": [], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_pool_id__True__0.dca944c591": [], "test.synthetix.not_null_fct_core_apr_base_sepolia_collateral_type.7a5590eb90": [], "test.synthetix.not_null_fct_core_apr_base_sepolia_collateral_value.6b7be2743f": [], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_collateral_value__True__0.50d2b91f46": [], "test.synthetix.not_null_fct_core_apr_base_sepolia_debt.fadc5bb67a": [], "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_issuance.2fcf5254d1": [], "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_pnl.75c8c54189": [], "test.synthetix.not_null_fct_core_apr_base_sepolia_cumulative_pnl.ce3ab4e606": [], "test.synthetix.not_null_fct_core_apr_base_sepolia_cumulative_issuance.5f3ec9bec1": [], "test.synthetix.not_null_fct_core_apr_base_sepolia_rewards_usd.0b9d66ba19": [], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_rewards_usd__True__0.090c92559d": [], "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_pnl_pct.d827dc6b5f": [], "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_rewards_pct.adeb7db337": [], "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_hourly_rewards_pct__True__1__0.6c15e31d20": [], "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_24h.275116a918": [], "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_24h.b04b5222f4": [], "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_7d.cfc4ec14a3": [], "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_7d.45a63722a9": [], "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_28d.e099bf170a": [], "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_28d.1e8e0632e0": [], "test.synthetix.not_null_fct_core_market_updated_base_sepolia_id.34d77ebc84": [], "test.synthetix.unique_fct_core_market_updated_base_sepolia_id.469dae108f": [], "test.synthetix.not_null_fct_core_market_updated_base_sepolia_ts.9f306426fd": [], "test.synthetix.not_null_fct_core_market_updated_base_sepolia_transaction_hash.8b87578f5d": [], "test.synthetix.not_null_fct_core_market_updated_base_sepolia_event_name.027b71247d": [], "test.synthetix.accepted_values_fct_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.f97649ec10": [], "test.synthetix.not_null_fct_core_market_updated_base_sepolia_market_id.e1e1cc407f": [], "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_base_sepolia_market_id__True__0.9ac29d575a": [], "test.synthetix.not_null_fct_core_market_updated_base_sepolia_collateral_type.5333cf7124": [], "test.synthetix.not_null_fct_core_market_updated_base_sepolia_credit_capacity.1096ceee18": [], "test.synthetix.not_null_fct_core_market_updated_base_sepolia_net_issuance.094fc9701e": [], "test.synthetix.not_null_fct_core_market_updated_base_sepolia_token_amount.dfd33d6c7e": [], "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_ts.706747681b": [], "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_collateral_type.98bdc1fe0e": [], "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_amount_deposited.c9a6a6e3d1": [], "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_ts.29b697c43e": [], "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_pool_id.03e5ee04d2": [], "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_base_sepolia_pool_id__True__0.6f4bec67e8": [], "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_collateral_type.6d78a9fae0": [], "test.synthetix.not_null_fct_core_pools_base_sepolia_id.b91a0ef35b": [], "test.synthetix.dbt_utils_accepted_range_fct_core_pools_base_sepolia_id__True__0.6010b3107d": [], "test.synthetix.not_null_fct_core_pools_base_sepolia_created_ts.ddc75dd279": [], "test.synthetix.not_null_fct_core_pools_base_sepolia_block_number.68462f9c7c": [], "test.synthetix.not_null_fct_core_pools_base_sepolia_owner.e551fe7bc6": [], "test.synthetix.not_null_fct_pool_debt_base_sepolia_ts.955bd8bfe6": [], "test.synthetix.not_null_fct_pool_debt_base_sepolia_block_number.d6752d8232": [], "test.synthetix.not_null_fct_pool_debt_base_sepolia_pool_id.bb5f56d624": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_base_sepolia_pool_id__True__0.0228ac48ff": [], "test.synthetix.not_null_fct_pool_debt_base_sepolia_collateral_type.5daff7c138": [], "test.synthetix.not_null_fct_pool_debt_base_sepolia_debt.235edf4e17": [], "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_ts.27f6b37554": [], "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_pool_id.10ae437d68": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_base_sepolia_pool_id__True__0.9d327cf662": [], "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type.1a6b56fdf4": [], "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance.938e34bef0": [], "test.synthetix.not_null_fct_pool_issuance_base_sepolia_ts.be998526ed": [], "test.synthetix.not_null_fct_pool_issuance_base_sepolia_block_number.2f1e619103": [], "test.synthetix.not_null_fct_pool_issuance_base_sepolia_transaction_hash.79420348fa": [], "test.synthetix.not_null_fct_pool_issuance_base_sepolia_pool_id.5d2388a5a0": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_base_sepolia_pool_id__True__0.e99f9bdac0": [], "test.synthetix.not_null_fct_pool_issuance_base_sepolia_collateral_type.3b36d49350": [], "test.synthetix.not_null_fct_pool_issuance_base_sepolia_account_id.aa037160fb": [], "test.synthetix.not_null_fct_pool_issuance_base_sepolia_amount.5be777c996": [], "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_ts.5acc26229f": [], "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_pool_id.c9853b1694": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_pool_id__True__0.05c766378f": [], "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type.1eca6afa4f": [], "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value.02a125e570": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_collateral_value__True__0.4f1a814d7b": [], "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_debt.27270b83bd": [], "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance.64beeb7093": [], "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl.1b2d20f29b": [], "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd.3d8b12547d": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_rewards_usd__True__0.9baf8da1f5": [], "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct.5e738de9f7": [], "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct.d3c5df3f72": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct__True__1__0.3ae208ff52": [], "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct.32d5d04358": [], "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_ts.521c0d428a": [], "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_pool_id.9e81c4a855": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_pool_id__True__0.7fb80d19e2": [], "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type.ca06f7aa20": [], "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd.f98e64d589": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_rewards_usd__True__0.a1e92ad42f": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_ts.965132b4de": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id.be2709e1ec": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_pool_id__True__0.81592c4342": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_collateral_type.d1a6cde42d": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor.e0a88ca283": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_token_symbol.0efe3d5a1b": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_price.f86d19c3a1": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_price__True__0.5d2650f33d": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount.52789db2ec": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount__True__0.c330c461c1": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed.c0f649a5e2": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed__True__0.45dd358d86": [], "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd.d3001484ac": [], "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd__True__0.c0730ac36d": [], "test.synthetix.not_null_fct_synth_supply_base_sepolia_ts.0e3cf0c2f2": [], "test.synthetix.not_null_fct_synth_supply_base_sepolia_block_number.f0997efcd8": [], "test.synthetix.not_null_fct_synth_supply_base_sepolia_synth_market_id.75d7df8ce8": [], "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_base_sepolia_synth_market_id__True__0.1c097f1721": [], "test.synthetix.not_null_fct_synth_supply_base_sepolia_supply.a13743a375": [], "test.synthetix.not_null_fct_spot_atomics_base_sepolia_id.dfc0db9ed4": [], "test.synthetix.unique_fct_spot_atomics_base_sepolia_id.6c8ed0bc2a": [], "test.synthetix.not_null_fct_spot_atomics_base_sepolia_ts.4bca6422cc": [], "test.synthetix.not_null_fct_spot_atomics_base_sepolia_block_number.16d75a4323": [], "test.synthetix.not_null_fct_spot_atomics_base_sepolia_tx_hash.6d969998c6": [], "test.synthetix.not_null_fct_spot_atomics_base_sepolia_synth_market_id.e8f636df14": [], "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_base_sepolia_synth_market_id__True__0.391b470dd2": [], "test.synthetix.not_null_fct_spot_atomics_base_sepolia_price.ce30d003ce": [], "test.synthetix.not_null_fct_spot_atomics_base_sepolia_amount.81264c756d": [], "test.synthetix.not_null_fct_spot_atomics_base_sepolia_referrer.7533de1c2b": [], "test.synthetix.not_null_fct_spot_markets_base_sepolia_id.a355928e0f": [], "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_base_sepolia_id__True__0.f6b3a1dac3": [], "test.synthetix.not_null_fct_spot_markets_base_sepolia_created_ts.69423c5ddb": [], "test.synthetix.not_null_fct_spot_markets_base_sepolia_block_number.25cd7e84c0": [], "test.synthetix.not_null_fct_spot_markets_base_sepolia_token_address.af639aa1d2": [], "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_id.6458cf0796": [], "test.synthetix.unique_fct_spot_wrapper_base_sepolia_id.3a2fb8ee86": [], "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_ts.8708b13a31": [], "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_block_number.05149fa391": [], "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_tx_hash.0df62cff0d": [], "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_synth_market_id.54687d51aa": [], "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_base_sepolia_synth_market_id__True__0.f4eedf4f3f": [], "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_amount_wrapped.447890a6f4": [], "test.synthetix.not_null_fct_prices_base_sepolia_ts.2875b0c397": [], "test.synthetix.not_null_fct_prices_base_sepolia_market_symbol.e2a8214091": [], "test.synthetix.not_null_fct_prices_base_sepolia_price.3c29a949cf": [], "test.synthetix.dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0.78bfe2f46a": [], "test.synthetix.not_null_fct_prices_hourly_base_sepolia_ts.fc60cfbaeb": [], "test.synthetix.not_null_fct_prices_hourly_base_sepolia_market_symbol.35c2706bfd": [], "test.synthetix.not_null_fct_prices_hourly_base_sepolia_price.e263ee2224": [], "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_base_sepolia_price__True__0.9b4c65b6bd": [], "source.synthetix.raw_eth_mainnet.block": ["model.synthetix.blocks_eth_mainnet"], "source.synthetix.raw_eth_mainnet.core_proxy_event_account_created": ["model.synthetix.core_account_created_eth_mainnet"], "source.synthetix.raw_eth_mainnet.core_proxy_event_delegation_updated": ["model.synthetix.core_delegation_updated_eth_mainnet"], "source.synthetix.raw_eth_mainnet.core_proxy_event_deposited": ["model.synthetix.core_deposited_eth_mainnet"], "source.synthetix.raw_eth_mainnet.core_proxy_event_withdrawn": ["model.synthetix.core_withdrawn_eth_mainnet"], "source.synthetix.raw_eth_mainnet.core_proxy_event_liquidation": ["model.synthetix.core_liquidation_eth_mainnet"], "source.synthetix.raw_eth_mainnet.core_proxy_event_market_registered": ["model.synthetix.core_market_registered_eth_mainnet"], "source.synthetix.raw_eth_mainnet.core_proxy_event_pool_created": ["model.synthetix.core_pool_created_eth_mainnet"], "source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_claimed": ["model.synthetix.core_rewards_claimed_eth_mainnet"], "source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_distributed": ["model.synthetix.core_rewards_distributed_eth_mainnet"], "source.synthetix.raw_eth_mainnet.core_proxy_event_usd_burned": ["model.synthetix.core_usd_burned_eth_mainnet"], "source.synthetix.raw_eth_mainnet.core_proxy_event_usd_minted": ["model.synthetix.core_usd_minted_eth_mainnet"], "source.synthetix.raw_eth_mainnet.core_proxy_event_vault_liquidation": ["model.synthetix.core_vault_liquidation_eth_mainnet"], "source.synthetix.raw_eth_mainnet.core_proxy_event_market_collateral_deposited": ["model.synthetix.core_market_updated_eth_mainnet"], "source.synthetix.raw_eth_mainnet.core_proxy_event_market_collateral_withdrawn": ["model.synthetix.core_market_updated_eth_mainnet"], "source.synthetix.raw_eth_mainnet.core_proxy_event_market_usd_deposited": ["model.synthetix.core_market_updated_eth_mainnet"], "source.synthetix.raw_eth_mainnet.core_proxy_event_market_usd_withdrawn": ["model.synthetix.core_market_updated_eth_mainnet"], "source.synthetix.raw_eth_mainnet.legacy_market_proxy_event_account_migrated": ["model.synthetix.core_account_migrated_eth_mainnet"], "source.synthetix.raw_eth_mainnet.core_get_vault_collateral": ["model.synthetix.core_vault_collateral_eth_mainnet"], "source.synthetix.raw_eth_mainnet.core_get_vault_debt": ["model.synthetix.core_vault_debt_eth_mainnet"], "source.synthetix.raw_eth_mainnet.blocks_parquet": ["model.synthetix.blocks_eth_mainnet", "model.synthetix.core_vault_collateral_eth_mainnet", "model.synthetix.core_vault_debt_eth_mainnet"], "source.synthetix.raw_base_sepolia.block": ["model.synthetix.blocks_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_created": ["model.synthetix.perp_account_created_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_liquidation_attempt": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_collateral_modified": ["model.synthetix.perp_collateral_modified_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_created": ["model.synthetix.perp_market_created_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_updated": ["model.synthetix.perp_market_updated_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_market_updated": ["model.synthetix.perp_market_updated_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_committed": ["model.synthetix.perp_order_committed_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_order_committed": ["model.synthetix.perp_order_committed_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_settled": ["model.synthetix.perp_order_settled_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_position_liquidated": ["model.synthetix.perp_position_liquidated_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_previous_order_expired": ["model.synthetix.perp_previous_order_expired_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_rate_updated": ["model.synthetix.perp_interest_rate_updated_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_charged": ["model.synthetix.perp_interest_charged_base_sepolia"], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_committed": ["model.synthetix.spot_order_committed_base_sepolia"], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_settled": ["model.synthetix.spot_order_settled_base_sepolia"], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_cancelled": ["model.synthetix.spot_order_cancelled_base_sepolia"], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_registered": ["model.synthetix.spot_synth_registered_base_sepolia"], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_bought": ["model.synthetix.spot_synth_bought_base_sepolia"], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_sold": ["model.synthetix.spot_synth_sold_base_sepolia"], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_wrapped": ["model.synthetix.spot_synth_wrapped_base_sepolia"], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_unwrapped": ["model.synthetix.spot_synth_unwrapped_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_account_created": ["model.synthetix.core_account_created_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_delegation_updated": ["model.synthetix.core_delegation_updated_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_deposited": ["model.synthetix.core_deposited_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_withdrawn": ["model.synthetix.core_withdrawn_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_liquidation": ["model.synthetix.core_liquidation_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_market_registered": ["model.synthetix.core_market_registered_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_pool_created": ["model.synthetix.core_pool_created_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_claimed": ["model.synthetix.core_rewards_claimed_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_distributed": ["model.synthetix.core_rewards_distributed_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_usd_burned": ["model.synthetix.core_usd_burned_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_usd_minted": ["model.synthetix.core_usd_minted_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_vault_liquidation": ["model.synthetix.core_vault_liquidation_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_deposited": ["model.synthetix.core_market_updated_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_withdrawn": ["model.synthetix.core_market_updated_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_deposited": ["model.synthetix.core_market_updated_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_withdrawn": ["model.synthetix.core_market_updated_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_deposited": ["model.synthetix.core_market_updated_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_withdrawn": ["model.synthetix.core_market_updated_base_sepolia"], "source.synthetix.raw_base_sepolia.buyback_snx_event_buyback_processed": ["model.synthetix.buyback_processed_base_sepolia"], "source.synthetix.raw_base_sepolia.core_get_vault_collateral": ["model.synthetix.core_vault_collateral_base_sepolia"], "source.synthetix.raw_base_sepolia.core_get_vault_debt": ["model.synthetix.core_vault_debt_base_sepolia"], "source.synthetix.raw_base_sepolia.blocks_parquet": ["model.synthetix.blocks_base_sepolia", "model.synthetix.core_vault_collateral_base_sepolia", "model.synthetix.core_vault_debt_base_sepolia"], "source.synthetix.raw_arbitrum_sepolia.block": ["model.synthetix.blocks_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_committed": ["model.synthetix.spot_order_committed_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_settled": ["model.synthetix.spot_order_settled_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_cancelled": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_registered": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_bought": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_sold": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_wrapped": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_unwrapped": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created": ["model.synthetix.core_account_created_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_deposited": ["model.synthetix.core_deposited_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_withdrawn": ["model.synthetix.core_withdrawn_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_liquidation": ["model.synthetix.core_liquidation_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_registered": ["model.synthetix.core_market_registered_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_pool_created": ["model.synthetix.core_pool_created_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_claimed": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_distributed": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_burned": ["model.synthetix.core_usd_burned_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_minted": ["model.synthetix.core_usd_minted_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_vault_liquidation": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_deposited": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_withdrawn": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_deposited": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_withdrawn": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_get_vault_collateral": ["model.synthetix.core_vault_collateral_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_get_vault_debt": ["model.synthetix.core_vault_debt_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.blocks_parquet": ["model.synthetix.blocks_arbitrum_sepolia", "model.synthetix.core_vault_collateral_arbitrum_sepolia", "model.synthetix.core_vault_debt_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_mainnet.block": ["model.synthetix.blocks_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_committed": ["model.synthetix.spot_order_committed_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_settled": ["model.synthetix.spot_order_settled_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_cancelled": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_registered": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_bought": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_sold": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_wrapped": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_unwrapped": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created": ["model.synthetix.core_account_created_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_delegation_updated": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_deposited": ["model.synthetix.core_deposited_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn": ["model.synthetix.core_withdrawn_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_liquidation": ["model.synthetix.core_liquidation_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered": ["model.synthetix.core_market_registered_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created": ["model.synthetix.core_pool_created_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet", "model.synthetix.core_rewards_claimed_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_distributed": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_burned": ["model.synthetix.core_usd_burned_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_minted": ["model.synthetix.core_usd_minted_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_deposited": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_withdrawn": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_deposited": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_withdrawn": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral": ["model.synthetix.core_vault_collateral_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt": ["model.synthetix.core_vault_debt_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.blocks_parquet": ["model.synthetix.blocks_arbitrum_mainnet", "model.synthetix.core_vault_collateral_arbitrum_mainnet", "model.synthetix.core_vault_debt_arbitrum_mainnet"], "source.synthetix.raw_base_mainnet.block": ["model.synthetix.blocks_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_created": ["model.synthetix.perp_account_created_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_liquidation_attempt": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_collateral_modified": ["model.synthetix.perp_collateral_modified_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_created": ["model.synthetix.perp_market_created_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_updated": ["model.synthetix.perp_market_updated_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_market_updated": ["model.synthetix.perp_market_updated_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_committed": ["model.synthetix.perp_order_committed_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_order_committed": ["model.synthetix.perp_order_committed_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_settled": ["model.synthetix.perp_order_settled_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_position_liquidated": ["model.synthetix.perp_position_liquidated_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_previous_order_expired": ["model.synthetix.perp_previous_order_expired_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_rate_updated": ["model.synthetix.perp_interest_rate_updated_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_charged": ["model.synthetix.perp_interest_charged_base_mainnet"], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_committed": ["model.synthetix.spot_order_committed_base_mainnet"], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_settled": ["model.synthetix.spot_order_settled_base_mainnet"], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_cancelled": ["model.synthetix.spot_order_cancelled_base_mainnet"], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_registered": ["model.synthetix.spot_synth_registered_base_mainnet"], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_bought": ["model.synthetix.spot_synth_bought_base_mainnet"], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_sold": ["model.synthetix.spot_synth_sold_base_mainnet"], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_wrapped": ["model.synthetix.spot_synth_wrapped_base_mainnet"], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_unwrapped": ["model.synthetix.spot_synth_unwrapped_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_account_created": ["model.synthetix.core_account_created_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_delegation_updated": ["model.synthetix.core_delegation_updated_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_deposited": ["model.synthetix.core_deposited_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_withdrawn": ["model.synthetix.core_withdrawn_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_liquidation": ["model.synthetix.core_liquidation_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_market_registered": ["model.synthetix.core_market_registered_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_pool_created": ["model.synthetix.core_pool_created_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_claimed": ["model.synthetix.core_rewards_claimed_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_distributed": ["model.synthetix.core_rewards_distributed_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_usd_burned": ["model.synthetix.core_usd_burned_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_usd_minted": ["model.synthetix.core_usd_minted_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_vault_liquidation": ["model.synthetix.core_vault_liquidation_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_deposited": ["model.synthetix.core_market_updated_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_withdrawn": ["model.synthetix.core_market_updated_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_deposited": ["model.synthetix.core_market_updated_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_withdrawn": ["model.synthetix.core_market_updated_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_deposited": ["model.synthetix.core_market_updated_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_withdrawn": ["model.synthetix.core_market_updated_base_mainnet"], "source.synthetix.raw_base_mainnet.buyback_snx_legacy_event_buyback_processed": ["model.synthetix.buyback_processed_base_mainnet"], "source.synthetix.raw_base_mainnet.buyback_snx_event_buyback_processed": ["model.synthetix.buyback_processed_base_mainnet"], "source.synthetix.raw_base_mainnet.core_get_vault_collateral": ["model.synthetix.core_vault_collateral_base_mainnet"], "source.synthetix.raw_base_mainnet.core_get_vault_debt": ["model.synthetix.core_vault_debt_base_mainnet"], "source.synthetix.raw_base_mainnet.blocks_parquet": ["model.synthetix.blocks_base_mainnet", "model.synthetix.core_vault_collateral_base_mainnet", "model.synthetix.core_vault_debt_base_mainnet"], "source.synthetix.raw_optimism_mainnet.block": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_committed": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_settled": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_cancelled": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_registered": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_bought": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_sold": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_wrapped": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_unwrapped": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_account_created": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_delegation_updated": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_deposited": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_withdrawn": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_liquidation": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_registered": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_pool_created": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_claimed": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_distributed": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_burned": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_minted": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_vault_liquidation": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_deposited": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_withdrawn": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified1": []}, "group_map": {}, "saved_queries": {}, "semantic_models": {}, "unit_tests": {}} \ No newline at end of file diff --git a/partial_parse.msgpack b/partial_parse.msgpack new file mode 100644 index 00000000..6ff07a10 Binary files /dev/null and b/partial_parse.msgpack differ diff --git a/run_results.json b/run_results.json new file mode 100644 index 00000000..ee82aacf --- /dev/null +++ b/run_results.json @@ -0,0 +1 @@ +{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/run-results/v6.json", "dbt_version": "1.8.5", "generated_at": "2024-08-13T21:25:58.047523Z", "invocation_id": "7acd4e94-8d2f-4261-b197-0931428af2be", "env": {}}, "results": [{"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.796518Z", "completed_at": "2024-08-13T21:25:30.818214Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.818980Z", "completed_at": "2024-08-13T21:25:30.819013Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02749943733215332, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.blocks_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"block\"\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"blocks_parquet\"\n),\n\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"blocks_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.814046Z", "completed_at": "2024-08-13T21:25:30.820633Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.823241Z", "completed_at": "2024-08-13T21:25:30.823249Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02862381935119629, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.blocks_base_sepolia", "compiled": true, "compiled_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_base_sepolia\".\"block\"\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_base_sepolia\".\"blocks_parquet\"\n),\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"blocks_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.806590Z", "completed_at": "2024-08-13T21:25:30.821325Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.824111Z", "completed_at": "2024-08-13T21:25:30.824119Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.031304359436035156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.blocks_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"block\"\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"blocks_parquet\"\n),\n\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"blocks_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.810009Z", "completed_at": "2024-08-13T21:25:30.822030Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.824981Z", "completed_at": "2024-08-13T21:25:30.824990Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.031560420989990234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.blocks_base_mainnet", "compiled": true, "compiled_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_base_mainnet\".\"block\"\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_base_mainnet\".\"blocks_parquet\"\n),\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"blocks_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.828750Z", "completed_at": "2024-08-13T21:25:30.836008Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.846675Z", "completed_at": "2024-08-13T21:25:30.846685Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024227142333984375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.blocks_eth_mainnet", "compiled": true, "compiled_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_eth_mainnet\".\"block\"\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_eth_mainnet\".\"blocks_parquet\"\n),\n\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"blocks_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.840278Z", "completed_at": "2024-08-13T21:25:30.848328Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.850360Z", "completed_at": "2024-08-13T21:25:30.850370Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.017560720443725586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.buyback_processed_base_sepolia", "compiled": true, "compiled_code": "WITH current_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"buyback_snx_event_buyback_processed\"\n\n)\n\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n event_name,\n contract,\n buyer,\n snx,\n usd\nFROM\n current_events", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.836591Z", "completed_at": "2024-08-13T21:25:30.849591Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.852500Z", "completed_at": "2024-08-13T21:25:30.852508Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02031731605529785, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.buyback_processed_base_mainnet", "compiled": true, "compiled_code": "WITH legacy_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"buyback_snx_legacy_event_buyback_processed\"\n\n),\ncurrent_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"buyback_snx_event_buyback_processed\"\n\n)\n\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n event_name,\n contract,\n buyer,\n snx,\n usd\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n event_name,\n contract,\n buyer,\n snx,\n usd\nFROM\n current_events", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.843478Z", "completed_at": "2024-08-13T21:25:30.851920Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.854913Z", "completed_at": "2024-08-13T21:25:30.854921Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021504640579223633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_account_created_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_account_created\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.857428Z", "completed_at": "2024-08-13T21:25:30.864540Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.869319Z", "completed_at": "2024-08-13T21:25:30.869329Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018081188201904297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_account_created_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_account_created\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.865678Z", "completed_at": "2024-08-13T21:25:30.877785Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.879415Z", "completed_at": "2024-08-13T21:25:30.879425Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022987842559814453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_account_created_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_account_created\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.873444Z", "completed_at": "2024-08-13T21:25:30.880295Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.882701Z", "completed_at": "2024-08-13T21:25:30.882709Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018907785415649414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_account_created_eth_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_account_created\"\n", "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_account_created_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.870196Z", "completed_at": "2024-08-13T21:25:30.880844Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.883804Z", "completed_at": "2024-08-13T21:25:30.883816Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021609783172607422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_account_created_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_account_created\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.884701Z", "completed_at": "2024-08-13T21:25:30.891207Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.896167Z", "completed_at": "2024-08-13T21:25:30.896177Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0176694393157959, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_account_migrated_eth_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"legacy_market_proxy_event_account_migrated\"\n", "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.893016Z", "completed_at": "2024-08-13T21:25:30.898922Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.907788Z", "completed_at": "2024-08-13T21:25:30.907799Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020114421844482422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_delegation_updated\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.899651Z", "completed_at": "2024-08-13T21:25:30.910240Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.915644Z", "completed_at": "2024-08-13T21:25:30.915652Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02395343780517578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_delegation_updated\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.903984Z", "completed_at": "2024-08-13T21:25:30.914401Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.916644Z", "completed_at": "2024-08-13T21:25:30.916652Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024343013763427734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_delegation_updated_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_delegation_updated\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.911016Z", "completed_at": "2024-08-13T21:25:30.918133Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.923936Z", "completed_at": "2024-08-13T21:25:30.923944Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01689457893371582, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_delegation_updated_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_delegation_updated\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.920866Z", "completed_at": "2024-08-13T21:25:30.927935Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.932889Z", "completed_at": "2024-08-13T21:25:30.932897Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.017989635467529297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_delegation_updated_eth_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_delegation_updated\"\n", "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.929770Z", "completed_at": "2024-08-13T21:25:30.939299Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.944968Z", "completed_at": "2024-08-13T21:25:30.944976Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020261526107788086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_deposited_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_deposited\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.933767Z", "completed_at": "2024-08-13T21:25:30.943565Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.945934Z", "completed_at": "2024-08-13T21:25:30.945942Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020608186721801758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_deposited_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_deposited\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.940445Z", "completed_at": "2024-08-13T21:25:30.946802Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.949577Z", "completed_at": "2024-08-13T21:25:30.949587Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02057051658630371, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_deposited_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_deposited\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.950803Z", "completed_at": "2024-08-13T21:25:30.956941Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.961839Z", "completed_at": "2024-08-13T21:25:30.961848Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.017682552337646484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_deposited_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_deposited\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.958711Z", "completed_at": "2024-08-13T21:25:30.967344Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.972906Z", "completed_at": "2024-08-13T21:25:30.972916Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019142866134643555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_deposited_eth_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_deposited\"\n", "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.962716Z", "completed_at": "2024-08-13T21:25:30.971333Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.973879Z", "completed_at": "2024-08-13T21:25:30.973887Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01939702033996582, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_liquidation_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_liquidation\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.968010Z", "completed_at": "2024-08-13T21:25:30.974797Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.978833Z", "completed_at": "2024-08-13T21:25:30.978843Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020858287811279297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_liquidation_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_liquidation\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.980371Z", "completed_at": "2024-08-13T21:25:30.986446Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:30.991410Z", "completed_at": "2024-08-13T21:25:30.991423Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019536495208740234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_liquidation_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_liquidation\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.988285Z", "completed_at": "2024-08-13T21:25:31.000763Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.002797Z", "completed_at": "2024-08-13T21:25:31.002806Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019443035125732422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_liquidation_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_liquidation\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.992487Z", "completed_at": "2024-08-13T21:25:31.001395Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.003793Z", "completed_at": "2024-08-13T21:25:31.003802Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01982569694519043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_liquidation_eth_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_liquidation\"\n", "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:30.997694Z", "completed_at": "2024-08-13T21:25:31.004649Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.007611Z", "completed_at": "2024-08-13T21:25:31.007619Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020066499710083008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_market_registered_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_registered\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.008752Z", "completed_at": "2024-08-13T21:25:31.015460Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.023841Z", "completed_at": "2024-08-13T21:25:31.023849Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021978378295898438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_market_registered_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_registered\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.020756Z", "completed_at": "2024-08-13T21:25:31.029334Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.031682Z", "completed_at": "2024-08-13T21:25:31.031690Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01927661895751953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_market_registered_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_registered\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.016651Z", "completed_at": "2024-08-13T21:25:31.030107Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.032608Z", "completed_at": "2024-08-13T21:25:31.032616Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020829439163208008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_market_registered_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_registered\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.026331Z", "completed_at": "2024-08-13T21:25:31.033457Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.036367Z", "completed_at": "2024-08-13T21:25:31.036377Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020442962646484375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_market_registered_eth_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_market_registered\"\n", "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.037564Z", "completed_at": "2024-08-13T21:25:31.045749Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.058239Z", "completed_at": "2024-08-13T21:25:31.058247Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027462482452392578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_market_updated_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_collateral_deposited\"\n\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_collateral_withdrawn\"\n\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_usd_deposited\"\n\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_usd_withdrawn\"\n\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.046922Z", "completed_at": "2024-08-13T21:25:31.060748Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.068606Z", "completed_at": "2024-08-13T21:25:31.068614Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026590824127197266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_market_updated_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_collateral_deposited\"\n\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_collateral_withdrawn\"\n\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_usd_deposited\"\n\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_usd_withdrawn\"\n\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.051709Z", "completed_at": "2024-08-13T21:25:31.061389Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.069483Z", "completed_at": "2024-08-13T21:25:31.069493Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02676105499267578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_market_updated_base_mainnet", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_legacy_event_market_usd_deposited\"\n\n ) legacy_usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_legacy_event_market_usd_withdrawn\"\n\n ) legacy_usd_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_collateral_deposited\"\n\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_collateral_withdrawn\"\n\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_usd_deposited\"\n\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_usd_withdrawn\"\n\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.062288Z", "completed_at": "2024-08-13T21:25:31.071051Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.078423Z", "completed_at": "2024-08-13T21:25:31.078433Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.03225278854370117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_market_updated_base_sepolia", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_legacy_event_market_usd_deposited\"\n\n ) legacy_usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_legacy_event_market_usd_withdrawn\"\n\n ) legacy_usd_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_collateral_deposited\"\n\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_collateral_withdrawn\"\n\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_usd_deposited\"\n\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_usd_withdrawn\"\n\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.073475Z", "completed_at": "2024-08-13T21:25:31.081895Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.084310Z", "completed_at": "2024-08-13T21:25:31.084318Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.016438007354736328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_market_updated_eth_mainnet", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_market_collateral_deposited\"\n\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_market_collateral_withdrawn\"\n\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_market_usd_deposited\"\n\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_market_usd_withdrawn\"\n\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.085188Z", "completed_at": "2024-08-13T21:25:31.093366Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.099473Z", "completed_at": "2024-08-13T21:25:31.099481Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02020740509033203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_pool_created_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_pool_created\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.088379Z", "completed_at": "2024-08-13T21:25:31.098111Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.100459Z", "completed_at": "2024-08-13T21:25:31.100466Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020576000213623047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_pool_created_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_pool_created\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.094028Z", "completed_at": "2024-08-13T21:25:31.101303Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.104187Z", "completed_at": "2024-08-13T21:25:31.104196Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020598173141479492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_pool_created_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_pool_created\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.105301Z", "completed_at": "2024-08-13T21:25:31.111520Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.116404Z", "completed_at": "2024-08-13T21:25:31.116413Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01769733428955078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_pool_created_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_pool_created\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.113349Z", "completed_at": "2024-08-13T21:25:31.122410Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.127422Z", "completed_at": "2024-08-13T21:25:31.127430Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01911163330078125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_pool_created_eth_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_pool_created\"\n", "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.117410Z", "completed_at": "2024-08-13T21:25:31.126203Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.128399Z", "completed_at": "2024-08-13T21:25:31.128407Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01946735382080078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_rewards_claimed\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.123043Z", "completed_at": "2024-08-13T21:25:31.129876Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.135618Z", "completed_at": "2024-08-13T21:25:31.135628Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023048877716064453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_rewards_claimed\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.132451Z", "completed_at": "2024-08-13T21:25:31.138638Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.142498Z", "completed_at": "2024-08-13T21:25:31.142508Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.015846729278564453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_rewards_claimed_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_rewards_claimed\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.143402Z", "completed_at": "2024-08-13T21:25:31.154696Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.156677Z", "completed_at": "2024-08-13T21:25:31.156687Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020261287689208984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_rewards_claimed_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_rewards_claimed\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.146439Z", "completed_at": "2024-08-13T21:25:31.155978Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.158696Z", "completed_at": "2024-08-13T21:25:31.158704Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021657466888427734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_rewards_claimed_eth_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_rewards_claimed\"\n", "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.151682Z", "completed_at": "2024-08-13T21:25:31.157580Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.160634Z", "completed_at": "2024-08-13T21:25:31.160643Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018855810165405273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_rewards_distributed\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.161524Z", "completed_at": "2024-08-13T21:25:31.168275Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.170645Z", "completed_at": "2024-08-13T21:25:31.170653Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.015357494354248047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_rewards_distributed\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.171562Z", "completed_at": "2024-08-13T21:25:31.183856Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.185981Z", "completed_at": "2024-08-13T21:25:31.185989Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02061915397644043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_rewards_distributed_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_rewards_distributed\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.175454Z", "completed_at": "2024-08-13T21:25:31.185309Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.188077Z", "completed_at": "2024-08-13T21:25:31.188086Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020846128463745117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_rewards_distributed_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_rewards_distributed\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.180566Z", "completed_at": "2024-08-13T21:25:31.186880Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.189716Z", "completed_at": "2024-08-13T21:25:31.189724Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020348310470581055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_rewards_distributed_eth_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_rewards_distributed\"\n", "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.190868Z", "completed_at": "2024-08-13T21:25:31.197115Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.199474Z", "completed_at": "2024-08-13T21:25:31.199482Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.014892339706420898, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_usd_burned_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_usd_burned\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.200891Z", "completed_at": "2024-08-13T21:25:31.213788Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.216354Z", "completed_at": "2024-08-13T21:25:31.216362Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021627187728881836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_usd_burned_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_usd_burned\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.205329Z", "completed_at": "2024-08-13T21:25:31.214609Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.217232Z", "completed_at": "2024-08-13T21:25:31.217240Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0196683406829834, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_usd_burned_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_usd_burned\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.208909Z", "completed_at": "2024-08-13T21:25:31.215818Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.221195Z", "completed_at": "2024-08-13T21:25:31.221205Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022485733032226562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_usd_burned_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_usd_burned\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.218105Z", "completed_at": "2024-08-13T21:25:31.226211Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.228674Z", "completed_at": "2024-08-13T21:25:31.228682Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01571965217590332, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_usd_burned_eth_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_usd_burned\"\n", "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.230678Z", "completed_at": "2024-08-13T21:25:31.242137Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.244227Z", "completed_at": "2024-08-13T21:25:31.244238Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019025087356567383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_usd_minted_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_usd_minted\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.238110Z", "completed_at": "2024-08-13T21:25:31.243671Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.248798Z", "completed_at": "2024-08-13T21:25:31.248806Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021432161331176758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_usd_minted_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_usd_minted\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.234626Z", "completed_at": "2024-08-13T21:25:31.245058Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.250598Z", "completed_at": "2024-08-13T21:25:31.250606Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023892641067504883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_usd_minted_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_usd_minted\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.245635Z", "completed_at": "2024-08-13T21:25:31.253347Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.257677Z", "completed_at": "2024-08-13T21:25:31.257684Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.016386032104492188, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_usd_minted_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_usd_minted\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.259739Z", "completed_at": "2024-08-13T21:25:31.269184Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.274509Z", "completed_at": "2024-08-13T21:25:31.274519Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02189016342163086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_usd_minted_eth_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_usd_minted\"\n", "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.264514Z", "completed_at": "2024-08-13T21:25:31.275456Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.281534Z", "completed_at": "2024-08-13T21:25:31.281542Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026620864868164062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "compiled": true, "compiled_code": "with base as (\n select\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n cast(\n amount as numeric\n ) as amount,\n cast(\n value as numeric\n ) as collateral_value\n from\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_get_vault_collateral\"\n where\n amount is not null\n)\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", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.269764Z", "completed_at": "2024-08-13T21:25:31.279976Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.282535Z", "completed_at": "2024-08-13T21:25:31.282542Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02410411834716797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "compiled": true, "compiled_code": "with base as (\n select\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n cast(\n amount as numeric\n ) as amount,\n cast(\n value as numeric\n ) as collateral_value\n from\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_get_vault_collateral\"\n where\n amount is not null\n)\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", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.276147Z", "completed_at": "2024-08-13T21:25:31.283449Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.286936Z", "completed_at": "2024-08-13T21:25:31.286945Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018495798110961914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_collateral_base_mainnet", "compiled": true, "compiled_code": "with base as (\n select\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n cast(\n amount as numeric\n ) as amount,\n cast(\n value as numeric\n ) as collateral_value\n from\n \"analytics\".\"raw_base_mainnet\".\"core_get_vault_collateral\"\n where\n amount is not null\n)\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", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.290690Z", "completed_at": "2024-08-13T21:25:31.301877Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.307010Z", "completed_at": "2024-08-13T21:25:31.307018Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023120641708374023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_collateral_base_sepolia", "compiled": true, "compiled_code": "with base as (\n select\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n cast(\n amount as numeric\n ) as amount,\n cast(\n value as numeric\n ) as collateral_value\n from\n \"analytics\".\"raw_base_sepolia\".\"core_get_vault_collateral\"\n where\n amount is not null\n)\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", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.296914Z", "completed_at": "2024-08-13T21:25:31.307973Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.313855Z", "completed_at": "2024-08-13T21:25:31.313863Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02534317970275879, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_collateral_eth_mainnet", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n amount AS numeric\n ) AS amount,\n CAST(\n \"value\" AS numeric\n ) AS collateral_value\n FROM\n \"analytics\".\"raw_eth_mainnet\".\"core_get_vault_collateral\"\n WHERE\n amount IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n \n base.amount / 1e18\n AS amount,\n \n base.collateral_value / 1e18\n AS collateral_value\nFROM\n base\n JOIN \"analytics\".\"raw_eth_mainnet\".\"blocks_parquet\" AS blocks\n ON base.block_number = blocks.block_number", "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.302541Z", "completed_at": "2024-08-13T21:25:31.312977Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.316117Z", "completed_at": "2024-08-13T21:25:31.316126Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026901960372924805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_debt_arbitrum_mainnet", "compiled": true, "compiled_code": "with base as (\n select\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n cast(\n value_1 as numeric\n ) as debt\n from\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_get_vault_debt\"\n where\n value_1 is not null\n)\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", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_debt_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.308627Z", "completed_at": "2024-08-13T21:25:31.315573Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.318607Z", "completed_at": "2024-08-13T21:25:31.318615Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022533178329467773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_debt_arbitrum_sepolia", "compiled": true, "compiled_code": "with base as (\n select\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n cast(\n value_1 as numeric\n ) as debt\n from\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_get_vault_debt\"\n where\n value_1 is not null\n)\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", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_debt_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.321079Z", "completed_at": "2024-08-13T21:25:31.327804Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.333237Z", "completed_at": "2024-08-13T21:25:31.333247Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01848292350769043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_debt_base_mainnet", "compiled": true, "compiled_code": "with base as (\n select\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n cast(\n value_1 as numeric\n ) as debt\n from\n \"analytics\".\"raw_base_mainnet\".\"core_get_vault_debt\"\n where\n value_1 is not null\n)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as block_number,\n base.contract_address,\n cast(\n base.pool_id as integer\n ) as pool_id,\n cast(\n base.collateral_type as varchar\n ) as collateral_type,\n \n base.debt / 1e18\n as debt\nfrom\n base\ninner join \"analytics\".\"raw_base_mainnet\".\"blocks_parquet\" as blocks\n on base.block_number = blocks.block_number", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.328913Z", "completed_at": "2024-08-13T21:25:31.342661Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.344628Z", "completed_at": "2024-08-13T21:25:31.344637Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024491548538208008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_debt_base_sepolia", "compiled": true, "compiled_code": "with base as (\n select\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n cast(\n value_1 as numeric\n ) as debt\n from\n \"analytics\".\"raw_base_sepolia\".\"core_get_vault_debt\"\n where\n value_1 is not null\n)\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", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.338176Z", "completed_at": "2024-08-13T21:25:31.345501Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.348194Z", "completed_at": "2024-08-13T21:25:31.348202Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021162033081054688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_vault_liquidation\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.334159Z", "completed_at": "2024-08-13T21:25:31.346776Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.349819Z", "completed_at": "2024-08-13T21:25:31.349829Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02419424057006836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_debt_eth_mainnet", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n value_1 AS numeric\n ) AS debt\n FROM\n \"analytics\".\"raw_eth_mainnet\".\"core_get_vault_debt\"\n WHERE\n value_1 IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n \n base.debt / 1e18\n AS debt\nFROM\n base\n JOIN \"analytics\".\"raw_eth_mainnet\".\"blocks_parquet\" AS blocks\n ON base.block_number = blocks.block_number", "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_debt_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.352291Z", "completed_at": "2024-08-13T21:25:31.358415Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.363389Z", "completed_at": "2024-08-13T21:25:31.363397Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01739978790283203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_vault_liquidation\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.358954Z", "completed_at": "2024-08-13T21:25:31.370755Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.372753Z", "completed_at": "2024-08-13T21:25:31.372762Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02218794822692871, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_liquidation_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_vault_liquidation\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.367569Z", "completed_at": "2024-08-13T21:25:31.374323Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.377045Z", "completed_at": "2024-08-13T21:25:31.377055Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019451141357421875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_liquidation_eth_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_vault_liquidation\"\n", "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.364375Z", "completed_at": "2024-08-13T21:25:31.375530Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.378615Z", "completed_at": "2024-08-13T21:25:31.378625Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021688461303710938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_liquidation_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_vault_liquidation\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.379536Z", "completed_at": "2024-08-13T21:25:31.387244Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.392146Z", "completed_at": "2024-08-13T21:25:31.392154Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018509864807128906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_withdrawn_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_withdrawn\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.387815Z", "completed_at": "2024-08-13T21:25:31.397471Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.402320Z", "completed_at": "2024-08-13T21:25:31.402329Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02442622184753418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_withdrawn_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_withdrawn\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.393697Z", "completed_at": "2024-08-13T21:25:31.403933Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.409355Z", "completed_at": "2024-08-13T21:25:31.409365Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02287006378173828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_withdrawn_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_withdrawn\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.398413Z", "completed_at": "2024-08-13T21:25:31.408741Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.410960Z", "completed_at": "2024-08-13T21:25:31.410968Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020203351974487305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_withdrawn_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_withdrawn\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.405341Z", "completed_at": "2024-08-13T21:25:31.411862Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.415174Z", "completed_at": "2024-08-13T21:25:31.415183Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.013634443283081055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_withdrawn_eth_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_withdrawn\"\n", "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.416688Z", "completed_at": "2024-08-13T21:25:31.427760Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.432367Z", "completed_at": "2024-08-13T21:25:31.432380Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022239208221435547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_account_created_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_account_created\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.423551Z", "completed_at": "2024-08-13T21:25:31.433286Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.438573Z", "completed_at": "2024-08-13T21:25:31.438582Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022604942321777344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_account_created_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_account_created\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.428446Z", "completed_at": "2024-08-13T21:25:31.437080Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.439611Z", "completed_at": "2024-08-13T21:25:31.439621Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019855022430419922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_account_liquidation_attempt\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.433916Z", "completed_at": "2024-08-13T21:25:31.440511Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.443376Z", "completed_at": "2024-08-13T21:25:31.443384Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020625829696655273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_account_liquidation_attempt\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.447164Z", "completed_at": "2024-08-13T21:25:31.455665Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.461309Z", "completed_at": "2024-08-13T21:25:31.461321Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02037334442138672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_collateral_modified_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_collateral_modified\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.452538Z", "completed_at": "2024-08-13T21:25:31.465521Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.467872Z", "completed_at": "2024-08-13T21:25:31.467881Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022803068161010742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_collateral_modified_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_collateral_modified\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.456380Z", "completed_at": "2024-08-13T21:25:31.466054Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.469284Z", "completed_at": "2024-08-13T21:25:31.469294Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023608684539794922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_interest_charged_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_interest_charged\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.462355Z", "completed_at": "2024-08-13T21:25:31.468723Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.471536Z", "completed_at": "2024-08-13T21:25:31.471543Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019802093505859375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_interest_charged_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_interest_charged\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.476406Z", "completed_at": "2024-08-13T21:25:31.485162Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.492748Z", "completed_at": "2024-08-13T21:25:31.492757Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02270054817199707, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_interest_rate_updated_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_interest_rate_updated\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.481478Z", "completed_at": "2024-08-13T21:25:31.492117Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.493874Z", "completed_at": "2024-08-13T21:25:31.493882Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01980757713317871, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_interest_rate_updated_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_interest_rate_updated\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.485743Z", "completed_at": "2024-08-13T21:25:31.494743Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.497677Z", "completed_at": "2024-08-13T21:25:31.497685Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02200150489807129, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_market_created_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_market_created\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.488934Z", "completed_at": "2024-08-13T21:25:31.495298Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.498744Z", "completed_at": "2024-08-13T21:25:31.498754Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018674373626708984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_market_created_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_market_created\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.510054Z", "completed_at": "2024-08-13T21:25:31.519034Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.524215Z", "completed_at": "2024-08-13T21:25:31.524224Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024055004119873047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_market_updated_base_sepolia", "compiled": true, "compiled_code": "WITH legacy_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_legacy_event_market_updated\"\n\n),\ncurrent_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_market_updated\"\n\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n 0 AS interest_rate\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n interest_rate\nFROM\n current_events", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.506475Z", "completed_at": "2024-08-13T21:25:31.519704Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.525162Z", "completed_at": "2024-08-13T21:25:31.525173Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025608539581298828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_market_updated_base_mainnet", "compiled": true, "compiled_code": "WITH legacy_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_legacy_event_market_updated\"\n\n),\ncurrent_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_market_updated\"\n\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n 0 AS interest_rate\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n interest_rate\nFROM\n current_events", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.515352Z", "completed_at": "2024-08-13T21:25:31.525993Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.529072Z", "completed_at": "2024-08-13T21:25:31.529082Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024004459381103516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_order_committed_base_mainnet", "compiled": true, "compiled_code": "WITH legacy_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_legacy_event_order_committed\"\n\n),\ncurrent_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_order_committed\"\n\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n CAST(\n NULL AS numeric\n ) AS expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n current_events", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.520306Z", "completed_at": "2024-08-13T21:25:31.527306Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.530795Z", "completed_at": "2024-08-13T21:25:31.530805Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025040388107299805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_order_committed_base_sepolia", "compiled": true, "compiled_code": "WITH legacy_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_legacy_event_order_committed\"\n\n),\ncurrent_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_order_committed\"\n\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n CAST(\n NULL AS numeric\n ) AS expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n current_events", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.535975Z", "completed_at": "2024-08-13T21:25:31.545532Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.553199Z", "completed_at": "2024-08-13T21:25:31.553211Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023137331008911133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_order_settled_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_order_settled\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.539940Z", "completed_at": "2024-08-13T21:25:31.549344Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.554353Z", "completed_at": "2024-08-13T21:25:31.554364Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022772789001464844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_order_settled_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_order_settled\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.546210Z", "completed_at": "2024-08-13T21:25:31.556054Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.559371Z", "completed_at": "2024-08-13T21:25:31.559379Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024123430252075195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_position_liquidated_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_position_liquidated\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.550024Z", "completed_at": "2024-08-13T21:25:31.557791Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.560856Z", "completed_at": "2024-08-13T21:25:31.560864Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02177286148071289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_position_liquidated_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_position_liquidated\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.564696Z", "completed_at": "2024-08-13T21:25:31.573217Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.578329Z", "completed_at": "2024-08-13T21:25:31.578338Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019754886627197266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_previous_order_expired_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_previous_order_expired\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.568776Z", "completed_at": "2024-08-13T21:25:31.577630Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.583596Z", "completed_at": "2024-08-13T21:25:31.583604Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02346205711364746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_previous_order_expired_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_previous_order_expired\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.574502Z", "completed_at": "2024-08-13T21:25:31.585616Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.588535Z", "completed_at": "2024-08-13T21:25:31.588544Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020499229431152344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_order_cancelled_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_order_cancelled\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.579242Z", "completed_at": "2024-08-13T21:25:31.587942Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.590682Z", "completed_at": "2024-08-13T21:25:31.590689Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018879175186157227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_order_cancelled_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_order_cancelled\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.593059Z", "completed_at": "2024-08-13T21:25:31.602229Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.606597Z", "completed_at": "2024-08-13T21:25:31.606607Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019588232040405273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_order_cancelled_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_order_cancelled\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.597709Z", "completed_at": "2024-08-13T21:25:31.607702Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.613075Z", "completed_at": "2024-08-13T21:25:31.613086Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02369403839111328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_order_cancelled_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_order_cancelled\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.603495Z", "completed_at": "2024-08-13T21:25:31.612272Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.614769Z", "completed_at": "2024-08-13T21:25:31.614777Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01804947853088379, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_order_committed_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_order_committed\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.608273Z", "completed_at": "2024-08-13T21:25:31.615643Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.618482Z", "completed_at": "2024-08-13T21:25:31.618490Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.017638683319091797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_order_committed_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_order_committed\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.620356Z", "completed_at": "2024-08-13T21:25:31.748460Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.756649Z", "completed_at": "2024-08-13T21:25:31.756662Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.14271235466003418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_order_committed_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_order_committed\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.749740Z", "completed_at": "2024-08-13T21:25:31.759326Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.764708Z", "completed_at": "2024-08-13T21:25:31.764717Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.14516735076904297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_order_committed_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_order_committed\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.753277Z", "completed_at": "2024-08-13T21:25:31.759901Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.765594Z", "completed_at": "2024-08-13T21:25:31.765601Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.14122557640075684, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_order_settled_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_order_settled\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.760441Z", "completed_at": "2024-08-13T21:25:31.767112Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.772932Z", "completed_at": "2024-08-13T21:25:31.772944Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024036884307861328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_order_settled_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_order_settled\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.769477Z", "completed_at": "2024-08-13T21:25:31.776933Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.781787Z", "completed_at": "2024-08-13T21:25:31.781800Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01785898208618164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_order_settled_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_order_settled\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.778709Z", "completed_at": "2024-08-13T21:25:31.788694Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.794020Z", "completed_at": "2024-08-13T21:25:31.794030Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020131349563598633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_order_settled_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_order_settled\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.782862Z", "completed_at": "2024-08-13T21:25:31.792834Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.794992Z", "completed_at": "2024-08-13T21:25:31.795002Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02052617073059082, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_bought\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.789410Z", "completed_at": "2024-08-13T21:25:31.795883Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.798767Z", "completed_at": "2024-08-13T21:25:31.798775Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020850658416748047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_bought\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.800000Z", "completed_at": "2024-08-13T21:25:31.806081Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.811007Z", "completed_at": "2024-08-13T21:25:31.811017Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.017740964889526367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_bought_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_bought\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.807897Z", "completed_at": "2024-08-13T21:25:31.817030Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.823252Z", "completed_at": "2024-08-13T21:25:31.823264Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020358562469482422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_bought_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_bought\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.811908Z", "completed_at": "2024-08-13T21:25:31.821804Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.824242Z", "completed_at": "2024-08-13T21:25:31.824252Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020578384399414062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_registered_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_registered\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.817684Z", "completed_at": "2024-08-13T21:25:31.825121Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.827882Z", "completed_at": "2024-08-13T21:25:31.827890Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02070760726928711, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_registered_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_registered\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.829187Z", "completed_at": "2024-08-13T21:25:31.835686Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.843002Z", "completed_at": "2024-08-13T21:25:31.843012Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020702362060546875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_registered_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_registered\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.839909Z", "completed_at": "2024-08-13T21:25:31.845607Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.851087Z", "completed_at": "2024-08-13T21:25:31.851118Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01835799217224121, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_sold\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.836861Z", "completed_at": "2024-08-13T21:25:31.850515Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.853227Z", "completed_at": "2024-08-13T21:25:31.853235Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02107524871826172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_registered_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_registered\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.846220Z", "completed_at": "2024-08-13T21:25:31.852697Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.858181Z", "completed_at": "2024-08-13T21:25:31.858191Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02205348014831543, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_sold\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.855117Z", "completed_at": "2024-08-13T21:25:31.862307Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.865228Z", "completed_at": "2024-08-13T21:25:31.865235Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.015430688858032227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_sold_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_sold\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.867277Z", "completed_at": "2024-08-13T21:25:31.876026Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.880491Z", "completed_at": "2024-08-13T21:25:31.880501Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020694732666015625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_sold_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_sold\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.872094Z", "completed_at": "2024-08-13T21:25:31.881328Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.886624Z", "completed_at": "2024-08-13T21:25:31.886633Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022708415985107422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_unwrapped\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.876569Z", "completed_at": "2024-08-13T21:25:31.885104Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.887947Z", "completed_at": "2024-08-13T21:25:31.887957Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02198481559753418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_unwrapped\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.881992Z", "completed_at": "2024-08-13T21:25:31.888796Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.891802Z", "completed_at": "2024-08-13T21:25:31.891810Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01661849021911621, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_unwrapped_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_unwrapped\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.895660Z", "completed_at": "2024-08-13T21:25:31.908132Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.910143Z", "completed_at": "2024-08-13T21:25:31.910152Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020903348922729492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_unwrapped_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_unwrapped\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.900758Z", "completed_at": "2024-08-13T21:25:31.909573Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.914659Z", "completed_at": "2024-08-13T21:25:31.914667Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021304607391357422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_wrapped\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.905089Z", "completed_at": "2024-08-13T21:25:31.911055Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.916299Z", "completed_at": "2024-08-13T21:25:31.916307Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022354602813720703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_wrapped\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.911618Z", "completed_at": "2024-08-13T21:25:31.918568Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.921418Z", "completed_at": "2024-08-13T21:25:31.921428Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021467208862304688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_wrapped_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_wrapped\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.928866Z", "completed_at": "2024-08-13T21:25:31.930528Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.934680Z", "completed_at": "2024-08-13T21:25:31.934688Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015340805053710938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.synthetix.arbitrum_mainnet_reward_distributors", "compiled": null, "compiled_code": null, "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.931909Z", "completed_at": "2024-08-13T21:25:31.933542Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.937464Z", "completed_at": "2024-08-13T21:25:31.937471Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01471257209777832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.synthetix.arbitrum_mainnet_tokens", "compiled": null, "compiled_code": null, "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.924863Z", "completed_at": "2024-08-13T21:25:31.934120Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.938305Z", "completed_at": "2024-08-13T21:25:31.938313Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019264698028564453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_wrapped_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_wrapped\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.939892Z", "completed_at": "2024-08-13T21:25:31.941430Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.944361Z", "completed_at": "2024-08-13T21:25:31.944372Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.013319015502929688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.synthetix.arbitrum_sepolia_reward_distributors", "compiled": null, "compiled_code": null, "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.949352Z", "completed_at": "2024-08-13T21:25:31.950953Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.956633Z", "completed_at": "2024-08-13T21:25:31.956642Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013122081756591797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.synthetix.arbitrum_sepolia_tokens", "compiled": null, "compiled_code": null, "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.952328Z", "completed_at": "2024-08-13T21:25:31.953878Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.958203Z", "completed_at": "2024-08-13T21:25:31.958214Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.012719154357910156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.synthetix.base_mainnet_reward_distributors", "compiled": null, "compiled_code": null, "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.954456Z", "completed_at": "2024-08-13T21:25:31.956054Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.959073Z", "completed_at": "2024-08-13T21:25:31.959081Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.012978553771972656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.synthetix.base_mainnet_tokens", "compiled": null, "compiled_code": null, "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.960701Z", "completed_at": "2024-08-13T21:25:31.962303Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.965273Z", "completed_at": "2024-08-13T21:25:31.965281Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.013805150985717773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.synthetix.base_sepolia_reward_distributors", "compiled": null, "compiled_code": null, "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.969813Z", "completed_at": "2024-08-13T21:25:31.971501Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.978493Z", "completed_at": "2024-08-13T21:25:31.978501Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014097452163696289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.synthetix.base_sepolia_tokens", "compiled": null, "compiled_code": null, "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.972732Z", "completed_at": "2024-08-13T21:25:31.975815Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.980001Z", "completed_at": "2024-08-13T21:25:31.980011Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01396942138671875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.synthetix.eth_mainnet_reward_distributors", "compiled": null, "compiled_code": null, "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.976401Z", "completed_at": "2024-08-13T21:25:31.977909Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:31.980872Z", "completed_at": "2024-08-13T21:25:31.980882Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.014241933822631836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.synthetix.eth_mainnet_tokens", "compiled": null, "compiled_code": null, "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.982491Z", "completed_at": "2024-08-13T21:25:31.992285Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.002831Z", "completed_at": "2024-08-13T21:25:32.002842Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.030893564224243164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1.e5882e697a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:31.993996Z", "completed_at": "2024-08-13T21:25:32.018946Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.021412Z", "completed_at": "2024-08-13T21:25:32.021421Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.03181767463684082, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_blocks_arbitrum_mainnet_block_number.60351acf6d", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"blocks_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.009366Z", "completed_at": "2024-08-13T21:25:32.020602Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.023746Z", "completed_at": "2024-08-13T21:25:32.023756Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.032738447189331055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_recency_blocks_base_sepolia_hour__ts__1.b4197f397a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.004013Z", "completed_at": "2024-08-13T21:25:32.022318Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.025381Z", "completed_at": "2024-08-13T21:25:32.025388Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.035010576248168945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_blocks_arbitrum_mainnet_block_number.d70bece923", "compiled": true, "compiled_code": "\n \n \n\nselect\n block_number as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"blocks_arbitrum_mainnet\"\nwhere block_number is not null\ngroup by block_number\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.026283Z", "completed_at": "2024-08-13T21:25:32.035047Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.037920Z", "completed_at": "2024-08-13T21:25:32.037928Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018141508102416992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_blocks_base_sepolia_block_number.1adc80fce5", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"blocks_base_sepolia\"\nwhere block_number is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.038841Z", "completed_at": "2024-08-13T21:25:32.056334Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.058289Z", "completed_at": "2024-08-13T21:25:32.058299Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025532245635986328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_blocks_base_sepolia_block_number.b9de81024b", "compiled": true, "compiled_code": "\n \n \n\nselect\n block_number as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"blocks_base_sepolia\"\nwhere block_number is not null\ngroup by block_number\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.052002Z", "completed_at": "2024-08-13T21:25:32.059538Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.062186Z", "completed_at": "2024-08-13T21:25:32.062195Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025813579559326172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_blocks_arbitrum_sepolia_block_number.73833a1893", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"blocks_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.044999Z", "completed_at": "2024-08-13T21:25:32.061532Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.068505Z", "completed_at": "2024-08-13T21:25:32.068513Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.03423666954040527, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1.8a321a2874", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.063372Z", "completed_at": "2024-08-13T21:25:32.071086Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.081058Z", "completed_at": "2024-08-13T21:25:32.081067Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02390742301940918, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_blocks_arbitrum_sepolia_block_number.4c474d2bd5", "compiled": true, "compiled_code": "\n \n \n\nselect\n block_number as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"blocks_arbitrum_sepolia\"\nwhere block_number is not null\ngroup by block_number\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.073288Z", "completed_at": "2024-08-13T21:25:32.084438Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.092241Z", "completed_at": "2024-08-13T21:25:32.092251Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02462005615234375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_recency_blocks_base_mainnet_hour__ts__1.b0724712c2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.085794Z", "completed_at": "2024-08-13T21:25:32.099268Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.106327Z", "completed_at": "2024-08-13T21:25:32.106338Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.03381085395812988, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_blocks_base_mainnet_block_number.bb1b2f53c2", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"blocks_base_mainnet\"\nwhere block_number is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.093445Z", "completed_at": "2024-08-13T21:25:32.104898Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.107399Z", "completed_at": "2024-08-13T21:25:32.107409Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025486230850219727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_blocks_base_mainnet_block_number.e303976d40", "compiled": true, "compiled_code": "\n \n \n\nselect\n block_number as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"blocks_base_mainnet\"\nwhere block_number is not null\ngroup by block_number\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.100169Z", "completed_at": "2024-08-13T21:25:32.109535Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.115851Z", "completed_at": "2024-08-13T21:25:32.115861Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024408340454101562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_recency_blocks_eth_mainnet_hour__ts__1.7c6c4534db", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.110826Z", "completed_at": "2024-08-13T21:25:32.118839Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.124833Z", "completed_at": "2024-08-13T21:25:32.124843Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01947784423828125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_blocks_eth_mainnet_block_number.aba38b4904", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.120063Z", "completed_at": "2024-08-13T21:25:32.131796Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.137545Z", "completed_at": "2024-08-13T21:25:32.137554Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022660017013549805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_blocks_eth_mainnet_block_number.ddb4ca7d09", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.125702Z", "completed_at": "2024-08-13T21:25:32.139387Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.141282Z", "completed_at": "2024-08-13T21:25:32.141290Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024641752243041992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_buyback_base_sepolia", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp AS ts,\n buyer,\n \n snx / 1e18\n AS snx,\n \n usd / 1e18\n AS usd,\n (\n usd / 1e18\n) / (\n snx / 1e18\n) AS snx_price\nFROM\n \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.133196Z", "completed_at": "2024-08-13T21:25:32.142147Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.148518Z", "completed_at": "2024-08-13T21:25:32.148528Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024419307708740234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_buyback_processed_base_sepolia_event_name__BuybackProcessed.16f3176222", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.143368Z", "completed_at": "2024-08-13T21:25:32.151595Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.157862Z", "completed_at": "2024-08-13T21:25:32.157870Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019481420516967773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_sepolia_snx__True__0.628aa3b85b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.152225Z", "completed_at": "2024-08-13T21:25:32.163651Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.169787Z", "completed_at": "2024-08-13T21:25:32.169795Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02717876434326172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_sepolia_usd__True__0.f23761f17f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.158818Z", "completed_at": "2024-08-13T21:25:32.169111Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.171417Z", "completed_at": "2024-08-13T21:25:32.171424Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021212339401245117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_block_number.73166259d7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.165044Z", "completed_at": "2024-08-13T21:25:32.173145Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.176147Z", "completed_at": "2024-08-13T21:25:32.176154Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019089698791503906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_block_timestamp.c83a09ad33", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.176992Z", "completed_at": "2024-08-13T21:25:32.185093Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.194494Z", "completed_at": "2024-08-13T21:25:32.194502Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023933887481689453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_buyer.4fd04cc021", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.185626Z", "completed_at": "2024-08-13T21:25:32.196379Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.202282Z", "completed_at": "2024-08-13T21:25:32.202292Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02691936492919922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_contract.b27543f734", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.190458Z", "completed_at": "2024-08-13T21:25:32.197614Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.203894Z", "completed_at": "2024-08-13T21:25:32.203901Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021505355834960938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_event_name.755deb59b2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.198231Z", "completed_at": "2024-08-13T21:25:32.206168Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.212206Z", "completed_at": "2024-08-13T21:25:32.212214Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022600650787353516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_id.e10820e4d2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.208114Z", "completed_at": "2024-08-13T21:25:32.215119Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.221007Z", "completed_at": "2024-08-13T21:25:32.221014Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017842769622802734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_snx.52b876a9f7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.216290Z", "completed_at": "2024-08-13T21:25:32.228365Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.234485Z", "completed_at": "2024-08-13T21:25:32.234493Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027097463607788086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_transaction_hash.a38d34613b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.221874Z", "completed_at": "2024-08-13T21:25:32.233823Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.236099Z", "completed_at": "2024-08-13T21:25:32.236107Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023123979568481445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_usd.397135feed", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.229734Z", "completed_at": "2024-08-13T21:25:32.237002Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.239574Z", "completed_at": "2024-08-13T21:25:32.239584Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019299983978271484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_buyback_processed_base_sepolia_id.c3e20dc22e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.241047Z", "completed_at": "2024-08-13T21:25:32.252619Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.258601Z", "completed_at": "2024-08-13T21:25:32.258613Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023323774337768555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_buyback_base_mainnet", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp AS ts,\n buyer,\n \n snx / 1e18\n AS snx,\n \n usd / 1e18\n AS usd,\n (\n usd / 1e18\n) / (\n snx / 1e18\n) AS snx_price\nFROM\n \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.248294Z", "completed_at": "2024-08-13T21:25:32.264149Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.266339Z", "completed_at": "2024-08-13T21:25:32.266347Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026006460189819336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_buyback_processed_base_mainnet_event_name__BuybackProcessed.dfe71d53df", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.253293Z", "completed_at": "2024-08-13T21:25:32.264687Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.267825Z", "completed_at": "2024-08-13T21:25:32.267834Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02300739288330078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_mainnet_snx__True__0.afaf938419", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.259695Z", "completed_at": "2024-08-13T21:25:32.267294Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.270035Z", "completed_at": "2024-08-13T21:25:32.270046Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02251601219177246, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_mainnet_usd__True__0.4acbfc34a4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.274118Z", "completed_at": "2024-08-13T21:25:32.287293Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.292685Z", "completed_at": "2024-08-13T21:25:32.292696Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024104595184326172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_block_number.7938e67f70", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.283169Z", "completed_at": "2024-08-13T21:25:32.293604Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.299757Z", "completed_at": "2024-08-13T21:25:32.299766Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027633190155029297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_block_timestamp.a03c2a402e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.288580Z", "completed_at": "2024-08-13T21:25:32.299167Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.301410Z", "completed_at": "2024-08-13T21:25:32.301420Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.028006553649902344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_buyer.6dc7c79cf3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.294192Z", "completed_at": "2024-08-13T21:25:32.302212Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.304848Z", "completed_at": "2024-08-13T21:25:32.304856Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02333998680114746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_contract.73ecec38f3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.306332Z", "completed_at": "2024-08-13T21:25:32.313096Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.324091Z", "completed_at": "2024-08-13T21:25:32.324100Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02345728874206543, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_event_name.6b55058ad0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.318436Z", "completed_at": "2024-08-13T21:25:32.326433Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.332598Z", "completed_at": "2024-08-13T21:25:32.332609Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02230978012084961, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_snx.d434d429ea", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.314288Z", "completed_at": "2024-08-13T21:25:32.331277Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.333591Z", "completed_at": "2024-08-13T21:25:32.333600Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027979612350463867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_id.f2ddc16a13", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.327066Z", "completed_at": "2024-08-13T21:25:32.335026Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.341040Z", "completed_at": "2024-08-13T21:25:32.341050Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027493953704833984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_transaction_hash.48c42ff159", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.336979Z", "completed_at": "2024-08-13T21:25:32.344121Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.346510Z", "completed_at": "2024-08-13T21:25:32.346517Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014653682708740234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_usd.c5f2eba3f9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.347419Z", "completed_at": "2024-08-13T21:25:32.362112Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.364168Z", "completed_at": "2024-08-13T21:25:32.364179Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02221083641052246, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_buyback_processed_base_mainnet_id.7d5a3bf3a8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.351665Z", "completed_at": "2024-08-13T21:25:32.362730Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.365630Z", "completed_at": "2024-08-13T21:25:32.365640Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023058414459228516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_account_created_arbitrum_mainnet_event_name__AccountCreated.8d24ea0d1c", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.357760Z", "completed_at": "2024-08-13T21:25:32.365062Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.367808Z", "completed_at": "2024-08-13T21:25:32.367816Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022014379501342773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_account_created_arbitrum_mainnet_account_id__True__0.1a60fd1c13", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.369509Z", "completed_at": "2024-08-13T21:25:32.378000Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.384028Z", "completed_at": "2024-08-13T21:25:32.384040Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020752429962158203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_account_id.80fd41e8a3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.379857Z", "completed_at": "2024-08-13T21:25:32.390376Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.396126Z", "completed_at": "2024-08-13T21:25:32.396137Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02089238166809082, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_block_number.ad85823ab6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.385511Z", "completed_at": "2024-08-13T21:25:32.396974Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.399550Z", "completed_at": "2024-08-13T21:25:32.399561Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0229947566986084, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_block_timestamp.707ea51d9b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.391026Z", "completed_at": "2024-08-13T21:25:32.398259Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.404611Z", "completed_at": "2024-08-13T21:25:32.404622Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026191234588623047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_contract.51a2890c59", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.400447Z", "completed_at": "2024-08-13T21:25:32.407699Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.410065Z", "completed_at": "2024-08-13T21:25:32.410077Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01474308967590332, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_event_name.f044350ea8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.410936Z", "completed_at": "2024-08-13T21:25:32.427794Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.430379Z", "completed_at": "2024-08-13T21:25:32.430387Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02499079704284668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_id.ccb85216a1", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.422797Z", "completed_at": "2024-08-13T21:25:32.429228Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.435273Z", "completed_at": "2024-08-13T21:25:32.435282Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02597498893737793, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_transaction_hash.ca429d274c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.417213Z", "completed_at": "2024-08-13T21:25:32.429847Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.436308Z", "completed_at": "2024-08-13T21:25:32.436316Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02759575843811035, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_owner.510bc65b8e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.431275Z", "completed_at": "2024-08-13T21:25:32.438605Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.441230Z", "completed_at": "2024-08-13T21:25:32.441242Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014301776885986328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_account_created_arbitrum_mainnet_id.572cf5cf85", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.449452Z", "completed_at": "2024-08-13T21:25:32.459521Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.466541Z", "completed_at": "2024-08-13T21:25:32.466553Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02605414390563965, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_account_created_arbitrum_sepolia_account_id__True__0.2ee2f4ab2f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.445125Z", "completed_at": "2024-08-13T21:25:32.465875Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.468087Z", "completed_at": "2024-08-13T21:25:32.468096Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02822256088256836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_account_created_arbitrum_sepolia_event_name__AccountCreated.f6de61acf3", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.454534Z", "completed_at": "2024-08-13T21:25:32.467416Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.470243Z", "completed_at": "2024-08-13T21:25:32.470252Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.028246164321899414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_account_id.7a98480d2d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.460308Z", "completed_at": "2024-08-13T21:25:32.468966Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.471805Z", "completed_at": "2024-08-13T21:25:32.471815Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018073081970214844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_block_number.1841c44bbb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.477681Z", "completed_at": "2024-08-13T21:25:32.491476Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.496586Z", "completed_at": "2024-08-13T21:25:32.496597Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024025678634643555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_block_timestamp.74d0052bed", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.482460Z", "completed_at": "2024-08-13T21:25:32.497481Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.500074Z", "completed_at": "2024-08-13T21:25:32.500083Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02619481086730957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_contract.c63e7e4dbf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.487384Z", "completed_at": "2024-08-13T21:25:32.498076Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.500956Z", "completed_at": "2024-08-13T21:25:32.500964Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02517247200012207, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_event_name.8db7179ccc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.492293Z", "completed_at": "2024-08-13T21:25:32.499530Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.502442Z", "completed_at": "2024-08-13T21:25:32.502450Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025478363037109375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_id.07253fa9ea", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.507247Z", "completed_at": "2024-08-13T21:25:32.513858Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.528305Z", "completed_at": "2024-08-13T21:25:32.528313Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0265958309173584, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_owner.9aad095481", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.519606Z", "completed_at": "2024-08-13T21:25:32.529483Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.532123Z", "completed_at": "2024-08-13T21:25:32.532130Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02562880516052246, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_account_created_arbitrum_sepolia_id.f9001194ee", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.523942Z", "completed_at": "2024-08-13T21:25:32.530923Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.533585Z", "completed_at": "2024-08-13T21:25:32.533592Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022347688674926758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_account_created_base_mainnet_event_name__AccountCreated.8d266dd241", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.514416Z", "completed_at": "2024-08-13T21:25:32.531490Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.534418Z", "completed_at": "2024-08-13T21:25:32.534425Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02854299545288086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_transaction_hash.59070c07aa", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.538488Z", "completed_at": "2024-08-13T21:25:32.545457Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.554809Z", "completed_at": "2024-08-13T21:25:32.554822Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021989822387695312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_account_created_base_mainnet_account_id__True__0.13ad3c12e1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.550729Z", "completed_at": "2024-08-13T21:25:32.562271Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.564235Z", "completed_at": "2024-08-13T21:25:32.564245Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02150249481201172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_base_mainnet_block_number.1b0ff0bd14", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.546580Z", "completed_at": "2024-08-13T21:25:32.562816Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.565680Z", "completed_at": "2024-08-13T21:25:32.565688Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027897357940673828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_base_mainnet_account_id.9f366bbbab", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.555844Z", "completed_at": "2024-08-13T21:25:32.565145Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.567808Z", "completed_at": "2024-08-13T21:25:32.567816Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024332284927368164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_base_mainnet_block_timestamp.8e5d2b5809", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.569358Z", "completed_at": "2024-08-13T21:25:32.577329Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.586701Z", "completed_at": "2024-08-13T21:25:32.586711Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02324962615966797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_base_mainnet_contract.9c9629d4bf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.577904Z", "completed_at": "2024-08-13T21:25:32.592049Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.593733Z", "completed_at": "2024-08-13T21:25:32.593741Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02033853530883789, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_base_mainnet_event_name.f3ba489917", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.587855Z", "completed_at": "2024-08-13T21:25:32.594631Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.597074Z", "completed_at": "2024-08-13T21:25:32.597081Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02101612091064453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_base_mainnet_owner.c498d5b28f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.582651Z", "completed_at": "2024-08-13T21:25:32.595246Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.597968Z", "completed_at": "2024-08-13T21:25:32.597975Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02325272560119629, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_base_mainnet_id.a6878c49cb", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.601409Z", "completed_at": "2024-08-13T21:25:32.613722Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.620136Z", "completed_at": "2024-08-13T21:25:32.620145Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024466991424560547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_base_mainnet_transaction_hash.21cf6568c1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.607551Z", "completed_at": "2024-08-13T21:25:32.619438Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.625526Z", "completed_at": "2024-08-13T21:25:32.625535Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02621293067932129, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_account_created_base_mainnet_id.d79e3ab0d1", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.615007Z", "completed_at": "2024-08-13T21:25:32.627260Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.629880Z", "completed_at": "2024-08-13T21:25:32.629887Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023806095123291016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_account_created_eth_mainnet_event_name__AccountCreated.7bff7383b3", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.621032Z", "completed_at": "2024-08-13T21:25:32.628704Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.631387Z", "completed_at": "2024-08-13T21:25:32.631394Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02469325065612793, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_account_created_eth_mainnet_account_id__True__0.4d9379ebdc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.634776Z", "completed_at": "2024-08-13T21:25:32.645018Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.650995Z", "completed_at": "2024-08-13T21:25:32.651003Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021870851516723633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_eth_mainnet_account_id.162a9a11ae", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.639558Z", "completed_at": "2024-08-13T21:25:32.646293Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.657512Z", "completed_at": "2024-08-13T21:25:32.657520Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026884078979492188, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_eth_mainnet_block_number.be5f037644", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.646849Z", "completed_at": "2024-08-13T21:25:32.659330Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.661942Z", "completed_at": "2024-08-13T21:25:32.661949Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023162841796875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_eth_mainnet_block_timestamp.8287155cde", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.651922Z", "completed_at": "2024-08-13T21:25:32.661367Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.664009Z", "completed_at": "2024-08-13T21:25:32.664016Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02045917510986328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_eth_mainnet_contract.84cae83ab9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.666116Z", "completed_at": "2024-08-13T21:25:32.676431Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.678842Z", "completed_at": "2024-08-13T21:25:32.678853Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01815962791442871, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_eth_mainnet_event_name.5a44f6813f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.671633Z", "completed_at": "2024-08-13T21:25:32.678311Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.687865Z", "completed_at": "2024-08-13T21:25:32.687873Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025179624557495117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_eth_mainnet_id.0d5cd71e99", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.679750Z", "completed_at": "2024-08-13T21:25:32.690356Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.692944Z", "completed_at": "2024-08-13T21:25:32.692952Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02207636833190918, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_eth_mainnet_owner.9141d07512", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.683792Z", "completed_at": "2024-08-13T21:25:32.692405Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.694954Z", "completed_at": "2024-08-13T21:25:32.694962Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019225358963012695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_eth_mainnet_transaction_hash.5349e51024", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.696563Z", "completed_at": "2024-08-13T21:25:32.708956Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.711293Z", "completed_at": "2024-08-13T21:25:32.711301Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02041149139404297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_account_created_eth_mainnet_id.51b373b820", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.700609Z", "completed_at": "2024-08-13T21:25:32.709579Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.712159Z", "completed_at": "2024-08-13T21:25:32.712167Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020526409149169922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_account_created_base_sepolia_event_name__AccountCreated.419b9196c4", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.713037Z", "completed_at": "2024-08-13T21:25:32.723315Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.725774Z", "completed_at": "2024-08-13T21:25:32.725784Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01853489875793457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_account_created_base_sepolia_account_id__True__0.dd17e6e171", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.717381Z", "completed_at": "2024-08-13T21:25:32.724521Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.727264Z", "completed_at": "2024-08-13T21:25:32.727274Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019006013870239258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_base_sepolia_account_id.fb36b0b793", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.729405Z", "completed_at": "2024-08-13T21:25:32.740150Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.742561Z", "completed_at": "2024-08-13T21:25:32.742572Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018754005432128906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_base_sepolia_block_number.01a77f24bc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.734349Z", "completed_at": "2024-08-13T21:25:32.741994Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.753139Z", "completed_at": "2024-08-13T21:25:32.753147Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02812504768371582, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_base_sepolia_block_timestamp.56ac347427", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.743499Z", "completed_at": "2024-08-13T21:25:32.755839Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.758237Z", "completed_at": "2024-08-13T21:25:32.758246Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019770383834838867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_base_sepolia_contract.53ca26628e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.747598Z", "completed_at": "2024-08-13T21:25:32.756455Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.759168Z", "completed_at": "2024-08-13T21:25:32.759176Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0197756290435791, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_base_sepolia_event_name.4849c8704e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.766750Z", "completed_at": "2024-08-13T21:25:32.773276Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.779132Z", "completed_at": "2024-08-13T21:25:32.779144Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021646976470947266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_base_sepolia_owner.adee48eb04", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.762504Z", "completed_at": "2024-08-13T21:25:32.773846Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.780158Z", "completed_at": "2024-08-13T21:25:32.780166Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0232694149017334, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_base_sepolia_id.804b852bd8", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.774967Z", "completed_at": "2024-08-13T21:25:32.786120Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.788161Z", "completed_at": "2024-08-13T21:25:32.788170Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.017299890518188477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_base_sepolia_transaction_hash.53f2200f19", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.781021Z", "completed_at": "2024-08-13T21:25:32.788996Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.791682Z", "completed_at": "2024-08-13T21:25:32.791690Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020003557205200195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_account_created_base_sepolia_id.3342caea87", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.793123Z", "completed_at": "2024-08-13T21:25:32.806080Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.812352Z", "completed_at": "2024-08-13T21:25:32.812362Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024965763092041016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_migration_eth_mainnet", "compiled": true, "compiled_code": "SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n 1 as pool_id, -- Spartan Council pool\n '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F' as collateral_type, -- SNX collateral\n staker,\n account_id,\n \n collateral_amount / 1e18\n as collateral_amount,\n \n debt_amount / 1e18\n as debt_amount\nFROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\nORDER BY block_timestamp", "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.798247Z", "completed_at": "2024-08-13T21:25:32.811116Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.813359Z", "completed_at": "2024-08-13T21:25:32.813367Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02392268180847168, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_account_id__True__0.f1da2d38e8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.806741Z", "completed_at": "2024-08-13T21:25:32.814393Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.821229Z", "completed_at": "2024-08-13T21:25:32.821238Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024599313735961914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_collateral_amount__True__0.b1df54815d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.814933Z", "completed_at": "2024-08-13T21:25:32.822833Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.825351Z", "completed_at": "2024-08-13T21:25:32.825361Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020347118377685547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_debt_amount__True__0.a8e29325c2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.827398Z", "completed_at": "2024-08-13T21:25:32.841801Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.843984Z", "completed_at": "2024-08-13T21:25:32.843994Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021851778030395508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_account_id.6263532792", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.832152Z", "completed_at": "2024-08-13T21:25:32.843208Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.850996Z", "completed_at": "2024-08-13T21:25:32.851004Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027658462524414062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_block_number.8a5aa490b5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.837771Z", "completed_at": "2024-08-13T21:25:32.844885Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.852622Z", "completed_at": "2024-08-13T21:25:32.852630Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025974750518798828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_block_timestamp.29c8a3ae97", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.845419Z", "completed_at": "2024-08-13T21:25:32.854288Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.856845Z", "completed_at": "2024-08-13T21:25:32.856855Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019995927810668945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_collateral_amount.3673a78a7a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.860165Z", "completed_at": "2024-08-13T21:25:32.873842Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.876115Z", "completed_at": "2024-08-13T21:25:32.876127Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02136397361755371, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_contract.ccd34b4a40", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.864879Z", "completed_at": "2024-08-13T21:25:32.875499Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.881725Z", "completed_at": "2024-08-13T21:25:32.881735Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025630950927734375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_debt_amount.37622c6a60", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.869780Z", "completed_at": "2024-08-13T21:25:32.877036Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.883535Z", "completed_at": "2024-08-13T21:25:32.883543Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02534937858581543, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_event_name.969c074241", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.877579Z", "completed_at": "2024-08-13T21:25:32.885117Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.887713Z", "completed_at": "2024-08-13T21:25:32.887722Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018918752670288086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_id.3f18fc79cf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.890987Z", "completed_at": "2024-08-13T21:25:32.906586Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.908511Z", "completed_at": "2024-08-13T21:25:32.908523Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022884607315063477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_staker.cb3d4f410b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.895910Z", "completed_at": "2024-08-13T21:25:32.907805Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.913598Z", "completed_at": "2024-08-13T21:25:32.913608Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02667403221130371, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_transaction_hash.bb710f8259", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.902306Z", "completed_at": "2024-08-13T21:25:32.909415Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.915295Z", "completed_at": "2024-08-13T21:25:32.915303Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026261329650878906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_account_migrated_eth_mainnet_id.b21ce76ba7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.909955Z", "completed_at": "2024-08-13T21:25:32.919661Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.924815Z", "completed_at": "2024-08-13T21:25:32.924824Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023494482040405273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_account_delegation_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.921374Z", "completed_at": "2024-08-13T21:25:32.931928Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.937773Z", "completed_at": "2024-08-13T21:25:32.937783Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020923614501953125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pool_delegation_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.926546Z", "completed_at": "2024-08-13T21:25:32.938759Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.941391Z", "completed_at": "2024-08-13T21:25:32.941402Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023149490356445312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_delegation_updated_arbitrum_mainnet_event_name__DelegationUpdated.8158a7cafc", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.932529Z", "completed_at": "2024-08-13T21:25:32.939970Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.948212Z", "completed_at": "2024-08-13T21:25:32.948221Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.028111934661865234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_account_id__True__0.eb3b030871", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.942306Z", "completed_at": "2024-08-13T21:25:32.951235Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.953624Z", "completed_at": "2024-08-13T21:25:32.953634Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.016736984252929688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_amount__True__0.4dc42e5b67", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.954514Z", "completed_at": "2024-08-13T21:25:32.965526Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.971151Z", "completed_at": "2024-08-13T21:25:32.971161Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02217268943786621, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_leverage__True__1000000000000000000__1000000000000000000.fa830910e7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.961130Z", "completed_at": "2024-08-13T21:25:32.972029Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.974594Z", "completed_at": "2024-08-13T21:25:32.974602Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022303104400634766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_pool_id__True__0.ceaf47901a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.966211Z", "completed_at": "2024-08-13T21:25:32.973376Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.979652Z", "completed_at": "2024-08-13T21:25:32.979662Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026764869689941406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_account_id.1f6cadcc5d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.975499Z", "completed_at": "2024-08-13T21:25:32.982725Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:32.985130Z", "completed_at": "2024-08-13T21:25:32.985140Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.015005826950073242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_amount.790af0bbca", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.986005Z", "completed_at": "2024-08-13T21:25:33.002671Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.004870Z", "completed_at": "2024-08-13T21:25:33.004879Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024367094039916992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_block_number.e7dff1a919", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.992450Z", "completed_at": "2024-08-13T21:25:33.004322Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.006905Z", "completed_at": "2024-08-13T21:25:33.006913Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023094654083251953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_block_timestamp.bf7b6f5a50", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:32.998389Z", "completed_at": "2024-08-13T21:25:33.005793Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.008489Z", "completed_at": "2024-08-13T21:25:33.008497Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024067401885986328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_collateral_type.ca955a713e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.009352Z", "completed_at": "2024-08-13T21:25:33.016338Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.018672Z", "completed_at": "2024-08-13T21:25:33.018679Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.015354156494140625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_contract.ae8a4f4c27", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.019614Z", "completed_at": "2024-08-13T21:25:33.033367Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.035482Z", "completed_at": "2024-08-13T21:25:33.035491Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02138495445251465, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_event_name.124ce539d9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.024283Z", "completed_at": "2024-08-13T21:25:33.034768Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.037530Z", "completed_at": "2024-08-13T21:25:33.037537Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02192544937133789, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_id.a1e63ca6e1", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.029219Z", "completed_at": "2024-08-13T21:25:33.036426Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.039084Z", "completed_at": "2024-08-13T21:25:33.039112Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021728515625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_leverage.e240b1993e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.039968Z", "completed_at": "2024-08-13T21:25:33.048438Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.050751Z", "completed_at": "2024-08-13T21:25:33.050760Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.016816139221191406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_pool_id.0fcc7a403c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.051680Z", "completed_at": "2024-08-13T21:25:33.065548Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.067132Z", "completed_at": "2024-08-13T21:25:33.067140Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020975351333618164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_sender.7b21b54d07", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.061481Z", "completed_at": "2024-08-13T21:25:33.068125Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.070442Z", "completed_at": "2024-08-13T21:25:33.070450Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021001577377319336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_delegation_updated_arbitrum_mainnet_id.53afc27917", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.056373Z", "completed_at": "2024-08-13T21:25:33.068652Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.071328Z", "completed_at": "2024-08-13T21:25:33.071336Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023666858673095703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_transaction_hash.df3b0b1ada", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.072202Z", "completed_at": "2024-08-13T21:25:33.080047Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.085368Z", "completed_at": "2024-08-13T21:25:33.085376Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019277572631835938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_account_delegation_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.080623Z", "completed_at": "2024-08-13T21:25:33.096656Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.099696Z", "completed_at": "2024-08-13T21:25:33.099705Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02395343780517578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pool_delegation_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.086422Z", "completed_at": "2024-08-13T21:25:33.098457Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.101193Z", "completed_at": "2024-08-13T21:25:33.101201Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022563934326171875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_delegation_updated_arbitrum_sepolia_event_name__DelegationUpdated.46889d7476", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.092329Z", "completed_at": "2024-08-13T21:25:33.099137Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.102067Z", "completed_at": "2024-08-13T21:25:33.102077Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022732973098754883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_account_id__True__0.ead58dff29", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.106382Z", "completed_at": "2024-08-13T21:25:33.112815Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.118939Z", "completed_at": "2024-08-13T21:25:33.118953Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01851963996887207, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_amount__True__0.aefd73a62f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.119950Z", "completed_at": "2024-08-13T21:25:33.129696Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.132181Z", "completed_at": "2024-08-13T21:25:33.132189Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021509885787963867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_pool_id__True__0.f9aeca9f9a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.114541Z", "completed_at": "2024-08-13T21:25:33.130281Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.133057Z", "completed_at": "2024-08-13T21:25:33.133066Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02740025520324707, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_leverage__True__1000000000000000000__1000000000000000000.5ff8a67507", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.124319Z", "completed_at": "2024-08-13T21:25:33.131639Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.134491Z", "completed_at": "2024-08-13T21:25:33.134499Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0231320858001709, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_account_id.689f7da996", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.136734Z", "completed_at": "2024-08-13T21:25:33.145168Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.147490Z", "completed_at": "2024-08-13T21:25:33.147500Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.016646385192871094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_amount.77ddc8625f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.148366Z", "completed_at": "2024-08-13T21:25:33.162547Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.164945Z", "completed_at": "2024-08-13T21:25:33.164954Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021900415420532227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_block_number.fa4a36eaeb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.152475Z", "completed_at": "2024-08-13T21:25:33.163175Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.165808Z", "completed_at": "2024-08-13T21:25:33.165816Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02212667465209961, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_block_timestamp.ae4bac2433", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.156991Z", "completed_at": "2024-08-13T21:25:33.164350Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.167276Z", "completed_at": "2024-08-13T21:25:33.167284Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02284097671508789, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_collateral_type.db67498e80", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.169494Z", "completed_at": "2024-08-13T21:25:33.176411Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.178679Z", "completed_at": "2024-08-13T21:25:33.178689Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.015020370483398438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_contract.8f08a5a9da", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.183702Z", "completed_at": "2024-08-13T21:25:33.194385Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.196326Z", "completed_at": "2024-08-13T21:25:33.196334Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021361351013183594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_id.12fb857e85", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.179587Z", "completed_at": "2024-08-13T21:25:33.194947Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.197725Z", "completed_at": "2024-08-13T21:25:33.197736Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023384571075439453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_event_name.4d0a81b0f4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.189192Z", "completed_at": "2024-08-13T21:25:33.197154Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.199876Z", "completed_at": "2024-08-13T21:25:33.199883Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02414083480834961, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_leverage.d5bd156a6e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.201489Z", "completed_at": "2024-08-13T21:25:33.209071Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.214899Z", "completed_at": "2024-08-13T21:25:33.214911Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01938772201538086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_pool_id.8f59052242", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.210219Z", "completed_at": "2024-08-13T21:25:33.224394Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.226067Z", "completed_at": "2024-08-13T21:25:33.226075Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020569562911987305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_sender.ef3937b25b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.215942Z", "completed_at": "2024-08-13T21:25:33.226981Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.229481Z", "completed_at": "2024-08-13T21:25:33.229491Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022440433502197266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_transaction_hash.8199cb0155", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.220344Z", "completed_at": "2024-08-13T21:25:33.228875Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.231565Z", "completed_at": "2024-08-13T21:25:33.231573Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023187875747680664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_delegation_updated_arbitrum_sepolia_id.beef769010", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.233131Z", "completed_at": "2024-08-13T21:25:33.244453Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.246360Z", "completed_at": "2024-08-13T21:25:33.246370Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018842697143554688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_account_delegation_base_mainnet", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_account_delegation_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.240362Z", "completed_at": "2024-08-13T21:25:33.247224Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.257039Z", "completed_at": "2024-08-13T21:25:33.257048Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026244163513183594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pool_delegation_base_mainnet", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_pool_delegation_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.247799Z", "completed_at": "2024-08-13T21:25:33.259645Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.262298Z", "completed_at": "2024-08-13T21:25:33.262306Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022783517837524414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_delegation_updated_base_mainnet_event_name__DelegationUpdated.67d059ef8b", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.252025Z", "completed_at": "2024-08-13T21:25:33.260320Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.263174Z", "completed_at": "2024-08-13T21:25:33.263182Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0194549560546875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_account_id__True__0.682b9be0e3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.264044Z", "completed_at": "2024-08-13T21:25:33.274906Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.277583Z", "completed_at": "2024-08-13T21:25:33.277592Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019385337829589844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_amount__True__0.a8783e193f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.270498Z", "completed_at": "2024-08-13T21:25:33.277029Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.279619Z", "completed_at": "2024-08-13T21:25:33.279626Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018039464950561523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_leverage__True__1000000000000000000__1000000000000000000.d5cf2050cc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.281207Z", "completed_at": "2024-08-13T21:25:33.294920Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.300876Z", "completed_at": "2024-08-13T21:25:33.300884Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025329113006591797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_pool_id__True__0.4316662214", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.287169Z", "completed_at": "2024-08-13T21:25:33.295583Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.301779Z", "completed_at": "2024-08-13T21:25:33.301792Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025606870651245117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_account_id.d54eaa7e33", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.296722Z", "completed_at": "2024-08-13T21:25:33.307704Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.310228Z", "completed_at": "2024-08-13T21:25:33.310236Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01775360107421875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_amount.a0ab515e0a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.302666Z", "completed_at": "2024-08-13T21:25:33.309685Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.312336Z", "completed_at": "2024-08-13T21:25:33.312344Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0189669132232666, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_block_number.b7e4e88578", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.314423Z", "completed_at": "2024-08-13T21:25:33.324924Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.327398Z", "completed_at": "2024-08-13T21:25:33.327409Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018479347229003906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_block_timestamp.c521a83475", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.320074Z", "completed_at": "2024-08-13T21:25:33.326798Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.338105Z", "completed_at": "2024-08-13T21:25:33.338112Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027066469192504883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_collateral_type.ed1a32a32c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.328297Z", "completed_at": "2024-08-13T21:25:33.340638Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.343079Z", "completed_at": "2024-08-13T21:25:33.343086Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023766756057739258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_contract.26c790b056", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.334058Z", "completed_at": "2024-08-13T21:25:33.341327Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.343970Z", "completed_at": "2024-08-13T21:25:33.343980Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019782543182373047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_event_name.cfe99ccc6b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.347362Z", "completed_at": "2024-08-13T21:25:33.357665Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.363668Z", "completed_at": "2024-08-13T21:25:33.363681Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02195000648498535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_id.3f46fc5fef", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.351467Z", "completed_at": "2024-08-13T21:25:33.358287Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.364647Z", "completed_at": "2024-08-13T21:25:33.364655Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022268295288085938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_leverage.5efc0a9617", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.359429Z", "completed_at": "2024-08-13T21:25:33.371440Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.373995Z", "completed_at": "2024-08-13T21:25:33.374003Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01859450340270996, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_pool_id.05c5c779bf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.365535Z", "completed_at": "2024-08-13T21:25:33.372863Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.375465Z", "completed_at": "2024-08-13T21:25:33.375472Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019316434860229492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_sender.0138cb07ed", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.377546Z", "completed_at": "2024-08-13T21:25:33.389581Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.391991Z", "completed_at": "2024-08-13T21:25:33.392000Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01989436149597168, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_transaction_hash.6915579646", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.384197Z", "completed_at": "2024-08-13T21:25:33.390824Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.396554Z", "completed_at": "2024-08-13T21:25:33.396562Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02326369285583496, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_delegation_updated_base_mainnet_id.cb86d131a2", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.392849Z", "completed_at": "2024-08-13T21:25:33.403252Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.405714Z", "completed_at": "2024-08-13T21:25:33.405722Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.017528533935546875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_account_delegation_base_sepolia", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_account_delegation_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.397415Z", "completed_at": "2024-08-13T21:25:33.404501Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.407165Z", "completed_at": "2024-08-13T21:25:33.407172Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018233776092529297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pool_delegation_base_sepolia", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_pool_delegation_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.408028Z", "completed_at": "2024-08-13T21:25:33.419327Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.421763Z", "completed_at": "2024-08-13T21:25:33.421771Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01923394203186035, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_delegation_updated_base_sepolia_event_name__DelegationUpdated.05fda2d1e2", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.413104Z", "completed_at": "2024-08-13T21:25:33.420662Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.423239Z", "completed_at": "2024-08-13T21:25:33.423247Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019476890563964844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_account_id__True__0.744442e3e1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.424099Z", "completed_at": "2024-08-13T21:25:33.436688Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.439128Z", "completed_at": "2024-08-13T21:25:33.439136Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02056574821472168, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_amount__True__0.c17a0b7ccb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.430723Z", "completed_at": "2024-08-13T21:25:33.437977Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.440555Z", "completed_at": "2024-08-13T21:25:33.440563Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020642995834350586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_leverage__True__1000000000000000000__1000000000000000000.bc25b2b948", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.441424Z", "completed_at": "2024-08-13T21:25:33.452300Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.454635Z", "completed_at": "2024-08-13T21:25:33.454643Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018680572509765625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_pool_id__True__0.76dffc3ab3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.446609Z", "completed_at": "2024-08-13T21:25:33.453530Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.456108Z", "completed_at": "2024-08-13T21:25:33.456116Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018828392028808594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_account_id.eeaa67ead3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.456972Z", "completed_at": "2024-08-13T21:25:33.468466Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.470729Z", "completed_at": "2024-08-13T21:25:33.470737Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019281864166259766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_amount.b946bd0b57", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.461950Z", "completed_at": "2024-08-13T21:25:33.469617Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.477196Z", "completed_at": "2024-08-13T21:25:33.477204Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02441573143005371, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_block_number.d1ae1c451b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.471645Z", "completed_at": "2024-08-13T21:25:33.483918Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.486291Z", "completed_at": "2024-08-13T21:25:33.486301Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019396066665649414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_block_timestamp.d9e4249b7d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.478066Z", "completed_at": "2024-08-13T21:25:33.484535Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.487176Z", "completed_at": "2024-08-13T21:25:33.487184Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01941061019897461, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_collateral_type.0ccc2f8e54", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.490499Z", "completed_at": "2024-08-13T21:25:33.500331Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.502547Z", "completed_at": "2024-08-13T21:25:33.502555Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.017585277557373047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_contract.f5b6f539eb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.494579Z", "completed_at": "2024-08-13T21:25:33.501420Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.507578Z", "completed_at": "2024-08-13T21:25:33.507588Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022021055221557617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_event_name.1eb3a277fa", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.503463Z", "completed_at": "2024-08-13T21:25:33.514083Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.516643Z", "completed_at": "2024-08-13T21:25:33.516651Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018033981323242188, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_id.dcd3b41380", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.508563Z", "completed_at": "2024-08-13T21:25:33.516092Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.518626Z", "completed_at": "2024-08-13T21:25:33.518635Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01934957504272461, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_leverage.b016b358da", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.520237Z", "completed_at": "2024-08-13T21:25:33.532451Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.534737Z", "completed_at": "2024-08-13T21:25:33.534747Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02007293701171875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_pool_id.8e7b343725", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.525849Z", "completed_at": "2024-08-13T21:25:33.533062Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.535692Z", "completed_at": "2024-08-13T21:25:33.535699Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02034282684326172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_sender.ff059463dc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.540715Z", "completed_at": "2024-08-13T21:25:33.546969Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.549317Z", "completed_at": "2024-08-13T21:25:33.549326Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.017567873001098633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_delegation_updated_base_sepolia_id.09af5f863a", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.536547Z", "completed_at": "2024-08-13T21:25:33.547595Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.550190Z", "completed_at": "2024-08-13T21:25:33.550197Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019498348236083984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_transaction_hash.403e1a44d0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.551654Z", "completed_at": "2024-08-13T21:25:33.561023Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.562907Z", "completed_at": "2024-08-13T21:25:33.562916Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.016658306121826172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_account_delegation_eth_mainnet", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_account_delegation_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.556859Z", "completed_at": "2024-08-13T21:25:33.563902Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.571698Z", "completed_at": "2024-08-13T21:25:33.571706Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023680448532104492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pool_delegation_eth_mainnet", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_pool_delegation_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.565053Z", "completed_at": "2024-08-13T21:25:33.577918Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.580679Z", "completed_at": "2024-08-13T21:25:33.580688Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020368099212646484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_delegation_updated_eth_mainnet_event_name__DelegationUpdated.ec623b86f2", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.572742Z", "completed_at": "2024-08-13T21:25:33.580068Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.586666Z", "completed_at": "2024-08-13T21:25:33.586678Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02520751953125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_account_id__True__0.3a3f9a0475", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.582271Z", "completed_at": "2024-08-13T21:25:33.589688Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.596056Z", "completed_at": "2024-08-13T21:25:33.596064Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018980741500854492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_amount__True__0.94b97c0270", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.590933Z", "completed_at": "2024-08-13T21:25:33.598197Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.607894Z", "completed_at": "2024-08-13T21:25:33.607907Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02639627456665039, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_leverage__True__1000000000000000000__1000000000000000000.eb061a2128", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.599491Z", "completed_at": "2024-08-13T21:25:33.609850Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.612226Z", "completed_at": "2024-08-13T21:25:33.612234Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022024154663085938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_pool_id__True__0.fb370aa2ca", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.603817Z", "completed_at": "2024-08-13T21:25:33.611003Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.613752Z", "completed_at": "2024-08-13T21:25:33.613760Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018551111221313477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_account_id.141fb0f466", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.614594Z", "completed_at": "2024-08-13T21:25:33.627016Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.628991Z", "completed_at": "2024-08-13T21:25:33.628999Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020229578018188477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_amount.256481de3c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.622967Z", "completed_at": "2024-08-13T21:25:33.629903Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.635837Z", "completed_at": "2024-08-13T21:25:33.635845Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022832393646240234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_block_number.5479fa5e08", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.631014Z", "completed_at": "2024-08-13T21:25:33.641531Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.644039Z", "completed_at": "2024-08-13T21:25:33.644046Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021842002868652344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_block_timestamp.cd7fa2f4ff", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.636712Z", "completed_at": "2024-08-13T21:25:33.643457Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.649698Z", "completed_at": "2024-08-13T21:25:33.649710Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022191286087036133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_collateral_type.e3d73862e4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.645553Z", "completed_at": "2024-08-13T21:25:33.652852Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.658747Z", "completed_at": "2024-08-13T21:25:33.658755Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.017977237701416016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_contract.5d369822a4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.654031Z", "completed_at": "2024-08-13T21:25:33.666780Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.672667Z", "completed_at": "2024-08-13T21:25:33.672675Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027835607528686523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_event_name.69b76075f5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.661691Z", "completed_at": "2024-08-13T21:25:33.673790Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.676218Z", "completed_at": "2024-08-13T21:25:33.676226Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02290630340576172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_id.622c20c239", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.667975Z", "completed_at": "2024-08-13T21:25:33.674930Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.681156Z", "completed_at": "2024-08-13T21:25:33.681164Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02313995361328125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_leverage.3edfe7323e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.677071Z", "completed_at": "2024-08-13T21:25:33.684734Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.690564Z", "completed_at": "2024-08-13T21:25:33.690572Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018631458282470703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_pool_id.914b411c12", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.686515Z", "completed_at": "2024-08-13T21:25:33.693542Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.703048Z", "completed_at": "2024-08-13T21:25:33.703058Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021182537078857422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_sender.3a40ed8f3a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.694085Z", "completed_at": "2024-08-13T21:25:33.704904Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.712540Z", "completed_at": "2024-08-13T21:25:33.712550Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027344942092895508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_transaction_hash.048b7a5c68", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.698182Z", "completed_at": "2024-08-13T21:25:33.705507Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.713427Z", "completed_at": "2024-08-13T21:25:33.713434Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02761363983154297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_delegation_updated_eth_mainnet_id.2467edf8ec", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.706703Z", "completed_at": "2024-08-13T21:25:33.716319Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.718721Z", "completed_at": "2024-08-13T21:25:33.718731Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.016543149948120117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_deposited_arbitrum_mainnet_event_name__Deposited.63620c995c", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.719638Z", "completed_at": "2024-08-13T21:25:33.734302Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.736125Z", "completed_at": "2024-08-13T21:25:33.736135Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021954774856567383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_account_id__True__0.2fc937f08c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.725951Z", "completed_at": "2024-08-13T21:25:33.736953Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.739440Z", "completed_at": "2024-08-13T21:25:33.739448Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022030353546142578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_token_amount__True__0.825b012474", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.730337Z", "completed_at": "2024-08-13T21:25:33.737550Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.740326Z", "completed_at": "2024-08-13T21:25:33.740334Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022298574447631836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_account_id.c7afbe52a5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.741173Z", "completed_at": "2024-08-13T21:25:33.748207Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.754122Z", "completed_at": "2024-08-13T21:25:33.754130Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019179821014404297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_block_number.689c18351b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.749995Z", "completed_at": "2024-08-13T21:25:33.756975Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.767948Z", "completed_at": "2024-08-13T21:25:33.767956Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022732257843017578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_block_timestamp.a16e8ef361", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.763165Z", "completed_at": "2024-08-13T21:25:33.769672Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.775994Z", "completed_at": "2024-08-13T21:25:33.776004Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026723384857177734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_contract.a2cd7b2bb5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.757547Z", "completed_at": "2024-08-13T21:25:33.770984Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.777503Z", "completed_at": "2024-08-13T21:25:33.777510Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02883601188659668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_collateral_type.42a3d10d97", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.771654Z", "completed_at": "2024-08-13T21:25:33.779266Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.781714Z", "completed_at": "2024-08-13T21:25:33.781725Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.014595746994018555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_event_name.8f5b81cb40", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.782605Z", "completed_at": "2024-08-13T21:25:33.789592Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.799138Z", "completed_at": "2024-08-13T21:25:33.799148Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022387981414794922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_id.2f7b341009", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.790160Z", "completed_at": "2024-08-13T21:25:33.801002Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.808204Z", "completed_at": "2024-08-13T21:25:33.808212Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027219533920288086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_sender.5f276242f7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.795019Z", "completed_at": "2024-08-13T21:25:33.809054Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.811702Z", "completed_at": "2024-08-13T21:25:33.811710Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025003433227539062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_token_amount.238a5119e6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.802326Z", "completed_at": "2024-08-13T21:25:33.811143Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.813766Z", "completed_at": "2024-08-13T21:25:33.813774Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019602537155151367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_transaction_hash.649446c0bd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.815320Z", "completed_at": "2024-08-13T21:25:33.826513Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.828995Z", "completed_at": "2024-08-13T21:25:33.829003Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019473552703857422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_deposited_arbitrum_mainnet_id.65592bb86d", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.821400Z", "completed_at": "2024-08-13T21:25:33.828453Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.838901Z", "completed_at": "2024-08-13T21:25:33.838912Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025915861129760742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_deposited_arbitrum_sepolia_event_name__Deposited.1c0d375890", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.829881Z", "completed_at": "2024-08-13T21:25:33.840920Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.843484Z", "completed_at": "2024-08-13T21:25:33.843494Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022924184799194336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_account_id__True__0.d3287e563c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.834359Z", "completed_at": "2024-08-13T21:25:33.842860Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.845570Z", "completed_at": "2024-08-13T21:25:33.845578Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01989579200744629, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_token_amount__True__0.0f0aa65236", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.847751Z", "completed_at": "2024-08-13T21:25:33.859658Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.861488Z", "completed_at": "2024-08-13T21:25:33.861496Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019330739974975586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_account_id.0850a5cdd2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.853231Z", "completed_at": "2024-08-13T21:25:33.862312Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.872016Z", "completed_at": "2024-08-13T21:25:33.872028Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027758121490478516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_block_number.c3036ab47e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.867028Z", "completed_at": "2024-08-13T21:25:33.873949Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.876368Z", "completed_at": "2024-08-13T21:25:33.876376Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.017508745193481445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_collateral_type.88d590c5ca", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.862904Z", "completed_at": "2024-08-13T21:25:33.874489Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.877242Z", "completed_at": "2024-08-13T21:25:33.877252Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024751663208007812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_block_timestamp.423f2e9f55", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.878724Z", "completed_at": "2024-08-13T21:25:33.885705Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.891674Z", "completed_at": "2024-08-13T21:25:33.891682Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01855754852294922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_contract.98776e9523", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.886839Z", "completed_at": "2024-08-13T21:25:33.897410Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.904466Z", "completed_at": "2024-08-13T21:25:33.904475Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026462793350219727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_event_name.ca52f6033b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.893202Z", "completed_at": "2024-08-13T21:25:33.905353Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.907921Z", "completed_at": "2024-08-13T21:25:33.907929Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022968053817749023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_id.7d3846b9e3", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.898757Z", "completed_at": "2024-08-13T21:25:33.907379Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.909981Z", "completed_at": "2024-08-13T21:25:33.909993Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023856639862060547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_sender.2aeec9aec1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.911568Z", "completed_at": "2024-08-13T21:25:33.922498Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.924940Z", "completed_at": "2024-08-13T21:25:33.924948Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019146203994750977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_token_amount.653e14e03e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.917672Z", "completed_at": "2024-08-13T21:25:33.924396Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.934192Z", "completed_at": "2024-08-13T21:25:33.934204Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024973154067993164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_transaction_hash.8084f934a8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.925832Z", "completed_at": "2024-08-13T21:25:33.936229Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.938687Z", "completed_at": "2024-08-13T21:25:33.938695Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02185797691345215, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_deposited_arbitrum_sepolia_id.9f22c1a15e", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.929894Z", "completed_at": "2024-08-13T21:25:33.937530Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.940192Z", "completed_at": "2024-08-13T21:25:33.940200Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01849842071533203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_deposited_base_mainnet_event_name__Deposited.8716111032", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.943581Z", "completed_at": "2024-08-13T21:25:33.955922Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.961366Z", "completed_at": "2024-08-13T21:25:33.961377Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02343297004699707, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_mainnet_account_id__True__0.64bcc1c124", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.948631Z", "completed_at": "2024-08-13T21:25:33.962356Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.968562Z", "completed_at": "2024-08-13T21:25:33.968570Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.029086589813232422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_mainnet_token_amount__True__0.60382baf55", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.957174Z", "completed_at": "2024-08-13T21:25:33.968010Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.970214Z", "completed_at": "2024-08-13T21:25:33.970222Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022343158721923828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_account_id.7193b1a2c0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.962933Z", "completed_at": "2024-08-13T21:25:33.971051Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.973630Z", "completed_at": "2024-08-13T21:25:33.973638Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01994800567626953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_block_number.08ee53cd26", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.975142Z", "completed_at": "2024-08-13T21:25:33.982035Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:33.991609Z", "completed_at": "2024-08-13T21:25:33.991619Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022211790084838867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_block_timestamp.560df883dc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.983206Z", "completed_at": "2024-08-13T21:25:33.994040Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.002291Z", "completed_at": "2024-08-13T21:25:34.002301Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027916431427001953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_collateral_type.be650ff685", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.987344Z", "completed_at": "2024-08-13T21:25:34.001676Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.004506Z", "completed_at": "2024-08-13T21:25:34.004514Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025351524353027344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_contract.6e9ec1150a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:33.994743Z", "completed_at": "2024-08-13T21:25:34.003938Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.010207Z", "completed_at": "2024-08-13T21:25:34.010216Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027770519256591797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_event_name.31446f5c55", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.006065Z", "completed_at": "2024-08-13T21:25:34.013439Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.015851Z", "completed_at": "2024-08-13T21:25:34.015861Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015093326568603516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_id.ee16c24c51", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.017277Z", "completed_at": "2024-08-13T21:25:34.031515Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.033109Z", "completed_at": "2024-08-13T21:25:34.033118Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02123403549194336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_sender.7b7ebe7456", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.027156Z", "completed_at": "2024-08-13T21:25:34.033952Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.036437Z", "completed_at": "2024-08-13T21:25:34.036445Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02130436897277832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_transaction_hash.272eb2e81d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.022870Z", "completed_at": "2024-08-13T21:25:34.034479Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.037315Z", "completed_at": "2024-08-13T21:25:34.037325Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02339625358581543, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_token_amount.5b0e4b379d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.038177Z", "completed_at": "2024-08-13T21:25:34.045271Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.052864Z", "completed_at": "2024-08-13T21:25:34.052873Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02090144157409668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_deposited_base_mainnet_id.c13be8e337", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.047014Z", "completed_at": "2024-08-13T21:25:34.055725Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.065698Z", "completed_at": "2024-08-13T21:25:34.065709Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023556947708129883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_deposited_base_sepolia_event_name__Deposited.2befe04139", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.060697Z", "completed_at": "2024-08-13T21:25:34.067512Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.073454Z", "completed_at": "2024-08-13T21:25:34.073462Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027155160903930664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_sepolia_token_amount__True__0.266baf687b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.056284Z", "completed_at": "2024-08-13T21:25:34.068051Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.074350Z", "completed_at": "2024-08-13T21:25:34.074360Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.028655290603637695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_sepolia_account_id__True__0.7619844d60", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.069359Z", "completed_at": "2024-08-13T21:25:34.076729Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.079210Z", "completed_at": "2024-08-13T21:25:34.079217Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014313697814941406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_account_id.d414fa2a62", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.080685Z", "completed_at": "2024-08-13T21:25:34.091241Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.098441Z", "completed_at": "2024-08-13T21:25:34.098450Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023290395736694336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_block_number.e9986d7fcf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.086991Z", "completed_at": "2024-08-13T21:25:34.099392Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.101965Z", "completed_at": "2024-08-13T21:25:34.101976Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023516416549682617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_block_timestamp.cbbc8b2a2e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.092568Z", "completed_at": "2024-08-13T21:25:34.101426Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.107677Z", "completed_at": "2024-08-13T21:25:34.107688Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027718782424926758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_collateral_type.a340ec02eb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.102852Z", "completed_at": "2024-08-13T21:25:34.109900Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.115875Z", "completed_at": "2024-08-13T21:25:34.115884Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02407217025756836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_contract.8dbc5afa3f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.111797Z", "completed_at": "2024-08-13T21:25:34.118816Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.124659Z", "completed_at": "2024-08-13T21:25:34.124669Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.017810821533203125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_event_name.b7ccc83970", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.119963Z", "completed_at": "2024-08-13T21:25:34.130388Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.136598Z", "completed_at": "2024-08-13T21:25:34.136606Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02552342414855957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_id.0591da203f", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.125538Z", "completed_at": "2024-08-13T21:25:34.135931Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.138174Z", "completed_at": "2024-08-13T21:25:34.138182Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021454572677612305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_sender.0468b8397d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.131787Z", "completed_at": "2024-08-13T21:25:34.139076Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.141583Z", "completed_at": "2024-08-13T21:25:34.141593Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017645835876464844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_token_amount.af75bc1896", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.143056Z", "completed_at": "2024-08-13T21:25:34.152072Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.161634Z", "completed_at": "2024-08-13T21:25:34.161642Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024278879165649414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_transaction_hash.305ad04c84", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.156751Z", "completed_at": "2024-08-13T21:25:34.167163Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.169915Z", "completed_at": "2024-08-13T21:25:34.169924Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02122664451599121, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_deposited_eth_mainnet_event_name__Deposited.18727c72b0", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.152648Z", "completed_at": "2024-08-13T21:25:34.168630Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.171442Z", "completed_at": "2024-08-13T21:25:34.171453Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.029103517532348633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_deposited_base_sepolia_id.3b38f638da", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.162808Z", "completed_at": "2024-08-13T21:25:34.169369Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.172310Z", "completed_at": "2024-08-13T21:25:34.172317Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020920753479003906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_eth_mainnet_account_id__True__0.5e26b84f6a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.176431Z", "completed_at": "2024-08-13T21:25:34.183446Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.194332Z", "completed_at": "2024-08-13T21:25:34.194342Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02368474006652832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_eth_mainnet_token_amount__True__0.a57f2edd1b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.188689Z", "completed_at": "2024-08-13T21:25:34.200497Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.202905Z", "completed_at": "2024-08-13T21:25:34.202913Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022095680236816406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_block_number.5e2350a777", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.184584Z", "completed_at": "2024-08-13T21:25:34.201106Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.203809Z", "completed_at": "2024-08-13T21:25:34.203819Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02812790870666504, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_account_id.527d2b71c3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.195267Z", "completed_at": "2024-08-13T21:25:34.202363Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.205267Z", "completed_at": "2024-08-13T21:25:34.205277Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023829221725463867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_block_timestamp.6194c9ac03", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.207565Z", "completed_at": "2024-08-13T21:25:34.214318Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.216603Z", "completed_at": "2024-08-13T21:25:34.216611Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.015005826950073242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_collateral_type.f940e4eba6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.217471Z", "completed_at": "2024-08-13T21:25:34.231244Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.233666Z", "completed_at": "2024-08-13T21:25:34.233675Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02140641212463379, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_contract.d1fbae48f5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.221563Z", "completed_at": "2024-08-13T21:25:34.232518Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.235147Z", "completed_at": "2024-08-13T21:25:34.235155Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022261381149291992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_event_name.e185f199f1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.225839Z", "completed_at": "2024-08-13T21:25:34.233119Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.236007Z", "completed_at": "2024-08-13T21:25:34.236017Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022388219833374023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_id.9c5a20c527", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.237524Z", "completed_at": "2024-08-13T21:25:34.246531Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.248816Z", "completed_at": "2024-08-13T21:25:34.248824Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.017014026641845703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_sender.4c70b365da", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.412404Z", "completed_at": "2024-08-13T21:25:34.422799Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.425427Z", "completed_at": "2024-08-13T21:25:34.425439Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.1802518367767334, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_transaction_hash.7087a2e09e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.417210Z", "completed_at": "2024-08-13T21:25:34.423511Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.426336Z", "completed_at": "2024-08-13T21:25:34.426346Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.18049216270446777, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_deposited_eth_mainnet_id.97fd3624a5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.249672Z", "completed_at": "2024-08-13T21:25:34.424221Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.427232Z", "completed_at": "2024-08-13T21:25:34.427239Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.18277955055236816, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_token_amount.dc8696c011", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.431473Z", "completed_at": "2024-08-13T21:25:34.438721Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.445084Z", "completed_at": "2024-08-13T21:25:34.445096Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020454883575439453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_liquidation_arbitrum_mainnet_event_name__Liquidation.85cae70384", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.440715Z", "completed_at": "2024-08-13T21:25:34.459651Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.461800Z", "completed_at": "2024-08-13T21:25:34.461811Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025716781616210938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_account_id__True__0.71c92954dd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.450292Z", "completed_at": "2024-08-13T21:25:34.462689Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.466494Z", "completed_at": "2024-08-13T21:25:34.466504Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.029230594635009766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_pool_id__True__0.5d8232e38f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.445991Z", "completed_at": "2024-08-13T21:25:34.463705Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.467964Z", "completed_at": "2024-08-13T21:25:34.467971Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.03125119209289551, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0.6ad1a29899", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.468948Z", "completed_at": "2024-08-13T21:25:34.481804Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.495527Z", "completed_at": "2024-08-13T21:25:34.495539Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.03504228591918945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_account_id.2b9f90b003", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.490719Z", "completed_at": "2024-08-13T21:25:34.501583Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.504112Z", "completed_at": "2024-08-13T21:25:34.504120Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023671388626098633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_collateral_type.7eae92d91d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.483501Z", "completed_at": "2024-08-13T21:25:34.502170Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.504991Z", "completed_at": "2024-08-13T21:25:34.505001Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.029223203659057617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_block_number.c43f5e1404", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.496508Z", "completed_at": "2024-08-13T21:25:34.503512Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.506418Z", "completed_at": "2024-08-13T21:25:34.506428Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027064800262451172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_block_timestamp.e8b33f1dcb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.508701Z", "completed_at": "2024-08-13T21:25:34.515757Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.518049Z", "completed_at": "2024-08-13T21:25:34.518057Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.015311956405639648, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_contract.b02df4336b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.518906Z", "completed_at": "2024-08-13T21:25:34.534251Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.537018Z", "completed_at": "2024-08-13T21:25:34.537027Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023505687713623047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_event_name.c11ebbad99", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.528291Z", "completed_at": "2024-08-13T21:25:34.535857Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.538560Z", "completed_at": "2024-08-13T21:25:34.538570Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023537635803222656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_liquidate_as_account_id.00768ed71d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.524261Z", "completed_at": "2024-08-13T21:25:34.536447Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.539516Z", "completed_at": "2024-08-13T21:25:34.539526Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025211095809936523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_id.428529a968", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.541099Z", "completed_at": "2024-08-13T21:25:34.548635Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.550951Z", "completed_at": "2024-08-13T21:25:34.550959Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01608586311340332, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_pool_id.910c4e273f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.556521Z", "completed_at": "2024-08-13T21:25:34.567733Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.570115Z", "completed_at": "2024-08-13T21:25:34.570123Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022203445434570312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_transaction_hash.7c4641c1db", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.552409Z", "completed_at": "2024-08-13T21:25:34.568291Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.570983Z", "completed_at": "2024-08-13T21:25:34.570992Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023833036422729492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_sender.de5e917bc2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.561437Z", "completed_at": "2024-08-13T21:25:34.569535Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.576154Z", "completed_at": "2024-08-13T21:25:34.576166Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027078866958618164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_liquidation_arbitrum_mainnet_id.ab79adeb33", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.571877Z", "completed_at": "2024-08-13T21:25:34.579885Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.582651Z", "completed_at": "2024-08-13T21:25:34.582662Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01584029197692871, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_liquidation_arbitrum_sepolia_event_name__Liquidation.32c120b3b8", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.585576Z", "completed_at": "2024-08-13T21:25:34.603124Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.605049Z", "completed_at": "2024-08-13T21:25:34.605058Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02586531639099121, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_account_id__True__0.fa367d1bc5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.593184Z", "completed_at": "2024-08-13T21:25:34.603870Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.606452Z", "completed_at": "2024-08-13T21:25:34.606459Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02608633041381836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0.aa641f64fe", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.597707Z", "completed_at": "2024-08-13T21:25:34.605872Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.612338Z", "completed_at": "2024-08-13T21:25:34.612348Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.03130769729614258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_pool_id__True__0.d1a4bd0579", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.607343Z", "completed_at": "2024-08-13T21:25:34.614650Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.617103Z", "completed_at": "2024-08-13T21:25:34.617113Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.015174627304077148, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_account_id.2f2251c90a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.619156Z", "completed_at": "2024-08-13T21:25:34.630818Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.636733Z", "completed_at": "2024-08-13T21:25:34.636741Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022835254669189453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_block_number.28a164853c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.626045Z", "completed_at": "2024-08-13T21:25:34.636134Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.641951Z", "completed_at": "2024-08-13T21:25:34.641960Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026137828826904297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_block_timestamp.2b65fcd144", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.631442Z", "completed_at": "2024-08-13T21:25:34.642801Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.645475Z", "completed_at": "2024-08-13T21:25:34.645482Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027619123458862305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_collateral_type.611a474b69", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.637708Z", "completed_at": "2024-08-13T21:25:34.644898Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.647593Z", "completed_at": "2024-08-13T21:25:34.647600Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.017485380172729492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_contract.b3848813ec", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.655670Z", "completed_at": "2024-08-13T21:25:34.662121Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.672914Z", "completed_at": "2024-08-13T21:25:34.672922Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02608633041381836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_id.acb7c881c1", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.651578Z", "completed_at": "2024-08-13T21:25:34.662653Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.673793Z", "completed_at": "2024-08-13T21:25:34.673801Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027570724487304688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_event_name.6dff9cd9a5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.668848Z", "completed_at": "2024-08-13T21:25:34.675650Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.678120Z", "completed_at": "2024-08-13T21:25:34.678128Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01827859878540039, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_pool_id.851303c6c6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.663264Z", "completed_at": "2024-08-13T21:25:34.676313Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.679179Z", "completed_at": "2024-08-13T21:25:34.679187Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.028348922729492188, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_liquidate_as_account_id.8fb362bd59", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.683112Z", "completed_at": "2024-08-13T21:25:34.692699Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.694475Z", "completed_at": "2024-08-13T21:25:34.694483Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017071962356567383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_sender.b1951bbf59", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.688506Z", "completed_at": "2024-08-13T21:25:34.699386Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.705188Z", "completed_at": "2024-08-13T21:25:34.705196Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025261640548706055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_transaction_hash.aa34dc1b7f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.695447Z", "completed_at": "2024-08-13T21:25:34.706064Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.708688Z", "completed_at": "2024-08-13T21:25:34.708696Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021642208099365234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_liquidation_arbitrum_sepolia_id.7489e81022", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.699984Z", "completed_at": "2024-08-13T21:25:34.708067Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.710712Z", "completed_at": "2024-08-13T21:25:34.710720Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022921323776245117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_liquidation_base_mainnet_event_name__Liquidation.b1c18b74aa", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.712290Z", "completed_at": "2024-08-13T21:25:34.724453Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.726343Z", "completed_at": "2024-08-13T21:25:34.726355Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019711971282958984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_account_id__True__0.136053be04", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.720037Z", "completed_at": "2024-08-13T21:25:34.727253Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.733574Z", "completed_at": "2024-08-13T21:25:34.733582Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023574113845825195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_liquidate_as_account_id__True__0.7686495bd9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.728418Z", "completed_at": "2024-08-13T21:25:34.739257Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.741862Z", "completed_at": "2024-08-13T21:25:34.741872Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02265477180480957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_pool_id__True__0.9af005d964", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.734449Z", "completed_at": "2024-08-13T21:25:34.741305Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.747496Z", "completed_at": "2024-08-13T21:25:34.747504Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022591590881347656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_account_id.2ddc542a47", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.743368Z", "completed_at": "2024-08-13T21:25:34.750516Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.756585Z", "completed_at": "2024-08-13T21:25:34.756593Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018046855926513672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_block_number.896bca83af", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.751702Z", "completed_at": "2024-08-13T21:25:34.758739Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.769493Z", "completed_at": "2024-08-13T21:25:34.769505Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026915550231933594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_block_timestamp.cc029a06b8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.765386Z", "completed_at": "2024-08-13T21:25:34.772148Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.774556Z", "completed_at": "2024-08-13T21:25:34.774567Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018711328506469727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_contract.cb2b40daff", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.760003Z", "completed_at": "2024-08-13T21:25:34.773987Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.780127Z", "completed_at": "2024-08-13T21:25:34.780135Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.029184579849243164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_collateral_type.c78d491846", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.775476Z", "completed_at": "2024-08-13T21:25:34.785919Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.788032Z", "completed_at": "2024-08-13T21:25:34.788040Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01753997802734375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_event_name.b9c8609dd4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.781788Z", "completed_at": "2024-08-13T21:25:34.788887Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.791318Z", "completed_at": "2024-08-13T21:25:34.791329Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01802349090576172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_id.c949216a70", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.792744Z", "completed_at": "2024-08-13T21:25:34.803149Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.810350Z", "completed_at": "2024-08-13T21:25:34.810359Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023155689239501953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_liquidate_as_account_id.b2d7294162", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.798163Z", "completed_at": "2024-08-13T21:25:34.811241Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.813821Z", "completed_at": "2024-08-13T21:25:34.813829Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02446579933166504, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_pool_id.0342c9a9f7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.804479Z", "completed_at": "2024-08-13T21:25:34.813283Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.820059Z", "completed_at": "2024-08-13T21:25:34.820069Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02335667610168457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_sender.0c2397ee76", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.814687Z", "completed_at": "2024-08-13T21:25:34.822360Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.828535Z", "completed_at": "2024-08-13T21:25:34.828543Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02489924430847168, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_transaction_hash.adee36dc81", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.824267Z", "completed_at": "2024-08-13T21:25:34.831589Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.837924Z", "completed_at": "2024-08-13T21:25:34.837932Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019092798233032227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_liquidation_base_mainnet_id.876ec280ff", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.832749Z", "completed_at": "2024-08-13T21:25:34.845003Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.851401Z", "completed_at": "2024-08-13T21:25:34.851409Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027851343154907227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_liquidation_base_sepolia_event_name__Liquidation.24bb1726f1", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.838795Z", "completed_at": "2024-08-13T21:25:34.850773Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.852991Z", "completed_at": "2024-08-13T21:25:34.852999Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023538589477539062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_account_id__True__0.02852291f8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.845557Z", "completed_at": "2024-08-13T21:25:34.853834Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.861578Z", "completed_at": "2024-08-13T21:25:34.861585Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024497032165527344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_liquidate_as_account_id__True__0.6947f1cc05", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.855081Z", "completed_at": "2024-08-13T21:25:34.865300Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.871152Z", "completed_at": "2024-08-13T21:25:34.871160Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02118849754333496, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_pool_id__True__0.7493427efd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.867059Z", "completed_at": "2024-08-13T21:25:34.877576Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.883575Z", "completed_at": "2024-08-13T21:25:34.883583Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021212339401245117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_account_id.0aa7b969f5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.872032Z", "completed_at": "2024-08-13T21:25:34.882327Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.884557Z", "completed_at": "2024-08-13T21:25:34.884565Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02135777473449707, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_block_number.f510e99a58", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.878309Z", "completed_at": "2024-08-13T21:25:34.885425Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.887961Z", "completed_at": "2024-08-13T21:25:34.887969Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021622896194458008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_block_timestamp.212c6a9018", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.888815Z", "completed_at": "2024-08-13T21:25:34.895574Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.901441Z", "completed_at": "2024-08-13T21:25:34.901449Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018634319305419922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_collateral_type.c93d2f649b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.897335Z", "completed_at": "2024-08-13T21:25:34.909418Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.915334Z", "completed_at": "2024-08-13T21:25:34.915342Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022553443908691406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_contract.2d1b4b38d4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.902326Z", "completed_at": "2024-08-13T21:25:34.914069Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.916343Z", "completed_at": "2024-08-13T21:25:34.916351Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02292799949645996, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_event_name.ab3ef77d1c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.909961Z", "completed_at": "2024-08-13T21:25:34.917168Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.919887Z", "completed_at": "2024-08-13T21:25:34.919895Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02327132225036621, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_id.efbd949b78", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.920744Z", "completed_at": "2024-08-13T21:25:34.927561Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.933365Z", "completed_at": "2024-08-13T21:25:34.933373Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018843412399291992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_liquidate_as_account_id.3e3ca344a6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.929286Z", "completed_at": "2024-08-13T21:25:34.939977Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.946044Z", "completed_at": "2024-08-13T21:25:34.946054Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021306514739990234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_pool_id.0059acd0f9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.934241Z", "completed_at": "2024-08-13T21:25:34.944772Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.947035Z", "completed_at": "2024-08-13T21:25:34.947043Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021703481674194336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_sender.3afbae055d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.940637Z", "completed_at": "2024-08-13T21:25:34.947966Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.950415Z", "completed_at": "2024-08-13T21:25:34.950425Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02184462547302246, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_transaction_hash.78921d6775", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.951353Z", "completed_at": "2024-08-13T21:25:34.959874Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.969874Z", "completed_at": "2024-08-13T21:25:34.969884Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024697303771972656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_liquidation_base_sepolia_id.321d95d29c", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.961059Z", "completed_at": "2024-08-13T21:25:34.971798Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.977930Z", "completed_at": "2024-08-13T21:25:34.977940Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02136540412902832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_liquidation_eth_mainnet_event_name__Liquidation.10d3a28f0f", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.965326Z", "completed_at": "2024-08-13T21:25:34.972347Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.978975Z", "completed_at": "2024-08-13T21:25:34.978983Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021761417388916016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_account_id__True__0.d050e2f72d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.973591Z", "completed_at": "2024-08-13T21:25:34.981355Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:34.983786Z", "completed_at": "2024-08-13T21:25:34.983796Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023439645767211914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_liquidate_as_account_id__True__0.02ffa79c7a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.985253Z", "completed_at": "2024-08-13T21:25:34.996487Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.004320Z", "completed_at": "2024-08-13T21:25:35.004328Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024558305740356445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_pool_id__True__0.0b09af0400", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.991730Z", "completed_at": "2024-08-13T21:25:35.003752Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.010047Z", "completed_at": "2024-08-13T21:25:35.010055Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026984691619873047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_account_id.13c94e5d02", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:34.997080Z", "completed_at": "2024-08-13T21:25:35.009485Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.011744Z", "completed_at": "2024-08-13T21:25:35.011751Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027202844619750977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_block_number.8c6c1cbe38", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.005331Z", "completed_at": "2024-08-13T21:25:35.013280Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.015779Z", "completed_at": "2024-08-13T21:25:35.015788Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02003955841064453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_block_timestamp.c85990976a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.019000Z", "completed_at": "2024-08-13T21:25:35.032729Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.034239Z", "completed_at": "2024-08-13T21:25:35.034250Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020468950271606445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_collateral_type.59a2516e40", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.023811Z", "completed_at": "2024-08-13T21:25:35.035063Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.041038Z", "completed_at": "2024-08-13T21:25:35.041048Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02597975730895996, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_contract.05fe5f9d13", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.028563Z", "completed_at": "2024-08-13T21:25:35.035635Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.041922Z", "completed_at": "2024-08-13T21:25:35.041930Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024849414825439453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_event_name.a70ed0a4dd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.036206Z", "completed_at": "2024-08-13T21:25:35.043556Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.046047Z", "completed_at": "2024-08-13T21:25:35.046054Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01830887794494629, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_id.8175916dcc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.048138Z", "completed_at": "2024-08-13T21:25:35.056179Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.065377Z", "completed_at": "2024-08-13T21:25:35.065385Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022583961486816406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_liquidate_as_account_id.778690c632", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.060803Z", "completed_at": "2024-08-13T21:25:35.070763Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.072776Z", "completed_at": "2024-08-13T21:25:35.072784Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025345802307128906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_sender.734f70adf9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.056764Z", "completed_at": "2024-08-13T21:25:35.072140Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.074817Z", "completed_at": "2024-08-13T21:25:35.074824Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.028018712997436523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_pool_id.0966ab4339", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.066530Z", "completed_at": "2024-08-13T21:25:35.073675Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.076386Z", "completed_at": "2024-08-13T21:25:35.076394Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020890474319458008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_transaction_hash.e3478512f6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.079746Z", "completed_at": "2024-08-13T21:25:35.086447Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.097612Z", "completed_at": "2024-08-13T21:25:35.097626Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023535728454589844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_liquidation_eth_mainnet_id.05a09be0f1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.087020Z", "completed_at": "2024-08-13T21:25:35.104061Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.106109Z", "completed_at": "2024-08-13T21:25:35.106119Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02774357795715332, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_market_registered_arbitrum_mainnet_event_name__MarketRegistered.61c1a17f46", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.092040Z", "completed_at": "2024-08-13T21:25:35.105491Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.108212Z", "completed_at": "2024-08-13T21:25:35.108219Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024437665939331055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_block_number.49f898432d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.098726Z", "completed_at": "2024-08-13T21:25:35.107659Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.113851Z", "completed_at": "2024-08-13T21:25:35.113863Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.028815269470214844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_block_timestamp.9ccff6bb17", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.109770Z", "completed_at": "2024-08-13T21:25:35.116828Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.119250Z", "completed_at": "2024-08-13T21:25:35.119258Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01444554328918457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_contract.705a5b5579", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.120655Z", "completed_at": "2024-08-13T21:25:35.130246Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.135722Z", "completed_at": "2024-08-13T21:25:35.135731Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02031397819519043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_event_name.5833e57631", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.126001Z", "completed_at": "2024-08-13T21:25:35.136716Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.139143Z", "completed_at": "2024-08-13T21:25:35.139152Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02180790901184082, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_id.4c7305111a", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.130796Z", "completed_at": "2024-08-13T21:25:35.137311Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.140028Z", "completed_at": "2024-08-13T21:25:35.140036Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02151012420654297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_market.4671a5874b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.140874Z", "completed_at": "2024-08-13T21:25:35.149726Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.155610Z", "completed_at": "2024-08-13T21:25:35.155618Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0208284854888916, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_market_id.edc1b5f010", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.150893Z", "completed_at": "2024-08-13T21:25:35.162259Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.168238Z", "completed_at": "2024-08-13T21:25:35.168246Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02198934555053711, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_sender.a9f878c2c9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.157146Z", "completed_at": "2024-08-13T21:25:35.167661Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.169800Z", "completed_at": "2024-08-13T21:25:35.169808Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02074718475341797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_transaction_hash.2e6db31571", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.162876Z", "completed_at": "2024-08-13T21:25:35.170692Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.176767Z", "completed_at": "2024-08-13T21:25:35.176775Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026578426361083984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_market_registered_arbitrum_mainnet_id.c4fce94bc5", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.171961Z", "completed_at": "2024-08-13T21:25:35.178964Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.181386Z", "completed_at": "2024-08-13T21:25:35.181394Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.014476299285888672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_market_registered_arbitrum_mainnet_market_id.f4e9d45c5f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.187155Z", "completed_at": "2024-08-13T21:25:35.199271Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.201244Z", "completed_at": "2024-08-13T21:25:35.201254Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023011207580566406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_block_number.94a8562b13", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.182841Z", "completed_at": "2024-08-13T21:25:35.199891Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.202709Z", "completed_at": "2024-08-13T21:25:35.202720Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02519059181213379, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_market_registered_arbitrum_sepolia_event_name__MarketRegistered.0d43228789", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.194979Z", "completed_at": "2024-08-13T21:25:35.202171Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.208520Z", "completed_at": "2024-08-13T21:25:35.208528Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026389122009277344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_block_timestamp.fa45bb6a23", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.203626Z", "completed_at": "2024-08-13T21:25:35.210772Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.213247Z", "completed_at": "2024-08-13T21:25:35.213254Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019083738327026367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_contract.8d5b49ae4d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.215287Z", "completed_at": "2024-08-13T21:25:35.229656Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.231746Z", "completed_at": "2024-08-13T21:25:35.231754Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02168893814086914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_event_name.72e398dd82", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.220780Z", "completed_at": "2024-08-13T21:25:35.230926Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.238664Z", "completed_at": "2024-08-13T21:25:35.238672Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026697874069213867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_id.88f5db38d2", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.225627Z", "completed_at": "2024-08-13T21:25:35.232653Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.240261Z", "completed_at": "2024-08-13T21:25:35.240269Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026271343231201172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_market.67fc30dc60", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.233184Z", "completed_at": "2024-08-13T21:25:35.241972Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.244457Z", "completed_at": "2024-08-13T21:25:35.244465Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019614458084106445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_market_id.c742aae1d0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.247804Z", "completed_at": "2024-08-13T21:25:35.261615Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.263667Z", "completed_at": "2024-08-13T21:25:35.263675Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021273136138916016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_sender.f940ee9c3a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.252463Z", "completed_at": "2024-08-13T21:25:35.262968Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.269156Z", "completed_at": "2024-08-13T21:25:35.269164Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025429725646972656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_transaction_hash.9904023035", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.257565Z", "completed_at": "2024-08-13T21:25:35.264585Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.270863Z", "completed_at": "2024-08-13T21:25:35.270871Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025058746337890625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_market_registered_arbitrum_sepolia_id.5964f1fbf3", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.265115Z", "completed_at": "2024-08-13T21:25:35.272605Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.275115Z", "completed_at": "2024-08-13T21:25:35.275125Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018404722213745117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_market_registered_arbitrum_sepolia_market_id.78637df31f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.278397Z", "completed_at": "2024-08-13T21:25:35.293797Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.295358Z", "completed_at": "2024-08-13T21:25:35.295367Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022298097610473633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_market_registered_base_sepolia_event_name__MarketRegistered.52bda7875b", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.289687Z", "completed_at": "2024-08-13T21:25:35.296294Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.302451Z", "completed_at": "2024-08-13T21:25:35.302461Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026034116744995117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_block_timestamp.209ede7f48", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.283393Z", "completed_at": "2024-08-13T21:25:35.296871Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.303395Z", "completed_at": "2024-08-13T21:25:35.303405Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.029044628143310547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_block_number.fd8cdd563c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.297410Z", "completed_at": "2024-08-13T21:25:35.305083Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.307621Z", "completed_at": "2024-08-13T21:25:35.307628Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018798112869262695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_contract.8cc1db09cc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.309676Z", "completed_at": "2024-08-13T21:25:35.320597Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.326142Z", "completed_at": "2024-08-13T21:25:35.326152Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02188563346862793, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_event_name.c0f99c65cf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.316535Z", "completed_at": "2024-08-13T21:25:35.327188Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.334709Z", "completed_at": "2024-08-13T21:25:35.334719Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026345014572143555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_id.6150b3d520", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.321198Z", "completed_at": "2024-08-13T21:25:35.334112Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.336424Z", "completed_at": "2024-08-13T21:25:35.336432Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027451753616333008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_market.c1fe5f76b8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.327864Z", "completed_at": "2024-08-13T21:25:35.337250Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.339772Z", "completed_at": "2024-08-13T21:25:35.339780Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024036645889282227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_market_id.dc3f59aaaf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.341246Z", "completed_at": "2024-08-13T21:25:35.348030Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.357546Z", "completed_at": "2024-08-13T21:25:35.357559Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022022485733032227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_sender.0ec521b301", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.349207Z", "completed_at": "2024-08-13T21:25:35.359981Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.365953Z", "completed_at": "2024-08-13T21:25:35.365961Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025431156158447266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_transaction_hash.de234a0b4d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.353282Z", "completed_at": "2024-08-13T21:25:35.360553Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.366817Z", "completed_at": "2024-08-13T21:25:35.366827Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02150726318359375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_market_registered_base_sepolia_id.1efe4c6aec", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.361159Z", "completed_at": "2024-08-13T21:25:35.368452Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.374691Z", "completed_at": "2024-08-13T21:25:35.374701Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02622222900390625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_market_registered_base_sepolia_market_id.37a04d292a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.370367Z", "completed_at": "2024-08-13T21:25:35.377779Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.380168Z", "completed_at": "2024-08-13T21:25:35.380177Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.015032768249511719, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_market_registered_base_mainnet_event_name__MarketRegistered.b297851ae7", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.381041Z", "completed_at": "2024-08-13T21:25:35.392321Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.398246Z", "completed_at": "2024-08-13T21:25:35.398254Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02256155014038086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_block_number.14cb004b58", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.386542Z", "completed_at": "2024-08-13T21:25:35.397030Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.399287Z", "completed_at": "2024-08-13T21:25:35.399295Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02299046516418457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_block_timestamp.41726ce377", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.392895Z", "completed_at": "2024-08-13T21:25:35.400114Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.402802Z", "completed_at": "2024-08-13T21:25:35.402810Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023340940475463867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_contract.0187a84f0b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.403714Z", "completed_at": "2024-08-13T21:25:35.410519Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.416570Z", "completed_at": "2024-08-13T21:25:35.416580Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01910233497619629, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_event_name.c5054f10bf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.412285Z", "completed_at": "2024-08-13T21:25:35.429243Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.431214Z", "completed_at": "2024-08-13T21:25:35.431224Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02354741096496582, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_id.58185ba1ad", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.417488Z", "completed_at": "2024-08-13T21:25:35.429926Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.432666Z", "completed_at": "2024-08-13T21:25:35.432674Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02437734603881836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_market.6a5311f9b7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.423423Z", "completed_at": "2024-08-13T21:25:35.432087Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.434774Z", "completed_at": "2024-08-13T21:25:35.434784Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023229360580444336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_market_id.8fa95d0adc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.436375Z", "completed_at": "2024-08-13T21:25:35.443309Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.449138Z", "completed_at": "2024-08-13T21:25:35.449146Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0187833309173584, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_sender.9825c848f6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.445042Z", "completed_at": "2024-08-13T21:25:35.455673Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.461613Z", "completed_at": "2024-08-13T21:25:35.461623Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02119922637939453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_transaction_hash.7e49be40a9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.450583Z", "completed_at": "2024-08-13T21:25:35.461068Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.463718Z", "completed_at": "2024-08-13T21:25:35.463728Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0218505859375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_market_registered_base_mainnet_id.b0e87b4cdb", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.456254Z", "completed_at": "2024-08-13T21:25:35.463117Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.469667Z", "completed_at": "2024-08-13T21:25:35.469676Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02593398094177246, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_market_registered_base_mainnet_market_id.e03ba7f671", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.465280Z", "completed_at": "2024-08-13T21:25:35.473481Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.475832Z", "completed_at": "2024-08-13T21:25:35.475842Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.015523195266723633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_market_registered_eth_mainnet_event_name__MarketRegistered.db8e4ac8d2", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.476705Z", "completed_at": "2024-08-13T21:25:35.493083Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.495472Z", "completed_at": "2024-08-13T21:25:35.495480Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024111270904541016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_block_number.7eec7e8f2c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.483047Z", "completed_at": "2024-08-13T21:25:35.493637Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.496349Z", "completed_at": "2024-08-13T21:25:35.496356Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023540019989013672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_block_timestamp.0b8054a50c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.488114Z", "completed_at": "2024-08-13T21:25:35.494910Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.501296Z", "completed_at": "2024-08-13T21:25:35.501307Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026821374893188477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_contract.f582853f53", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.497212Z", "completed_at": "2024-08-13T21:25:35.505338Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.507744Z", "completed_at": "2024-08-13T21:25:35.507754Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.015402078628540039, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_event_name.0d26c502fa", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.515149Z", "completed_at": "2024-08-13T21:25:35.526182Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.528489Z", "completed_at": "2024-08-13T21:25:35.528497Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022098541259765625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_market.fccda96dc8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.510971Z", "completed_at": "2024-08-13T21:25:35.526739Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.529343Z", "completed_at": "2024-08-13T21:25:35.529350Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023557186126708984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_id.35b1e4e0f3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.519353Z", "completed_at": "2024-08-13T21:25:35.527361Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.530239Z", "completed_at": "2024-08-13T21:25:35.530246Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023203372955322266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_market_id.2e945dec67", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.531078Z", "completed_at": "2024-08-13T21:25:35.538107Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.540504Z", "completed_at": "2024-08-13T21:25:35.540514Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.015483379364013672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_sender.6e63d1acbc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.542490Z", "completed_at": "2024-08-13T21:25:35.556641Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.559133Z", "completed_at": "2024-08-13T21:25:35.559141Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0217893123626709, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_transaction_hash.7c581f179e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.547412Z", "completed_at": "2024-08-13T21:25:35.558003Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.563788Z", "completed_at": "2024-08-13T21:25:35.563796Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025241851806640625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_market_registered_eth_mainnet_id.ae732b851b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.551582Z", "completed_at": "2024-08-13T21:25:35.558544Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.564668Z", "completed_at": "2024-08-13T21:25:35.564680Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025487899780273438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_market_registered_eth_mainnet_market_id.496c543395", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.560000Z", "completed_at": "2024-08-13T21:25:35.567178Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.569652Z", "completed_at": "2024-08-13T21:25:35.569660Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.013895988464355469, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n \n credit_capacity / 1e18\n AS credit_capacity,\n \n net_issuance / 1e18\n AS net_issuance,\n \n token_amount / 1e18\n AS token_amount\nFROM\n market_updated", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.573852Z", "completed_at": "2024-08-13T21:25:35.590181Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.596393Z", "completed_at": "2024-08-13T21:25:35.596402Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028085947036743164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.b6d0a34129", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.579665Z", "completed_at": "2024-08-13T21:25:35.595214Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.597492Z", "completed_at": "2024-08-13T21:25:35.597500Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02856755256652832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_deposited_collateral_value__True__0.f78663cae5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.584760Z", "completed_at": "2024-08-13T21:25:35.595844Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.598951Z", "completed_at": "2024-08-13T21:25:35.598960Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0285489559173584, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_market_id__True__0.8e0b3e9147", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.590912Z", "completed_at": "2024-08-13T21:25:35.598413Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.601204Z", "completed_at": "2024-08-13T21:25:35.601212Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.017176151275634766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_token_amount__True__0.bfc2ca181b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.607661Z", "completed_at": "2024-08-13T21:25:35.622515Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.627914Z", "completed_at": "2024-08-13T21:25:35.627925Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025308847427368164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_block_number.eea9214a4b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.611785Z", "completed_at": "2024-08-13T21:25:35.623075Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.629002Z", "completed_at": "2024-08-13T21:25:35.629016Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02571249008178711, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_block_timestamp.2bd177f07f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.616596Z", "completed_at": "2024-08-13T21:25:35.629843Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.632475Z", "completed_at": "2024-08-13T21:25:35.632484Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027867555618286133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_collateral_type.5ccd7ace00", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.623668Z", "completed_at": "2024-08-13T21:25:35.631248Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.633933Z", "completed_at": "2024-08-13T21:25:35.633940Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027593612670898438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_contract.3ed1c1d699", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.638494Z", "completed_at": "2024-08-13T21:25:35.648990Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.658550Z", "completed_at": "2024-08-13T21:25:35.658564Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02535724639892578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_credit_capacity.09c391d59d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.643347Z", "completed_at": "2024-08-13T21:25:35.653770Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.659739Z", "completed_at": "2024-08-13T21:25:35.659749Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025069713592529297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_deposited_collateral_value.45b375717f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.654435Z", "completed_at": "2024-08-13T21:25:35.661467Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.663954Z", "completed_at": "2024-08-13T21:25:35.663964Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02147984504699707, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_id.6634d79b97", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.649634Z", "completed_at": "2024-08-13T21:25:35.662666Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.665419Z", "completed_at": "2024-08-13T21:25:35.665429Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027632474899291992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_event_name.1198969560", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.674949Z", "completed_at": "2024-08-13T21:25:35.681301Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.690764Z", "completed_at": "2024-08-13T21:25:35.690774Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026083946228027344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_net_issuance.016c84545c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.668783Z", "completed_at": "2024-08-13T21:25:35.681867Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.691805Z", "completed_at": "2024-08-13T21:25:35.691813Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028577327728271484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_market_id.92b8458e5c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.686457Z", "completed_at": "2024-08-13T21:25:35.693727Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.696132Z", "completed_at": "2024-08-13T21:25:35.696139Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.017205476760864258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_token_amount.b89be9c43a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.682427Z", "completed_at": "2024-08-13T21:25:35.694275Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.696997Z", "completed_at": "2024-08-13T21:25:35.697005Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022768735885620117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_sender.fe1f2d4275", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.700964Z", "completed_at": "2024-08-13T21:25:35.711021Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.717595Z", "completed_at": "2024-08-13T21:25:35.717608Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022230863571166992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_transaction_hash.9db6bb9d6b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.706345Z", "completed_at": "2024-08-13T21:25:35.718569Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.724905Z", "completed_at": "2024-08-13T21:25:35.724913Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02716660499572754, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_market_updated_arbitrum_mainnet_id.ef7b2e2622", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.712415Z", "completed_at": "2024-08-13T21:25:35.724309Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.726566Z", "completed_at": "2024-08-13T21:25:35.726575Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021648406982421875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n \n credit_capacity / 1e18\n AS credit_capacity,\n \n net_issuance / 1e18\n AS net_issuance,\n \n token_amount / 1e18\n AS token_amount\nFROM\n market_updated", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.719178Z", "completed_at": "2024-08-13T21:25:35.727452Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.730021Z", "completed_at": "2024-08-13T21:25:35.730029Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02441573143005371, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.4a106f8344", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.731808Z", "completed_at": "2024-08-13T21:25:35.738828Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.748715Z", "completed_at": "2024-08-13T21:25:35.748726Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022940397262573242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_deposited_collateral_value__True__0.bb2ac3f8fc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.740051Z", "completed_at": "2024-08-13T21:25:35.750400Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.756385Z", "completed_at": "2024-08-13T21:25:35.756394Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02531266212463379, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_market_id__True__0.f774945861", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.744372Z", "completed_at": "2024-08-13T21:25:35.751639Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.757922Z", "completed_at": "2024-08-13T21:25:35.757929Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021850109100341797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_token_amount__True__0.33dea408c4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.752279Z", "completed_at": "2024-08-13T21:25:35.759550Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.762036Z", "completed_at": "2024-08-13T21:25:35.762047Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02271246910095215, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_block_number.18b9e7bff4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.762905Z", "completed_at": "2024-08-13T21:25:35.771118Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.780525Z", "completed_at": "2024-08-13T21:25:35.780533Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023325443267822266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_block_timestamp.f0ccbe740a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.771669Z", "completed_at": "2024-08-13T21:25:35.782180Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.788175Z", "completed_at": "2024-08-13T21:25:35.788182Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026859760284423828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_collateral_type.0163e724c2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.776481Z", "completed_at": "2024-08-13T21:25:35.787577Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.789785Z", "completed_at": "2024-08-13T21:25:35.789794Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021424531936645508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_contract.925fa67624", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.783552Z", "completed_at": "2024-08-13T21:25:35.790672Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.793147Z", "completed_at": "2024-08-13T21:25:35.793155Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.017524242401123047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_credit_capacity.ed07eaef21", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.794616Z", "completed_at": "2024-08-13T21:25:35.801725Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.812423Z", "completed_at": "2024-08-13T21:25:35.812432Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02347588539123535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_deposited_collateral_value.2a9afd7205", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.806934Z", "completed_at": "2024-08-13T21:25:35.814989Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.820855Z", "completed_at": "2024-08-13T21:25:35.820866Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021988868713378906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_id.087024faa4", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.802866Z", "completed_at": "2024-08-13T21:25:35.815557Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.821855Z", "completed_at": "2024-08-13T21:25:35.821862Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027946949005126953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_event_name.07d4bde491", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.816128Z", "completed_at": "2024-08-13T21:25:35.824069Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.830186Z", "completed_at": "2024-08-13T21:25:35.830194Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02803492546081543, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_market_id.4d2767c0b4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.825342Z", "completed_at": "2024-08-13T21:25:35.833037Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.839324Z", "completed_at": "2024-08-13T21:25:35.839334Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019222497940063477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_net_issuance.ab387b275f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.834243Z", "completed_at": "2024-08-13T21:25:35.846064Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.852382Z", "completed_at": "2024-08-13T21:25:35.852394Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023038387298583984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_sender.b4216822d2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.840225Z", "completed_at": "2024-08-13T21:25:35.851805Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.854501Z", "completed_at": "2024-08-13T21:25:35.854509Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023548364639282227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_token_amount.e980630f1e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.846802Z", "completed_at": "2024-08-13T21:25:35.853958Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.861834Z", "completed_at": "2024-08-13T21:25:35.861842Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023337364196777344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_transaction_hash.697e3dd319", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.856064Z", "completed_at": "2024-08-13T21:25:35.864819Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.867324Z", "completed_at": "2024-08-13T21:25:35.867334Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.016322612762451172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_market_updated_arbitrum_sepolia_id.7ed403a10d", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.868791Z", "completed_at": "2024-08-13T21:25:35.882836Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.884383Z", "completed_at": "2024-08-13T21:25:35.884392Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021012306213378906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_market_updated_base_mainnet", "compiled": true, "compiled_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n \n credit_capacity / 1e18\n AS credit_capacity,\n \n net_issuance / 1e18\n AS net_issuance,\n \n token_amount / 1e18\n AS token_amount\nFROM\n market_updated", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.878474Z", "completed_at": "2024-08-13T21:25:35.885331Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.888079Z", "completed_at": "2024-08-13T21:25:35.888087Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021513700485229492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_deposited_collateral_value__True__0.3945f7eca1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.873974Z", "completed_at": "2024-08-13T21:25:35.887149Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.894143Z", "completed_at": "2024-08-13T21:25:35.894152Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028835058212280273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.06e57bf5c5", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.888982Z", "completed_at": "2024-08-13T21:25:35.896580Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.902879Z", "completed_at": "2024-08-13T21:25:35.902889Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01953864097595215, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_market_id__True__0.ab7b335af7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.898492Z", "completed_at": "2024-08-13T21:25:35.906535Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.917409Z", "completed_at": "2024-08-13T21:25:35.917417Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02415156364440918, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_token_amount__True__0.159f754b68", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.907133Z", "completed_at": "2024-08-13T21:25:35.919087Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.925171Z", "completed_at": "2024-08-13T21:25:35.925179Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027403593063354492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_block_number.e9e83211a7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.913281Z", "completed_at": "2024-08-13T21:25:35.920505Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.926710Z", "completed_at": "2024-08-13T21:25:35.926718Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02285003662109375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_block_timestamp.648a5f6e8c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.921072Z", "completed_at": "2024-08-13T21:25:35.928473Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.930915Z", "completed_at": "2024-08-13T21:25:35.930923Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018375635147094727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_collateral_type.6e2d5502d4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.931831Z", "completed_at": "2024-08-13T21:25:35.938446Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.948058Z", "completed_at": "2024-08-13T21:25:35.948067Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022085905075073242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_contract.6d90834e3f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.939011Z", "completed_at": "2024-08-13T21:25:35.950423Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.957832Z", "completed_at": "2024-08-13T21:25:35.957841Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027666568756103516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_credit_capacity.4cad1dd5dd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.943760Z", "completed_at": "2024-08-13T21:25:35.951084Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.958708Z", "completed_at": "2024-08-13T21:25:35.958716Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022905588150024414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_deposited_collateral_value.905a08bfbb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.951687Z", "completed_at": "2024-08-13T21:25:35.960919Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.967019Z", "completed_at": "2024-08-13T21:25:35.967027Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024060487747192383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_event_name.6afe397967", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.962229Z", "completed_at": "2024-08-13T21:25:35.969240Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.975149Z", "completed_at": "2024-08-13T21:25:35.975159Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018141984939575195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_id.bdb44c0b54", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.971029Z", "completed_at": "2024-08-13T21:25:35.981659Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.983577Z", "completed_at": "2024-08-13T21:25:35.983585Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.017380475997924805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_market_id.de78147356", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.976758Z", "completed_at": "2024-08-13T21:25:35.984405Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.990507Z", "completed_at": "2024-08-13T21:25:35.990519Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022713661193847656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_net_issuance.334062f568", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.984995Z", "completed_at": "2024-08-13T21:25:35.995566Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:35.997592Z", "completed_at": "2024-08-13T21:25:35.997600Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02154994010925293, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_sender.5b6ff88208", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:35.991538Z", "completed_at": "2024-08-13T21:25:35.999045Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.006404Z", "completed_at": "2024-08-13T21:25:36.006412Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02362346649169922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_token_amount.ce8694585d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.000926Z", "completed_at": "2024-08-13T21:25:36.009556Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.015457Z", "completed_at": "2024-08-13T21:25:36.015467Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019373416900634766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_transaction_hash.7b8eb5d77d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.010132Z", "completed_at": "2024-08-13T21:25:36.020282Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.022214Z", "completed_at": "2024-08-13T21:25:36.022224Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022687673568725586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_market_updated_base_mainnet_id.b2a5abdd48", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.016451Z", "completed_at": "2024-08-13T21:25:36.027388Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.029513Z", "completed_at": "2024-08-13T21:25:36.029523Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021710872650146484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_market_updated_base_sepolia", "compiled": true, "compiled_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n \n credit_capacity / 1e18\n AS credit_capacity,\n \n net_issuance / 1e18\n AS net_issuance,\n \n token_amount / 1e18\n AS token_amount\nFROM\n market_updated", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.023141Z", "completed_at": "2024-08-13T21:25:36.030929Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.037569Z", "completed_at": "2024-08-13T21:25:36.037581Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0229189395904541, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.97084835ea", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.032924Z", "completed_at": "2024-08-13T21:25:36.040455Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.046713Z", "completed_at": "2024-08-13T21:25:36.046721Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01873922348022461, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_deposited_collateral_value__True__0.ff17627b64", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.041081Z", "completed_at": "2024-08-13T21:25:36.053524Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.055624Z", "completed_at": "2024-08-13T21:25:36.055635Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024178743362426758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_market_id__True__0.c2038f3200", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.047747Z", "completed_at": "2024-08-13T21:25:36.060520Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.062559Z", "completed_at": "2024-08-13T21:25:36.062570Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023554563522338867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_token_amount__True__0.00d32c5847", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.056543Z", "completed_at": "2024-08-13T21:25:36.063490Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.065867Z", "completed_at": "2024-08-13T21:25:36.065875Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019870996475219727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_block_number.450e88640c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.066727Z", "completed_at": "2024-08-13T21:25:36.077031Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.079060Z", "completed_at": "2024-08-13T21:25:36.079070Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01806926727294922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_block_timestamp.66be40faea", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.072925Z", "completed_at": "2024-08-13T21:25:36.079988Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.085904Z", "completed_at": "2024-08-13T21:25:36.085913Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021415233612060547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_collateral_type.a64be17284", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.080527Z", "completed_at": "2024-08-13T21:25:36.091006Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.093225Z", "completed_at": "2024-08-13T21:25:36.093235Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021815776824951172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_contract.cf139c06ed", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.086873Z", "completed_at": "2024-08-13T21:25:36.094110Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.096514Z", "completed_at": "2024-08-13T21:25:36.096521Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01827836036682129, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_credit_capacity.2033e021e1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.097364Z", "completed_at": "2024-08-13T21:25:36.110032Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.115488Z", "completed_at": "2024-08-13T21:25:36.115496Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02387094497680664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_deposited_collateral_value.47b96d9782", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.105207Z", "completed_at": "2024-08-13T21:25:36.116962Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.123136Z", "completed_at": "2024-08-13T21:25:36.123145Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028000593185424805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_event_name.c0e71ec841", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.111397Z", "completed_at": "2024-08-13T21:25:36.118275Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.124675Z", "completed_at": "2024-08-13T21:25:36.124683Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020981311798095703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_id.179b4fa862", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.118881Z", "completed_at": "2024-08-13T21:25:36.126939Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.133053Z", "completed_at": "2024-08-13T21:25:36.133062Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022533893585205078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_market_id.81913bae24", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.128876Z", "completed_at": "2024-08-13T21:25:36.135924Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.141835Z", "completed_at": "2024-08-13T21:25:36.141848Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.017929792404174805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_net_issuance.85d70c9059", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.137075Z", "completed_at": "2024-08-13T21:25:36.148994Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.155147Z", "completed_at": "2024-08-13T21:25:36.155156Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027019739151000977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_sender.b57e7709cd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.142769Z", "completed_at": "2024-08-13T21:25:36.154452Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.156726Z", "completed_at": "2024-08-13T21:25:36.156734Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022899627685546875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_token_amount.a8f7145772", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.150371Z", "completed_at": "2024-08-13T21:25:36.158243Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.160779Z", "completed_at": "2024-08-13T21:25:36.160787Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019679784774780273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_transaction_hash.6351c7ce23", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.161642Z", "completed_at": "2024-08-13T21:25:36.168332Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.177571Z", "completed_at": "2024-08-13T21:25:36.177579Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02166128158569336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_market_updated_base_sepolia_id.945f14ee77", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.168871Z", "completed_at": "2024-08-13T21:25:36.179201Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.185609Z", "completed_at": "2024-08-13T21:25:36.185617Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025561094284057617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_market_updated_eth_mainnet", "compiled": true, "compiled_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n \n credit_capacity / 1e18\n AS credit_capacity,\n \n net_issuance / 1e18\n AS net_issuance,\n \n token_amount / 1e18\n AS token_amount\nFROM\n market_updated", "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.173250Z", "completed_at": "2024-08-13T21:25:36.180604Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.187130Z", "completed_at": "2024-08-13T21:25:36.187138Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02158379554748535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.7de7687ac0", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.181192Z", "completed_at": "2024-08-13T21:25:36.188957Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.191644Z", "completed_at": "2024-08-13T21:25:36.191652Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019121408462524414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_deposited_collateral_value__True__0.06de946dba", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.192506Z", "completed_at": "2024-08-13T21:25:36.205170Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.210652Z", "completed_at": "2024-08-13T21:25:36.210660Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024270057678222656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_market_id__True__0.58438c84b4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.200906Z", "completed_at": "2024-08-13T21:25:36.212216Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.218193Z", "completed_at": "2024-08-13T21:25:36.218201Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0273282527923584, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_token_amount__True__0.fdf0db60b7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.206498Z", "completed_at": "2024-08-13T21:25:36.213538Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.219767Z", "completed_at": "2024-08-13T21:25:36.219775Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02160358428955078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_block_number.f4a7497fbe", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.214150Z", "completed_at": "2024-08-13T21:25:36.221378Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.223934Z", "completed_at": "2024-08-13T21:25:36.223941Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01816534996032715, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_block_timestamp.683bea78d4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.224780Z", "completed_at": "2024-08-13T21:25:36.231484Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.242270Z", "completed_at": "2024-08-13T21:25:36.242279Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023268699645996094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_collateral_type.c83211fd2f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.232050Z", "completed_at": "2024-08-13T21:25:36.244043Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.250160Z", "completed_at": "2024-08-13T21:25:36.250169Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02695488929748535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_contract.97f87c3b4a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.236779Z", "completed_at": "2024-08-13T21:25:36.244621Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.251054Z", "completed_at": "2024-08-13T21:25:36.251066Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022350072860717773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_credit_capacity.baa89e2e5a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.245858Z", "completed_at": "2024-08-13T21:25:36.253462Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.255948Z", "completed_at": "2024-08-13T21:25:36.255956Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01990818977355957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_deposited_collateral_value.93b2bdea02", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.257418Z", "completed_at": "2024-08-13T21:25:36.267706Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.273188Z", "completed_at": "2024-08-13T21:25:36.273196Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021282196044921875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_event_name.6d64c2a842", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.263633Z", "completed_at": "2024-08-13T21:25:36.274126Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.276673Z", "completed_at": "2024-08-13T21:25:36.276683Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021449565887451172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_id.f7dedb5ddb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.269012Z", "completed_at": "2024-08-13T21:25:36.276058Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.282395Z", "completed_at": "2024-08-13T21:25:36.282405Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02569580078125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_market_id.649fb28529", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.277548Z", "completed_at": "2024-08-13T21:25:36.285297Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.292662Z", "completed_at": "2024-08-13T21:25:36.292672Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024385690689086914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_net_issuance.3e92a0dc4a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.286545Z", "completed_at": "2024-08-13T21:25:36.294792Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.304337Z", "completed_at": "2024-08-13T21:25:36.304345Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022803783416748047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_sender.12a64a65ef", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.300171Z", "completed_at": "2024-08-13T21:25:36.306863Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.309229Z", "completed_at": "2024-08-13T21:25:36.309236Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0172882080078125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_transaction_hash.3a0d8e52a3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.296085Z", "completed_at": "2024-08-13T21:25:36.307497Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.310079Z", "completed_at": "2024-08-13T21:25:36.310089Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024259090423583984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_token_amount.a9f6d4a588", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.310953Z", "completed_at": "2024-08-13T21:25:36.320710Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.322657Z", "completed_at": "2024-08-13T21:25:36.322667Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.017543554306030273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_market_updated_eth_mainnet_id.7cd00231f1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.317039Z", "completed_at": "2024-08-13T21:25:36.323593Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.329695Z", "completed_at": "2024-08-13T21:25:36.329703Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02118229866027832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pools_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pools_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.324691Z", "completed_at": "2024-08-13T21:25:36.337277Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.340041Z", "completed_at": "2024-08-13T21:25:36.340050Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020025968551635742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_pool_created_arbitrum_mainnet_event_name__PoolCreated.e7fda490fd", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.330574Z", "completed_at": "2024-08-13T21:25:36.339433Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.345670Z", "completed_at": "2024-08-13T21:25:36.345678Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024477720260620117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_pool_created_arbitrum_mainnet_pool_id__True__0.fc42e6b4ce", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.341556Z", "completed_at": "2024-08-13T21:25:36.348721Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.354715Z", "completed_at": "2024-08-13T21:25:36.354723Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01820540428161621, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_block_number.184c04858e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.349883Z", "completed_at": "2024-08-13T21:25:36.356933Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.366328Z", "completed_at": "2024-08-13T21:25:36.366336Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025508880615234375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_block_timestamp.4bcfbab318", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.358169Z", "completed_at": "2024-08-13T21:25:36.368895Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.371296Z", "completed_at": "2024-08-13T21:25:36.371304Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0221407413482666, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_contract.ad227a594e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.362258Z", "completed_at": "2024-08-13T21:25:36.369510Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.372155Z", "completed_at": "2024-08-13T21:25:36.372163Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018176794052124023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_event_name.67b202a2ae", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.373001Z", "completed_at": "2024-08-13T21:25:36.384788Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.386993Z", "completed_at": "2024-08-13T21:25:36.387004Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019867658615112305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_id.b0e9e6535d", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.379273Z", "completed_at": "2024-08-13T21:25:36.387932Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.390275Z", "completed_at": "2024-08-13T21:25:36.390283Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01973891258239746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_owner.749821fb46", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.391161Z", "completed_at": "2024-08-13T21:25:36.401020Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.403441Z", "completed_at": "2024-08-13T21:25:36.403452Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018032073974609375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_pool_id.ce6f3bd570", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.395312Z", "completed_at": "2024-08-13T21:25:36.402191Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.408443Z", "completed_at": "2024-08-13T21:25:36.408453Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022279739379882812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_sender.b85ac4e404", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.404314Z", "completed_at": "2024-08-13T21:25:36.410981Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.417116Z", "completed_at": "2024-08-13T21:25:36.417127Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.017795562744140625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_transaction_hash.762082599b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.412264Z", "completed_at": "2024-08-13T21:25:36.420041Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.424997Z", "completed_at": "2024-08-13T21:25:36.425009Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022330522537231445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_pool_created_arbitrum_mainnet_id.4a0435d902", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.421268Z", "completed_at": "2024-08-13T21:25:36.434506Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.440851Z", "completed_at": "2024-08-13T21:25:36.440865Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02457571029663086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pools_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pools_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.426011Z", "completed_at": "2024-08-13T21:25:36.439556Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.442083Z", "completed_at": "2024-08-13T21:25:36.442098Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024126768112182617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_pool_created_arbitrum_sepolia_event_name__PoolCreated.d04166c685", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.435122Z", "completed_at": "2024-08-13T21:25:36.443011Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.445756Z", "completed_at": "2024-08-13T21:25:36.445764Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02148604393005371, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_pool_created_arbitrum_sepolia_pool_id__True__0.d3bc479935", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.446627Z", "completed_at": "2024-08-13T21:25:36.454372Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.464472Z", "completed_at": "2024-08-13T21:25:36.464484Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024404525756835938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_block_number.28a66d0e74", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.455626Z", "completed_at": "2024-08-13T21:25:36.471271Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.473273Z", "completed_at": "2024-08-13T21:25:36.473282Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022362232208251953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_block_timestamp.fd0d1a2266", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.460203Z", "completed_at": "2024-08-13T21:25:36.471886Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.474208Z", "completed_at": "2024-08-13T21:25:36.474218Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022513628005981445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_contract.bd9da8f8fc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.467076Z", "completed_at": "2024-08-13T21:25:36.475032Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.477592Z", "completed_at": "2024-08-13T21:25:36.477601Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022760629653930664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_event_name.9148e96626", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.478498Z", "completed_at": "2024-08-13T21:25:36.493894Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.499777Z", "completed_at": "2024-08-13T21:25:36.499792Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027419090270996094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_id.2ecf600861", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.489261Z", "completed_at": "2024-08-13T21:25:36.500833Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.507134Z", "completed_at": "2024-08-13T21:25:36.507146Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0220489501953125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_owner.980ce0b630", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.494662Z", "completed_at": "2024-08-13T21:25:36.505625Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.508329Z", "completed_at": "2024-08-13T21:25:36.508340Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022605419158935547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_pool_id.1fccbc8d94", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.501420Z", "completed_at": "2024-08-13T21:25:36.509157Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.511752Z", "completed_at": "2024-08-13T21:25:36.511760Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023285865783691406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_sender.999d6ba1d5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.515071Z", "completed_at": "2024-08-13T21:25:36.530482Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.531994Z", "completed_at": "2024-08-13T21:25:36.532004Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022368907928466797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_transaction_hash.09e0ac3340", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.521476Z", "completed_at": "2024-08-13T21:25:36.532936Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.539248Z", "completed_at": "2024-08-13T21:25:36.539257Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026179075241088867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_pool_created_arbitrum_sepolia_id.520ef444f0", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.525712Z", "completed_at": "2024-08-13T21:25:36.533537Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.540227Z", "completed_at": "2024-08-13T21:25:36.540235Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026551246643066406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pools_base_mainnet", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_pools_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.534080Z", "completed_at": "2024-08-13T21:25:36.541822Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.544564Z", "completed_at": "2024-08-13T21:25:36.544574Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023909568786621094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_pool_created_base_mainnet_event_name__PoolCreated.a1f7123964", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.546634Z", "completed_at": "2024-08-13T21:25:36.553867Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.563802Z", "completed_at": "2024-08-13T21:25:36.563812Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022701501846313477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_pool_created_base_mainnet_pool_id__True__0.39f67d8bfc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.558689Z", "completed_at": "2024-08-13T21:25:36.569026Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.571178Z", "completed_at": "2024-08-13T21:25:36.571188Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025255203247070312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_block_timestamp.94505d3912", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.554431Z", "completed_at": "2024-08-13T21:25:36.570376Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.573245Z", "completed_at": "2024-08-13T21:25:36.573253Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027918100357055664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_block_number.8ef3c64233", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.564930Z", "completed_at": "2024-08-13T21:25:36.572046Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.574796Z", "completed_at": "2024-08-13T21:25:36.574804Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021646499633789062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_contract.6f3850c4d8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.578187Z", "completed_at": "2024-08-13T21:25:36.586426Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.595955Z", "completed_at": "2024-08-13T21:25:36.595966Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023449182510375977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_event_name.0770467455", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.587006Z", "completed_at": "2024-08-13T21:25:36.600989Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.603320Z", "completed_at": "2024-08-13T21:25:36.603331Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02651524543762207, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_id.44cc56adee", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.591808Z", "completed_at": "2024-08-13T21:25:36.602598Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.605480Z", "completed_at": "2024-08-13T21:25:36.605488Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0215911865234375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_owner.875044313e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.596977Z", "completed_at": "2024-08-13T21:25:36.604324Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.607023Z", "completed_at": "2024-08-13T21:25:36.607031Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0219571590423584, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_pool_id.d63bf41661", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.610397Z", "completed_at": "2024-08-13T21:25:36.621457Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.628482Z", "completed_at": "2024-08-13T21:25:36.628492Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02373027801513672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_sender.0c210116c7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.617273Z", "completed_at": "2024-08-13T21:25:36.629438Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.634548Z", "completed_at": "2024-08-13T21:25:36.634556Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025526046752929688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_transaction_hash.88325163ff", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.622587Z", "completed_at": "2024-08-13T21:25:36.634011Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.636297Z", "completed_at": "2024-08-13T21:25:36.636305Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021737337112426758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_pool_created_base_mainnet_id.f5ca162629", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.629984Z", "completed_at": "2024-08-13T21:25:36.637118Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.639670Z", "completed_at": "2024-08-13T21:25:36.639678Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023811817169189453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pools_base_sepolia", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_pools_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.641142Z", "completed_at": "2024-08-13T21:25:36.648473Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.658337Z", "completed_at": "2024-08-13T21:25:36.658348Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022862672805786133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_pool_created_base_sepolia_event_name__PoolCreated.f08bef53a3", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.649630Z", "completed_at": "2024-08-13T21:25:36.661030Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.667137Z", "completed_at": "2024-08-13T21:25:36.667146Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026719093322753906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_pool_created_base_sepolia_pool_id__True__0.b3e7c8b05d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.654030Z", "completed_at": "2024-08-13T21:25:36.665788Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.668126Z", "completed_at": "2024-08-13T21:25:36.668136Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0227048397064209, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_block_number.094a784336", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.661739Z", "completed_at": "2024-08-13T21:25:36.669550Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.677298Z", "completed_at": "2024-08-13T21:25:36.677306Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.028372764587402344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_block_timestamp.770a6f30f6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.671506Z", "completed_at": "2024-08-13T21:25:36.680129Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.682482Z", "completed_at": "2024-08-13T21:25:36.682492Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.016112089157104492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_contract.3347ab7e86", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.683388Z", "completed_at": "2024-08-13T21:25:36.697415Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.699521Z", "completed_at": "2024-08-13T21:25:36.699531Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021460771560668945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_event_name.1dac944daf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.687499Z", "completed_at": "2024-08-13T21:25:36.698097Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.700956Z", "completed_at": "2024-08-13T21:25:36.700964Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022281408309936523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_id.b1a35dd808", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.693307Z", "completed_at": "2024-08-13T21:25:36.700365Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.703122Z", "completed_at": "2024-08-13T21:25:36.703130Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021348237991333008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_owner.de5ae68a1a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.704664Z", "completed_at": "2024-08-13T21:25:36.712427Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.718268Z", "completed_at": "2024-08-13T21:25:36.718277Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0196688175201416, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_pool_id.e6e51130fd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.713523Z", "completed_at": "2024-08-13T21:25:36.730262Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.733034Z", "completed_at": "2024-08-13T21:25:36.733046Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02416372299194336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_sender.40177457bd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.719188Z", "completed_at": "2024-08-13T21:25:36.731910Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.734490Z", "completed_at": "2024-08-13T21:25:36.734501Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024174213409423828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_transaction_hash.c6810d0b49", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.725335Z", "completed_at": "2024-08-13T21:25:36.732449Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.735412Z", "completed_at": "2024-08-13T21:25:36.735420Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023725509643554688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_pool_created_base_sepolia_id.bc373a2eb3", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.736943Z", "completed_at": "2024-08-13T21:25:36.742876Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.745227Z", "completed_at": "2024-08-13T21:25:36.745235Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.014081001281738281, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pools_eth_mainnet", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\"\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_pools_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.746625Z", "completed_at": "2024-08-13T21:25:36.761437Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.763379Z", "completed_at": "2024-08-13T21:25:36.763391Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02194523811340332, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_pool_created_eth_mainnet_event_name__PoolCreated.109464a698", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.751180Z", "completed_at": "2024-08-13T21:25:36.762067Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.764326Z", "completed_at": "2024-08-13T21:25:36.764337Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022135019302368164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_pool_created_eth_mainnet_pool_id__True__0.7c8df298df", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.756857Z", "completed_at": "2024-08-13T21:25:36.765172Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.767724Z", "completed_at": "2024-08-13T21:25:36.767732Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024340391159057617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_block_number.2f99b31050", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.768588Z", "completed_at": "2024-08-13T21:25:36.779006Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.788685Z", "completed_at": "2024-08-13T21:25:36.788698Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026196718215942383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_block_timestamp.edc63e1dd6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.779625Z", "completed_at": "2024-08-13T21:25:36.794084Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.796368Z", "completed_at": "2024-08-13T21:25:36.796380Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021494626998901367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_contract.31bb49a3da", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.783828Z", "completed_at": "2024-08-13T21:25:36.795569Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.798445Z", "completed_at": "2024-08-13T21:25:36.798453Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0228729248046875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_event_name.86049849e6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.789906Z", "completed_at": "2024-08-13T21:25:36.797280Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.800042Z", "completed_at": "2024-08-13T21:25:36.800050Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021703720092773438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_id.d903c0dfc4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.803491Z", "completed_at": "2024-08-13T21:25:36.814488Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.821935Z", "completed_at": "2024-08-13T21:25:36.821946Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024236679077148438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_owner.4ac2c4d7d7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.810388Z", "completed_at": "2024-08-13T21:25:36.827003Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.829277Z", "completed_at": "2024-08-13T21:25:36.829286Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027231454849243164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_pool_id.6662208418", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.815755Z", "completed_at": "2024-08-13T21:25:36.828540Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.831495Z", "completed_at": "2024-08-13T21:25:36.831506Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023850202560424805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_sender.0e2161372e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.822920Z", "completed_at": "2024-08-13T21:25:36.830285Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.833084Z", "completed_at": "2024-08-13T21:25:36.833093Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024123668670654297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_transaction_hash.c51273100e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.836561Z", "completed_at": "2024-08-13T21:25:36.843509Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.854022Z", "completed_at": "2024-08-13T21:25:36.854037Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023347854614257812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_pool_created_eth_mainnet_id.8a7d542185", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.844096Z", "completed_at": "2024-08-13T21:25:36.860066Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.861694Z", "completed_at": "2024-08-13T21:25:36.861705Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02656245231628418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_rewards_claimed_arbitrum_mainnet_event_name__RewardsClaimed.3c1cd34ad1", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.849272Z", "completed_at": "2024-08-13T21:25:36.862559Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.865307Z", "completed_at": "2024-08-13T21:25:36.865316Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024471044540405273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_account_id__True__0.34b4de86db", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.855198Z", "completed_at": "2024-08-13T21:25:36.864038Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.866769Z", "completed_at": "2024-08-13T21:25:36.866777Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02471303939819336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_amount__True__0.d98a3e4cc7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.868988Z", "completed_at": "2024-08-13T21:25:36.882861Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.884866Z", "completed_at": "2024-08-13T21:25:36.884875Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021754741668701172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_pool_id__True__0.1c91c56a7b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.878538Z", "completed_at": "2024-08-13T21:25:36.885785Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.895675Z", "completed_at": "2024-08-13T21:25:36.895687Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028111934661865234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_account_id.657d0a650c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.886353Z", "completed_at": "2024-08-13T21:25:36.896900Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.899366Z", "completed_at": "2024-08-13T21:25:36.899374Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02236032485961914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_amount.b7ad8d34fd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.890582Z", "completed_at": "2024-08-13T21:25:36.898062Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.900827Z", "completed_at": "2024-08-13T21:25:36.900835Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02307915687561035, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_block_number.90a2165709", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.902996Z", "completed_at": "2024-08-13T21:25:36.914142Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.916125Z", "completed_at": "2024-08-13T21:25:36.916135Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018784761428833008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp.830ba4bdac", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.909953Z", "completed_at": "2024-08-13T21:25:36.916955Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.928218Z", "completed_at": "2024-08-13T21:25:36.928230Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02663111686706543, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type.868513a78c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.917546Z", "completed_at": "2024-08-13T21:25:36.930039Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.932442Z", "completed_at": "2024-08-13T21:25:36.932450Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023984670639038086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_contract.dbeede65a0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.923438Z", "completed_at": "2024-08-13T21:25:36.930628Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.933369Z", "completed_at": "2024-08-13T21:25:36.933376Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024184226989746094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_distributor.cfe4797061", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.934850Z", "completed_at": "2024-08-13T21:25:36.941812Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.947772Z", "completed_at": "2024-08-13T21:25:36.947784Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018538236618041992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_event_name.c85b97045f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.943012Z", "completed_at": "2024-08-13T21:25:36.953579Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.959313Z", "completed_at": "2024-08-13T21:25:36.959324Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025223731994628906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_id.ec96b450dd", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.949363Z", "completed_at": "2024-08-13T21:25:36.960915Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.963557Z", "completed_at": "2024-08-13T21:25:36.963567Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02250361442565918, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_pool_id.bd58480578", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.954891Z", "completed_at": "2024-08-13T21:25:36.962943Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.970200Z", "completed_at": "2024-08-13T21:25:36.970211Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02794337272644043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash.b143b485c4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.965035Z", "completed_at": "2024-08-13T21:25:36.974599Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.980819Z", "completed_at": "2024-08-13T21:25:36.980829Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02059340476989746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_rewards_claimed_arbitrum_mainnet_id.0aa80585e9", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.975161Z", "completed_at": "2024-08-13T21:25:36.986932Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.992990Z", "completed_at": "2024-08-13T21:25:36.992999Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028676748275756836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_rewards_claimed_arbitrum_sepolia_event_name__RewardsClaimed.34f660416a", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.982434Z", "completed_at": "2024-08-13T21:25:36.993915Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.996578Z", "completed_at": "2024-08-13T21:25:36.996588Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0227663516998291, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_account_id__True__0.931fbcf6dd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:36.988404Z", "completed_at": "2024-08-13T21:25:36.996009Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:36.998660Z", "completed_at": "2024-08-13T21:25:36.998667Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01915574073791504, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_amount__True__0.4bdbe43c5e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.000267Z", "completed_at": "2024-08-13T21:25:37.011263Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.013230Z", "completed_at": "2024-08-13T21:25:37.013239Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018832921981811523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_pool_id__True__0.8b433a3bc6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.007051Z", "completed_at": "2024-08-13T21:25:37.014144Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.022047Z", "completed_at": "2024-08-13T21:25:37.022058Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024122238159179688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_account_id.f2bf56343c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.015337Z", "completed_at": "2024-08-13T21:25:37.028701Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.031202Z", "completed_at": "2024-08-13T21:25:37.031210Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024992704391479492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_amount.c69c35b9b1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.022953Z", "completed_at": "2024-08-13T21:25:37.030008Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.036323Z", "completed_at": "2024-08-13T21:25:37.036333Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024503231048583984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_block_number.9a6d0e0806", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.032084Z", "completed_at": "2024-08-13T21:25:37.039563Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.046202Z", "completed_at": "2024-08-13T21:25:37.046214Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019025564193725586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp.b87721cc33", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.040151Z", "completed_at": "2024-08-13T21:25:37.048382Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.058365Z", "completed_at": "2024-08-13T21:25:37.058378Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027951478958129883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type.d2183c9d15", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.049657Z", "completed_at": "2024-08-13T21:25:37.061123Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.063490Z", "completed_at": "2024-08-13T21:25:37.063498Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018841266632080078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_contract.d436fcb4ac", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.054181Z", "completed_at": "2024-08-13T21:25:37.062282Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.070411Z", "completed_at": "2024-08-13T21:25:37.070421Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024999380111694336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_distributor.3f6ad9aa55", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.064355Z", "completed_at": "2024-08-13T21:25:37.077580Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.079532Z", "completed_at": "2024-08-13T21:25:37.079540Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020137310028076172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_event_name.a3f0d6ec61", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.073392Z", "completed_at": "2024-08-13T21:25:37.080423Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.082959Z", "completed_at": "2024-08-13T21:25:37.082970Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02026510238647461, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_id.9a1c133f3b", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.083903Z", "completed_at": "2024-08-13T21:25:37.095445Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.101414Z", "completed_at": "2024-08-13T21:25:37.101425Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02339458465576172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_pool_id.a883be69bc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.088415Z", "completed_at": "2024-08-13T21:25:37.100268Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.102420Z", "completed_at": "2024-08-13T21:25:37.102428Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02376270294189453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash.680f286a1c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.096059Z", "completed_at": "2024-08-13T21:25:37.107754Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.109807Z", "completed_at": "2024-08-13T21:25:37.109816Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01732158660888672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_rewards_claimed_arbitrum_sepolia_id.f24f1c4553", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.103372Z", "completed_at": "2024-08-13T21:25:37.111348Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.113844Z", "completed_at": "2024-08-13T21:25:37.113851Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019114255905151367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_rewards_claimed_base_mainnet_event_name__RewardsClaimed.aa2ca50bfd", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.115906Z", "completed_at": "2024-08-13T21:25:37.128786Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.134988Z", "completed_at": "2024-08-13T21:25:37.135000Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024393081665039062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_account_id__True__0.f3a8537aec", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.122662Z", "completed_at": "2024-08-13T21:25:37.134399Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.140691Z", "completed_at": "2024-08-13T21:25:37.140700Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0288693904876709, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_amount__True__0.d32a48611c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.129395Z", "completed_at": "2024-08-13T21:25:37.140119Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.142357Z", "completed_at": "2024-08-13T21:25:37.142365Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027161836624145508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_pool_id__True__0.4091fd0cb1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.136023Z", "completed_at": "2024-08-13T21:25:37.143295Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.145861Z", "completed_at": "2024-08-13T21:25:37.145871Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018085479736328125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_account_id.854e016ff9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.149807Z", "completed_at": "2024-08-13T21:25:37.166065Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.171739Z", "completed_at": "2024-08-13T21:25:37.171752Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027338504791259766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_amount.2d80149737", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.155369Z", "completed_at": "2024-08-13T21:25:37.171010Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.173374Z", "completed_at": "2024-08-13T21:25:37.173382Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026754140853881836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_block_number.4b65195293", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.159638Z", "completed_at": "2024-08-13T21:25:37.172678Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.175625Z", "completed_at": "2024-08-13T21:25:37.175635Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027800559997558594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_block_timestamp.365bd8971d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.166938Z", "completed_at": "2024-08-13T21:25:37.174932Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.177832Z", "completed_at": "2024-08-13T21:25:37.177840Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023296117782592773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_collateral_type.f4a0d97e20", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.182469Z", "completed_at": "2024-08-13T21:25:37.197113Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.202894Z", "completed_at": "2024-08-13T21:25:37.202906Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025814056396484375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_contract.c7544b70ac", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.188006Z", "completed_at": "2024-08-13T21:25:37.202201Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.204612Z", "completed_at": "2024-08-13T21:25:37.204621Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025316715240478516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_distributor.edc7126cd6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.192925Z", "completed_at": "2024-08-13T21:25:37.204074Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.206768Z", "completed_at": "2024-08-13T21:25:37.206776Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025582075119018555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_event_name.8699999c22", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.197873Z", "completed_at": "2024-08-13T21:25:37.205544Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.208482Z", "completed_at": "2024-08-13T21:25:37.208490Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02189803123474121, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_id.e1c2a57eae", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.214340Z", "completed_at": "2024-08-13T21:25:37.230112Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.235961Z", "completed_at": "2024-08-13T21:25:37.235974Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026774883270263672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_pool_id.28e40cfefe", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.220872Z", "completed_at": "2024-08-13T21:25:37.235256Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.237617Z", "completed_at": "2024-08-13T21:25:37.237625Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027084827423095703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_transaction_hash.b63233ece5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.225743Z", "completed_at": "2024-08-13T21:25:37.236971Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.239865Z", "completed_at": "2024-08-13T21:25:37.239872Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027422428131103516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_rewards_claimed_base_mainnet_id.3e937354d7", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.230672Z", "completed_at": "2024-08-13T21:25:37.239287Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.242041Z", "completed_at": "2024-08-13T21:25:37.242048Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028409242630004883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_rewards_claimed_base_sepolia_event_name__RewardsClaimed.813e8d6cab", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.246685Z", "completed_at": "2024-08-13T21:25:37.258023Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.427908Z", "completed_at": "2024-08-13T21:25:37.427926Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.1866452693939209, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_account_id__True__0.56bdf07961", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.252774Z", "completed_at": "2024-08-13T21:25:37.428920Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.431030Z", "completed_at": "2024-08-13T21:25:37.431038Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.18753314018249512, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_amount__True__0.83b60baad2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.258648Z", "completed_at": "2024-08-13T21:25:37.430383Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.433229Z", "completed_at": "2024-08-13T21:25:37.433237Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.18781661987304688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_pool_id__True__0.80a0443cd0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.423075Z", "completed_at": "2024-08-13T21:25:37.432053Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.434859Z", "completed_at": "2024-08-13T21:25:37.434869Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.1835324764251709, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_account_id.35c6ac2750", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.438411Z", "completed_at": "2024-08-13T21:25:37.449375Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.454901Z", "completed_at": "2024-08-13T21:25:37.454910Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022417545318603516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_amount.8d0b56d69c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.445216Z", "completed_at": "2024-08-13T21:25:37.455830Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.462170Z", "completed_at": "2024-08-13T21:25:37.462179Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025263071060180664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_block_number.2341e8ee42", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.450668Z", "completed_at": "2024-08-13T21:25:37.461488Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.463842Z", "completed_at": "2024-08-13T21:25:37.463852Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021380901336669922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_block_timestamp.78d8816d82", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.456400Z", "completed_at": "2024-08-13T21:25:37.464689Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.467195Z", "completed_at": "2024-08-13T21:25:37.467202Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023390531539916992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_collateral_type.44fc9e2622", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.468669Z", "completed_at": "2024-08-13T21:25:37.477390Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.486812Z", "completed_at": "2024-08-13T21:25:37.486825Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023764371871948242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_contract.8063e60014", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.482061Z", "completed_at": "2024-08-13T21:25:37.492365Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.494280Z", "completed_at": "2024-08-13T21:25:37.494289Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02031731605529785, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_event_name.5d0bea85a4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.477983Z", "completed_at": "2024-08-13T21:25:37.492898Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.495747Z", "completed_at": "2024-08-13T21:25:37.495759Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027801513671875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_distributor.cfc3ec6cdd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.487998Z", "completed_at": "2024-08-13T21:25:37.495188Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.497925Z", "completed_at": "2024-08-13T21:25:37.497933Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021202802658081055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_id.a324c0d7d4", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.501988Z", "completed_at": "2024-08-13T21:25:37.512315Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.518916Z", "completed_at": "2024-08-13T21:25:37.518924Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02239680290222168, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_pool_id.e61695fb4f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.508183Z", "completed_at": "2024-08-13T21:25:37.519844Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.525917Z", "completed_at": "2024-08-13T21:25:37.525928Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025946855545043945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_transaction_hash.399851f94f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.513442Z", "completed_at": "2024-08-13T21:25:37.526761Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.529430Z", "completed_at": "2024-08-13T21:25:37.529440Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02817058563232422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_rewards_claimed_base_sepolia_id.b13c8534bb", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.520554Z", "completed_at": "2024-08-13T21:25:37.528199Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.530860Z", "completed_at": "2024-08-13T21:25:37.530869Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0241239070892334, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_rewards_claimed_eth_mainnet_event_name__RewardsClaimed.e5c952f144", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.533059Z", "completed_at": "2024-08-13T21:25:37.540404Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.546565Z", "completed_at": "2024-08-13T21:25:37.546574Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01920008659362793, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_account_id__True__0.7eae5581d0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.540968Z", "completed_at": "2024-08-13T21:25:37.555962Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.558636Z", "completed_at": "2024-08-13T21:25:37.558644Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026982784271240234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_amount__True__0.8d7de0dad3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.547549Z", "completed_at": "2024-08-13T21:25:37.557456Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.560185Z", "completed_at": "2024-08-13T21:25:37.560193Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02126026153564453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_pool_id__True__0.4ee2d574e0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.551897Z", "completed_at": "2024-08-13T21:25:37.558059Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.561044Z", "completed_at": "2024-08-13T21:25:37.561054Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021358251571655273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_account_id.a671c2ed40", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.565125Z", "completed_at": "2024-08-13T21:25:37.578049Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.587234Z", "completed_at": "2024-08-13T21:25:37.587248Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027814626693725586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_amount.aa1ebaa88c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.574053Z", "completed_at": "2024-08-13T21:25:37.588348Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.591007Z", "completed_at": "2024-08-13T21:25:37.591015Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02663278579711914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_block_number.fb82a92db5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.582887Z", "completed_at": "2024-08-13T21:25:37.589871Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.592514Z", "completed_at": "2024-08-13T21:25:37.592522Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021135330200195312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_collateral_type.440762309c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.578795Z", "completed_at": "2024-08-13T21:25:37.590470Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.593357Z", "completed_at": "2024-08-13T21:25:37.593365Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02263784408569336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_block_timestamp.890e664a3c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.597405Z", "completed_at": "2024-08-13T21:25:37.604060Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.614694Z", "completed_at": "2024-08-13T21:25:37.614708Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022934675216674805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_contract.fba4f37c05", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.605196Z", "completed_at": "2024-08-13T21:25:37.620866Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.623425Z", "completed_at": "2024-08-13T21:25:37.623434Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026731014251708984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_distributor.728609281c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.609270Z", "completed_at": "2024-08-13T21:25:37.621452Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.624316Z", "completed_at": "2024-08-13T21:25:37.624324Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022924423217773438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_event_name.b83d684e5d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.615680Z", "completed_at": "2024-08-13T21:25:37.622842Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.625747Z", "completed_at": "2024-08-13T21:25:37.625755Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023677349090576172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_id.d534df2fd8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.628000Z", "completed_at": "2024-08-13T21:25:37.635493Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.641298Z", "completed_at": "2024-08-13T21:25:37.641306Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01921677589416504, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_pool_id.760bae7f85", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.637184Z", "completed_at": "2024-08-13T21:25:37.651686Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.654407Z", "completed_at": "2024-08-13T21:25:37.654416Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02160358428955078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_transaction_hash.db7f7a63db", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.642262Z", "completed_at": "2024-08-13T21:25:37.653250Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.655885Z", "completed_at": "2024-08-13T21:25:37.655892Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022451162338256836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_rewards_claimed_eth_mainnet_id.b73c8da16c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.646293Z", "completed_at": "2024-08-13T21:25:37.653866Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.656728Z", "completed_at": "2024-08-13T21:25:37.656736Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022576332092285156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_rewards_distributed_arbitrum_mainnet_event_name__RewardsDistributed.3370ace359", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.658265Z", "completed_at": "2024-08-13T21:25:37.666946Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.669760Z", "completed_at": "2024-08-13T21:25:37.669768Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.017244338989257812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_amount__True__0.09cd5040a6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.671255Z", "completed_at": "2024-08-13T21:25:37.685253Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.687282Z", "completed_at": "2024-08-13T21:25:37.687292Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021831750869750977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_duration__True__0.00212b4134", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.675768Z", "completed_at": "2024-08-13T21:25:37.685932Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.688734Z", "completed_at": "2024-08-13T21:25:37.688742Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022548198699951172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_pool_id__True__0.d68e3c64d9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.680880Z", "completed_at": "2024-08-13T21:25:37.688195Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.690831Z", "completed_at": "2024-08-13T21:25:37.690839Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02339911460876465, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_amount.efe177b3e7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.692414Z", "completed_at": "2024-08-13T21:25:37.699879Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.706021Z", "completed_at": "2024-08-13T21:25:37.706035Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01963067054748535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_block_number.4692e1b237", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.701058Z", "completed_at": "2024-08-13T21:25:37.717779Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.720510Z", "completed_at": "2024-08-13T21:25:37.720519Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024039745330810547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_block_timestamp.b6efe37fde", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.706923Z", "completed_at": "2024-08-13T21:25:37.719365Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.721959Z", "completed_at": "2024-08-13T21:25:37.721967Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024219036102294922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_collateral_type.d8c598b114", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.712902Z", "completed_at": "2024-08-13T21:25:37.719924Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.722844Z", "completed_at": "2024-08-13T21:25:37.722854Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023659944534301758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_contract.cad4a84b49", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.724420Z", "completed_at": "2024-08-13T21:25:37.731348Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.733661Z", "completed_at": "2024-08-13T21:25:37.733669Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.015053272247314453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_distributor.b8c551ebf5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.739348Z", "completed_at": "2024-08-13T21:25:37.748782Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.750635Z", "completed_at": "2024-08-13T21:25:37.750644Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020049333572387695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_event_name.bb49accedd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.735162Z", "completed_at": "2024-08-13T21:25:37.749334Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.752160Z", "completed_at": "2024-08-13T21:25:37.752168Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022345304489135742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_duration.8dfbbf7a51", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.744339Z", "completed_at": "2024-08-13T21:25:37.751610Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.754322Z", "completed_at": "2024-08-13T21:25:37.754330Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02251124382019043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_id.2d439b2dff", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.755889Z", "completed_at": "2024-08-13T21:25:37.764317Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.770352Z", "completed_at": "2024-08-13T21:25:37.770362Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020568132400512695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_pool_id.06cc36de8b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.766019Z", "completed_at": "2024-08-13T21:25:37.776892Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.783245Z", "completed_at": "2024-08-13T21:25:37.783256Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021851539611816406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_transaction_hash.a791a80876", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.772033Z", "completed_at": "2024-08-13T21:25:37.782613Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.784817Z", "completed_at": "2024-08-13T21:25:37.784824Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021997690200805664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_rewards_distributed_arbitrum_mainnet_id.b2d650e4fd", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.777476Z", "completed_at": "2024-08-13T21:25:37.786358Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.792944Z", "completed_at": "2024-08-13T21:25:37.792953Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.028197526931762695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_rewards_distributed_arbitrum_sepolia_event_name__RewardsDistributed.94958bacc6", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.786998Z", "completed_at": "2024-08-13T21:25:37.795151Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.801423Z", "completed_at": "2024-08-13T21:25:37.801433Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0196382999420166, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_amount__True__0.a57935c0b7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.796959Z", "completed_at": "2024-08-13T21:25:37.810274Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.816341Z", "completed_at": "2024-08-13T21:25:37.816350Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024266719818115234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_duration__True__0.905006d2f0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.803069Z", "completed_at": "2024-08-13T21:25:37.811675Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.817839Z", "completed_at": "2024-08-13T21:25:37.817847Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024025440216064453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_pool_id__True__0.4ca72a296c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.812216Z", "completed_at": "2024-08-13T21:25:37.819581Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.825661Z", "completed_at": "2024-08-13T21:25:37.825669Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02331399917602539, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_amount.8682e416ae", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.820157Z", "completed_at": "2024-08-13T21:25:37.827957Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.834109Z", "completed_at": "2024-08-13T21:25:37.834119Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023270368576049805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_block_number.5fbc655c9b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.829744Z", "completed_at": "2024-08-13T21:25:37.841599Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.847805Z", "completed_at": "2024-08-13T21:25:37.847813Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022886991500854492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_block_timestamp.b3adafb4cf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.835848Z", "completed_at": "2024-08-13T21:25:37.843027Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.849280Z", "completed_at": "2024-08-13T21:25:37.849288Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022748708724975586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_collateral_type.099d0e256e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.843611Z", "completed_at": "2024-08-13T21:25:37.850937Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.858654Z", "completed_at": "2024-08-13T21:25:37.858662Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023529052734375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_contract.7bb7fd8da4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.851622Z", "completed_at": "2024-08-13T21:25:37.860309Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.862695Z", "completed_at": "2024-08-13T21:25:37.862703Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02045464515686035, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_distributor.f184171df4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.863700Z", "completed_at": "2024-08-13T21:25:37.875367Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.881467Z", "completed_at": "2024-08-13T21:25:37.881477Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023558616638183594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_duration.a042625996", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.868886Z", "completed_at": "2024-08-13T21:25:37.875925Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.882362Z", "completed_at": "2024-08-13T21:25:37.882370Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022747516632080078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_event_name.1803af1787", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.876633Z", "completed_at": "2024-08-13T21:25:37.887596Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.889731Z", "completed_at": "2024-08-13T21:25:37.889739Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021604299545288086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_id.4fea69e81a", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.883371Z", "completed_at": "2024-08-13T21:25:37.891278Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.893756Z", "completed_at": "2024-08-13T21:25:37.893764Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01913595199584961, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_pool_id.4ae694bfec", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.895947Z", "completed_at": "2024-08-13T21:25:37.908248Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.914532Z", "completed_at": "2024-08-13T21:25:37.914541Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02399754524230957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_transaction_hash.2ae04c7450", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.901189Z", "completed_at": "2024-08-13T21:25:37.913944Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.920543Z", "completed_at": "2024-08-13T21:25:37.920551Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02879190444946289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_rewards_distributed_arbitrum_sepolia_id.728eef2ccb", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.908944Z", "completed_at": "2024-08-13T21:25:37.919984Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.922225Z", "completed_at": "2024-08-13T21:25:37.922236Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027006149291992188, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_rewards_distributed_base_mainnet_event_name__RewardsDistributed.c4ccd15bed", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.915569Z", "completed_at": "2024-08-13T21:25:37.923747Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.926311Z", "completed_at": "2024-08-13T21:25:37.926319Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01880812644958496, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_amount__True__0.839843f110", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.929620Z", "completed_at": "2024-08-13T21:25:37.944048Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.946110Z", "completed_at": "2024-08-13T21:25:37.946119Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02183842658996582, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_duration__True__0.7efb65f7c3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.934712Z", "completed_at": "2024-08-13T21:25:37.945525Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.953269Z", "completed_at": "2024-08-13T21:25:37.953281Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027746915817260742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_pool_id__True__0.7d779ece26", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.939919Z", "completed_at": "2024-08-13T21:25:37.947005Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.954920Z", "completed_at": "2024-08-13T21:25:37.954931Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02725839614868164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_amount.2580da873a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.947625Z", "completed_at": "2024-08-13T21:25:37.957249Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.959715Z", "completed_at": "2024-08-13T21:25:37.959725Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020743131637573242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_block_number.8a561feed6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.961780Z", "completed_at": "2024-08-13T21:25:37.972425Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.977945Z", "completed_at": "2024-08-13T21:25:37.977955Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021399497985839844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_block_timestamp.3080d49013", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.967395Z", "completed_at": "2024-08-13T21:25:37.978813Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.984960Z", "completed_at": "2024-08-13T21:25:37.984968Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026573657989501953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_collateral_type.7253a5e6ec", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.973060Z", "completed_at": "2024-08-13T21:25:37.983673Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.985957Z", "completed_at": "2024-08-13T21:25:37.985965Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025472164154052734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_contract.5545c1884a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.979571Z", "completed_at": "2024-08-13T21:25:37.987513Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:37.990069Z", "completed_at": "2024-08-13T21:25:37.990076Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018332481384277344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_distributor.eb73b71c1b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.992172Z", "completed_at": "2024-08-13T21:25:37.998919Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.009874Z", "completed_at": "2024-08-13T21:25:38.009888Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023112058639526367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_duration.78ed8fd436", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:37.999499Z", "completed_at": "2024-08-13T21:25:38.015216Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.017314Z", "completed_at": "2024-08-13T21:25:38.017323Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026499032974243164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_event_name.16811bbe2c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.005137Z", "completed_at": "2024-08-13T21:25:38.016523Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.019378Z", "completed_at": "2024-08-13T21:25:38.019387Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027926921844482422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_id.0142695043", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.011072Z", "completed_at": "2024-08-13T21:25:38.018140Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.021031Z", "completed_at": "2024-08-13T21:25:38.021040Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022890090942382812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_pool_id.8ee087c0fc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.024953Z", "completed_at": "2024-08-13T21:25:38.032162Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.041971Z", "completed_at": "2024-08-13T21:25:38.041984Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02340221405029297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_transaction_hash.bc1d7442f3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.032707Z", "completed_at": "2024-08-13T21:25:38.049337Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.051349Z", "completed_at": "2024-08-13T21:25:38.051360Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027951478958129883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_rewards_distributed_base_mainnet_id.8cb2f0871f", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.037590Z", "completed_at": "2024-08-13T21:25:38.049933Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.052796Z", "completed_at": "2024-08-13T21:25:38.052804Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02345442771911621, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_rewards_distributed_base_sepolia_event_name__RewardsDistributed.23760c7762", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.043144Z", "completed_at": "2024-08-13T21:25:38.052225Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.054940Z", "completed_at": "2024-08-13T21:25:38.054947Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02424764633178711, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_amount__True__0.6d7f4124f8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.058929Z", "completed_at": "2024-08-13T21:25:38.069698Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.075231Z", "completed_at": "2024-08-13T21:25:38.075244Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02172112464904785, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_duration__True__0.aca43f41bf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.065287Z", "completed_at": "2024-08-13T21:25:38.080314Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.082425Z", "completed_at": "2024-08-13T21:25:38.082434Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02547478675842285, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_pool_id__True__0.4ad1e16907", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.071070Z", "completed_at": "2024-08-13T21:25:38.081721Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.084646Z", "completed_at": "2024-08-13T21:25:38.084656Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026421308517456055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_amount.ec60c3040c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.076253Z", "completed_at": "2024-08-13T21:25:38.084057Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.086778Z", "completed_at": "2024-08-13T21:25:38.086786Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022876739501953125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_block_number.1404eb5f75", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.088971Z", "completed_at": "2024-08-13T21:25:38.095842Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.103565Z", "completed_at": "2024-08-13T21:25:38.103576Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020237207412719727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_block_timestamp.305338d6ac", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.096978Z", "completed_at": "2024-08-13T21:25:38.112915Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.115196Z", "completed_at": "2024-08-13T21:25:38.115205Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026953697204589844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_collateral_type.d02c77e463", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.108628Z", "completed_at": "2024-08-13T21:25:38.114610Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.117309Z", "completed_at": "2024-08-13T21:25:38.117316Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02220010757446289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_distributor.8e49885144", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.104454Z", "completed_at": "2024-08-13T21:25:38.116143Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.118803Z", "completed_at": "2024-08-13T21:25:38.118810Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025029659271240234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_contract.b51980138b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.122315Z", "completed_at": "2024-08-13T21:25:38.129117Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.138655Z", "completed_at": "2024-08-13T21:25:38.138665Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02210831642150879, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_duration.151d5a6383", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.129670Z", "completed_at": "2024-08-13T21:25:38.145540Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.147652Z", "completed_at": "2024-08-13T21:25:38.147661Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026770353317260742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_event_name.e3a18ecd0c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.134485Z", "completed_at": "2024-08-13T21:25:38.146938Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.149741Z", "completed_at": "2024-08-13T21:25:38.149751Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0233917236328125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_id.0d42a7a31a", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.139870Z", "completed_at": "2024-08-13T21:25:38.149168Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.152056Z", "completed_at": "2024-08-13T21:25:38.152064Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024353742599487305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_pool_id.618ac3407b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.154213Z", "completed_at": "2024-08-13T21:25:38.161333Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.167725Z", "completed_at": "2024-08-13T21:25:38.167737Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019280195236206055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_transaction_hash.9d7346a555", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.162672Z", "completed_at": "2024-08-13T21:25:38.178110Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.179882Z", "completed_at": "2024-08-13T21:25:38.179893Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026407241821289062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_rewards_distributed_base_sepolia_id.fafe19f7d9", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.168673Z", "completed_at": "2024-08-13T21:25:38.180751Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.183277Z", "completed_at": "2024-08-13T21:25:38.183285Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024169921875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_rewards_distributed_eth_mainnet_event_name__RewardsDistributed.fae0bd904b", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.173293Z", "completed_at": "2024-08-13T21:25:38.182015Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.184719Z", "completed_at": "2024-08-13T21:25:38.184727Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024268150329589844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_amount__True__0.43de804120", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.186880Z", "completed_at": "2024-08-13T21:25:38.194115Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.202259Z", "completed_at": "2024-08-13T21:25:38.202269Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021014690399169922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_duration__True__0.7d6965f572", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.194678Z", "completed_at": "2024-08-13T21:25:38.207556Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.213146Z", "completed_at": "2024-08-13T21:25:38.213155Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02768540382385254, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_pool_id__True__0.37dd01cd96", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.203286Z", "completed_at": "2024-08-13T21:25:38.214216Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.216671Z", "completed_at": "2024-08-13T21:25:38.216679Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02401590347290039, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_amount.a39a6908b6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.208118Z", "completed_at": "2024-08-13T21:25:38.216055Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.218696Z", "completed_at": "2024-08-13T21:25:38.218703Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025307178497314453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_block_number.79a91ea969", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.220275Z", "completed_at": "2024-08-13T21:25:38.231430Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.233841Z", "completed_at": "2024-08-13T21:25:38.233849Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019183874130249023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_block_timestamp.f066e2381d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.226503Z", "completed_at": "2024-08-13T21:25:38.233264Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.244464Z", "completed_at": "2024-08-13T21:25:38.244472Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026478052139282227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_collateral_type.2475fcd59d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.234709Z", "completed_at": "2024-08-13T21:25:38.246909Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.249392Z", "completed_at": "2024-08-13T21:25:38.249399Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023703813552856445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_contract.4cb5b10595", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.238825Z", "completed_at": "2024-08-13T21:25:38.248237Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.250802Z", "completed_at": "2024-08-13T21:25:38.250810Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020149946212768555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_distributor.7022e12146", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.252899Z", "completed_at": "2024-08-13T21:25:38.263248Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.265639Z", "completed_at": "2024-08-13T21:25:38.265647Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018176794052124023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_duration.07b5947e7c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.257739Z", "completed_at": "2024-08-13T21:25:38.264490Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.270602Z", "completed_at": "2024-08-13T21:25:38.270610Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021918296813964844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_event_name.193bdd11d3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.266509Z", "completed_at": "2024-08-13T21:25:38.277354Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.279776Z", "completed_at": "2024-08-13T21:25:38.279784Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018083810806274414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_id.cb5898e934", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.271519Z", "completed_at": "2024-08-13T21:25:38.277942Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.280622Z", "completed_at": "2024-08-13T21:25:38.280631Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018124818801879883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_pool_id.059709c3dd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.284003Z", "completed_at": "2024-08-13T21:25:38.295756Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.301801Z", "completed_at": "2024-08-13T21:25:38.301811Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02341938018798828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_transaction_hash.dd811ca405", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.288108Z", "completed_at": "2024-08-13T21:25:38.296884Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.307212Z", "completed_at": "2024-08-13T21:25:38.307226Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02819347381591797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_rewards_distributed_eth_mainnet_id.48f45b85d1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.297462Z", "completed_at": "2024-08-13T21:25:38.309071Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.311718Z", "completed_at": "2024-08-13T21:25:38.311728Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01826763153076172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_usd_burned_arbitrum_mainnet_event_name__UsdBurned.9ecdb75459", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.302773Z", "completed_at": "2024-08-13T21:25:38.310520Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.313200Z", "completed_at": "2024-08-13T21:25:38.313210Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019107818603515625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_account_id__True__0.f8708303cd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.316578Z", "completed_at": "2024-08-13T21:25:38.327918Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.333726Z", "completed_at": "2024-08-13T21:25:38.333741Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02279353141784668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_amount__True__0.2bf9da99f6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.321638Z", "completed_at": "2024-08-13T21:25:38.329035Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.340391Z", "completed_at": "2024-08-13T21:25:38.340403Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027920961380004883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_pool_id__True__0.dad5587ce6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.329632Z", "completed_at": "2024-08-13T21:25:38.342180Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.344796Z", "completed_at": "2024-08-13T21:25:38.344806Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023963451385498047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_account_id.c71695a669", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.334717Z", "completed_at": "2024-08-13T21:25:38.343543Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.346338Z", "completed_at": "2024-08-13T21:25:38.346347Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02017831802368164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_amount.638bb23cb6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.349717Z", "completed_at": "2024-08-13T21:25:38.360108Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.366029Z", "completed_at": "2024-08-13T21:25:38.366042Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021993637084960938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_block_number.9d57cfa9ee", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.354607Z", "completed_at": "2024-08-13T21:25:38.361340Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.371066Z", "completed_at": "2024-08-13T21:25:38.371080Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025501012802124023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_block_timestamp.da67490d2d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.361932Z", "completed_at": "2024-08-13T21:25:38.372975Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.375634Z", "completed_at": "2024-08-13T21:25:38.375644Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021898746490478516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_collateral_type.6f8f53a6c9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.366970Z", "completed_at": "2024-08-13T21:25:38.374431Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.377120Z", "completed_at": "2024-08-13T21:25:38.377130Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018464088439941406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_contract.718a1f61dd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.380578Z", "completed_at": "2024-08-13T21:25:38.392679Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.398726Z", "completed_at": "2024-08-13T21:25:38.398741Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02388906478881836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_event_name.2c934d7229", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.385478Z", "completed_at": "2024-08-13T21:25:38.393898Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.403951Z", "completed_at": "2024-08-13T21:25:38.403966Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02758312225341797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_id.f07377da8d", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.394505Z", "completed_at": "2024-08-13T21:25:38.405892Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.408409Z", "completed_at": "2024-08-13T21:25:38.408419Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023665428161621094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_pool_id.574d8e09b8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.399820Z", "completed_at": "2024-08-13T21:25:38.407836Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.410456Z", "completed_at": "2024-08-13T21:25:38.410464Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01923203468322754, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_sender.1b76ecab38", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.412654Z", "completed_at": "2024-08-13T21:25:38.423164Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.425637Z", "completed_at": "2024-08-13T21:25:38.425646Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0185091495513916, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_transaction_hash.6535b2db90", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.418137Z", "completed_at": "2024-08-13T21:25:38.425093Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.436816Z", "completed_at": "2024-08-13T21:25:38.436825Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027652740478515625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_usd_burned_arbitrum_mainnet_id.1918882dbf", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.426533Z", "completed_at": "2024-08-13T21:25:38.438620Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.441113Z", "completed_at": "2024-08-13T21:25:38.441123Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023703336715698242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_usd_burned_arbitrum_sepolia_event_name__UsdBurned.82b5e1f839", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.430882Z", "completed_at": "2024-08-13T21:25:38.439858Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.442599Z", "completed_at": "2024-08-13T21:25:38.442608Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020287275314331055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_account_id__True__0.2bc68923f9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.446015Z", "completed_at": "2024-08-13T21:25:38.456898Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.462879Z", "completed_at": "2024-08-13T21:25:38.462891Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02252197265625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_amount__True__0.048d31e429", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.451169Z", "completed_at": "2024-08-13T21:25:38.462274Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.468091Z", "completed_at": "2024-08-13T21:25:38.468102Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026215553283691406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_pool_id__True__0.d19a9e58b9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.458233Z", "completed_at": "2024-08-13T21:25:38.468953Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.471619Z", "completed_at": "2024-08-13T21:25:38.471629Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021360158920288086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_account_id.620cecde52", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.463904Z", "completed_at": "2024-08-13T21:25:38.470943Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.473729Z", "completed_at": "2024-08-13T21:25:38.473736Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018264055252075195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_amount.6baf89b24c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.477707Z", "completed_at": "2024-08-13T21:25:38.489166Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.495545Z", "completed_at": "2024-08-13T21:25:38.495561Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02316904067993164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_block_number.a36a988eb1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.481901Z", "completed_at": "2024-08-13T21:25:38.494896Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.500799Z", "completed_at": "2024-08-13T21:25:38.500810Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027823209762573242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_block_timestamp.5bcc977f3d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.490413Z", "completed_at": "2024-08-13T21:25:38.502646Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.505368Z", "completed_at": "2024-08-13T21:25:38.505376Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.028374195098876953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_collateral_type.9bcf375dc5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.496456Z", "completed_at": "2024-08-13T21:25:38.503350Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.506229Z", "completed_at": "2024-08-13T21:25:38.506239Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018656015396118164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_contract.91add9f346", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.510203Z", "completed_at": "2024-08-13T21:25:38.520900Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.527028Z", "completed_at": "2024-08-13T21:25:38.527038Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02245044708251953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_event_name.2334208293", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.515938Z", "completed_at": "2024-08-13T21:25:38.526408Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.533835Z", "completed_at": "2024-08-13T21:25:38.533843Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02682042121887207, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_id.a9d148b478", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.522158Z", "completed_at": "2024-08-13T21:25:38.534675Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.537523Z", "completed_at": "2024-08-13T21:25:38.537532Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02304387092590332, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_pool_id.7bf8dd6882", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.527956Z", "completed_at": "2024-08-13T21:25:38.536948Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.539759Z", "completed_at": "2024-08-13T21:25:38.539769Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024600982666015625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_sender.e732504915", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.543753Z", "completed_at": "2024-08-13T21:25:38.553982Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.563983Z", "completed_at": "2024-08-13T21:25:38.563996Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02570629119873047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_transaction_hash.91ab5b1d0b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.547916Z", "completed_at": "2024-08-13T21:25:38.558841Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.564985Z", "completed_at": "2024-08-13T21:25:38.564996Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026088237762451172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_usd_burned_arbitrum_sepolia_id.65a6dbfca4", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.554583Z", "completed_at": "2024-08-13T21:25:38.565880Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.568534Z", "completed_at": "2024-08-13T21:25:38.568545Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02552008628845215, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_usd_burned_base_mainnet_event_name__UsdBurned.9df46c6616", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.559604Z", "completed_at": "2024-08-13T21:25:38.567280Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.570021Z", "completed_at": "2024-08-13T21:25:38.570031Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01821303367614746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_account_id__True__0.40ca1a8133", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.574635Z", "completed_at": "2024-08-13T21:25:38.586379Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.592432Z", "completed_at": "2024-08-13T21:25:38.592440Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023131608963012695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_amount__True__0.27adfdbff9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.579820Z", "completed_at": "2024-08-13T21:25:38.591725Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.597484Z", "completed_at": "2024-08-13T21:25:38.597495Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026715755462646484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_pool_id__True__0.52120b282a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.587646Z", "completed_at": "2024-08-13T21:25:38.598350Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.601013Z", "completed_at": "2024-08-13T21:25:38.601022Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0270998477935791, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_account_id.b4f53ab613", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.593318Z", "completed_at": "2024-08-13T21:25:38.600398Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.603081Z", "completed_at": "2024-08-13T21:25:38.603088Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02415752410888672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_amount.57fdbdea35", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.607025Z", "completed_at": "2024-08-13T21:25:38.617435Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.628508Z", "completed_at": "2024-08-13T21:25:38.628521Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02675795555114746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_block_number.6f683bcb34", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.611171Z", "completed_at": "2024-08-13T21:25:38.622226Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.629561Z", "completed_at": "2024-08-13T21:25:38.629572Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02720165252685547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_block_timestamp.346c53ef95", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.618043Z", "completed_at": "2024-08-13T21:25:38.630429Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.633081Z", "completed_at": "2024-08-13T21:25:38.633091Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02676868438720703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_collateral_type.e208105e0e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.622888Z", "completed_at": "2024-08-13T21:25:38.631886Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.634555Z", "completed_at": "2024-08-13T21:25:38.634565Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01929330825805664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_contract.dba51aebb5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.639166Z", "completed_at": "2024-08-13T21:25:38.649382Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.658940Z", "completed_at": "2024-08-13T21:25:38.658952Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025109291076660156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_event_name.0bb05d75cc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.644047Z", "completed_at": "2024-08-13T21:25:38.658352Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.660116Z", "completed_at": "2024-08-13T21:25:38.660125Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024776220321655273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_id.7d6df2e91f", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.650066Z", "completed_at": "2024-08-13T21:25:38.661029Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.663597Z", "completed_at": "2024-08-13T21:25:38.663607Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025182008743286133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_pool_id.abf28cfdf6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.654214Z", "completed_at": "2024-08-13T21:25:38.662363Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.665073Z", "completed_at": "2024-08-13T21:25:38.665083Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02185678482055664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_sender.b813be6ecc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.669843Z", "completed_at": "2024-08-13T21:25:38.681712Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.692050Z", "completed_at": "2024-08-13T21:25:38.692061Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027700424194335938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_transaction_hash.d80af383d5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.674777Z", "completed_at": "2024-08-13T21:25:38.686829Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.693061Z", "completed_at": "2024-08-13T21:25:38.693072Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027240514755249023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_usd_burned_base_mainnet_id.5953435682", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.682355Z", "completed_at": "2024-08-13T21:25:38.693924Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.696629Z", "completed_at": "2024-08-13T21:25:38.696639Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027524709701538086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_usd_burned_base_sepolia_event_name__UsdBurned.c736a2b5fd", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.687552Z", "completed_at": "2024-08-13T21:25:38.695411Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.698111Z", "completed_at": "2024-08-13T21:25:38.698121Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024190425872802734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_account_id__True__0.1c3ad25fc6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.707946Z", "completed_at": "2024-08-13T21:25:38.717955Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.724910Z", "completed_at": "2024-08-13T21:25:38.724919Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02603936195373535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_pool_id__True__0.bdbba08629", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.702724Z", "completed_at": "2024-08-13T21:25:38.718618Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.725846Z", "completed_at": "2024-08-13T21:25:38.725854Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028452634811401367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_amount__True__0.2ff0339bf6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.713796Z", "completed_at": "2024-08-13T21:25:38.726684Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.729366Z", "completed_at": "2024-08-13T21:25:38.729375Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027364492416381836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_account_id.8014155212", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.719237Z", "completed_at": "2024-08-13T21:25:38.728754Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.731464Z", "completed_at": "2024-08-13T21:25:38.731472Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024409055709838867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_amount.d577462790", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.735382Z", "completed_at": "2024-08-13T21:25:38.745795Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.755181Z", "completed_at": "2024-08-13T21:25:38.755190Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025066614151000977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_block_number.9acf3a65f4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.739536Z", "completed_at": "2024-08-13T21:25:38.750520Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.756202Z", "completed_at": "2024-08-13T21:25:38.756210Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02548956871032715, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_block_timestamp.d6c5fafe43", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.746389Z", "completed_at": "2024-08-13T21:25:38.757098Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.759724Z", "completed_at": "2024-08-13T21:25:38.759734Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025094270706176758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_collateral_type.1d7071aef1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.751074Z", "completed_at": "2024-08-13T21:25:38.758484Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.761196Z", "completed_at": "2024-08-13T21:25:38.761205Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01759791374206543, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_contract.559c9a6e92", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.765785Z", "completed_at": "2024-08-13T21:25:38.777640Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.787241Z", "completed_at": "2024-08-13T21:25:38.787253Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0267636775970459, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_event_name.2c789d8ccb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.770662Z", "completed_at": "2024-08-13T21:25:38.786610Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.789553Z", "completed_at": "2024-08-13T21:25:38.789561Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02759242057800293, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_id.9208a4e4a2", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.778273Z", "completed_at": "2024-08-13T21:25:38.788431Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.791147Z", "completed_at": "2024-08-13T21:25:38.791155Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026080846786499023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_pool_id.8bd0f688e5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.782413Z", "completed_at": "2024-08-13T21:25:38.788966Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.792024Z", "completed_at": "2024-08-13T21:25:38.792034Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0222322940826416, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_sender.d28854bdf2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.798535Z", "completed_at": "2024-08-13T21:25:38.812309Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.819650Z", "completed_at": "2024-08-13T21:25:38.819664Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026219606399536133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_transaction_hash.07cbe78bce", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.803787Z", "completed_at": "2024-08-13T21:25:38.818984Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.820761Z", "completed_at": "2024-08-13T21:25:38.820772Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025274038314819336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_usd_burned_base_sepolia_id.3b90c11835", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.807936Z", "completed_at": "2024-08-13T21:25:38.822346Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.824879Z", "completed_at": "2024-08-13T21:25:38.824886Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.028202056884765625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_usd_burned_eth_mainnet_event_name__UsdBurned.1eb7853972", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.812894Z", "completed_at": "2024-08-13T21:25:38.822999Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.825749Z", "completed_at": "2024-08-13T21:25:38.825759Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.028479814529418945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_account_id__True__0.6d8f7f7d85", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.829756Z", "completed_at": "2024-08-13T21:25:38.841286Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.850931Z", "completed_at": "2024-08-13T21:25:38.850945Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026811838150024414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_amount__True__0.7cba0ca593", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.835544Z", "completed_at": "2024-08-13T21:25:38.846049Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.852029Z", "completed_at": "2024-08-13T21:25:38.852041Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025524616241455078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_pool_id__True__0.cc44e47fc8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.841953Z", "completed_at": "2024-08-13T21:25:38.853768Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.856315Z", "completed_at": "2024-08-13T21:25:38.856323Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022228479385375977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_account_id.fc5fb3a0e5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.846759Z", "completed_at": "2024-08-13T21:25:38.854989Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.857795Z", "completed_at": "2024-08-13T21:25:38.857802Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023064613342285156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_amount.45ebd0ede8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.861169Z", "completed_at": "2024-08-13T21:25:38.873665Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.883286Z", "completed_at": "2024-08-13T21:25:38.883300Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02779531478881836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_block_number.b5e8a371fc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.865912Z", "completed_at": "2024-08-13T21:25:38.878494Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.884479Z", "completed_at": "2024-08-13T21:25:38.884490Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027402877807617188, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_block_timestamp.616215c03f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.874257Z", "completed_at": "2024-08-13T21:25:38.885493Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.888118Z", "completed_at": "2024-08-13T21:25:38.888127Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02294182777404785, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_collateral_type.6dbc31d2ac", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.879218Z", "completed_at": "2024-08-13T21:25:38.886835Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.889620Z", "completed_at": "2024-08-13T21:25:38.889630Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01813673973083496, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_contract.f9009e6423", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.894276Z", "completed_at": "2024-08-13T21:25:38.904900Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.916174Z", "completed_at": "2024-08-13T21:25:38.916189Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0273287296295166, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_event_name.7f0fc644d5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.899335Z", "completed_at": "2024-08-13T21:25:38.909706Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.917221Z", "completed_at": "2024-08-13T21:25:38.917233Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02683854103088379, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_id.161a49599f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.905560Z", "completed_at": "2024-08-13T21:25:38.918119Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.920796Z", "completed_at": "2024-08-13T21:25:38.920805Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027243614196777344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_pool_id.e4d58d3b63", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.910423Z", "completed_at": "2024-08-13T21:25:38.919555Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.922286Z", "completed_at": "2024-08-13T21:25:38.922296Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023876667022705078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_sender.62bbe0ad28", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.927089Z", "completed_at": "2024-08-13T21:25:38.937356Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.946962Z", "completed_at": "2024-08-13T21:25:38.946977Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025482654571533203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_transaction_hash.e57add79d6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.932023Z", "completed_at": "2024-08-13T21:25:38.941923Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.948119Z", "completed_at": "2024-08-13T21:25:38.948130Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02505660057067871, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_usd_burned_eth_mainnet_id.482b04a60c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.938089Z", "completed_at": "2024-08-13T21:25:38.949020Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.951673Z", "completed_at": "2024-08-13T21:25:38.951682Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025313615798950195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_issuance_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.942620Z", "completed_at": "2024-08-13T21:25:38.950295Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.953159Z", "completed_at": "2024-08-13T21:25:38.953169Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021985530853271484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_usd_minted_arbitrum_mainnet_event_name__UsdMinted.cb75bc5dc7", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.958115Z", "completed_at": "2024-08-13T21:25:38.970477Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.980243Z", "completed_at": "2024-08-13T21:25:38.980255Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027813196182250977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_account_id__True__0.6487cbbb70", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.963350Z", "completed_at": "2024-08-13T21:25:38.975578Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.981260Z", "completed_at": "2024-08-13T21:25:38.981271Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027347326278686523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_amount__True__0.9400183d7a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.971181Z", "completed_at": "2024-08-13T21:25:38.982160Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.984783Z", "completed_at": "2024-08-13T21:25:38.984792Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027385473251342773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_pool_id__True__0.5d700fe50b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.976187Z", "completed_at": "2024-08-13T21:25:38.983456Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:38.986261Z", "completed_at": "2024-08-13T21:25:38.986270Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02380514144897461, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_account_id.9ccf9039ea", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.990930Z", "completed_at": "2024-08-13T21:25:39.001518Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.012503Z", "completed_at": "2024-08-13T21:25:39.012512Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026957035064697266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_amount.f37a3a83d0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:38.995823Z", "completed_at": "2024-08-13T21:25:39.002107Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.013384Z", "completed_at": "2024-08-13T21:25:39.013392Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026345252990722656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_block_number.2c3c8fc1e5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.002654Z", "completed_at": "2024-08-13T21:25:39.014452Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.017091Z", "completed_at": "2024-08-13T21:25:39.017098Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026879549026489258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_block_timestamp.8ca5480dbc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.006780Z", "completed_at": "2024-08-13T21:25:39.015832Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.018564Z", "completed_at": "2024-08-13T21:25:39.018570Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023624658584594727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_collateral_type.0129f350e1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.023163Z", "completed_at": "2024-08-13T21:25:39.033440Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.043075Z", "completed_at": "2024-08-13T21:25:39.043086Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02528071403503418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_contract.317c6e89d1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.028066Z", "completed_at": "2024-08-13T21:25:39.038280Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.044186Z", "completed_at": "2024-08-13T21:25:39.044194Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024803876876831055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_event_name.8c280cde80", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.034150Z", "completed_at": "2024-08-13T21:25:39.045191Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.047749Z", "completed_at": "2024-08-13T21:25:39.047758Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025299072265625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_id.3157330f1c", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.038868Z", "completed_at": "2024-08-13T21:25:39.045786Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.048630Z", "completed_at": "2024-08-13T21:25:39.048637Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0214231014251709, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_pool_id.4593996ffd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.054483Z", "completed_at": "2024-08-13T21:25:39.073441Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.075046Z", "completed_at": "2024-08-13T21:25:39.075056Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025702238082885742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_sender.829a4593b0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.058582Z", "completed_at": "2024-08-13T21:25:39.074174Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.077090Z", "completed_at": "2024-08-13T21:25:39.077100Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02709817886352539, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_transaction_hash.74c68bc07e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.065477Z", "completed_at": "2024-08-13T21:25:39.075976Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.078645Z", "completed_at": "2024-08-13T21:25:39.078654Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02546548843383789, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_usd_minted_arbitrum_mainnet_id.557dbdade9", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.069708Z", "completed_at": "2024-08-13T21:25:39.076548Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.079559Z", "completed_at": "2024-08-13T21:25:39.079566Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0257723331451416, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_issuance_base_mainnet", "compiled": true, "compiled_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.086369Z", "completed_at": "2024-08-13T21:25:39.101178Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.107968Z", "completed_at": "2024-08-13T21:25:39.107977Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027001142501831055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_usd_minted_base_mainnet_event_name__UsdMinted.62f89abcc8", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.092075Z", "completed_at": "2024-08-13T21:25:39.108867Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.111407Z", "completed_at": "2024-08-13T21:25:39.111415Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02813577651977539, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_account_id__True__0.fd790b59ca", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.096554Z", "completed_at": "2024-08-13T21:25:39.109535Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.112272Z", "completed_at": "2024-08-13T21:25:39.112282Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027787208557128906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_amount__True__0.1d256007a1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.101832Z", "completed_at": "2024-08-13T21:25:39.110140Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.113153Z", "completed_at": "2024-08-13T21:25:39.113162Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02805805206298828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_pool_id__True__0.38a3f5fcf9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.119176Z", "completed_at": "2024-08-13T21:25:39.129205Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.138042Z", "completed_at": "2024-08-13T21:25:39.138054Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0241239070892334, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_account_id.ccf3e769fe", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.125144Z", "completed_at": "2024-08-13T21:25:39.138915Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.141640Z", "completed_at": "2024-08-13T21:25:39.141650Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024426937103271484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_amount.196acb6a64", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.129801Z", "completed_at": "2024-08-13T21:25:39.140483Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.143142Z", "completed_at": "2024-08-13T21:25:39.143151Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02532339096069336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_block_number.9528b63fbc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.133890Z", "completed_at": "2024-08-13T21:25:39.141027Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.144004Z", "completed_at": "2024-08-13T21:25:39.144012Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025568723678588867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_block_timestamp.a004821ccd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.148199Z", "completed_at": "2024-08-13T21:25:39.161122Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.170225Z", "completed_at": "2024-08-13T21:25:39.170236Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02785348892211914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_collateral_type.f8bfd4628e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.155564Z", "completed_at": "2024-08-13T21:25:39.171448Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.173997Z", "completed_at": "2024-08-13T21:25:39.174005Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026540517807006836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_contract.f56e539b17", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.161712Z", "completed_at": "2024-08-13T21:25:39.172157Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.174851Z", "completed_at": "2024-08-13T21:25:39.174861Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022552967071533203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_event_name.33ff07927a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.166002Z", "completed_at": "2024-08-13T21:25:39.172773Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.175793Z", "completed_at": "2024-08-13T21:25:39.175801Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02287888526916504, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_id.9cb007fc5c", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.181776Z", "completed_at": "2024-08-13T21:25:39.191967Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.202342Z", "completed_at": "2024-08-13T21:25:39.202353Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02580881118774414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_pool_id.ee8fc13465", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.187894Z", "completed_at": "2024-08-13T21:25:39.203350Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.204954Z", "completed_at": "2024-08-13T21:25:39.204962Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025133132934570312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_sender.363a1c6bc9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.196674Z", "completed_at": "2024-08-13T21:25:39.205763Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.208266Z", "completed_at": "2024-08-13T21:25:39.208274Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02720475196838379, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_usd_minted_base_mainnet_id.476f2a0b45", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.192552Z", "completed_at": "2024-08-13T21:25:39.206941Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.209698Z", "completed_at": "2024-08-13T21:25:39.209706Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.029271602630615234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_transaction_hash.c04da14c24", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.211843Z", "completed_at": "2024-08-13T21:25:39.222713Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.224765Z", "completed_at": "2024-08-13T21:25:39.224774Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018514633178710938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_issuance_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.218364Z", "completed_at": "2024-08-13T21:25:39.225655Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.235884Z", "completed_at": "2024-08-13T21:25:39.235894Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025472402572631836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_usd_minted_arbitrum_sepolia_event_name__UsdMinted.5fd40cc553", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.226216Z", "completed_at": "2024-08-13T21:25:39.237178Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.239717Z", "completed_at": "2024-08-13T21:25:39.239725Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022805213928222656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_account_id__True__0.3ae041bf59", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.230612Z", "completed_at": "2024-08-13T21:25:39.238423Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.241145Z", "completed_at": "2024-08-13T21:25:39.241152Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02352142333984375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_amount__True__0.e93e8d1936", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.243309Z", "completed_at": "2024-08-13T21:25:39.256061Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.257886Z", "completed_at": "2024-08-13T21:25:39.257894Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020204544067382812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_pool_id__True__0.ae99bd6ea3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.250389Z", "completed_at": "2024-08-13T21:25:39.262860Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.268589Z", "completed_at": "2024-08-13T21:25:39.268597Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026706218719482422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_account_id.e8dbb7db41", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.258801Z", "completed_at": "2024-08-13T21:25:39.269425Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.272029Z", "completed_at": "2024-08-13T21:25:39.272037Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023105382919311523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_amount.cd18eb6390", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.263625Z", "completed_at": "2024-08-13T21:25:39.270773Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.273462Z", "completed_at": "2024-08-13T21:25:39.273470Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023830175399780273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_block_number.3319b5e432", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.275611Z", "completed_at": "2024-08-13T21:25:39.282332Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.288429Z", "completed_at": "2024-08-13T21:25:39.288441Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01840949058532715, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_block_timestamp.baa0ed9288", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.282924Z", "completed_at": "2024-08-13T21:25:39.293597Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.300945Z", "completed_at": "2024-08-13T21:25:39.300956Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02676534652709961, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_collateral_type.36a06f20c5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.289422Z", "completed_at": "2024-08-13T21:25:39.302013Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.304691Z", "completed_at": "2024-08-13T21:25:39.304702Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02377033233642578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_contract.71d9365153", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.294257Z", "completed_at": "2024-08-13T21:25:39.303372Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.306167Z", "completed_at": "2024-08-13T21:25:39.306175Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024544715881347656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_event_name.b210011389", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.308379Z", "completed_at": "2024-08-13T21:25:39.315676Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.321778Z", "completed_at": "2024-08-13T21:25:39.321788Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01923537254333496, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_id.07b94c915b", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.316230Z", "completed_at": "2024-08-13T21:25:39.327029Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.333548Z", "completed_at": "2024-08-13T21:25:39.333556Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02661275863647461, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_pool_id.41123c7a06", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.322766Z", "completed_at": "2024-08-13T21:25:39.332999Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.335770Z", "completed_at": "2024-08-13T21:25:39.335778Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02165532112121582, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_sender.b183e1c56f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.327760Z", "completed_at": "2024-08-13T21:25:39.335218Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.337915Z", "completed_at": "2024-08-13T21:25:39.337924Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023072481155395508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_transaction_hash.38f21551fd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.340210Z", "completed_at": "2024-08-13T21:25:39.347051Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.354303Z", "completed_at": "2024-08-13T21:25:39.354312Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019879579544067383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_usd_minted_arbitrum_sepolia_id.d868aed363", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.355207Z", "completed_at": "2024-08-13T21:25:39.365127Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.366951Z", "completed_at": "2024-08-13T21:25:39.366959Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021950721740722656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_usd_minted_base_sepolia_event_name__UsdMinted.d686f1f1af", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.348234Z", "completed_at": "2024-08-13T21:25:39.365671Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.368386Z", "completed_at": "2024-08-13T21:25:39.368397Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028910398483276367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_issuance_base_sepolia", "compiled": true, "compiled_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.359646Z", "completed_at": "2024-08-13T21:25:39.367810Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.370501Z", "completed_at": "2024-08-13T21:25:39.370509Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024189472198486328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_account_id__True__0.8d375d28dd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.372175Z", "completed_at": "2024-08-13T21:25:39.379369Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.385424Z", "completed_at": "2024-08-13T21:25:39.385434Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019286155700683594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_amount__True__0.8db2f09ae2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.381105Z", "completed_at": "2024-08-13T21:25:39.391987Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.399679Z", "completed_at": "2024-08-13T21:25:39.399690Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023083925247192383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_pool_id__True__0.49903b0695", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.387029Z", "completed_at": "2024-08-13T21:25:39.399132Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.401791Z", "completed_at": "2024-08-13T21:25:39.401798Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02389383316040039, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_account_id.56f2a7acd7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.392647Z", "completed_at": "2024-08-13T21:25:39.401233Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.407461Z", "completed_at": "2024-08-13T21:25:39.407471Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02765512466430664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_amount.c1ab51fea3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.403378Z", "completed_at": "2024-08-13T21:25:39.410477Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.412934Z", "completed_at": "2024-08-13T21:25:39.412944Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.014605045318603516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_block_number.37baa764ce", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.414394Z", "completed_at": "2024-08-13T21:25:39.428311Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.429762Z", "completed_at": "2024-08-13T21:25:39.429771Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020687103271484375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_block_timestamp.a33ebf4ef7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.419865Z", "completed_at": "2024-08-13T21:25:39.431501Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.437360Z", "completed_at": "2024-08-13T21:25:39.437368Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026309728622436523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_collateral_type.028faf1711", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.424093Z", "completed_at": "2024-08-13T21:25:39.432038Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.438250Z", "completed_at": "2024-08-13T21:25:39.438261Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02604508399963379, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_contract.ebf65a8472", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.433278Z", "completed_at": "2024-08-13T21:25:39.440737Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.443205Z", "completed_at": "2024-08-13T21:25:39.443213Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.014415264129638672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_event_name.c1bfdffc84", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.444662Z", "completed_at": "2024-08-13T21:25:39.456206Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.461640Z", "completed_at": "2024-08-13T21:25:39.461648Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022474050521850586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_id.3fd3162bcc", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.452186Z", "completed_at": "2024-08-13T21:25:39.462527Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.465125Z", "completed_at": "2024-08-13T21:25:39.465132Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022662878036499023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_pool_id.7dfafbe9ee", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.457474Z", "completed_at": "2024-08-13T21:25:39.464548Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.470729Z", "completed_at": "2024-08-13T21:25:39.470738Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026775360107421875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_sender.5053739593", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.465982Z", "completed_at": "2024-08-13T21:25:39.473066Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.478903Z", "completed_at": "2024-08-13T21:25:39.478912Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022207021713256836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_transaction_hash.04ae981572", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.474898Z", "completed_at": "2024-08-13T21:25:39.482443Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.493481Z", "completed_at": "2024-08-13T21:25:39.493490Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02355170249938965, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_usd_minted_base_sepolia_id.9cce972c7e", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.483053Z", "completed_at": "2024-08-13T21:25:39.495082Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.501443Z", "completed_at": "2024-08-13T21:25:39.501451Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02725696563720703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_issuance_eth_mainnet", "compiled": true, "compiled_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.487632Z", "completed_at": "2024-08-13T21:25:39.496530Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.502981Z", "completed_at": "2024-08-13T21:25:39.502988Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023186683654785156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_usd_minted_eth_mainnet_event_name__UsdMinted.c8d883ddfa", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.497082Z", "completed_at": "2024-08-13T21:25:39.504834Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.507451Z", "completed_at": "2024-08-13T21:25:39.507459Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020691394805908203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_account_id__True__0.b6d81dac3d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.508313Z", "completed_at": "2024-08-13T21:25:39.515402Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.525537Z", "completed_at": "2024-08-13T21:25:39.525547Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023314714431762695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_amount__True__0.17e2d727c5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.515960Z", "completed_at": "2024-08-13T21:25:39.527232Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.533462Z", "completed_at": "2024-08-13T21:25:39.533469Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026764392852783203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_pool_id__True__0.2d561e9842", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.521020Z", "completed_at": "2024-08-13T21:25:39.532820Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.535058Z", "completed_at": "2024-08-13T21:25:39.535073Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022562026977539062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_account_id.e32d9e9621", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.528651Z", "completed_at": "2024-08-13T21:25:39.536060Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.538585Z", "completed_at": "2024-08-13T21:25:39.538593Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018323898315429688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_amount.d50e5f0da5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.540079Z", "completed_at": "2024-08-13T21:25:39.549182Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.558837Z", "completed_at": "2024-08-13T21:25:39.558846Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024625062942504883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_block_number.8475901994", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.553949Z", "completed_at": "2024-08-13T21:25:39.564819Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.567449Z", "completed_at": "2024-08-13T21:25:39.567458Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021593570709228516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_collateral_type.3bc61e56d9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.549752Z", "completed_at": "2024-08-13T21:25:39.565616Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.568304Z", "completed_at": "2024-08-13T21:25:39.568312Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028934240341186523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_block_timestamp.e1477f67df", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.559992Z", "completed_at": "2024-08-13T21:25:39.566890Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.569716Z", "completed_at": "2024-08-13T21:25:39.569723Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021207332611083984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_contract.2287afa612", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.571942Z", "completed_at": "2024-08-13T21:25:39.578745Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.581051Z", "completed_at": "2024-08-13T21:25:39.581061Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.014983415603637695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_event_name.061c40bc0a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.581937Z", "completed_at": "2024-08-13T21:25:39.597314Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.599712Z", "completed_at": "2024-08-13T21:25:39.599721Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023005008697509766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_id.5b1199f72c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.591459Z", "completed_at": "2024-08-13T21:25:39.597929Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.600577Z", "completed_at": "2024-08-13T21:25:39.600587Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022536516189575195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_sender.31025fd349", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.586241Z", "completed_at": "2024-08-13T21:25:39.598469Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.601442Z", "completed_at": "2024-08-13T21:25:39.601450Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024112224578857422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_pool_id.dd8998f0f3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.604937Z", "completed_at": "2024-08-13T21:25:39.612221Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.621883Z", "completed_at": "2024-08-13T21:25:39.621893Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022968292236328125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_transaction_hash.dba64c6cd2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.613363Z", "completed_at": "2024-08-13T21:25:39.627443Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.629625Z", "completed_at": "2024-08-13T21:25:39.629634Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020695209503173828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_usd_minted_eth_mainnet_id.ccad3381ec", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.617465Z", "completed_at": "2024-08-13T21:25:39.628933Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.631734Z", "completed_at": "2024-08-13T21:25:39.631742Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02216815948486328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_amount__True__0.b98dc30014", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.622921Z", "completed_at": "2024-08-13T21:25:39.631187Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.633846Z", "completed_at": "2024-08-13T21:25:39.633857Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0236663818359375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_collateral_value__True__0.9fa49aae71", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.636075Z", "completed_at": "2024-08-13T21:25:39.644705Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.650635Z", "completed_at": "2024-08-13T21:25:39.650643Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020230531692504883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_pool_id__True__0.14e1d9edc3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.645820Z", "completed_at": "2024-08-13T21:25:39.659798Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.661413Z", "completed_at": "2024-08-13T21:25:39.661422Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0260772705078125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_amount.0bdb85ef31", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.655755Z", "completed_at": "2024-08-13T21:25:39.662314Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.664820Z", "completed_at": "2024-08-13T21:25:39.664829Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020853519439697266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_collateral_type.50f0a76c9d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.651558Z", "completed_at": "2024-08-13T21:25:39.662915Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.665700Z", "completed_at": "2024-08-13T21:25:39.665708Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023068666458129883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_block_number.5a68e5a2c2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.669263Z", "completed_at": "2024-08-13T21:25:39.680334Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.682167Z", "completed_at": "2024-08-13T21:25:39.682176Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018781185150146484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_collateral_value.09fcd07f3a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.675799Z", "completed_at": "2024-08-13T21:25:39.683017Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.698168Z", "completed_at": "2024-08-13T21:25:39.698176Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.030983686447143555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_contract_address.8cc08e1bbc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.692095Z", "completed_at": "2024-08-13T21:25:39.700149Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.703804Z", "completed_at": "2024-08-13T21:25:39.703812Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02888941764831543, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_ts.d7d74011cb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.683669Z", "completed_at": "2024-08-13T21:25:39.701759Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.705360Z", "completed_at": "2024-08-13T21:25:39.705367Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0311429500579834, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_pool_id.4536274374", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.706315Z", "completed_at": "2024-08-13T21:25:39.716542Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.723866Z", "completed_at": "2024-08-13T21:25:39.723874Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02466130256652832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_amount__True__0.ceaca21b1b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.717242Z", "completed_at": "2024-08-13T21:25:39.725363Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.735379Z", "completed_at": "2024-08-13T21:25:39.735391Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.030833721160888672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_collateral_value__True__0.5e64981616", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.725960Z", "completed_at": "2024-08-13T21:25:39.737095Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.739730Z", "completed_at": "2024-08-13T21:25:39.739740Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024264097213745117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_pool_id__True__0.99b4d66658", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.731225Z", "completed_at": "2024-08-13T21:25:39.738516Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.741209Z", "completed_at": "2024-08-13T21:25:39.741220Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018752098083496094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_amount.e85fb4a97b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.742076Z", "completed_at": "2024-08-13T21:25:39.750563Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.756627Z", "completed_at": "2024-08-13T21:25:39.756635Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020258426666259766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_block_number.7c4c28bc6d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.751117Z", "completed_at": "2024-08-13T21:25:39.762513Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.768247Z", "completed_at": "2024-08-13T21:25:39.768255Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027756929397583008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_collateral_type.c23ed9827f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.758193Z", "completed_at": "2024-08-13T21:25:39.769775Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.772335Z", "completed_at": "2024-08-13T21:25:39.772345Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022516727447509766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_collateral_value.77882c9c22", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.763806Z", "completed_at": "2024-08-13T21:25:39.771178Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.773811Z", "completed_at": "2024-08-13T21:25:39.773822Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018628835678100586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_contract_address.d90d5e4d47", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.774688Z", "completed_at": "2024-08-13T21:25:39.786077Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.788203Z", "completed_at": "2024-08-13T21:25:39.788213Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019124507904052734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_pool_id.11828e6701", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.781906Z", "completed_at": "2024-08-13T21:25:39.789059Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.795696Z", "completed_at": "2024-08-13T21:25:39.795705Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02260732650756836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_ts.74e3fe431f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.790188Z", "completed_at": "2024-08-13T21:25:39.801710Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.803810Z", "completed_at": "2024-08-13T21:25:39.803820Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022667407989501953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_vault_collateral_base_mainnet", "compiled": true, "compiled_code": "SELECT\n ts,\n block_number,\n contract_address,\n pool_id,\n collateral_type,\n amount,\n collateral_value\nFROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_vault_collateral_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.796572Z", "completed_at": "2024-08-13T21:25:39.804673Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.811187Z", "completed_at": "2024-08-13T21:25:39.811195Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02448439598083496, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_amount__True__0.9e07833bf5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.805851Z", "completed_at": "2024-08-13T21:25:39.813589Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.819982Z", "completed_at": "2024-08-13T21:25:39.819995Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019056320190429688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_collateral_value__True__0.7350cb66f7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.814897Z", "completed_at": "2024-08-13T21:25:39.826427Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.828435Z", "completed_at": "2024-08-13T21:25:39.828443Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023302316665649414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_pool_id__True__0.c52772c114", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.821604Z", "completed_at": "2024-08-13T21:25:39.829278Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.835431Z", "completed_at": "2024-08-13T21:25:39.835439Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022556781768798828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_base_mainnet_amount.45536133a9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.829844Z", "completed_at": "2024-08-13T21:25:39.842242Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.844277Z", "completed_at": "2024-08-13T21:25:39.844286Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02350640296936035, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_base_mainnet_block_number.6eaab21095", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.836414Z", "completed_at": "2024-08-13T21:25:39.845839Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.851970Z", "completed_at": "2024-08-13T21:25:39.851979Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02433300018310547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_base_mainnet_collateral_type.bef58af2ef", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.847703Z", "completed_at": "2024-08-13T21:25:39.859183Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.861191Z", "completed_at": "2024-08-13T21:25:39.861199Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018509626388549805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_base_mainnet_collateral_value.5805db9c59", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.855024Z", "completed_at": "2024-08-13T21:25:39.862075Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.868066Z", "completed_at": "2024-08-13T21:25:39.868074Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021815061569213867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_base_mainnet_contract_address.bc7a096c7d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.862640Z", "completed_at": "2024-08-13T21:25:39.869081Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.875164Z", "completed_at": "2024-08-13T21:25:39.875174Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021697521209716797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_base_mainnet_pool_id.e1a826b5b2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.869637Z", "completed_at": "2024-08-13T21:25:39.876751Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.883056Z", "completed_at": "2024-08-13T21:25:39.883066Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022772789001464844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_base_mainnet_ts.a02f87cd0d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.878619Z", "completed_at": "2024-08-13T21:25:39.886068Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.893816Z", "completed_at": "2024-08-13T21:25:39.893826Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020138025283813477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_amount__True__0.6d9b6133f3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.886704Z", "completed_at": "2024-08-13T21:25:39.899197Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.901277Z", "completed_at": "2024-08-13T21:25:39.901285Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02409839630126953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_collateral_value__True__0.026e20a97f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.894836Z", "completed_at": "2024-08-13T21:25:39.906265Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.908449Z", "completed_at": "2024-08-13T21:25:39.908457Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023840665817260742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_pool_id__True__0.0047a9a52a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.902208Z", "completed_at": "2024-08-13T21:25:39.909371Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.911810Z", "completed_at": "2024-08-13T21:25:39.911818Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018711328506469727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_base_sepolia_amount.ff25c0c9a0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.912677Z", "completed_at": "2024-08-13T21:25:39.923572Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.929783Z", "completed_at": "2024-08-13T21:25:39.929794Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02302718162536621, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_base_sepolia_block_number.3a3cfc3edf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.918794Z", "completed_at": "2024-08-13T21:25:39.929100Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.932030Z", "completed_at": "2024-08-13T21:25:39.932040Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021633625030517578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_base_sepolia_collateral_type.8cfa2c8f99", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.924865Z", "completed_at": "2024-08-13T21:25:39.931480Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.939566Z", "completed_at": "2024-08-13T21:25:39.939574Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02229928970336914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_base_sepolia_collateral_value.30cde60b22", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.933647Z", "completed_at": "2024-08-13T21:25:39.943548Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.945866Z", "completed_at": "2024-08-13T21:25:39.945874Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021813392639160156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_base_sepolia_contract_address.aa0f2cd57b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.946725Z", "completed_at": "2024-08-13T21:25:39.961043Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.963297Z", "completed_at": "2024-08-13T21:25:39.963307Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022157669067382812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_base_sepolia_pool_id.3607d11df2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.951660Z", "completed_at": "2024-08-13T21:25:39.961866Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.964716Z", "completed_at": "2024-08-13T21:25:39.964723Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021888017654418945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_base_sepolia_ts.78a98d96c2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.956684Z", "completed_at": "2024-08-13T21:25:39.964132Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.966820Z", "completed_at": "2024-08-13T21:25:39.966828Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022233247756958008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_amount__True__0.320b16493d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.968418Z", "completed_at": "2024-08-13T21:25:39.976245Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.982562Z", "completed_at": "2024-08-13T21:25:39.982572Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02019643783569336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_collateral_value__True__0.17170969dc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.977402Z", "completed_at": "2024-08-13T21:25:39.994640Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.996870Z", "completed_at": "2024-08-13T21:25:39.996880Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024095535278320312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_pool_id__True__0.509da6a489", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.989699Z", "completed_at": "2024-08-13T21:25:39.996266Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:39.998905Z", "completed_at": "2024-08-13T21:25:39.998913Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023363351821899414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_block_number.68d8b02925", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:39.983561Z", "completed_at": "2024-08-13T21:25:39.997793Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.000479Z", "completed_at": "2024-08-13T21:25:40.000487Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02637481689453125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_amount.62dc926f36", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.001340Z", "completed_at": "2024-08-13T21:25:40.008972Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.014871Z", "completed_at": "2024-08-13T21:25:40.014881Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019448518753051758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_collateral_type.9ba1fda62f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.010702Z", "completed_at": "2024-08-13T21:25:40.021359Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.027767Z", "completed_at": "2024-08-13T21:25:40.027778Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021605491638183594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_collateral_value.53d42edc8a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.016462Z", "completed_at": "2024-08-13T21:25:40.027167Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.029874Z", "completed_at": "2024-08-13T21:25:40.029882Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022214174270629883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_contract_address.8b336867d2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.021990Z", "completed_at": "2024-08-13T21:25:40.028772Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.031453Z", "completed_at": "2024-08-13T21:25:40.031461Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022014141082763672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_pool_id.f31cb4b3e6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.032314Z", "completed_at": "2024-08-13T21:25:40.043265Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.048141Z", "completed_at": "2024-08-13T21:25:40.048150Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021927833557128906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_ts.dc63e45225", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.045032Z", "completed_at": "2024-08-13T21:25:40.059033Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.061160Z", "completed_at": "2024-08-13T21:25:40.061169Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02066826820373535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_debt_arbitrum_mainnet", "compiled": true, "compiled_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_debt_arbitrum_mainnet\"\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.049604Z", "completed_at": "2024-08-13T21:25:40.060609Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.063243Z", "completed_at": "2024-08-13T21:25:40.063251Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021439790725708008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_arbitrum_mainnet_pool_id__True__0.8e3a2c72e9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.054970Z", "completed_at": "2024-08-13T21:25:40.062678Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.069478Z", "completed_at": "2024-08-13T21:25:40.069488Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02576136589050293, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_block_number.3ef5dfaa45", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.065009Z", "completed_at": "2024-08-13T21:25:40.073290Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.075661Z", "completed_at": "2024-08-13T21:25:40.075669Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.015976905822753906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_collateral_type.f9fb1089d7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.076534Z", "completed_at": "2024-08-13T21:25:40.092503Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.094015Z", "completed_at": "2024-08-13T21:25:40.094024Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022880077362060547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_contract_address.fee8a6440d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.081427Z", "completed_at": "2024-08-13T21:25:40.094906Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.097300Z", "completed_at": "2024-08-13T21:25:40.097307Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024715662002563477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_debt.7a33d30f43", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.088211Z", "completed_at": "2024-08-13T21:25:40.095500Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.098182Z", "completed_at": "2024-08-13T21:25:40.098190Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023847103118896484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_pool_id.8f94082342", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.099029Z", "completed_at": "2024-08-13T21:25:40.105901Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.110720Z", "completed_at": "2024-08-13T21:25:40.110732Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.017760276794433594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_ts.d2363d0b7d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.107692Z", "completed_at": "2024-08-13T21:25:40.118058Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.123744Z", "completed_at": "2024-08-13T21:25:40.123755Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020734071731567383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_debt_arbitrum_sepolia", "compiled": true, "compiled_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_debt_arbitrum_sepolia\"\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.113775Z", "completed_at": "2024-08-13T21:25:40.124619Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.127213Z", "completed_at": "2024-08-13T21:25:40.127222Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020869970321655273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_arbitrum_sepolia_pool_id__True__0.6a7fea5bbc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.118763Z", "completed_at": "2024-08-13T21:25:40.125908Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.133937Z", "completed_at": "2024-08-13T21:25:40.133948Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027010202407836914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_block_number.39b83b17e0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.128266Z", "completed_at": "2024-08-13T21:25:40.137113Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.139509Z", "completed_at": "2024-08-13T21:25:40.139517Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.016771316528320312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_collateral_type.c136eaeaa7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.140396Z", "completed_at": "2024-08-13T21:25:40.315607Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.318307Z", "completed_at": "2024-08-13T21:25:40.318319Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.18347573280334473, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_contract_address.7162b1bbad", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.311542Z", "completed_at": "2024-08-13T21:25:40.317234Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.319795Z", "completed_at": "2024-08-13T21:25:40.319803Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.18105173110961914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_pool_id.3d27f2e067", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.307272Z", "completed_at": "2024-08-13T21:25:40.317765Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.320631Z", "completed_at": "2024-08-13T21:25:40.320639Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.18249821662902832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_debt.13e23e52e8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.322181Z", "completed_at": "2024-08-13T21:25:40.329669Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.331965Z", "completed_at": "2024-08-13T21:25:40.331975Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.015876054763793945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_ts.6259a43e83", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.332838Z", "completed_at": "2024-08-13T21:25:40.347356Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.353161Z", "completed_at": "2024-08-13T21:25:40.353175Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02555990219116211, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_pnl_base_mainnet", "compiled": true, "compiled_code": "\nWITH debt AS (\n SELECT\n ts,\n 2 AS market_id,\n debt * -1 AS market_pnl\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_base_mainnet\"\n)\nSELECT\n ts,\n market_id,\n market_pnl\nFROM\n debt\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_pnl_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.335965Z", "completed_at": "2024-08-13T21:25:40.347964Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.354238Z", "completed_at": "2024-08-13T21:25:40.354247Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025922298431396484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_debt_base_mainnet", "compiled": true, "compiled_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_base_mainnet\"\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.338893Z", "completed_at": "2024-08-13T21:25:40.348492Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.355192Z", "completed_at": "2024-08-13T21:25:40.355202Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02621150016784668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_base_mainnet_pool_id__True__0.583a0abe4f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.349048Z", "completed_at": "2024-08-13T21:25:40.356767Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.359668Z", "completed_at": "2024-08-13T21:25:40.359677Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01382303237915039, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_base_mainnet_block_number.bd4478b322", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.364110Z", "completed_at": "2024-08-13T21:25:40.377819Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.384079Z", "completed_at": "2024-08-13T21:25:40.384089Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025161027908325195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_base_mainnet_collateral_type.e3f9b96478", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.368854Z", "completed_at": "2024-08-13T21:25:40.378759Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.384960Z", "completed_at": "2024-08-13T21:25:40.384970Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024542570114135742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_base_mainnet_contract_address.f2b82344e4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.372928Z", "completed_at": "2024-08-13T21:25:40.379405Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.385820Z", "completed_at": "2024-08-13T21:25:40.385827Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024795055389404297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_base_mainnet_debt.922a67baf4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.379965Z", "completed_at": "2024-08-13T21:25:40.387565Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.390077Z", "completed_at": "2024-08-13T21:25:40.390085Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02193737030029297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_base_mainnet_pool_id.e33ea26a56", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.394545Z", "completed_at": "2024-08-13T21:25:40.407571Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.414054Z", "completed_at": "2024-08-13T21:25:40.414066Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024718284606933594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_base_mainnet_ts.fc19d225e3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.403817Z", "completed_at": "2024-08-13T21:25:40.412847Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.415090Z", "completed_at": "2024-08-13T21:25:40.415121Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023651838302612305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_debt_base_sepolia", "compiled": true, "compiled_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_base_sepolia\"\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.400825Z", "completed_at": "2024-08-13T21:25:40.413531Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.416539Z", "completed_at": "2024-08-13T21:25:40.416546Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025714397430419922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_pnl_base_sepolia", "compiled": true, "compiled_code": "\nWITH debt AS (\n SELECT\n ts,\n 2 AS market_id,\n debt * -1 AS market_pnl\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_base_sepolia\"\n)\nSELECT\n ts,\n market_id,\n market_pnl\nFROM\n debt\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_pnl_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.408380Z", "completed_at": "2024-08-13T21:25:40.415972Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.418757Z", "completed_at": "2024-08-13T21:25:40.418764Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01865530014038086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_base_sepolia_pool_id__True__0.908dbaecbc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.429531Z", "completed_at": "2024-08-13T21:25:40.444323Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.446245Z", "completed_at": "2024-08-13T21:25:40.446256Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02512073516845703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_base_sepolia_collateral_type.70a5498cf3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.425349Z", "completed_at": "2024-08-13T21:25:40.444876Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.447196Z", "completed_at": "2024-08-13T21:25:40.447206Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026682615280151367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_base_sepolia_block_number.f25dcd2c96", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.434442Z", "completed_at": "2024-08-13T21:25:40.445665Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.448589Z", "completed_at": "2024-08-13T21:25:40.448599Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02621173858642578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_base_sepolia_contract_address.a9d7ef2e2d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.440220Z", "completed_at": "2024-08-13T21:25:40.448010Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.450798Z", "completed_at": "2024-08-13T21:25:40.450806Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026684045791625977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_base_sepolia_debt.9b99714e7f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.457287Z", "completed_at": "2024-08-13T21:25:40.470845Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.476104Z", "completed_at": "2024-08-13T21:25:40.476117Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023841142654418945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_base_sepolia_pool_id.05a1d5275c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.461469Z", "completed_at": "2024-08-13T21:25:40.477106Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.479153Z", "completed_at": "2024-08-13T21:25:40.479162Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02624344825744629, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_base_sepolia_ts.d366714ec5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.466291Z", "completed_at": "2024-08-13T21:25:40.477730Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.480560Z", "completed_at": "2024-08-13T21:25:40.480570Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02635645866394043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_vault_liquidation_arbitrum_mainnet_event_name__VaultLiquidation.429345a118", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.471430Z", "completed_at": "2024-08-13T21:25:40.479986Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.482717Z", "completed_at": "2024-08-13T21:25:40.482725Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026712656021118164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0.c9be297afd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.486766Z", "completed_at": "2024-08-13T21:25:40.498726Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.504477Z", "completed_at": "2024-08-13T21:25:40.504487Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02316451072692871, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_pool_id__True__0.c4b79598cb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.494620Z", "completed_at": "2024-08-13T21:25:40.505350Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.511964Z", "completed_at": "2024-08-13T21:25:40.511977Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027203083038330078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_block_number.1dc8ebaf67", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.500026Z", "completed_at": "2024-08-13T21:25:40.511385Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.514171Z", "completed_at": "2024-08-13T21:25:40.514179Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02811598777770996, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_block_timestamp.3054b6aeaa", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.505976Z", "completed_at": "2024-08-13T21:25:40.513622Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.516287Z", "completed_at": "2024-08-13T21:25:40.516294Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02306652069091797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_collateral_type.ba4823f6ed", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.518407Z", "completed_at": "2024-08-13T21:25:40.530040Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.537053Z", "completed_at": "2024-08-13T21:25:40.537063Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02419447898864746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_contract.625029e21f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.525936Z", "completed_at": "2024-08-13T21:25:40.538028Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.545047Z", "completed_at": "2024-08-13T21:25:40.545060Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027364253997802734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_event_name.fcb481b7e9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.531318Z", "completed_at": "2024-08-13T21:25:40.544468Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.547294Z", "completed_at": "2024-08-13T21:25:40.547302Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023999929428100586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_id.c7ac33a6c3", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.538722Z", "completed_at": "2024-08-13T21:25:40.546677Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.549385Z", "completed_at": "2024-08-13T21:25:40.549392Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024816513061523438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id.5e1fa876a7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.551615Z", "completed_at": "2024-08-13T21:25:40.559490Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.569061Z", "completed_at": "2024-08-13T21:25:40.569072Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023090839385986328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_liquidation_data.2555b245ad", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.560065Z", "completed_at": "2024-08-13T21:25:40.574741Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.576824Z", "completed_at": "2024-08-13T21:25:40.576833Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025976896286010742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_pool_id.f9e6978af1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.564826Z", "completed_at": "2024-08-13T21:25:40.576224Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.578927Z", "completed_at": "2024-08-13T21:25:40.578935Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022091388702392578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_sender.d35f8c0cc2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.570126Z", "completed_at": "2024-08-13T21:25:40.578348Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.581068Z", "completed_at": "2024-08-13T21:25:40.581075Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02294445037841797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_transaction_hash.5da9d8cd8f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.583274Z", "completed_at": "2024-08-13T21:25:40.592266Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.600858Z", "completed_at": "2024-08-13T21:25:40.600868Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02320408821105957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_vault_liquidation_arbitrum_mainnet_id.3f5a30c375", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.592841Z", "completed_at": "2024-08-13T21:25:40.606023Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.608152Z", "completed_at": "2024-08-13T21:25:40.608160Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025634050369262695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_debt_eth_mainnet", "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", "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.596469Z", "completed_at": "2024-08-13T21:25:40.607493Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.610205Z", "completed_at": "2024-08-13T21:25:40.610213Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020574092864990234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_eth_mainnet_pool_id__True__0.55f388e287", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.601854Z", "completed_at": "2024-08-13T21:25:40.609639Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.612577Z", "completed_at": "2024-08-13T21:25:40.612585Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02166152000427246, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_eth_mainnet_block_number.930416e329", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.614711Z", "completed_at": "2024-08-13T21:25:40.621661Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.627598Z", "completed_at": "2024-08-13T21:25:40.627610Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018643617630004883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_eth_mainnet_collateral_type.557a042f2b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.622806Z", "completed_at": "2024-08-13T21:25:40.638461Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.640123Z", "completed_at": "2024-08-13T21:25:40.640132Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026131868362426758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_eth_mainnet_contract_address.d43dcb9614", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.628505Z", "completed_at": "2024-08-13T21:25:40.641044Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.643533Z", "completed_at": "2024-08-13T21:25:40.643541Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023860931396484375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_eth_mainnet_debt.a314c480fe", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.634340Z", "completed_at": "2024-08-13T21:25:40.641645Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.644401Z", "completed_at": "2024-08-13T21:25:40.644411Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0234372615814209, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_eth_mainnet_pool_id.2f8f15549f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.647809Z", "completed_at": "2024-08-13T21:25:40.658733Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.665164Z", "completed_at": "2024-08-13T21:25:40.665175Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02312183380126953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_debt_eth_mainnet_ts.3b5cb40175", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.653856Z", "completed_at": "2024-08-13T21:25:40.664610Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.670677Z", "completed_at": "2024-08-13T21:25:40.670687Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02494215965270996, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_vault_liquidation_arbitrum_sepolia_event_name__VaultLiquidation.0c7e403f1c", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.660183Z", "completed_at": "2024-08-13T21:25:40.672458Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.675042Z", "completed_at": "2024-08-13T21:25:40.675052Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022684574127197266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0.8896409533", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.666138Z", "completed_at": "2024-08-13T21:25:40.674477Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.677149Z", "completed_at": "2024-08-13T21:25:40.677156Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024129629135131836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_pool_id__True__0.6022175c23", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.679297Z", "completed_at": "2024-08-13T21:25:40.692158Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.698280Z", "completed_at": "2024-08-13T21:25:40.698292Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024511337280273438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_block_number.fbedd6aa28", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.686282Z", "completed_at": "2024-08-13T21:25:40.693441Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.703329Z", "completed_at": "2024-08-13T21:25:40.703341Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027492761611938477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_block_timestamp.3f8fcf20ee", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.693992Z", "completed_at": "2024-08-13T21:25:40.705254Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.707853Z", "completed_at": "2024-08-13T21:25:40.707862Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022310495376586914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_collateral_type.0b2d659b09", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.699275Z", "completed_at": "2024-08-13T21:25:40.706540Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.709322Z", "completed_at": "2024-08-13T21:25:40.709332Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01871180534362793, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_contract.2bb4203c78", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.712712Z", "completed_at": "2024-08-13T21:25:40.723481Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.731546Z", "completed_at": "2024-08-13T21:25:40.731560Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024469375610351562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_event_name.6ee4c7edec", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.717639Z", "completed_at": "2024-08-13T21:25:40.724751Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.736816Z", "completed_at": "2024-08-13T21:25:40.736830Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.028237342834472656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_id.e478906cc0", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.725339Z", "completed_at": "2024-08-13T21:25:40.738674Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.741421Z", "completed_at": "2024-08-13T21:25:40.741432Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024666547775268555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id.557d546c5f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.732463Z", "completed_at": "2024-08-13T21:25:40.740233Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.742906Z", "completed_at": "2024-08-13T21:25:40.742916Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02120518684387207, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_liquidation_data.0e7de46ea6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.746298Z", "completed_at": "2024-08-13T21:25:40.757852Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.767498Z", "completed_at": "2024-08-13T21:25:40.767508Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026817798614501953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_pool_id.c0c0a011c4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.751375Z", "completed_at": "2024-08-13T21:25:40.758403Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.768390Z", "completed_at": "2024-08-13T21:25:40.768400Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026198387145996094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_sender.e33149c915", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.758961Z", "completed_at": "2024-08-13T21:25:40.770273Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.772840Z", "completed_at": "2024-08-13T21:25:40.772848Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02239060401916504, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_transaction_hash.6b1e45b06a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.763331Z", "completed_at": "2024-08-13T21:25:40.770930Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.773704Z", "completed_at": "2024-08-13T21:25:40.773712Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018174171447753906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_vault_liquidation_arbitrum_sepolia_id.39f25ec5ad", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.777656Z", "completed_at": "2024-08-13T21:25:40.790664Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.800461Z", "completed_at": "2024-08-13T21:25:40.800470Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028354167938232422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_vault_liquidation_base_mainnet_event_name__VaultLiquidation.b8ea6a7925", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.784933Z", "completed_at": "2024-08-13T21:25:40.799842Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.802768Z", "completed_at": "2024-08-13T21:25:40.802776Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.028321504592895508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_liquidate_as_account_id__True__0.b04df95186", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.791404Z", "completed_at": "2024-08-13T21:25:40.801618Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.804398Z", "completed_at": "2024-08-13T21:25:40.804406Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020850419998168945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_pool_id__True__0.bfc340e4f6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.795785Z", "completed_at": "2024-08-13T21:25:40.802222Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.805252Z", "completed_at": "2024-08-13T21:25:40.805260Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02103877067565918, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_block_number.667cea546c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.811709Z", "completed_at": "2024-08-13T21:25:40.827741Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.832734Z", "completed_at": "2024-08-13T21:25:40.832748Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026089191436767578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_block_timestamp.2dca047589", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.821691Z", "completed_at": "2024-08-13T21:25:40.834606Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.837473Z", "completed_at": "2024-08-13T21:25:40.837481Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027645587921142578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_contract.d5acf50762", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.817139Z", "completed_at": "2024-08-13T21:25:40.836339Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.838899Z", "completed_at": "2024-08-13T21:25:40.838907Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.03023362159729004, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_collateral_type.e0c76340c5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.828358Z", "completed_at": "2024-08-13T21:25:40.836929Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.839783Z", "completed_at": "2024-08-13T21:25:40.839791Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.029361963272094727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_event_name.1e10a7bb02", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.841317Z", "completed_at": "2024-08-13T21:25:40.848394Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.850734Z", "completed_at": "2024-08-13T21:25:40.850745Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015098094940185547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_id.3054417f0f", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.856730Z", "completed_at": "2024-08-13T21:25:40.867308Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.869621Z", "completed_at": "2024-08-13T21:25:40.869632Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021902799606323242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_liquidation_data.be698b5245", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.852202Z", "completed_at": "2024-08-13T21:25:40.867965Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.870506Z", "completed_at": "2024-08-13T21:25:40.870514Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023603439331054688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_liquidate_as_account_id.042bc52396", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.861747Z", "completed_at": "2024-08-13T21:25:40.868499Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.871401Z", "completed_at": "2024-08-13T21:25:40.871411Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022533416748046875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_pool_id.4a337176ad", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.872275Z", "completed_at": "2024-08-13T21:25:40.881003Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.883383Z", "completed_at": "2024-08-13T21:25:40.883392Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01711559295654297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_sender.512fed362a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.885381Z", "completed_at": "2024-08-13T21:25:40.899902Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.901934Z", "completed_at": "2024-08-13T21:25:40.901946Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021712303161621094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_transaction_hash.063cc50ef6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.890438Z", "completed_at": "2024-08-13T21:25:40.900751Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.903422Z", "completed_at": "2024-08-13T21:25:40.903429Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0219879150390625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_vault_liquidation_base_mainnet_id.74bcb7a076", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.894571Z", "completed_at": "2024-08-13T21:25:40.902794Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.909458Z", "completed_at": "2024-08-13T21:25:40.909466Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0274202823638916, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_vault_liquidation_eth_mainnet_event_name__VaultLiquidation.8d1cb5eebf", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.904276Z", "completed_at": "2024-08-13T21:25:40.912548Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.914919Z", "completed_at": "2024-08-13T21:25:40.914927Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01580047607421875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_liquidate_as_account_id__True__0.a9d184de0a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.916424Z", "completed_at": "2024-08-13T21:25:40.932417Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.933919Z", "completed_at": "2024-08-13T21:25:40.933928Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022820472717285156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_pool_id__True__0.cccb8c7cca", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.928329Z", "completed_at": "2024-08-13T21:25:40.934788Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.937242Z", "completed_at": "2024-08-13T21:25:40.937250Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023052215576171875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_block_timestamp.439cb16960", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.922404Z", "completed_at": "2024-08-13T21:25:40.935463Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.938091Z", "completed_at": "2024-08-13T21:25:40.938098Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025071144104003906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_block_number.39193d7213", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.938936Z", "completed_at": "2024-08-13T21:25:40.946149Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.952434Z", "completed_at": "2024-08-13T21:25:40.952446Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019540071487426758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_collateral_type.22405706c4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.948017Z", "completed_at": "2024-08-13T21:25:40.955377Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.965073Z", "completed_at": "2024-08-13T21:25:40.965082Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021959543228149414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_contract.65501d763b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.955928Z", "completed_at": "2024-08-13T21:25:40.966055Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.968642Z", "completed_at": "2024-08-13T21:25:40.968653Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022036314010620117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_event_name.e6bd41012e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.960245Z", "completed_at": "2024-08-13T21:25:40.968074Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.976378Z", "completed_at": "2024-08-13T21:25:40.976387Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.029094696044921875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_id.11becd0eff", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.969528Z", "completed_at": "2024-08-13T21:25:40.978687Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.984706Z", "completed_at": "2024-08-13T21:25:40.984714Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0203707218170166, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_liquidate_as_account_id.978ffc7da9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.980551Z", "completed_at": "2024-08-13T21:25:40.992382Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:40.997800Z", "completed_at": "2024-08-13T21:25:40.997808Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022169828414916992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_liquidation_data.485b65c6b5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.988232Z", "completed_at": "2024-08-13T21:25:40.998705Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.001275Z", "completed_at": "2024-08-13T21:25:41.001285Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021449804306030273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_pool_id.ca9bfaf7f3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:40.993561Z", "completed_at": "2024-08-13T21:25:41.000713Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.007230Z", "completed_at": "2024-08-13T21:25:41.007240Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02176976203918457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_sender.03a447332b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.002146Z", "completed_at": "2024-08-13T21:25:41.009484Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.015598Z", "completed_at": "2024-08-13T21:25:41.015606Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022767066955566406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_transaction_hash.5e22cb6ded", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.011418Z", "completed_at": "2024-08-13T21:25:41.018469Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.026294Z", "completed_at": "2024-08-13T21:25:41.026307Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019998788833618164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_vault_liquidation_eth_mainnet_id.9b474978a9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.019665Z", "completed_at": "2024-08-13T21:25:41.033113Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.039692Z", "completed_at": "2024-08-13T21:25:41.039703Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.029041767120361328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_vault_liquidation_base_sepolia_event_name__VaultLiquidation.958e4fe8de", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.027218Z", "completed_at": "2024-08-13T21:25:41.038235Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.040719Z", "completed_at": "2024-08-13T21:25:41.040729Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02435588836669922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_liquidate_as_account_id__True__0.ee3dd8dc1e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.033841Z", "completed_at": "2024-08-13T21:25:41.042447Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.048968Z", "completed_at": "2024-08-13T21:25:41.048977Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023425579071044922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_pool_id__True__0.5ea2ba7eab", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.044723Z", "completed_at": "2024-08-13T21:25:41.052027Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.054314Z", "completed_at": "2024-08-13T21:25:41.054321Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01544809341430664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_block_number.72d5fcf75c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.055186Z", "completed_at": "2024-08-13T21:25:41.071496Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.073391Z", "completed_at": "2024-08-13T21:25:41.073400Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02364325523376465, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_block_timestamp.5c4fdcd348", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.059354Z", "completed_at": "2024-08-13T21:25:41.072096Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.074320Z", "completed_at": "2024-08-13T21:25:41.074331Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02392721176147461, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_collateral_type.18870127b8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.065369Z", "completed_at": "2024-08-13T21:25:41.075253Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.077733Z", "completed_at": "2024-08-13T21:25:41.077741Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02412891387939453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_contract.58dafa50b4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.078578Z", "completed_at": "2024-08-13T21:25:41.086281Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.096415Z", "completed_at": "2024-08-13T21:25:41.096426Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02388143539428711, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_event_name.04b05d8fa6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.091935Z", "completed_at": "2024-08-13T21:25:41.103341Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.105225Z", "completed_at": "2024-08-13T21:25:41.105234Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021693944931030273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_liquidate_as_account_id.b170dba1d3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.087525Z", "completed_at": "2024-08-13T21:25:41.103915Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.106149Z", "completed_at": "2024-08-13T21:25:41.106159Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023452281951904297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_id.08162ec8b5", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.099067Z", "completed_at": "2024-08-13T21:25:41.106995Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.109562Z", "completed_at": "2024-08-13T21:25:41.109570Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022801637649536133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_liquidation_data.a5dc2b7337", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.110424Z", "completed_at": "2024-08-13T21:25:41.118053Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.129299Z", "completed_at": "2024-08-13T21:25:41.129309Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0249330997467041, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_pool_id.47e473f735", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.119260Z", "completed_at": "2024-08-13T21:25:41.131162Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.137127Z", "completed_at": "2024-08-13T21:25:41.137141Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022607803344726562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_sender.2f502247e7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.125008Z", "completed_at": "2024-08-13T21:25:41.132471Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.138702Z", "completed_at": "2024-08-13T21:25:41.138712Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023496150970458984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_transaction_hash.fcdcfcdcdd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.133060Z", "completed_at": "2024-08-13T21:25:41.140467Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.142860Z", "completed_at": "2024-08-13T21:25:41.142868Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024340391159057617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_vault_liquidation_base_sepolia_id.5759c475e5", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.143757Z", "completed_at": "2024-08-13T21:25:41.154524Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.160431Z", "completed_at": "2024-08-13T21:25:41.160441Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022463321685791016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n block_timestamp,\n \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\n UNION ALL\n SELECT\n block_timestamp,- \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pool_collateral_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.150226Z", "completed_at": "2024-08-13T21:25:41.161338Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.163951Z", "completed_at": "2024-08-13T21:25:41.163960Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021799564361572266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_withdrawn_arbitrum_mainnet_event_name__Withdrawn.e5deebfa14", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.155856Z", "completed_at": "2024-08-13T21:25:41.163407Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.171538Z", "completed_at": "2024-08-13T21:25:41.171547Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024035215377807617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_account_id__True__0.8873db614c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.164955Z", "completed_at": "2024-08-13T21:25:41.173764Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.179853Z", "completed_at": "2024-08-13T21:25:41.179864Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024808168411254883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_token_amount__True__0.0008eb5d09", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.175719Z", "completed_at": "2024-08-13T21:25:41.183333Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.192696Z", "completed_at": "2024-08-13T21:25:41.192710Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02195572853088379, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_account_id.ccf8b71875", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.183932Z", "completed_at": "2024-08-13T21:25:41.194464Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.200550Z", "completed_at": "2024-08-13T21:25:41.200558Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025623083114624023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_block_number.29891eb70b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.188604Z", "completed_at": "2024-08-13T21:25:41.195187Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.201576Z", "completed_at": "2024-08-13T21:25:41.201584Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020952701568603516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_block_timestamp.0605d1994e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.196419Z", "completed_at": "2024-08-13T21:25:41.204583Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.206988Z", "completed_at": "2024-08-13T21:25:41.207002Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01915144920349121, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_collateral_type.772b018013", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.207918Z", "completed_at": "2024-08-13T21:25:41.224832Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.227395Z", "completed_at": "2024-08-13T21:25:41.227406Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025061368942260742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_contract.a8c5968db3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.214103Z", "completed_at": "2024-08-13T21:25:41.225656Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.228271Z", "completed_at": "2024-08-13T21:25:41.228279Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022645950317382812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_event_name.69a5a9a880", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.219252Z", "completed_at": "2024-08-13T21:25:41.226205Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.229108Z", "completed_at": "2024-08-13T21:25:41.229118Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022876501083374023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_id.46c5fcd073", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.229976Z", "completed_at": "2024-08-13T21:25:41.237045Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.239416Z", "completed_at": "2024-08-13T21:25:41.239425Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015274763107299805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_sender.665f4ade6b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.241379Z", "completed_at": "2024-08-13T21:25:41.255233Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.257816Z", "completed_at": "2024-08-13T21:25:41.257825Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021528244018554688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_token_amount.4bc0081148", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.246270Z", "completed_at": "2024-08-13T21:25:41.256674Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.263834Z", "completed_at": "2024-08-13T21:25:41.263842Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026354551315307617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_transaction_hash.492d634608", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.250336Z", "completed_at": "2024-08-13T21:25:41.257284Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.264812Z", "completed_at": "2024-08-13T21:25:41.264819Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02671360969543457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_withdrawn_arbitrum_mainnet_id.9810244f0d", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.258686Z", "completed_at": "2024-08-13T21:25:41.267826Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.270284Z", "completed_at": "2024-08-13T21:25:41.270292Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015819072723388672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n block_timestamp,\n \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\n UNION ALL\n SELECT\n block_timestamp,- \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pool_collateral_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.273591Z", "completed_at": "2024-08-13T21:25:41.287874Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.289705Z", "completed_at": "2024-08-13T21:25:41.289713Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021379470825195312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_withdrawn_arbitrum_sepolia_event_name__Withdrawn.cd07ab25e2", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.278111Z", "completed_at": "2024-08-13T21:25:41.289104Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.295351Z", "completed_at": "2024-08-13T21:25:41.295363Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02644801139831543, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_account_id__True__0.d4050dde67", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.282417Z", "completed_at": "2024-08-13T21:25:41.294711Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.297229Z", "completed_at": "2024-08-13T21:25:41.297236Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027675628662109375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_token_amount__True__0.0301b264d6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.290639Z", "completed_at": "2024-08-13T21:25:41.298105Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.300692Z", "completed_at": "2024-08-13T21:25:41.300700Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013996601104736328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_account_id.93a7f1c6e0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.304619Z", "completed_at": "2024-08-13T21:25:41.320061Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.322714Z", "completed_at": "2024-08-13T21:25:41.322723Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023438692092895508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_block_number.fb2901f9b9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.310107Z", "completed_at": "2024-08-13T21:25:41.321598Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.327678Z", "completed_at": "2024-08-13T21:25:41.327688Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02625417709350586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_block_timestamp.7fcd8e34b4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.315885Z", "completed_at": "2024-08-13T21:25:41.322175Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.328577Z", "completed_at": "2024-08-13T21:25:41.328585Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025951147079467773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_collateral_type.462d8e9d4a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.323640Z", "completed_at": "2024-08-13T21:25:41.330799Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.333377Z", "completed_at": "2024-08-13T21:25:41.333387Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024096250534057617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_contract.7095f79cd5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.341353Z", "completed_at": "2024-08-13T21:25:41.351245Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.358218Z", "completed_at": "2024-08-13T21:25:41.358228Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025554180145263672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_id.bdd65cec2b", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.337249Z", "completed_at": "2024-08-13T21:25:41.351804Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.359725Z", "completed_at": "2024-08-13T21:25:41.359732Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027669668197631836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_event_name.6e275cf97d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.346184Z", "completed_at": "2024-08-13T21:25:41.359175Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.361446Z", "completed_at": "2024-08-13T21:25:41.361454Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0273134708404541, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_sender.b2d53e6596", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.352494Z", "completed_at": "2024-08-13T21:25:41.362308Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.364933Z", "completed_at": "2024-08-13T21:25:41.364941Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019590377807617188, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_token_amount.df20ce27b8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.368813Z", "completed_at": "2024-08-13T21:25:41.382393Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.384001Z", "completed_at": "2024-08-13T21:25:41.384009Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020475149154663086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_transaction_hash.a4480fb9e0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.374311Z", "completed_at": "2024-08-13T21:25:41.384848Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.391000Z", "completed_at": "2024-08-13T21:25:41.391008Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0253598690032959, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_withdrawn_arbitrum_sepolia_id.3f0503a510", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.378477Z", "completed_at": "2024-08-13T21:25:41.389692Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.392024Z", "completed_at": "2024-08-13T21:25:41.392032Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025197982788085938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pool_collateral_base_mainnet", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n block_timestamp,\n \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\n UNION ALL\n SELECT\n block_timestamp,- \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_pool_collateral_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.385441Z", "completed_at": "2024-08-13T21:25:41.393604Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.396263Z", "completed_at": "2024-08-13T21:25:41.396273Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02274012565612793, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_withdrawn_base_mainnet_event_name__Withdrawn.8eb5613297", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.398313Z", "completed_at": "2024-08-13T21:25:41.405384Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.416805Z", "completed_at": "2024-08-13T21:25:41.416817Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02396392822265625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_mainnet_account_id__True__0.0bf8555841", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.405970Z", "completed_at": "2024-08-13T21:25:41.422097Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.424239Z", "completed_at": "2024-08-13T21:25:41.424248Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027227401733398438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_mainnet_token_amount__True__0.54af4bae82", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.412016Z", "completed_at": "2024-08-13T21:25:41.422808Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.425734Z", "completed_at": "2024-08-13T21:25:41.425744Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.028136014938354492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_account_id.ef84b5b40c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.417993Z", "completed_at": "2024-08-13T21:25:41.425163Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.427951Z", "completed_at": "2024-08-13T21:25:41.427960Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02323770523071289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_block_number.03c7cebae3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.431929Z", "completed_at": "2024-08-13T21:25:41.442885Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.453561Z", "completed_at": "2024-08-13T21:25:41.453573Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02708125114440918, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_block_timestamp.3b8ffa7210", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.437994Z", "completed_at": "2024-08-13T21:25:41.454687Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.457304Z", "completed_at": "2024-08-13T21:25:41.457312Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027399778366088867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_collateral_type.f32eb82738", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.443518Z", "completed_at": "2024-08-13T21:25:41.455510Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.458230Z", "completed_at": "2024-08-13T21:25:41.458241Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02701258659362793, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_contract.a8511fdb92", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.447794Z", "completed_at": "2024-08-13T21:25:41.456691Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.459749Z", "completed_at": "2024-08-13T21:25:41.459759Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023164987564086914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_event_name.f423143c4b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.464454Z", "completed_at": "2024-08-13T21:25:41.475191Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.484326Z", "completed_at": "2024-08-13T21:25:41.484339Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025321245193481445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_id.8106f47c4d", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.471023Z", "completed_at": "2024-08-13T21:25:41.485253Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.487460Z", "completed_at": "2024-08-13T21:25:41.487468Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024342060089111328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_sender.2f5cf91bdf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.480078Z", "completed_at": "2024-08-13T21:25:41.486757Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.489565Z", "completed_at": "2024-08-13T21:25:41.489575Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021089792251586914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_transaction_hash.a3fda71b2a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.475917Z", "completed_at": "2024-08-13T21:25:41.488993Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.491698Z", "completed_at": "2024-08-13T21:25:41.491706Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027967214584350586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_token_amount.fbabce38ba", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.493867Z", "completed_at": "2024-08-13T21:25:41.501387Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.512693Z", "completed_at": "2024-08-13T21:25:41.512704Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024439096450805664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_withdrawn_base_mainnet_id.72a24b0786", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.501972Z", "completed_at": "2024-08-13T21:25:41.518169Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.519922Z", "completed_at": "2024-08-13T21:25:41.519931Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026781558990478516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pool_collateral_base_sepolia", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n block_timestamp,\n \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\n UNION ALL\n SELECT\n block_timestamp,- \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_pool_collateral_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.513723Z", "completed_at": "2024-08-13T21:25:41.521497Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.524068Z", "completed_at": "2024-08-13T21:25:41.524078Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023972749710083008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_sepolia_account_id__True__0.283560870b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.508393Z", "completed_at": "2024-08-13T21:25:41.522076Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.524929Z", "completed_at": "2024-08-13T21:25:41.524939Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0262451171875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_withdrawn_base_sepolia_event_name__Withdrawn.12079a5ee6", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.526372Z", "completed_at": "2024-08-13T21:25:41.533505Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.539631Z", "completed_at": "2024-08-13T21:25:41.539640Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01882457733154297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_sepolia_token_amount__True__0.600b962701", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.534689Z", "completed_at": "2024-08-13T21:25:41.545411Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.552919Z", "completed_at": "2024-08-13T21:25:41.552930Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027272939682006836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_account_id.6536ec7b3c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.541211Z", "completed_at": "2024-08-13T21:25:41.553883Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.556180Z", "completed_at": "2024-08-13T21:25:41.556189Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023397445678710938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_block_number.b38561efe3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.546766Z", "completed_at": "2024-08-13T21:25:41.557020Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.559547Z", "completed_at": "2024-08-13T21:25:41.559556Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025569677352905273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_block_timestamp.276176a645", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.560401Z", "completed_at": "2024-08-13T21:25:41.571394Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.573478Z", "completed_at": "2024-08-13T21:25:41.573490Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019098997116088867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_collateral_type.e4b3817245", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.566893Z", "completed_at": "2024-08-13T21:25:41.578557Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.580726Z", "completed_at": "2024-08-13T21:25:41.580737Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022612333297729492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_contract.9a643890c5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.574390Z", "completed_at": "2024-08-13T21:25:41.586731Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.588788Z", "completed_at": "2024-08-13T21:25:41.588797Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02341437339782715, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_event_name.919fe4b5de", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.581623Z", "completed_at": "2024-08-13T21:25:41.589619Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.595791Z", "completed_at": "2024-08-13T21:25:41.595800Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02316141128540039, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_id.a4ef85d6dd", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.590826Z", "completed_at": "2024-08-13T21:25:41.598024Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.605844Z", "completed_at": "2024-08-13T21:25:41.605852Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019886255264282227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_sender.935071b6a7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.599320Z", "completed_at": "2024-08-13T21:25:41.612250Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.614823Z", "completed_at": "2024-08-13T21:25:41.614832Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024726390838623047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_token_amount.3582c76f95", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.607493Z", "completed_at": "2024-08-13T21:25:41.614284Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.620500Z", "completed_at": "2024-08-13T21:25:41.620508Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023259878158569336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_transaction_hash.ea6432763a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.615751Z", "completed_at": "2024-08-13T21:25:41.626100Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.628113Z", "completed_at": "2024-08-13T21:25:41.628123Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021502017974853516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_withdrawn_base_sepolia_id.30c3b98bff", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.622195Z", "completed_at": "2024-08-13T21:25:41.629045Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.631484Z", "completed_at": "2024-08-13T21:25:41.631492Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.017967939376831055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pool_collateral_eth_mainnet", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n block_timestamp,\n \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\n UNION ALL\n SELECT\n block_timestamp,- \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_pool_collateral_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.632906Z", "completed_at": "2024-08-13T21:25:41.644811Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.652845Z", "completed_at": "2024-08-13T21:25:41.652855Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02559351921081543, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_core_withdrawn_eth_mainnet_event_name__Withdrawn.cbf35f5a80", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.638813Z", "completed_at": "2024-08-13T21:25:41.652268Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.658652Z", "completed_at": "2024-08-13T21:25:41.658660Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02916717529296875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_eth_mainnet_account_id__True__0.cdf381b428", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.645492Z", "completed_at": "2024-08-13T21:25:41.657947Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.660396Z", "completed_at": "2024-08-13T21:25:41.660405Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023143768310546875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_eth_mainnet_token_amount__True__0.8bd25add1c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.653832Z", "completed_at": "2024-08-13T21:25:41.661281Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.663783Z", "completed_at": "2024-08-13T21:25:41.663791Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019734859466552734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_account_id.7846828c26", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.667656Z", "completed_at": "2024-08-13T21:25:41.681724Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.683322Z", "completed_at": "2024-08-13T21:25:41.683335Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020969390869140625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_block_number.74ee30eaa5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.673063Z", "completed_at": "2024-08-13T21:25:41.684236Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.690192Z", "completed_at": "2024-08-13T21:25:41.690200Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025675535202026367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_block_timestamp.b6326ea438", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.677421Z", "completed_at": "2024-08-13T21:25:41.688875Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.691166Z", "completed_at": "2024-08-13T21:25:41.691174Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025487184524536133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_collateral_type.28458fb6de", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.684833Z", "completed_at": "2024-08-13T21:25:41.692037Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.694576Z", "completed_at": "2024-08-13T21:25:41.694585Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022236347198486328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_contract.a4eb9c51f7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.697930Z", "completed_at": "2024-08-13T21:25:41.709687Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.715256Z", "completed_at": "2024-08-13T21:25:41.715266Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022780895233154297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_event_name.2d3b6771d6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.710388Z", "completed_at": "2024-08-13T21:25:41.720446Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.722613Z", "completed_at": "2024-08-13T21:25:41.722623Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0260622501373291, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_sender.b7bc5bdadc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.705632Z", "completed_at": "2024-08-13T21:25:41.721132Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.723563Z", "completed_at": "2024-08-13T21:25:41.723571Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02761530876159668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_id.b0e6ed95b5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.716352Z", "completed_at": "2024-08-13T21:25:41.724366Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.726915Z", "completed_at": "2024-08-13T21:25:41.726924Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022113323211669922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_token_amount.d3547c3837", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.730262Z", "completed_at": "2024-08-13T21:25:41.744897Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.746452Z", "completed_at": "2024-08-13T21:25:41.746462Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02160811424255371, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_transaction_hash.6b6f75c74b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.736327Z", "completed_at": "2024-08-13T21:25:41.747438Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.753590Z", "completed_at": "2024-08-13T21:25:41.753601Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025335073471069336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_withdrawn_eth_mainnet_id.3d5210133c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.740489Z", "completed_at": "2024-08-13T21:25:41.747974Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.754480Z", "completed_at": "2024-08-13T21:25:41.754487Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025593042373657227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_accounts_base_mainnet", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n CAST(\n account_id AS VARCHAR\n ) AS id,\n block_timestamp AS created_ts,\n \"owner\"\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_accounts_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.748541Z", "completed_at": "2024-08-13T21:25:41.758257Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.764558Z", "completed_at": "2024-08-13T21:25:41.764568Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.029068470001220703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_perp_account_created_base_mainnet_event_name__AccountCreated.c906cbec9d", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.760061Z", "completed_at": "2024-08-13T21:25:41.767512Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.776923Z", "completed_at": "2024-08-13T21:25:41.776931Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02153491973876953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_account_created_base_mainnet_account_id__True__0.31cc3873de", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.768085Z", "completed_at": "2024-08-13T21:25:41.778687Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.784653Z", "completed_at": "2024-08-13T21:25:41.784663Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02594470977783203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_created_base_mainnet_account_id.2d9e573ba3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.772208Z", "completed_at": "2024-08-13T21:25:41.779281Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.785715Z", "completed_at": "2024-08-13T21:25:41.785723Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026363611221313477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_created_base_mainnet_block_number.089e467aa3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.780538Z", "completed_at": "2024-08-13T21:25:41.788619Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.791012Z", "completed_at": "2024-08-13T21:25:41.791019Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.014848947525024414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_created_base_mainnet_block_timestamp.4e4344d68a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.791901Z", "completed_at": "2024-08-13T21:25:41.799631Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.808914Z", "completed_at": "2024-08-13T21:25:41.808923Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022446393966674805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_created_base_mainnet_contract.d77785377c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.804255Z", "completed_at": "2024-08-13T21:25:41.810676Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.816560Z", "completed_at": "2024-08-13T21:25:41.816570Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02625894546508789, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_created_base_mainnet_id.88dc5d9a3e", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.800175Z", "completed_at": "2024-08-13T21:25:41.811891Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.818240Z", "completed_at": "2024-08-13T21:25:41.818250Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028528213500976562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_created_base_mainnet_event_name.0ab1553ed8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.812512Z", "completed_at": "2024-08-13T21:25:41.819912Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.822275Z", "completed_at": "2024-08-13T21:25:41.822282Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.014093637466430664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_created_base_mainnet_owner.1aca280221", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.823147Z", "completed_at": "2024-08-13T21:25:41.830192Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.840178Z", "completed_at": "2024-08-13T21:25:41.840189Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02270674705505371, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_created_base_mainnet_transaction_hash.0274c58381", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.830746Z", "completed_at": "2024-08-13T21:25:41.841730Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.848257Z", "completed_at": "2024-08-13T21:25:41.848268Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026694297790527344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_account_created_base_mainnet_id.7e77a8a023", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.835681Z", "completed_at": "2024-08-13T21:25:41.843132Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.849760Z", "completed_at": "2024-08-13T21:25:41.849769Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022606849670410156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_accounts_base_sepolia", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n CAST(\n account_id AS VARCHAR\n ) AS id,\n block_timestamp AS created_ts,\n \"owner\"\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_accounts_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.843832Z", "completed_at": "2024-08-13T21:25:41.853365Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.860216Z", "completed_at": "2024-08-13T21:25:41.860225Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025450706481933594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_perp_account_created_base_sepolia_event_name__AccountCreated.e5e94f342c", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.854035Z", "completed_at": "2024-08-13T21:25:41.861712Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.871389Z", "completed_at": "2024-08-13T21:25:41.871401Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022361040115356445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_account_created_base_sepolia_account_id__True__0.72ab89cd5f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.862271Z", "completed_at": "2024-08-13T21:25:41.873043Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.875669Z", "completed_at": "2024-08-13T21:25:41.875679Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022983312606811523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_created_base_sepolia_account_id.e2509a45ab", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.867113Z", "completed_at": "2024-08-13T21:25:41.874466Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.877143Z", "completed_at": "2024-08-13T21:25:41.877149Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018380165100097656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_created_base_sepolia_block_number.b9729c0627", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.877975Z", "completed_at": "2024-08-13T21:25:41.890769Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.892642Z", "completed_at": "2024-08-13T21:25:41.892650Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020329952239990234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_created_base_sepolia_block_timestamp.1f03770bcc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.885003Z", "completed_at": "2024-08-13T21:25:41.894116Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.903756Z", "completed_at": "2024-08-13T21:25:41.903766Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02733755111694336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_created_base_sepolia_contract.1b1ec25344", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.894680Z", "completed_at": "2024-08-13T21:25:41.905601Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.908053Z", "completed_at": "2024-08-13T21:25:41.908061Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023792505264282227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_created_base_sepolia_event_name.d7deee96b5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.899554Z", "completed_at": "2024-08-13T21:25:41.906892Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.909553Z", "completed_at": "2024-08-13T21:25:41.909561Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018279075622558594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_created_base_sepolia_id.7da01b5642", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.910415Z", "completed_at": "2024-08-13T21:25:41.917415Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.923476Z", "completed_at": "2024-08-13T21:25:41.923484Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01880478858947754, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_created_base_sepolia_owner.31f8eb801c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.917977Z", "completed_at": "2024-08-13T21:25:41.925031Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.935606Z", "completed_at": "2024-08-13T21:25:41.935615Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026785612106323242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_created_base_sepolia_transaction_hash.6324af1adb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.925594Z", "completed_at": "2024-08-13T21:25:41.937481Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.939980Z", "completed_at": "2024-08-13T21:25:41.939988Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023299455642700195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_account_created_base_sepolia_id.d2b0023315", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.930482Z", "completed_at": "2024-08-13T21:25:41.938078Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.940851Z", "completed_at": "2024-08-13T21:25:41.940862Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018767118453979492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_liq_account_base_mainnet", "compiled": true, "compiled_code": "WITH liquidation_events AS (\n SELECT\n account_id,\n reward,\n block_timestamp,\n full_liquidation,\n SUM(\n CASE\n WHEN full_liquidation THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY account_id\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS liquidation_id\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\n),\ncumulative_rewards AS (\n SELECT\n CAST(\n le.account_id AS text\n ) AS account_id,\n le.block_timestamp,\n le.reward,\n le.full_liquidation,\n le.liquidation_id,\n SUM(\n reward / 1e18\n) over (\n PARTITION BY le.account_id,\n le.liquidation_id\n ORDER BY\n le.block_timestamp\n ) AS cumulative_reward,\n ROW_NUMBER() over (\n PARTITION BY le.account_id,\n le.liquidation_id\n ORDER BY\n le.block_timestamp DESC\n ) AS rn\n FROM\n liquidation_events le\n ORDER BY\n block_timestamp\n)\nSELECT\n account_id,\n block_timestamp AS ts,\n cumulative_reward AS total_reward\nFROM\n cumulative_rewards\nWHERE\n rn = 1", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_account_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.942359Z", "completed_at": "2024-08-13T21:25:41.949634Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.955944Z", "completed_at": "2024-08-13T21:25:41.955956Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019342899322509766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_perp_account_liquidation_attempt_base_mainnet_event_name__AccountLiquidationAttempt.aeb7d6db9c", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.950795Z", "completed_at": "2024-08-13T21:25:41.962245Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.968373Z", "completed_at": "2024-08-13T21:25:41.968384Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026773929595947266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_account_id__True__0.1b7d106a7e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.957576Z", "completed_at": "2024-08-13T21:25:41.969937Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.972572Z", "completed_at": "2024-08-13T21:25:41.972584Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02376866340637207, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_reward__True__0.cb285aadec", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.963732Z", "completed_at": "2024-08-13T21:25:41.971298Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.974169Z", "completed_at": "2024-08-13T21:25:41.974177Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02408623695373535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_account_id.b9af0ad259", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.975040Z", "completed_at": "2024-08-13T21:25:41.987862Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:41.991274Z", "completed_at": "2024-08-13T21:25:41.991283Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022055864334106445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_block_number.eb82068b1f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.982757Z", "completed_at": "2024-08-13T21:25:41.997042Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.002839Z", "completed_at": "2024-08-13T21:25:42.002848Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.029409408569335938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_block_timestamp.8bb23c25bf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.992911Z", "completed_at": "2024-08-13T21:25:42.003809Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.006350Z", "completed_at": "2024-08-13T21:25:42.006357Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02438521385192871, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_contract.52c72e7f83", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:41.998425Z", "completed_at": "2024-08-13T21:25:42.005745Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.008418Z", "completed_at": "2024-08-13T21:25:42.008425Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01862955093383789, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_event_name.bdd4a2d793", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.009946Z", "completed_at": "2024-08-13T21:25:42.020729Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.022558Z", "completed_at": "2024-08-13T21:25:42.022566Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018288373947143555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_full_liquidation.13fc102881", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.016497Z", "completed_at": "2024-08-13T21:25:42.023474Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.029499Z", "completed_at": "2024-08-13T21:25:42.029508Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0218045711517334, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_id.f0a38fed0b", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.024620Z", "completed_at": "2024-08-13T21:25:42.038011Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.040571Z", "completed_at": "2024-08-13T21:25:42.040582Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02493882179260254, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_reward.c18396dc96", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.030376Z", "completed_at": "2024-08-13T21:25:42.039393Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.045571Z", "completed_at": "2024-08-13T21:25:42.045579Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02440619468688965, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_transaction_hash.70575855b6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.041453Z", "completed_at": "2024-08-13T21:25:42.048699Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.055694Z", "completed_at": "2024-08-13T21:25:42.055703Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019114971160888672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_account_liquidation_attempt_base_mainnet_id.4ca8a36246", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.049244Z", "completed_at": "2024-08-13T21:25:42.057231Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.063467Z", "completed_at": "2024-08-13T21:25:42.063477Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02363872528076172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_liq_account_base_sepolia", "compiled": true, "compiled_code": "WITH liquidation_events AS (\n SELECT\n account_id,\n reward,\n block_timestamp,\n full_liquidation,\n SUM(\n CASE\n WHEN full_liquidation THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY account_id\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS liquidation_id\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\n),\ncumulative_rewards AS (\n SELECT\n CAST(\n le.account_id AS text\n ) AS account_id,\n le.block_timestamp,\n le.reward,\n le.full_liquidation,\n le.liquidation_id,\n SUM(\n reward / 1e18\n) over (\n PARTITION BY le.account_id,\n le.liquidation_id\n ORDER BY\n le.block_timestamp\n ) AS cumulative_reward,\n ROW_NUMBER() over (\n PARTITION BY le.account_id,\n le.liquidation_id\n ORDER BY\n le.block_timestamp DESC\n ) AS rn\n FROM\n liquidation_events le\n ORDER BY\n block_timestamp\n)\nSELECT\n account_id,\n block_timestamp AS ts,\n cumulative_reward AS total_reward\nFROM\n cumulative_rewards\nWHERE\n rn = 1", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_account_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.059040Z", "completed_at": "2024-08-13T21:25:42.070533Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.073104Z", "completed_at": "2024-08-13T21:25:42.073115Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018915176391601562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_perp_account_liquidation_attempt_base_sepolia_event_name__AccountLiquidationAttempt.7e035fbfbd", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.064502Z", "completed_at": "2024-08-13T21:25:42.071943Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.078386Z", "completed_at": "2024-08-13T21:25:42.078396Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02347278594970703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_account_id__True__0.d9d7f88802", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.073992Z", "completed_at": "2024-08-13T21:25:42.087783Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.089745Z", "completed_at": "2024-08-13T21:25:42.089754Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020903825759887695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_reward__True__0.d1fe263182", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.081596Z", "completed_at": "2024-08-13T21:25:42.090673Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.093095Z", "completed_at": "2024-08-13T21:25:42.093103Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02071547508239746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_account_id.72dba0b474", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.098394Z", "completed_at": "2024-08-13T21:25:42.105274Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.111139Z", "completed_at": "2024-08-13T21:25:42.111150Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022251129150390625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_block_timestamp.b212643602", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.093971Z", "completed_at": "2024-08-13T21:25:42.105813Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.112205Z", "completed_at": "2024-08-13T21:25:42.112213Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023939132690429688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_block_number.c00ff06028", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.107006Z", "completed_at": "2024-08-13T21:25:42.115153Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.121419Z", "completed_at": "2024-08-13T21:25:42.121429Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018619537353515625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_contract.5a7ac10d9d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.115798Z", "completed_at": "2024-08-13T21:25:42.122989Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.129252Z", "completed_at": "2024-08-13T21:25:42.129261Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022965431213378906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_event_name.5a524744d4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.124859Z", "completed_at": "2024-08-13T21:25:42.137593Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.139918Z", "completed_at": "2024-08-13T21:25:42.139930Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01984405517578125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_full_liquidation.4544a98926", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.130260Z", "completed_at": "2024-08-13T21:25:42.138686Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.144970Z", "completed_at": "2024-08-13T21:25:42.144981Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02427387237548828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_id.fa21a229e8", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.140811Z", "completed_at": "2024-08-13T21:25:42.147893Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.154269Z", "completed_at": "2024-08-13T21:25:42.154277Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018479347229003906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_reward.41da25d087", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.148532Z", "completed_at": "2024-08-13T21:25:42.155843Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.161809Z", "completed_at": "2024-08-13T21:25:42.161823Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022648096084594727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_transaction_hash.18ed9c33a9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.157679Z", "completed_at": "2024-08-13T21:25:42.167679Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.170154Z", "completed_at": "2024-08-13T21:25:42.170164Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017336130142211914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_account_liquidation_attempt_base_sepolia_id.64895ed40b", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.162823Z", "completed_at": "2024-08-13T21:25:42.168966Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.175441Z", "completed_at": "2024-08-13T21:25:42.175453Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02191472053527832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp,\n account_id,\n block_number,\n transaction_hash,\n contract,\n event_name,\n synth_market_id,\n sender,\n \n amount_delta / 1e18\n AS amount_delta\nFROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_modified_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.171018Z", "completed_at": "2024-08-13T21:25:42.184723Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.186930Z", "completed_at": "2024-08-13T21:25:42.186938Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0208890438079834, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_perp_collateral_modified_base_mainnet_event_name__CollateralModified.a5e57f2d75", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.178493Z", "completed_at": "2024-08-13T21:25:42.187887Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.190285Z", "completed_at": "2024-08-13T21:25:42.190293Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02085137367248535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_account_id__True__0.9f7c28c3fd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.191177Z", "completed_at": "2024-08-13T21:25:42.201212Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.203574Z", "completed_at": "2024-08-13T21:25:42.203582Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018132448196411133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_synth_market_id__True__0.d556e7848d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.195537Z", "completed_at": "2024-08-13T21:25:42.202974Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.209176Z", "completed_at": "2024-08-13T21:25:42.209184Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023081302642822266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_account_id.cdccf3f2af", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.204430Z", "completed_at": "2024-08-13T21:25:42.214916Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.217102Z", "completed_at": "2024-08-13T21:25:42.217112Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01758408546447754, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_block_number.9a27b3b231", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.210838Z", "completed_at": "2024-08-13T21:25:42.217982Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.220409Z", "completed_at": "2024-08-13T21:25:42.220417Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018146514892578125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_block_timestamp.dba3f4ea26", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.221825Z", "completed_at": "2024-08-13T21:25:42.234371Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.240338Z", "completed_at": "2024-08-13T21:25:42.240346Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024092674255371094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_contract.c11139c863", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.227406Z", "completed_at": "2024-08-13T21:25:42.239180Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.241328Z", "completed_at": "2024-08-13T21:25:42.241336Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022910594940185547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_event_name.ea66af17fe", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.235069Z", "completed_at": "2024-08-13T21:25:42.242236Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.248332Z", "completed_at": "2024-08-13T21:25:42.248340Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02251148223876953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_id.f24bcc6b1b", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.242771Z", "completed_at": "2024-08-13T21:25:42.250675Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.253100Z", "completed_at": "2024-08-13T21:25:42.253108Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019438743591308594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_sender.b40c55b7ee", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.258688Z", "completed_at": "2024-08-13T21:25:42.265302Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.271285Z", "completed_at": "2024-08-13T21:25:42.271297Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021379470825195312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_transaction_hash.3d3881c53b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.254577Z", "completed_at": "2024-08-13T21:25:42.269938Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.272263Z", "completed_at": "2024-08-13T21:25:42.272273Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02304244041442871, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_synth_market_id.d41b8065af", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.265911Z", "completed_at": "2024-08-13T21:25:42.273149Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.280001Z", "completed_at": "2024-08-13T21:25:42.280009Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026154756546020508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_collateral_modified_base_mainnet_id.311ce0d794", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.273679Z", "completed_at": "2024-08-13T21:25:42.281574Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.284056Z", "completed_at": "2024-08-13T21:25:42.284065Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019443273544311523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp,\n account_id,\n block_number,\n transaction_hash,\n contract,\n event_name,\n synth_market_id,\n sender,\n \n amount_delta / 1e18\n AS amount_delta\nFROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_modified_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.286117Z", "completed_at": "2024-08-13T21:25:42.297342Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.303767Z", "completed_at": "2024-08-13T21:25:42.303779Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022928953170776367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_perp_collateral_modified_base_sepolia_event_name__CollateralModified.35bbd5a11f", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.291608Z", "completed_at": "2024-08-13T21:25:42.302394Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.304831Z", "completed_at": "2024-08-13T21:25:42.304842Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022797822952270508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_account_id__True__0.4061e8095e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.297991Z", "completed_at": "2024-08-13T21:25:42.309861Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.312174Z", "completed_at": "2024-08-13T21:25:42.312185Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0267794132232666, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_synth_market_id__True__0.e6426004ec", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.305742Z", "completed_at": "2024-08-13T21:25:42.313680Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.316187Z", "completed_at": "2024-08-13T21:25:42.316197Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019613027572631836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_account_id.41a4ca06b6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.318275Z", "completed_at": "2024-08-13T21:25:42.330188Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.336249Z", "completed_at": "2024-08-13T21:25:42.336262Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023285865783691406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_block_number.5818313783", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.323213Z", "completed_at": "2024-08-13T21:25:42.334975Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.337246Z", "completed_at": "2024-08-13T21:25:42.337256Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023088693618774414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_block_timestamp.a0b63e8833", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.330828Z", "completed_at": "2024-08-13T21:25:42.338152Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.344407Z", "completed_at": "2024-08-13T21:25:42.344415Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026856660842895508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_contract.c669409e90", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.338694Z", "completed_at": "2024-08-13T21:25:42.346602Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.349058Z", "completed_at": "2024-08-13T21:25:42.349066Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019636869430541992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_event_name.05505fea35", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.354636Z", "completed_at": "2024-08-13T21:25:42.361242Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.367228Z", "completed_at": "2024-08-13T21:25:42.367236Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021309852600097656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_sender.c5a5dbc794", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.350529Z", "completed_at": "2024-08-13T21:25:42.365965Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.368214Z", "completed_at": "2024-08-13T21:25:42.368222Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022957563400268555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_id.0306c59b13", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.361847Z", "completed_at": "2024-08-13T21:25:42.375474Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.378120Z", "completed_at": "2024-08-13T21:25:42.378130Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.028308629989624023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_synth_market_id.6b585142fd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.369126Z", "completed_at": "2024-08-13T21:25:42.377550Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.380270Z", "completed_at": "2024-08-13T21:25:42.380278Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01978778839111328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_transaction_hash.ccfe215417", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.382385Z", "completed_at": "2024-08-13T21:25:42.392648Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.398816Z", "completed_at": "2024-08-13T21:25:42.398829Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022030115127563477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_collateral_modified_base_sepolia_id.df76a33926", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.387892Z", "completed_at": "2024-08-13T21:25:42.398215Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.404521Z", "completed_at": "2024-08-13T21:25:42.404530Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02562427520751953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_interest_charged_base_mainnet", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n account_id,\n \n interest / 1e18\n AS interest\nFROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_base_mainnet\"", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.393939Z", "completed_at": "2024-08-13T21:25:42.406064Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.409034Z", "completed_at": "2024-08-13T21:25:42.409044Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021870851516723633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_perp_interest_charged_base_mainnet_event_name__InterestCharged.92bd4d647b", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.399950Z", "completed_at": "2024-08-13T21:25:42.408440Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.411126Z", "completed_at": "2024-08-13T21:25:42.411134Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019917726516723633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_base_mainnet_account_id__True__0.a3ec3de479", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.413297Z", "completed_at": "2024-08-13T21:25:42.426515Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.428943Z", "completed_at": "2024-08-13T21:25:42.428953Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02140498161315918, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_charged_base_mainnet_account_id.9cea8c57e9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.418852Z", "completed_at": "2024-08-13T21:25:42.428394Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.438179Z", "completed_at": "2024-08-13T21:25:42.438186Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.028377532958984375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_charged_base_mainnet_block_number.634b5a2ca3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.433893Z", "completed_at": "2024-08-13T21:25:42.441468Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.443818Z", "completed_at": "2024-08-13T21:25:42.443826Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018125295639038086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_charged_base_mainnet_contract.637ff31ac5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.429827Z", "completed_at": "2024-08-13T21:25:42.442024Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.444673Z", "completed_at": "2024-08-13T21:25:42.444681Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026554346084594727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_charged_base_mainnet_block_timestamp.c006ab16a0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.446103Z", "completed_at": "2024-08-13T21:25:42.455960Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.457886Z", "completed_at": "2024-08-13T21:25:42.457894Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0172274112701416, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_charged_base_mainnet_event_name.d0c6828a2c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.451735Z", "completed_at": "2024-08-13T21:25:42.458798Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.461196Z", "completed_at": "2024-08-13T21:25:42.461206Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018704652786254883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_charged_base_mainnet_id.a4394853e3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.462084Z", "completed_at": "2024-08-13T21:25:42.474116Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.479161Z", "completed_at": "2024-08-13T21:25:42.479174Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02275824546813965, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_charged_base_mainnet_transaction_hash.82d6f4539b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.466215Z", "completed_at": "2024-08-13T21:25:42.475316Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.480775Z", "completed_at": "2024-08-13T21:25:42.480786Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023713350296020508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_interest_charged_base_mainnet_id.849ecb5e38", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.475909Z", "completed_at": "2024-08-13T21:25:42.482400Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.488850Z", "completed_at": "2024-08-13T21:25:42.488858Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017059326171875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_interest_charged_base_sepolia", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n account_id,\n \n interest / 1e18\n AS interest\nFROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_base_sepolia\"", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.483039Z", "completed_at": "2024-08-13T21:25:42.491010Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.497562Z", "completed_at": "2024-08-13T21:25:42.497570Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02296280860900879, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_perp_interest_charged_base_sepolia_event_name__InterestCharged.b607f55a72", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.493171Z", "completed_at": "2024-08-13T21:25:42.504210Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.506688Z", "completed_at": "2024-08-13T21:25:42.506696Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0186309814453125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_base_sepolia_account_id__True__0.7595935b71", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.499053Z", "completed_at": "2024-08-13T21:25:42.506141Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.512360Z", "completed_at": "2024-08-13T21:25:42.512368Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022648334503173828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_charged_base_sepolia_account_id.ec1ea115af", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.507583Z", "completed_at": "2024-08-13T21:25:42.520493Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.523035Z", "completed_at": "2024-08-13T21:25:42.523043Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02473139762878418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_charged_base_sepolia_block_number.e9b7b9cd80", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.514015Z", "completed_at": "2024-08-13T21:25:42.522491Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.525065Z", "completed_at": "2024-08-13T21:25:42.525072Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019667387008666992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_charged_base_sepolia_block_timestamp.6723ccf2f9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.526593Z", "completed_at": "2024-08-13T21:25:42.537077Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.539413Z", "completed_at": "2024-08-13T21:25:42.539421Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018403053283691406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_charged_base_sepolia_contract.ad4bd5bb4b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.530675Z", "completed_at": "2024-08-13T21:25:42.538234Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.544362Z", "completed_at": "2024-08-13T21:25:42.544370Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022616863250732422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_charged_base_sepolia_event_name.7088270e38", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.540283Z", "completed_at": "2024-08-13T21:25:42.550869Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.553511Z", "completed_at": "2024-08-13T21:25:42.553519Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017996788024902344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_charged_base_sepolia_id.a8d5a81503", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.545243Z", "completed_at": "2024-08-13T21:25:42.552917Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.555528Z", "completed_at": "2024-08-13T21:25:42.555536Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019139766693115234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_charged_base_sepolia_transaction_hash.7d20550a93", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.561134Z", "completed_at": "2024-08-13T21:25:42.569417Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.571936Z", "completed_at": "2024-08-13T21:25:42.571947Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019704818725585938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_perp_interest_rate_updated_base_mainnet_event_name__InterestRateUpdated.1f640e1a2e", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.557057Z", "completed_at": "2024-08-13T21:25:42.570694Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.577420Z", "completed_at": "2024-08-13T21:25:42.577433Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025887012481689453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_interest_charged_base_sepolia_id.7023b7407d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.572837Z", "completed_at": "2024-08-13T21:25:42.584575Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.587041Z", "completed_at": "2024-08-13T21:25:42.587051Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01929950714111328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_interest_rate__True__0.9e368f0a36", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.578463Z", "completed_at": "2024-08-13T21:25:42.585840Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.588512Z", "completed_at": "2024-08-13T21:25:42.588522Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019858837127685547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_super_market_id__True__0.4d69e0aece", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.590627Z", "completed_at": "2024-08-13T21:25:42.601564Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.603988Z", "completed_at": "2024-08-13T21:25:42.603998Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018860578536987305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_block_number.76213ff694", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.595642Z", "completed_at": "2024-08-13T21:25:42.603406Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.614943Z", "completed_at": "2024-08-13T21:25:42.614952Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02863907814025879, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_block_timestamp.0d665a1669", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.604867Z", "completed_at": "2024-08-13T21:25:42.617498Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.620081Z", "completed_at": "2024-08-13T21:25:42.620091Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02005791664123535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_contract.79599300ad", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.609043Z", "completed_at": "2024-08-13T21:25:42.618834Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.621528Z", "completed_at": "2024-08-13T21:25:42.621535Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020714521408081055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_event_name.36434bd8cd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.623677Z", "completed_at": "2024-08-13T21:25:42.634218Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.636664Z", "completed_at": "2024-08-13T21:25:42.636674Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018639087677001953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_id.e9a20cc82f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.628525Z", "completed_at": "2024-08-13T21:25:42.636103Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.646477Z", "completed_at": "2024-08-13T21:25:42.646486Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027122020721435547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_interest_rate.cfecf76356", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.637533Z", "completed_at": "2024-08-13T21:25:42.648349Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.650902Z", "completed_at": "2024-08-13T21:25:42.650910Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018280744552612305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_super_market_id.234f62d024", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.641953Z", "completed_at": "2024-08-13T21:25:42.650316Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.653019Z", "completed_at": "2024-08-13T21:25:42.653027Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019520998001098633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_transaction_hash.84f20da856", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.655153Z", "completed_at": "2024-08-13T21:25:42.667810Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.669720Z", "completed_at": "2024-08-13T21:25:42.669730Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020099639892578125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_interest_rate_updated_base_mainnet_id.bddddb2671", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.660851Z", "completed_at": "2024-08-13T21:25:42.670538Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.680825Z", "completed_at": "2024-08-13T21:25:42.680838Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.029117822647094727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_perp_interest_rate_updated_base_sepolia_event_name__InterestRateUpdated.5d317c53f3", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.671162Z", "completed_at": "2024-08-13T21:25:42.682075Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.684509Z", "completed_at": "2024-08-13T21:25:42.684517Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024419546127319336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_interest_rate__True__0.c114557661", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.675569Z", "completed_at": "2024-08-13T21:25:42.683256Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.685992Z", "completed_at": "2024-08-13T21:25:42.686001Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018891096115112305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_super_market_id__True__0.cc3fb6ff17", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.688171Z", "completed_at": "2024-08-13T21:25:42.695211Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.701272Z", "completed_at": "2024-08-13T21:25:42.701280Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01875019073486328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_block_number.eeff2c078a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.695753Z", "completed_at": "2024-08-13T21:25:42.706403Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.713765Z", "completed_at": "2024-08-13T21:25:42.713773Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0270233154296875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_block_timestamp.609017baeb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.702226Z", "completed_at": "2024-08-13T21:25:42.714692Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.717284Z", "completed_at": "2024-08-13T21:25:42.717292Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02357316017150879, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_contract.ccc079c59c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.707113Z", "completed_at": "2024-08-13T21:25:42.716667Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.719345Z", "completed_at": "2024-08-13T21:25:42.719352Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024897098541259766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_event_name.30275ad446", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.720868Z", "completed_at": "2024-08-13T21:25:42.731360Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.733253Z", "completed_at": "2024-08-13T21:25:42.733261Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01795792579650879, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_id.24c18054e7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.727203Z", "completed_at": "2024-08-13T21:25:42.734130Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.740423Z", "completed_at": "2024-08-13T21:25:42.740432Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02182769775390625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_interest_rate.7f5f7342cd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.735313Z", "completed_at": "2024-08-13T21:25:42.747502Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.749928Z", "completed_at": "2024-08-13T21:25:42.749939Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023630857467651367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_super_market_id.68b732b580", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.741302Z", "completed_at": "2024-08-13T21:25:42.748712Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.754908Z", "completed_at": "2024-08-13T21:25:42.754920Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02306818962097168, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_transaction_hash.3601647535", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.750810Z", "completed_at": "2024-08-13T21:25:42.758087Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.764736Z", "completed_at": "2024-08-13T21:25:42.764744Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01891183853149414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_interest_rate_updated_base_sepolia_id.2295efc83a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.758628Z", "completed_at": "2024-08-13T21:25:42.766875Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.777035Z", "completed_at": "2024-08-13T21:25:42.777044Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027835369110107422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_markets_base_mainnet", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n perps_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n market_symbol,\n market_name\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.768152Z", "completed_at": "2024-08-13T21:25:42.778826Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.781645Z", "completed_at": "2024-08-13T21:25:42.781654Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018405914306640625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_perp_market_created_base_mainnet_event_name__MarketCreated.d9da845e2f", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.772485Z", "completed_at": "2024-08-13T21:25:42.780273Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.783148Z", "completed_at": "2024-08-13T21:25:42.783155Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019225120544433594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_created_base_mainnet_perps_market_id__True__0.7835f6c4e2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.784003Z", "completed_at": "2024-08-13T21:25:42.790913Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.796918Z", "completed_at": "2024-08-13T21:25:42.796927Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019095897674560547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_block_number.31d8a749ec", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.791505Z", "completed_at": "2024-08-13T21:25:42.802719Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.810058Z", "completed_at": "2024-08-13T21:25:42.810067Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02765631675720215, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_block_timestamp.b13b8b381f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.798515Z", "completed_at": "2024-08-13T21:25:42.810892Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.813489Z", "completed_at": "2024-08-13T21:25:42.813499Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02333521842956543, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_contract.dd8ab60012", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.804135Z", "completed_at": "2024-08-13T21:25:42.812884Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.815768Z", "completed_at": "2024-08-13T21:25:42.815776Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02017068862915039, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_event_name.f103b43404", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.817353Z", "completed_at": "2024-08-13T21:25:42.823665Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.829899Z", "completed_at": "2024-08-13T21:25:42.829907Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018486738204956055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_id.eb84eb9821", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.824208Z", "completed_at": "2024-08-13T21:25:42.835737Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.841365Z", "completed_at": "2024-08-13T21:25:42.841373Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0263516902923584, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_market_name.162fe82996", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.831521Z", "completed_at": "2024-08-13T21:25:42.843085Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.845560Z", "completed_at": "2024-08-13T21:25:42.845568Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022767305374145508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_market_symbol.06e88b6544", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.837006Z", "completed_at": "2024-08-13T21:25:42.844323Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.847032Z", "completed_at": "2024-08-13T21:25:42.847039Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018773794174194336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_perps_market_id.d04a2adf66", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.847947Z", "completed_at": "2024-08-13T21:25:42.860874Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.862799Z", "completed_at": "2024-08-13T21:25:42.862810Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020618438720703125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_transaction_hash.005c8ea981", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.855071Z", "completed_at": "2024-08-13T21:25:42.863753Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.868633Z", "completed_at": "2024-08-13T21:25:42.868641Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022326231002807617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_market_created_base_mainnet_id.e1227e7e46", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.864862Z", "completed_at": "2024-08-13T21:25:42.873977Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.876053Z", "completed_at": "2024-08-13T21:25:42.876061Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021748781204223633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_markets_base_sepolia", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n perps_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n market_symbol,\n market_name\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.869502Z", "completed_at": "2024-08-13T21:25:42.876914Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.879784Z", "completed_at": "2024-08-13T21:25:42.879794Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018418312072753906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_perp_market_created_base_sepolia_event_name__MarketCreated.da7f65c9d0", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.880687Z", "completed_at": "2024-08-13T21:25:42.891496Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.893490Z", "completed_at": "2024-08-13T21:25:42.893499Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018955707550048828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_created_base_sepolia_perps_market_id__True__0.89e2162ed5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.887339Z", "completed_at": "2024-08-13T21:25:42.898497Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.900506Z", "completed_at": "2024-08-13T21:25:42.900515Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02247762680053711, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_block_number.f39a76515f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.894422Z", "completed_at": "2024-08-13T21:25:42.906661Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.909451Z", "completed_at": "2024-08-13T21:25:42.909460Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02374720573425293, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_block_timestamp.087de488f9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.901433Z", "completed_at": "2024-08-13T21:25:42.911753Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.917868Z", "completed_at": "2024-08-13T21:25:42.917876Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025227069854736328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_contract.9b5b7d63ca", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.912975Z", "completed_at": "2024-08-13T21:25:42.924339Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.926902Z", "completed_at": "2024-08-13T21:25:42.926910Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01890850067138672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_event_name.594bfb776d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.919492Z", "completed_at": "2024-08-13T21:25:42.926363Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.932582Z", "completed_at": "2024-08-13T21:25:42.932590Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021610021591186523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_id.3651be9d50", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.927813Z", "completed_at": "2024-08-13T21:25:42.939233Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.941798Z", "completed_at": "2024-08-13T21:25:42.941805Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02315664291381836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_market_name.2335002c7c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.934265Z", "completed_at": "2024-08-13T21:25:42.941223Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.943851Z", "completed_at": "2024-08-13T21:25:42.943859Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018291234970092773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_market_symbol.b99df1cd19", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.949542Z", "completed_at": "2024-08-13T21:25:42.957864Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.960138Z", "completed_at": "2024-08-13T21:25:42.960147Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019656658172607422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_transaction_hash.83d1940949", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.945392Z", "completed_at": "2024-08-13T21:25:42.958418Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.961000Z", "completed_at": "2024-08-13T21:25:42.961007Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021240234375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_perps_market_id.30bf02bc46", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.961847Z", "completed_at": "2024-08-13T21:25:42.972886Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.975404Z", "completed_at": "2024-08-13T21:25:42.975414Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019324541091918945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_market_created_base_sepolia_id.9af5f482a3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.965945Z", "completed_at": "2024-08-13T21:25:42.973470Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.976293Z", "completed_at": "2024-08-13T21:25:42.976307Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019244909286499023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_perp_market_updated_base_sepolia_event_name__MarketUpdated.6507eaa7c6", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.977833Z", "completed_at": "2024-08-13T21:25:42.989453Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.991931Z", "completed_at": "2024-08-13T21:25:42.991940Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01974773406982422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_interest_rate__True__0.82fe5b32f6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.984113Z", "completed_at": "2024-08-13T21:25:42.991363Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:42.997865Z", "completed_at": "2024-08-13T21:25:42.997875Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02387714385986328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_market_id__True__0.2aed99d0b6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.993363Z", "completed_at": "2024-08-13T21:25:43.007172Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.009650Z", "completed_at": "2024-08-13T21:25:43.009658Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02102971076965332, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_price__True__0.4f4858e59f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:42.999670Z", "completed_at": "2024-08-13T21:25:43.009076Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.015269Z", "completed_at": "2024-08-13T21:25:43.015279Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025391578674316406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_block_number.6d91893cd9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.011077Z", "completed_at": "2024-08-13T21:25:43.022045Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.024589Z", "completed_at": "2024-08-13T21:25:43.024599Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018149614334106445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_block_timestamp.eabfe875b1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.016986Z", "completed_at": "2024-08-13T21:25:43.024011Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.026586Z", "completed_at": "2024-08-13T21:25:43.026594Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018815040588378906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_contract.7a798ec958", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.032323Z", "completed_at": "2024-08-13T21:25:43.038758Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.041079Z", "completed_at": "2024-08-13T21:25:43.041087Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.017766237258911133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_id.c010e8e9d3", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.028165Z", "completed_at": "2024-08-13T21:25:43.039375Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.041941Z", "completed_at": "2024-08-13T21:25:43.041951Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019437551498413086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_event_name.5808660a29", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.042801Z", "completed_at": "2024-08-13T21:25:43.202466Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.204895Z", "completed_at": "2024-08-13T21:25:43.204911Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.16780900955200195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_interest_rate.20f815f06a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.046938Z", "completed_at": "2024-08-13T21:25:43.203773Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.206360Z", "completed_at": "2024-08-13T21:25:43.206371Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.16836977005004883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_market_id.1d15a36e0c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.207261Z", "completed_at": "2024-08-13T21:25:43.217877Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.220334Z", "completed_at": "2024-08-13T21:25:43.220344Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01861286163330078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_price.821df5b6b3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.212415Z", "completed_at": "2024-08-13T21:25:43.219229Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.221762Z", "completed_at": "2024-08-13T21:25:43.221772Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018789291381835938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_transaction_hash.b36ca2219f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.222644Z", "completed_at": "2024-08-13T21:25:43.233351Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.235723Z", "completed_at": "2024-08-13T21:25:43.235734Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01853775978088379, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_market_updated_base_sepolia_id.5fa0b8a094", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.227534Z", "completed_at": "2024-08-13T21:25:43.234532Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.237147Z", "completed_at": "2024-08-13T21:25:43.237158Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018711090087890625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_perp_market_updated_base_mainnet_event_name__MarketUpdated.33121cd63c", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.238017Z", "completed_at": "2024-08-13T21:25:43.250410Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.252900Z", "completed_at": "2024-08-13T21:25:43.252910Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020408153533935547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_interest_rate__True__0.7f6ed158d2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.243219Z", "completed_at": "2024-08-13T21:25:43.252328Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.258694Z", "completed_at": "2024-08-13T21:25:43.258702Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024837493896484375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_market_id__True__0.5c7a41566b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.254335Z", "completed_at": "2024-08-13T21:25:43.265220Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.267866Z", "completed_at": "2024-08-13T21:25:43.267873Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018131256103515625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_price__True__0.ae7f542736", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.260291Z", "completed_at": "2024-08-13T21:25:43.267295Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.269853Z", "completed_at": "2024-08-13T21:25:43.269861Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0188753604888916, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_block_number.3088915c67", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.275441Z", "completed_at": "2024-08-13T21:25:43.282420Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.288299Z", "completed_at": "2024-08-13T21:25:43.288307Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021769285202026367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_contract.e19df268b3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.271399Z", "completed_at": "2024-08-13T21:25:43.283614Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.294639Z", "completed_at": "2024-08-13T21:25:43.294647Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.028841018676757812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_block_timestamp.c0b049d2d6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.284177Z", "completed_at": "2024-08-13T21:25:43.296411Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.298981Z", "completed_at": "2024-08-13T21:25:43.298988Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018761634826660156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_event_name.de1019fbef", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.289176Z", "completed_at": "2024-08-13T21:25:43.298423Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.301020Z", "completed_at": "2024-08-13T21:25:43.301028Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019942522048950195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_id.23f3e68a12", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.303074Z", "completed_at": "2024-08-13T21:25:43.314077Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.320136Z", "completed_at": "2024-08-13T21:25:43.320144Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022400379180908203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_interest_rate.10b7a6c389", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.308629Z", "completed_at": "2024-08-13T21:25:43.319489Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.325209Z", "completed_at": "2024-08-13T21:25:43.325217Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025458335876464844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_market_id.8ec7a63f6b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.315458Z", "completed_at": "2024-08-13T21:25:43.326027Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.328739Z", "completed_at": "2024-08-13T21:25:43.328750Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02088475227355957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_price.f0d91e2bd5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.321011Z", "completed_at": "2024-08-13T21:25:43.328129Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.330841Z", "completed_at": "2024-08-13T21:25:43.330848Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018164396286010742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_transaction_hash.28faaa00e5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.334829Z", "completed_at": "2024-08-13T21:25:43.347086Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.357020Z", "completed_at": "2024-08-13T21:25:43.357033Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027511119842529297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_market_updated_base_mainnet_id.a3e4d3e22f", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.338925Z", "completed_at": "2024-08-13T21:25:43.352083Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.358012Z", "completed_at": "2024-08-13T21:25:43.358023Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027892351150512695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_perp_order_committed_base_mainnet_event_name__OrderCommitted.ce39697ea3", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.347748Z", "completed_at": "2024-08-13T21:25:43.359681Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.362228Z", "completed_at": "2024-08-13T21:25:43.362238Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.028125524520874023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_mainnet_account_id__True__0.c996cff012", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.352679Z", "completed_at": "2024-08-13T21:25:43.361660Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.364318Z", "completed_at": "2024-08-13T21:25:43.364325Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019416332244873047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_mainnet_market_id__True__0.9964b7c003", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.366414Z", "completed_at": "2024-08-13T21:25:43.377282Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.383243Z", "completed_at": "2024-08-13T21:25:43.383255Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02229595184326172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_committed_base_mainnet_account_id.4dabd60cd4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.371912Z", "completed_at": "2024-08-13T21:25:43.378520Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.389687Z", "completed_at": "2024-08-13T21:25:43.389701Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02669978141784668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_committed_base_mainnet_block_number.743f5b2c16", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.379154Z", "completed_at": "2024-08-13T21:25:43.391459Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.393976Z", "completed_at": "2024-08-13T21:25:43.393986Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02290487289428711, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_committed_base_mainnet_block_timestamp.ba049c4adc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.384223Z", "completed_at": "2024-08-13T21:25:43.392735Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.395536Z", "completed_at": "2024-08-13T21:25:43.395546Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01957392692565918, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_committed_base_mainnet_contract.ec04bc0cd9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.398914Z", "completed_at": "2024-08-13T21:25:43.409177Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.415150Z", "completed_at": "2024-08-13T21:25:43.415164Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02193284034729004, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_committed_base_mainnet_event_name.ea7921e749", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.403813Z", "completed_at": "2024-08-13T21:25:43.414525Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.420367Z", "completed_at": "2024-08-13T21:25:43.420375Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02559041976928711, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_committed_base_mainnet_id.deaaf9a2d9", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.410468Z", "completed_at": "2024-08-13T21:25:43.421285Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.423942Z", "completed_at": "2024-08-13T21:25:43.423950Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02103447914123535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_committed_base_mainnet_market_id.09e2f9dd2e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.416162Z", "completed_at": "2024-08-13T21:25:43.423363Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.426019Z", "completed_at": "2024-08-13T21:25:43.426027Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018257856369018555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_committed_base_mainnet_transaction_hash.ba7bf1fc20", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.434096Z", "completed_at": "2024-08-13T21:25:43.442083Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.452001Z", "completed_at": "2024-08-13T21:25:43.452009Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02670431137084961, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_perp_order_committed_base_sepolia_event_name__OrderCommitted.f236dead5d", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.430017Z", "completed_at": "2024-08-13T21:25:43.442664Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.452884Z", "completed_at": "2024-08-13T21:25:43.452891Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02819037437438965, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_order_committed_base_mainnet_id.471fd9d19f", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.447653Z", "completed_at": "2024-08-13T21:25:43.454001Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.456539Z", "completed_at": "2024-08-13T21:25:43.456547Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.016685009002685547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_sepolia_market_id__True__0.6174df8d83", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.443278Z", "completed_at": "2024-08-13T21:25:43.454535Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.457409Z", "completed_at": "2024-08-13T21:25:43.457418Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.028099536895751953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_sepolia_account_id__True__0.2a5b9bdddf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.467276Z", "completed_at": "2024-08-13T21:25:43.477038Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.483883Z", "completed_at": "2024-08-13T21:25:43.483891Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025113821029663086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_committed_base_sepolia_block_number.f3230cc50d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.463215Z", "completed_at": "2024-08-13T21:25:43.477775Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.485349Z", "completed_at": "2024-08-13T21:25:43.485357Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02718210220336914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_committed_base_sepolia_account_id.e0cc9cd7a0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.473040Z", "completed_at": "2024-08-13T21:25:43.484762Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.487635Z", "completed_at": "2024-08-13T21:25:43.487644Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025756359100341797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_committed_base_sepolia_block_timestamp.192957d40c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.478317Z", "completed_at": "2024-08-13T21:25:43.486982Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.489794Z", "completed_at": "2024-08-13T21:25:43.489802Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02731156349182129, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_committed_base_sepolia_contract.ad38cda3df", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.494382Z", "completed_at": "2024-08-13T21:25:43.508573Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.514238Z", "completed_at": "2024-08-13T21:25:43.514250Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02517104148864746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_committed_base_sepolia_event_name.dc8411b8b1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.499670Z", "completed_at": "2024-08-13T21:25:43.513458Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.515818Z", "completed_at": "2024-08-13T21:25:43.515826Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024546146392822266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_committed_base_sepolia_id.5b74c78258", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.504546Z", "completed_at": "2024-08-13T21:25:43.515176Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.517955Z", "completed_at": "2024-08-13T21:25:43.517965Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02483654022216797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_committed_base_sepolia_market_id.9c41f762ec", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.509328Z", "completed_at": "2024-08-13T21:25:43.517335Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.520227Z", "completed_at": "2024-08-13T21:25:43.520235Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02190232276916504, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_committed_base_sepolia_transaction_hash.761f6c5146", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.524856Z", "completed_at": "2024-08-13T21:25:43.536839Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.547056Z", "completed_at": "2024-08-13T21:25:43.547064Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027611732482910156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_order_committed_base_sepolia_id.eb024384af", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.530309Z", "completed_at": "2024-08-13T21:25:43.546477Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.548195Z", "completed_at": "2024-08-13T21:25:43.548203Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02656078338623047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_perp_order_settled_base_mainnet_event_name__OrderSettled.2c75532624", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.541861Z", "completed_at": "2024-08-13T21:25:43.549035Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.551669Z", "completed_at": "2024-08-13T21:25:43.551678Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02277231216430664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_collected_fees__True__0.160f85cd41", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.537402Z", "completed_at": "2024-08-13T21:25:43.550329Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.553145Z", "completed_at": "2024-08-13T21:25:43.553155Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.029619932174682617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_account_id__True__0.e5564d3ff0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.557752Z", "completed_at": "2024-08-13T21:25:43.568476Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.579509Z", "completed_at": "2024-08-13T21:25:43.579523Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027105331420898438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_market_id__True__0.f0b24bdf87", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.562830Z", "completed_at": "2024-08-13T21:25:43.573290Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.580623Z", "completed_at": "2024-08-13T21:25:43.580634Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02673053741455078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_account_id.16ba855b23", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.569171Z", "completed_at": "2024-08-13T21:25:43.581526Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.584296Z", "completed_at": "2024-08-13T21:25:43.584304Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02727508544921875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_block_number.f58d806635", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.573971Z", "completed_at": "2024-08-13T21:25:43.582862Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.585876Z", "completed_at": "2024-08-13T21:25:43.585885Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02390885353088379, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_block_timestamp.81876ddb40", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.590611Z", "completed_at": "2024-08-13T21:25:43.601549Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.611276Z", "completed_at": "2024-08-13T21:25:43.611292Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02620553970336914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_collected_fees.b6a0c12cde", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.595888Z", "completed_at": "2024-08-13T21:25:43.606404Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.612497Z", "completed_at": "2024-08-13T21:25:43.612507Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025808334350585938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_contract.4999a48971", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.602217Z", "completed_at": "2024-08-13T21:25:43.613336Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.616072Z", "completed_at": "2024-08-13T21:25:43.616082Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02617359161376953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_event_name.f1e61c05e6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.607080Z", "completed_at": "2024-08-13T21:25:43.614805Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.617566Z", "completed_at": "2024-08-13T21:25:43.617576Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022538185119628906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_id.5b3863aece", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.622210Z", "completed_at": "2024-08-13T21:25:43.634060Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.643791Z", "completed_at": "2024-08-13T21:25:43.643806Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026991605758666992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_market_id.6f4d850570", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.627156Z", "completed_at": "2024-08-13T21:25:43.643192Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.646256Z", "completed_at": "2024-08-13T21:25:43.646263Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027938127517700195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_transaction_hash.a60987fbb0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.634721Z", "completed_at": "2024-08-13T21:25:43.645146Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.647874Z", "completed_at": "2024-08-13T21:25:43.647882Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026389360427856445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_order_settled_base_mainnet_id.0225a9550b", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.638830Z", "completed_at": "2024-08-13T21:25:43.645693Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.648745Z", "completed_at": "2024-08-13T21:25:43.648755Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022473573684692383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_perp_order_settled_base_sepolia_event_name__OrderSettled.b82d60a6cd", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.655254Z", "completed_at": "2024-08-13T21:25:43.674770Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.675976Z", "completed_at": "2024-08-13T21:25:43.675987Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02578258514404297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_account_id__True__0.dd4d18c933", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.665311Z", "completed_at": "2024-08-13T21:25:43.676931Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.679420Z", "completed_at": "2024-08-13T21:25:43.679430Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026056528091430664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_market_id__True__0.00baab3b06", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.660884Z", "completed_at": "2024-08-13T21:25:43.677513Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.680301Z", "completed_at": "2024-08-13T21:25:43.680309Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.028111696243286133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_collected_fees__True__0.cfcb7626da", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.669688Z", "completed_at": "2024-08-13T21:25:43.678777Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.681775Z", "completed_at": "2024-08-13T21:25:43.681783Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027811765670776367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_account_id.0505121484", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.686447Z", "completed_at": "2024-08-13T21:25:43.693084Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.705949Z", "completed_at": "2024-08-13T21:25:43.705957Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024903535842895508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_block_number.723c9f9ccf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.697773Z", "completed_at": "2024-08-13T21:25:43.707286Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.709742Z", "completed_at": "2024-08-13T21:25:43.709752Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024000883102416992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_collected_fees.19815f72b6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.693639Z", "completed_at": "2024-08-13T21:25:43.707835Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.710612Z", "completed_at": "2024-08-13T21:25:43.710619Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025467634201049805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_block_timestamp.8624d8c529", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.701819Z", "completed_at": "2024-08-13T21:25:43.709119Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.712110Z", "completed_at": "2024-08-13T21:25:43.712118Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02168750762939453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_contract.03742630fd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.716690Z", "completed_at": "2024-08-13T21:25:43.728334Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.737697Z", "completed_at": "2024-08-13T21:25:43.737705Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02631354331970215, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_event_name.95d61e9b53", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.729087Z", "completed_at": "2024-08-13T21:25:43.738942Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.741408Z", "completed_at": "2024-08-13T21:25:43.741416Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02541208267211914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_market_id.90e9816e9b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.723247Z", "completed_at": "2024-08-13T21:25:43.739586Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.742282Z", "completed_at": "2024-08-13T21:25:43.742290Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026888370513916016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_id.6a51920964", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.733494Z", "completed_at": "2024-08-13T21:25:43.740153Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.743146Z", "completed_at": "2024-08-13T21:25:43.743156Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02247762680053711, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_transaction_hash.e40380e103", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.749155Z", "completed_at": "2024-08-13T21:25:43.759415Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.770360Z", "completed_at": "2024-08-13T21:25:43.770369Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02645111083984375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_order_settled_base_sepolia_id.52c8b658a1", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.755005Z", "completed_at": "2024-08-13T21:25:43.771414Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.773405Z", "completed_at": "2024-08-13T21:25:43.773415Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026204347610473633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_perp_position_liquidated_base_mainnet_event_name__PositionLiquidated.71fb40cadb", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.759966Z", "completed_at": "2024-08-13T21:25:43.772010Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.774834Z", "completed_at": "2024-08-13T21:25:43.774842Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02701282501220703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_account_id__True__0.4dca14dbcd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.764296Z", "completed_at": "2024-08-13T21:25:43.774297Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.777028Z", "completed_at": "2024-08-13T21:25:43.777036Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.028599023818969727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_amount_liquidated__True__0.be0c7ea09d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.781024Z", "completed_at": "2024-08-13T21:25:43.791801Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.797120Z", "completed_at": "2024-08-13T21:25:43.797132Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021523475646972656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_current_position_size__True__0.f59eb84311", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.787422Z", "completed_at": "2024-08-13T21:25:43.802371Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.804628Z", "completed_at": "2024-08-13T21:25:43.804636Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025594472885131836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_market_id__True__0.f77ba4ae2f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.792957Z", "completed_at": "2024-08-13T21:25:43.803893Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.806731Z", "completed_at": "2024-08-13T21:25:43.806740Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026408672332763672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_account_id.498f567370", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.798108Z", "completed_at": "2024-08-13T21:25:43.805514Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.808340Z", "completed_at": "2024-08-13T21:25:43.808349Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022327423095703125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_amount_liquidated.29ad6c9103", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.811786Z", "completed_at": "2024-08-13T21:25:43.818337Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.829042Z", "completed_at": "2024-08-13T21:25:43.829052Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023069381713867188, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_block_number.a7b9be436d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.818916Z", "completed_at": "2024-08-13T21:25:43.834422Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.836707Z", "completed_at": "2024-08-13T21:25:43.836715Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026365280151367188, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_block_timestamp.7e8e3434f7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.825027Z", "completed_at": "2024-08-13T21:25:43.835940Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.838773Z", "completed_at": "2024-08-13T21:25:43.838783Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02300119400024414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_contract.16d824dbca", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.830157Z", "completed_at": "2024-08-13T21:25:43.837610Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.840348Z", "completed_at": "2024-08-13T21:25:43.840357Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02336883544921875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_current_position_size.b48e72d00b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.843794Z", "completed_at": "2024-08-13T21:25:43.850482Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.859926Z", "completed_at": "2024-08-13T21:25:43.859935Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02187490463256836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_event_name.321097aa34", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.851020Z", "completed_at": "2024-08-13T21:25:43.867390Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.869401Z", "completed_at": "2024-08-13T21:25:43.869411Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027067899703979492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_id.32c367bb62", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.855815Z", "completed_at": "2024-08-13T21:25:43.868048Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.870834Z", "completed_at": "2024-08-13T21:25:43.870841Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02294611930847168, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_market_id.564386819e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.860900Z", "completed_at": "2024-08-13T21:25:43.870265Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.873001Z", "completed_at": "2024-08-13T21:25:43.873009Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023934602737426758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_transaction_hash.c67a9607db", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.874522Z", "completed_at": "2024-08-13T21:25:43.882096Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.888202Z", "completed_at": "2024-08-13T21:25:43.888209Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01955723762512207, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_position_liquidated_base_mainnet_id.922d3c5143", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.883274Z", "completed_at": "2024-08-13T21:25:43.898732Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.900861Z", "completed_at": "2024-08-13T21:25:43.900868Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022295236587524414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_perp_position_liquidated_base_sepolia_event_name__PositionLiquidated.e07d1e03f2", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.889074Z", "completed_at": "2024-08-13T21:25:43.900260Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.902882Z", "completed_at": "2024-08-13T21:25:43.902892Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022791385650634766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_account_id__True__0.a60e1cbb90", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.893528Z", "completed_at": "2024-08-13T21:25:43.901737Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.904514Z", "completed_at": "2024-08-13T21:25:43.904523Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02310776710510254, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_amount_liquidated__True__0.20b97e678b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.905382Z", "completed_at": "2024-08-13T21:25:43.912748Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.915016Z", "completed_at": "2024-08-13T21:25:43.915025Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015476226806640625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_current_position_size__True__0.cf9da7d717", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.915927Z", "completed_at": "2024-08-13T21:25:43.932433Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.934359Z", "completed_at": "2024-08-13T21:25:43.934367Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023904800415039062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_market_id__True__0.c5145fd027", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.922843Z", "completed_at": "2024-08-13T21:25:43.933709Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.936419Z", "completed_at": "2024-08-13T21:25:43.936429Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02441883087158203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_account_id.8e9f2c1b4b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.927954Z", "completed_at": "2024-08-13T21:25:43.935264Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.937940Z", "completed_at": "2024-08-13T21:25:43.937950Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024196863174438477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_amount_liquidated.c878a441e1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.938812Z", "completed_at": "2024-08-13T21:25:43.945791Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.948144Z", "completed_at": "2024-08-13T21:25:43.948152Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015203475952148438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_block_number.d05dfab674", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.949006Z", "completed_at": "2024-08-13T21:25:43.964888Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.966788Z", "completed_at": "2024-08-13T21:25:43.966798Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023136615753173828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_block_timestamp.1700de694b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.953822Z", "completed_at": "2024-08-13T21:25:43.965513Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.968268Z", "completed_at": "2024-08-13T21:25:43.968275Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023181676864624023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_contract.0a66db5700", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.958800Z", "completed_at": "2024-08-13T21:25:43.967729Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.970810Z", "completed_at": "2024-08-13T21:25:43.970817Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023979663848876953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_current_position_size.f98475edcb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.972369Z", "completed_at": "2024-08-13T21:25:43.979179Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.985081Z", "completed_at": "2024-08-13T21:25:43.985093Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01916027069091797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_event_name.1d2d01fa50", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.980909Z", "completed_at": "2024-08-13T21:25:43.991797Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:43.997989Z", "completed_at": "2024-08-13T21:25:43.997997Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0215609073638916, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_id.985f2af114", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.986678Z", "completed_at": "2024-08-13T21:25:43.997425Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.000161Z", "completed_at": "2024-08-13T21:25:44.000170Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022426605224609375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_market_id.6c389de6f5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:43.992378Z", "completed_at": "2024-08-13T21:25:43.999623Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.005852Z", "completed_at": "2024-08-13T21:25:44.005862Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026235342025756836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_transaction_hash.b180fd2627", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.001687Z", "completed_at": "2024-08-13T21:25:44.009056Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.011427Z", "completed_at": "2024-08-13T21:25:44.011434Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014854669570922852, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_position_liquidated_base_sepolia_id.e92f27d6e6", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.012851Z", "completed_at": "2024-08-13T21:25:44.028435Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.029917Z", "completed_at": "2024-08-13T21:25:44.029926Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0224916934967041, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n account_id,\n commitment_time,\n tracking_code,\n \n acceptable_price / 1e18\n AS acceptable_price,\n \n size_delta / 1e18\n AS size_delta\nFROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.024125Z", "completed_at": "2024-08-13T21:25:44.030770Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.033371Z", "completed_at": "2024-08-13T21:25:44.033379Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022701025009155273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_account_id__True__0.e4b1283a09", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.019669Z", "completed_at": "2024-08-13T21:25:44.032044Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.038983Z", "completed_at": "2024-08-13T21:25:44.038995Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02955317497253418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired.a675fe5038", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.034497Z", "completed_at": "2024-08-13T21:25:44.042235Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.044597Z", "completed_at": "2024-08-13T21:25:44.044605Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015659570693969727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_market_id__True__0.edc1c768de", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.045442Z", "completed_at": "2024-08-13T21:25:44.061019Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.063330Z", "completed_at": "2024-08-13T21:25:44.063339Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02335834503173828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_account_id.c8037fd435", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.051667Z", "completed_at": "2024-08-13T21:25:44.065184Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.071665Z", "completed_at": "2024-08-13T21:25:44.071675Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.028422832489013672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_block_number.a563a713e9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.055846Z", "completed_at": "2024-08-13T21:25:44.066518Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.073236Z", "completed_at": "2024-08-13T21:25:44.073244Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.029348134994506836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_block_timestamp.8433c78b93", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.067417Z", "completed_at": "2024-08-13T21:25:44.074906Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.077355Z", "completed_at": "2024-08-13T21:25:44.077363Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01585221290588379, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_contract.5eed227a76", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.078231Z", "completed_at": "2024-08-13T21:25:44.085136Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.094786Z", "completed_at": "2024-08-13T21:25:44.094800Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02229905128479004, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_event_name.14c38c565c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.090521Z", "completed_at": "2024-08-13T21:25:44.097343Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.103719Z", "completed_at": "2024-08-13T21:25:44.103727Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02147841453552246, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_market_id.3b39458251", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.085692Z", "completed_at": "2024-08-13T21:25:44.097993Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.104587Z", "completed_at": "2024-08-13T21:25:44.104594Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02794623374938965, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_id.bc7a46deda", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.098518Z", "completed_at": "2024-08-13T21:25:44.106134Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.113708Z", "completed_at": "2024-08-13T21:25:44.113716Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02396869659423828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_transaction_hash.97e2d12b2c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.108092Z", "completed_at": "2024-08-13T21:25:44.117254Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.122575Z", "completed_at": "2024-08-13T21:25:44.122583Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019741296768188477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_previous_order_expired_base_mainnet_id.f02978148f", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.119057Z", "completed_at": "2024-08-13T21:25:44.129287Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.135748Z", "completed_at": "2024-08-13T21:25:44.135759Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02120375633239746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n account_id,\n commitment_time,\n tracking_code,\n \n acceptable_price / 1e18\n AS acceptable_price,\n \n size_delta / 1e18\n AS size_delta\nFROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.123468Z", "completed_at": "2024-08-13T21:25:44.135151Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.137355Z", "completed_at": "2024-08-13T21:25:44.137362Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022167444229125977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired.1a5af6cb8b", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.129921Z", "completed_at": "2024-08-13T21:25:44.138186Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.144949Z", "completed_at": "2024-08-13T21:25:44.144958Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026622295379638672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_account_id__True__0.7ed9f71601", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.139568Z", "completed_at": "2024-08-13T21:25:44.147250Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.149708Z", "completed_at": "2024-08-13T21:25:44.149717Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.015442609786987305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_market_id__True__0.92c22b0d98", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.151193Z", "completed_at": "2024-08-13T21:25:44.163069Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.169242Z", "completed_at": "2024-08-13T21:25:44.169251Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0235140323638916, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_account_id.358a8acfe7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.155536Z", "completed_at": "2024-08-13T21:25:44.168637Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.170802Z", "completed_at": "2024-08-13T21:25:44.170809Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024295568466186523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_block_number.b44f0bbf4b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.164336Z", "completed_at": "2024-08-13T21:25:44.171767Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.177978Z", "completed_at": "2024-08-13T21:25:44.177990Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027552366256713867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_block_timestamp.2056bbf796", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.173030Z", "completed_at": "2024-08-13T21:25:44.181001Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.183351Z", "completed_at": "2024-08-13T21:25:44.183358Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01980423927307129, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_contract.d5ae4c2080", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.184216Z", "completed_at": "2024-08-13T21:25:44.198113Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.200180Z", "completed_at": "2024-08-13T21:25:44.200189Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021373748779296875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_event_name.94027cf5fd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.188320Z", "completed_at": "2024-08-13T21:25:44.199485Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.202232Z", "completed_at": "2024-08-13T21:25:44.202240Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02261972427368164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_id.35380c8364", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.193999Z", "completed_at": "2024-08-13T21:25:44.201655Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.209836Z", "completed_at": "2024-08-13T21:25:44.209844Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027235984802246094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_market_id.c3963e0426", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.203815Z", "completed_at": "2024-08-13T21:25:44.212703Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.215142Z", "completed_at": "2024-08-13T21:25:44.215151Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01650404930114746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_transaction_hash.47402badfc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.216568Z", "completed_at": "2024-08-13T21:25:44.230841Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.232590Z", "completed_at": "2024-08-13T21:25:44.232599Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021283864974975586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_previous_order_expired_base_sepolia_id.a9c841c5f7", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.221865Z", "completed_at": "2024-08-13T21:25:44.233603Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.235952Z", "completed_at": "2024-08-13T21:25:44.235960Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022716283798217773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_order_cancelled_arbitrum_mainnet_event_name__OrderCancelled.bcb12d7741", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.226349Z", "completed_at": "2024-08-13T21:25:44.234149Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.236843Z", "completed_at": "2024-08-13T21:25:44.236850Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022431612014770508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_arbitrum_mainnet_market_id__True__0.8d08288d1d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.237695Z", "completed_at": "2024-08-13T21:25:44.244668Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.250535Z", "completed_at": "2024-08-13T21:25:44.250543Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019147396087646484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_block_number.a85db0bd00", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.246456Z", "completed_at": "2024-08-13T21:25:44.258557Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.264566Z", "completed_at": "2024-08-13T21:25:44.264574Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022840499877929688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp.a2656a614b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.253459Z", "completed_at": "2024-08-13T21:25:44.265681Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.268116Z", "completed_at": "2024-08-13T21:25:44.268124Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02299952507019043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_contract.cc9a04e73e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.259728Z", "completed_at": "2024-08-13T21:25:44.266269Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.268979Z", "completed_at": "2024-08-13T21:25:44.268986Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02323770523071289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_event_name.f29a2c6180", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.269846Z", "completed_at": "2024-08-13T21:25:44.276979Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.282911Z", "completed_at": "2024-08-13T21:25:44.282920Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0192105770111084, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_id.bf2929fb2c", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.278750Z", "completed_at": "2024-08-13T21:25:44.285881Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.295551Z", "completed_at": "2024-08-13T21:25:44.295559Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021558523178100586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_market_id.629e55a158", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.286445Z", "completed_at": "2024-08-13T21:25:44.297291Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.304300Z", "completed_at": "2024-08-13T21:25:44.304311Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026896953582763672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_sender.a796a774d3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.290629Z", "completed_at": "2024-08-13T21:25:44.297866Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.305784Z", "completed_at": "2024-08-13T21:25:44.305792Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027745485305786133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash.43ee88aad5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.299129Z", "completed_at": "2024-08-13T21:25:44.308726Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.311213Z", "completed_at": "2024-08-13T21:25:44.311224Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.016582727432250977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_order_cancelled_arbitrum_mainnet_id.de40647c46", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.312092Z", "completed_at": "2024-08-13T21:25:44.327345Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.329406Z", "completed_at": "2024-08-13T21:25:44.329417Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022843599319458008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_order_cancelled_arbitrum_sepolia_event_name__OrderCancelled.7763c43292", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.318701Z", "completed_at": "2024-08-13T21:25:44.328816Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.331498Z", "completed_at": "2024-08-13T21:25:44.331505Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021659374237060547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_arbitrum_sepolia_market_id__True__0.047630938a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.323190Z", "completed_at": "2024-08-13T21:25:44.330348Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.333091Z", "completed_at": "2024-08-13T21:25:44.333099Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022616147994995117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_block_number.6b3267b9d4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.333945Z", "completed_at": "2024-08-13T21:25:44.341578Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.347629Z", "completed_at": "2024-08-13T21:25:44.347640Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01979804039001465, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp.5b304e425f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.343365Z", "completed_at": "2024-08-13T21:25:44.355672Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.361901Z", "completed_at": "2024-08-13T21:25:44.361910Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023096084594726562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_contract.b838860ee1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.349140Z", "completed_at": "2024-08-13T21:25:44.361313Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.363552Z", "completed_at": "2024-08-13T21:25:44.363562Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023318052291870117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_event_name.e938eb2758", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.356247Z", "completed_at": "2024-08-13T21:25:44.364417Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.370672Z", "completed_at": "2024-08-13T21:25:44.370680Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028628826141357422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_id.8e031ca154", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.365676Z", "completed_at": "2024-08-13T21:25:44.372942Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.375297Z", "completed_at": "2024-08-13T21:25:44.375304Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.014837026596069336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_market_id.d248c77fa3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.380858Z", "completed_at": "2024-08-13T21:25:44.387476Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.393322Z", "completed_at": "2024-08-13T21:25:44.393330Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021125078201293945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash.7bc3d70f6e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.376752Z", "completed_at": "2024-08-13T21:25:44.388025Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.394194Z", "completed_at": "2024-08-13T21:25:44.394201Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02272343635559082, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_sender.dd378adc77", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.388592Z", "completed_at": "2024-08-13T21:25:44.402555Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.405026Z", "completed_at": "2024-08-13T21:25:44.405036Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02897810935974121, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_order_cancelled_arbitrum_sepolia_id.463daca854", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.395200Z", "completed_at": "2024-08-13T21:25:44.404467Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.407020Z", "completed_at": "2024-08-13T21:25:44.407027Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020400047302246094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_order_cancelled_base_mainnet_event_name__OrderCancelled.468b0aa5ec", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.408599Z", "completed_at": "2024-08-13T21:25:44.419598Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.421880Z", "completed_at": "2024-08-13T21:25:44.421888Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018787622451782227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_base_mainnet_market_id__True__0.9edddeabb3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.413073Z", "completed_at": "2024-08-13T21:25:44.420183Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.422746Z", "completed_at": "2024-08-13T21:25:44.422754Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018998384475708008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_block_number.59e7d43c87", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.427743Z", "completed_at": "2024-08-13T21:25:44.434126Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.436538Z", "completed_at": "2024-08-13T21:25:44.436548Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.017737150192260742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_contract.b45f673add", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.423648Z", "completed_at": "2024-08-13T21:25:44.435427Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.437968Z", "completed_at": "2024-08-13T21:25:44.437977Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020071744918823242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_block_timestamp.81016bb88f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.438829Z", "completed_at": "2024-08-13T21:25:44.450984Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.453433Z", "completed_at": "2024-08-13T21:25:44.453443Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020041704177856445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_event_name.75d1cf92ef", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.443840Z", "completed_at": "2024-08-13T21:25:44.452868Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.459012Z", "completed_at": "2024-08-13T21:25:44.459020Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024428606033325195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_id.5486ce1cb2", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.454862Z", "completed_at": "2024-08-13T21:25:44.465658Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.467744Z", "completed_at": "2024-08-13T21:25:44.467752Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.017514705657958984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_market_id.3d2e9d2ba5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.460636Z", "completed_at": "2024-08-13T21:25:44.468554Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.470945Z", "completed_at": "2024-08-13T21:25:44.470953Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019394874572753906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_sender.666cd271e1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.471847Z", "completed_at": "2024-08-13T21:25:44.481497Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.483903Z", "completed_at": "2024-08-13T21:25:44.483911Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.017693519592285156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_transaction_hash.524e2820c0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.475941Z", "completed_at": "2024-08-13T21:25:44.482105Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.484760Z", "completed_at": "2024-08-13T21:25:44.484771Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01782846450805664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_order_cancelled_base_mainnet_id.5ac9e5a86c", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.485638Z", "completed_at": "2024-08-13T21:25:44.499460Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.501370Z", "completed_at": "2024-08-13T21:25:44.501378Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02153301239013672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_order_cancelled_base_sepolia_event_name__OrderCancelled.19ae93abc4", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.492247Z", "completed_at": "2024-08-13T21:25:44.502192Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.512066Z", "completed_at": "2024-08-13T21:25:44.512077Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028892993927001953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_base_sepolia_market_id__True__0.256744e74d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.502787Z", "completed_at": "2024-08-13T21:25:44.514479Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.516952Z", "completed_at": "2024-08-13T21:25:44.516960Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018900394439697266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_block_number.86a31f2f2c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.506924Z", "completed_at": "2024-08-13T21:25:44.515194Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.517821Z", "completed_at": "2024-08-13T21:25:44.517832Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01910710334777832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_block_timestamp.fa9df55b40", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.518695Z", "completed_at": "2024-08-13T21:25:44.529801Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.531801Z", "completed_at": "2024-08-13T21:25:44.531812Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01873183250427246, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_contract.0c41210b4f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.525072Z", "completed_at": "2024-08-13T21:25:44.532686Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.538745Z", "completed_at": "2024-08-13T21:25:44.538753Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0225222110748291, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_event_name.860a2e2098", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.533800Z", "completed_at": "2024-08-13T21:25:44.546709Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.549248Z", "completed_at": "2024-08-13T21:25:44.549255Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020125627517700195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_id.5e9a576929", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.539652Z", "completed_at": "2024-08-13T21:25:44.548062Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.554220Z", "completed_at": "2024-08-13T21:25:44.554228Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023898839950561523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_market_id.29f20fb008", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.550106Z", "completed_at": "2024-08-13T21:25:44.557195Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.563268Z", "completed_at": "2024-08-13T21:25:44.563276Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0179593563079834, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_sender.aac13d426e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.557758Z", "completed_at": "2024-08-13T21:25:44.564816Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.570714Z", "completed_at": "2024-08-13T21:25:44.570722Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022189617156982422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_transaction_hash.0752dd402b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.566684Z", "completed_at": "2024-08-13T21:25:44.578278Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.584502Z", "completed_at": "2024-08-13T21:25:44.584510Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022724151611328125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_order_cancelled_base_sepolia_id.0e40062e64", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.571645Z", "completed_at": "2024-08-13T21:25:44.578875Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.585369Z", "completed_at": "2024-08-13T21:25:44.585377Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02295517921447754, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_order_committed_arbitrum_mainnet_event_name__OrderCommitted.e30a77b9b3", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.580059Z", "completed_at": "2024-08-13T21:25:44.587667Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.595535Z", "completed_at": "2024-08-13T21:25:44.595546Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01963210105895996, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_amount_provided__True__0.a0c5711e24", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.588913Z", "completed_at": "2024-08-13T21:25:44.598609Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.604551Z", "completed_at": "2024-08-13T21:25:44.604560Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02521371841430664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_market_id__True__0.fcb0bd480c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.599750Z", "completed_at": "2024-08-13T21:25:44.610208Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.616446Z", "completed_at": "2024-08-13T21:25:44.616459Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021716594696044922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_amount_provided.618d749652", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.605437Z", "completed_at": "2024-08-13T21:25:44.615885Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.618193Z", "completed_at": "2024-08-13T21:25:44.618204Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021792888641357422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_block_number.bbd3030ffd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.611640Z", "completed_at": "2024-08-13T21:25:44.619075Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.621641Z", "completed_at": "2024-08-13T21:25:44.621648Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.017854928970336914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_block_timestamp.a4f827fd66", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.623129Z", "completed_at": "2024-08-13T21:25:44.630308Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.641589Z", "completed_at": "2024-08-13T21:25:44.641597Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02430272102355957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_contract.1d73e820e2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.635716Z", "completed_at": "2024-08-13T21:25:44.648358Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.650192Z", "completed_at": "2024-08-13T21:25:44.650200Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02286839485168457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_id.2bedbed49c", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.631497Z", "completed_at": "2024-08-13T21:25:44.649482Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.652222Z", "completed_at": "2024-08-13T21:25:44.652230Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.029833078384399414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_event_name.364a2ed7fd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.644130Z", "completed_at": "2024-08-13T21:25:44.651028Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.653782Z", "completed_at": "2024-08-13T21:25:44.653790Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023039817810058594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_market_id.eb267aefe6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.654632Z", "completed_at": "2024-08-13T21:25:44.662193Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.668160Z", "completed_at": "2024-08-13T21:25:44.668169Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019373655319213867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_order_type.9bedf0c3bc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.663954Z", "completed_at": "2024-08-13T21:25:44.674540Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.680780Z", "completed_at": "2024-08-13T21:25:44.680792Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021462202072143555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_referrer.23dc146929", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.669643Z", "completed_at": "2024-08-13T21:25:44.680191Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.682363Z", "completed_at": "2024-08-13T21:25:44.682371Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021508216857910156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_sender.d7cbd6bc05", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.675149Z", "completed_at": "2024-08-13T21:25:44.683210Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.690857Z", "completed_at": "2024-08-13T21:25:44.690869Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02823495864868164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_transaction_hash.47ac362f75", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.684500Z", "completed_at": "2024-08-13T21:25:44.693201Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.695639Z", "completed_at": "2024-08-13T21:25:44.695647Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01628398895263672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_order_committed_arbitrum_mainnet_id.715535831f", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.701552Z", "completed_at": "2024-08-13T21:25:44.712834Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.714648Z", "completed_at": "2024-08-13T21:25:44.714656Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022179365158081055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_amount_provided__True__0.e297093a69", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.697123Z", "completed_at": "2024-08-13T21:25:44.713411Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.716166Z", "completed_at": "2024-08-13T21:25:44.716174Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024414777755737305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_order_committed_arbitrum_sepolia_event_name__OrderCommitted.48f82592c2", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.708485Z", "completed_at": "2024-08-13T21:25:44.715609Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.721860Z", "completed_at": "2024-08-13T21:25:44.721872Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025499820709228516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_market_id__True__0.156852fc84", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.717024Z", "completed_at": "2024-08-13T21:25:44.724924Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.727340Z", "completed_at": "2024-08-13T21:25:44.727348Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01967144012451172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_amount_provided.b4fbc53f60", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.728753Z", "completed_at": "2024-08-13T21:25:44.744011Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.746131Z", "completed_at": "2024-08-13T21:25:44.746141Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022560834884643555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_block_number.e402f23638", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.734117Z", "completed_at": "2024-08-13T21:25:44.745545Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.748178Z", "completed_at": "2024-08-13T21:25:44.748185Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022735595703125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_block_timestamp.053b915e14", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.739880Z", "completed_at": "2024-08-13T21:25:44.746971Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.749709Z", "completed_at": "2024-08-13T21:25:44.749716Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023098230361938477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_contract.8724d32b95", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.750545Z", "completed_at": "2024-08-13T21:25:44.757526Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.759891Z", "completed_at": "2024-08-13T21:25:44.759902Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015357494354248047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_event_name.10fb9fe2fd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.760761Z", "completed_at": "2024-08-13T21:25:44.774657Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.776854Z", "completed_at": "2024-08-13T21:25:44.776865Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0214540958404541, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_id.3dc77e7585", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.765422Z", "completed_at": "2024-08-13T21:25:44.776259Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.778847Z", "completed_at": "2024-08-13T21:25:44.778855Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02204298973083496, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_market_id.4600734bce", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.770525Z", "completed_at": "2024-08-13T21:25:44.777751Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.780435Z", "completed_at": "2024-08-13T21:25:44.780442Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021864891052246094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_order_type.cfe77ca9a2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.781281Z", "completed_at": "2024-08-13T21:25:44.789779Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.792125Z", "completed_at": "2024-08-13T21:25:44.792135Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.016750335693359375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_referrer.3934248ab9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.792990Z", "completed_at": "2024-08-13T21:25:44.806860Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.808858Z", "completed_at": "2024-08-13T21:25:44.808866Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02118682861328125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_sender.6665c965c9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.797659Z", "completed_at": "2024-08-13T21:25:44.808176Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.810890Z", "completed_at": "2024-08-13T21:25:44.810899Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021828651428222656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_transaction_hash.44fbdb881f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.802731Z", "completed_at": "2024-08-13T21:25:44.809775Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.812462Z", "completed_at": "2024-08-13T21:25:44.812473Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021666288375854492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_order_committed_arbitrum_sepolia_id.7dddd93b21", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.813360Z", "completed_at": "2024-08-13T21:25:44.821260Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.827448Z", "completed_at": "2024-08-13T21:25:44.827460Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019997835159301758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_order_committed_base_mainnet_event_name__OrderCommitted.7219cd261b", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.823011Z", "completed_at": "2024-08-13T21:25:44.835806Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.841990Z", "completed_at": "2024-08-13T21:25:44.841998Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023533105850219727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_mainnet_amount_provided__True__0.9f6ff0bd95", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.828921Z", "completed_at": "2024-08-13T21:25:44.841404Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.844145Z", "completed_at": "2024-08-13T21:25:44.844153Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024187803268432617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_mainnet_market_id__True__0.d412907ad8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.836445Z", "completed_at": "2024-08-13T21:25:44.843593Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.849899Z", "completed_at": "2024-08-13T21:25:44.849911Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.028193950653076172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_amount_provided.99b6d3d7c6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.845784Z", "completed_at": "2024-08-13T21:25:44.853641Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.856032Z", "completed_at": "2024-08-13T21:25:44.856042Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015472412109375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_block_number.b73840a782", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.856902Z", "completed_at": "2024-08-13T21:25:44.870946Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.872567Z", "completed_at": "2024-08-13T21:25:44.872576Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02105236053466797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_block_timestamp.b355df469e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.861742Z", "completed_at": "2024-08-13T21:25:44.873374Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.875775Z", "completed_at": "2024-08-13T21:25:44.875785Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022815704345703125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_contract.2711d7c5f2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.866863Z", "completed_at": "2024-08-13T21:25:44.874009Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.876687Z", "completed_at": "2024-08-13T21:25:44.876694Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021984100341796875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_event_name.dc08478d35", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.877607Z", "completed_at": "2024-08-13T21:25:44.886563Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.892437Z", "completed_at": "2024-08-13T21:25:44.892445Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020776033401489258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_id.4e7c563b12", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.887770Z", "completed_at": "2024-08-13T21:25:44.898075Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.903718Z", "completed_at": "2024-08-13T21:25:44.903728Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020552873611450195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_market_id.eb878589ce", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.893986Z", "completed_at": "2024-08-13T21:25:44.904597Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.907184Z", "completed_at": "2024-08-13T21:25:44.907192Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021294832229614258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_order_type.af8cf04472", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.899522Z", "completed_at": "2024-08-13T21:25:44.906572Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.909243Z", "completed_at": "2024-08-13T21:25:44.909253Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022179841995239258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_referrer.773110510c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.910788Z", "completed_at": "2024-08-13T21:25:44.921719Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.924153Z", "completed_at": "2024-08-13T21:25:44.924161Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019089937210083008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_sender.fcb2f6b8e6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.916993Z", "completed_at": "2024-08-13T21:25:44.923609Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.935058Z", "completed_at": "2024-08-13T21:25:44.935072Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026600360870361328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_transaction_hash.bf2697d39d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.930694Z", "completed_at": "2024-08-13T21:25:44.937881Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.940271Z", "completed_at": "2024-08-13T21:25:44.940278Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019232749938964844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_order_committed_base_sepolia_event_name__OrderCommitted.5b70cba35c", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.925009Z", "completed_at": "2024-08-13T21:25:44.939033Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.941758Z", "completed_at": "2024-08-13T21:25:44.941765Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025601863861083984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_order_committed_base_mainnet_id.ebe225e3c1", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.943882Z", "completed_at": "2024-08-13T21:25:44.955212Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.957541Z", "completed_at": "2024-08-13T21:25:44.957551Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019210338592529297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_sepolia_amount_provided__True__0.054ef0ffa5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.949142Z", "completed_at": "2024-08-13T21:25:44.955818Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.958437Z", "completed_at": "2024-08-13T21:25:44.958444Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01888728141784668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_sepolia_market_id__True__0.6632755b0a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.959521Z", "completed_at": "2024-08-13T21:25:44.970280Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.972650Z", "completed_at": "2024-08-13T21:25:44.972664Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019261598587036133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_amount_provided.38ad18f779", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.963747Z", "completed_at": "2024-08-13T21:25:44.970846Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.973561Z", "completed_at": "2024-08-13T21:25:44.973569Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019291162490844727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_block_number.9e8c3cbe19", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.974957Z", "completed_at": "2024-08-13T21:25:44.987400Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.989882Z", "completed_at": "2024-08-13T21:25:44.989894Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020291566848754883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_block_timestamp.8c88551cb4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.982262Z", "completed_at": "2024-08-13T21:25:44.989315Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:44.995590Z", "completed_at": "2024-08-13T21:25:44.995598Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0242464542388916, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_contract.665bb25f85", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.991393Z", "completed_at": "2024-08-13T21:25:45.002150Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.004753Z", "completed_at": "2024-08-13T21:25:45.004761Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01819777488708496, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_event_name.438812a0d2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:44.997172Z", "completed_at": "2024-08-13T21:25:45.004175Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.006720Z", "completed_at": "2024-08-13T21:25:45.006728Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018878459930419922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_id.11a4430aff", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.012459Z", "completed_at": "2024-08-13T21:25:45.018828Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.021187Z", "completed_at": "2024-08-13T21:25:45.021195Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.017722129821777344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_order_type.3954986bef", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.008315Z", "completed_at": "2024-08-13T21:25:45.019480Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.022060Z", "completed_at": "2024-08-13T21:25:45.022068Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0193636417388916, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_market_id.15c2459855", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.022930Z", "completed_at": "2024-08-13T21:25:45.035442Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.037816Z", "completed_at": "2024-08-13T21:25:45.037824Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02055072784423828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_referrer.7ec29fa647", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.028865Z", "completed_at": "2024-08-13T21:25:45.036078Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.038686Z", "completed_at": "2024-08-13T21:25:45.038696Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020543813705444336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_sender.4e585d7f19", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.040181Z", "completed_at": "2024-08-13T21:25:45.051416Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.053877Z", "completed_at": "2024-08-13T21:25:45.053889Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019266843795776367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_transaction_hash.9c446b3700", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.045744Z", "completed_at": "2024-08-13T21:25:45.053309Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.063878Z", "completed_at": "2024-08-13T21:25:45.063887Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0273587703704834, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_order_committed_base_sepolia_id.3819dc1084", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.054752Z", "completed_at": "2024-08-13T21:25:45.066459Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.069167Z", "completed_at": "2024-08-13T21:25:45.069177Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019321680068969727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_order_settled_arbitrum_mainnet_event_name__OrderSettled.c43865614e", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.059387Z", "completed_at": "2024-08-13T21:25:45.067706Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.070633Z", "completed_at": "2024-08-13T21:25:45.070642Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019979000091552734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_collected_fees__True__0.e9fce02c77", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.073111Z", "completed_at": "2024-08-13T21:25:45.086278Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.088706Z", "completed_at": "2024-08-13T21:25:45.088719Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021690845489501953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_final_order_amount__True__0.d78aeda819", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.080118Z", "completed_at": "2024-08-13T21:25:45.087548Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.094180Z", "completed_at": "2024-08-13T21:25:45.094194Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025795936584472656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_market_id__True__0.498546554e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.089618Z", "completed_at": "2024-08-13T21:25:45.101147Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.103672Z", "completed_at": "2024-08-13T21:25:45.103683Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019152402877807617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_price__True__0.94dec93a68", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.095263Z", "completed_at": "2024-08-13T21:25:45.102428Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.105116Z", "completed_at": "2024-08-13T21:25:45.105126Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01980113983154297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_block_number.876a0a0282", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.107260Z", "completed_at": "2024-08-13T21:25:45.117864Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.120259Z", "completed_at": "2024-08-13T21:25:45.120270Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0185699462890625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_block_timestamp.483fdb2a21", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.112298Z", "completed_at": "2024-08-13T21:25:45.119137Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.127087Z", "completed_at": "2024-08-13T21:25:45.127117Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02421116828918457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_collected_fees.4c46cfb386", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.121132Z", "completed_at": "2024-08-13T21:25:45.133677Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.136284Z", "completed_at": "2024-08-13T21:25:45.136297Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019930362701416016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_contract.7d4f904249", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.128002Z", "completed_at": "2024-08-13T21:25:45.135708Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.138331Z", "completed_at": "2024-08-13T21:25:45.138339Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021224260330200195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_event_name.32a64f7398", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.139904Z", "completed_at": "2024-08-13T21:25:45.150628Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.153003Z", "completed_at": "2024-08-13T21:25:45.153013Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018693923950195312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_id.1124fb8990", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.144160Z", "completed_at": "2024-08-13T21:25:45.151893Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.158154Z", "completed_at": "2024-08-13T21:25:45.158166Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023164749145507812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_market_id.84635206a3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.153876Z", "completed_at": "2024-08-13T21:25:45.165041Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.167679Z", "completed_at": "2024-08-13T21:25:45.167689Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01874089241027832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_order_type.cc9846cfde", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.159258Z", "completed_at": "2024-08-13T21:25:45.167081Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.169690Z", "completed_at": "2024-08-13T21:25:45.169698Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01975417137145996, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_price.3e2897303c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.171262Z", "completed_at": "2024-08-13T21:25:45.182926Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.185263Z", "completed_at": "2024-08-13T21:25:45.185270Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01958179473876953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_settler.2f85667062", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.177147Z", "completed_at": "2024-08-13T21:25:45.184168Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.186682Z", "completed_at": "2024-08-13T21:25:45.186689Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020311832427978516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_transaction_hash.a8b7f93ae5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.187567Z", "completed_at": "2024-08-13T21:25:45.198291Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.200651Z", "completed_at": "2024-08-13T21:25:45.200660Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018779993057250977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_order_settled_arbitrum_mainnet_id.a1ec7e590f", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.192439Z", "completed_at": "2024-08-13T21:25:45.199545Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.202081Z", "completed_at": "2024-08-13T21:25:45.202088Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018641948699951172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_order_settled_arbitrum_sepolia_event_name__OrderSettled.3825809881", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.202930Z", "completed_at": "2024-08-13T21:25:45.214219Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.216638Z", "completed_at": "2024-08-13T21:25:45.216646Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019205808639526367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_collected_fees__True__0.43d000a1f2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.208313Z", "completed_at": "2024-08-13T21:25:45.215500Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.218053Z", "completed_at": "2024-08-13T21:25:45.218060Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019277095794677734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_final_order_amount__True__0.976f3b49e5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.218896Z", "completed_at": "2024-08-13T21:25:45.231805Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.234157Z", "completed_at": "2024-08-13T21:25:45.234164Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02080678939819336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_market_id__True__0.6880f35b4a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.225657Z", "completed_at": "2024-08-13T21:25:45.233576Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.239751Z", "completed_at": "2024-08-13T21:25:45.239763Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025040864944458008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_price__True__0.6c6c67c752", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.235650Z", "completed_at": "2024-08-13T21:25:45.246393Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.248907Z", "completed_at": "2024-08-13T21:25:45.248917Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018072843551635742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_block_number.f4d15aa1c6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.241389Z", "completed_at": "2024-08-13T21:25:45.248331Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.250895Z", "completed_at": "2024-08-13T21:25:45.250902Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018599510192871094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_block_timestamp.4104ea8ae8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.252447Z", "completed_at": "2024-08-13T21:25:45.262186Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.264579Z", "completed_at": "2024-08-13T21:25:45.264588Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01774144172668457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_collected_fees.1010c0a5f8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.256588Z", "completed_at": "2024-08-13T21:25:45.263450Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.266005Z", "completed_at": "2024-08-13T21:25:45.266013Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018370389938354492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_contract.2b0e9ad75a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.266860Z", "completed_at": "2024-08-13T21:25:45.279015Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.281519Z", "completed_at": "2024-08-13T21:25:45.281527Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02024674415588379, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_event_name.51feaa1c12", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.273367Z", "completed_at": "2024-08-13T21:25:45.280949Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.287087Z", "completed_at": "2024-08-13T21:25:45.287121Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024442195892333984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_id.61da8ff5ef", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.282951Z", "completed_at": "2024-08-13T21:25:45.294399Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.296838Z", "completed_at": "2024-08-13T21:25:45.296845Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018608808517456055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_market_id.d28592e51d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.288863Z", "completed_at": "2024-08-13T21:25:45.295697Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.298255Z", "completed_at": "2024-08-13T21:25:45.298262Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018621444702148438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_order_type.ce3ce512a2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.299129Z", "completed_at": "2024-08-13T21:25:45.309753Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.312196Z", "completed_at": "2024-08-13T21:25:45.312204Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01849985122680664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_price.1a44fe5106", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.304042Z", "completed_at": "2024-08-13T21:25:45.311055Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.313619Z", "completed_at": "2024-08-13T21:25:45.313626Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018601179122924805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_settler.709cf86f6a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.314475Z", "completed_at": "2024-08-13T21:25:45.327273Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.330028Z", "completed_at": "2024-08-13T21:25:45.330039Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021086692810058594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_transaction_hash.e39d83aa1f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.320994Z", "completed_at": "2024-08-13T21:25:45.329431Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.340853Z", "completed_at": "2024-08-13T21:25:45.340865Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.03056788444519043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_order_settled_arbitrum_sepolia_id.fce4a382d0", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.336268Z", "completed_at": "2024-08-13T21:25:45.343555Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.346029Z", "completed_at": "2024-08-13T21:25:45.346037Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01946115493774414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_collected_fees__True__0.d7bd810890", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.331001Z", "completed_at": "2024-08-13T21:25:45.344104Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.346894Z", "completed_at": "2024-08-13T21:25:45.346902Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021129608154296875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_order_settled_base_mainnet_event_name__OrderSettled.30376f4577", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.350285Z", "completed_at": "2024-08-13T21:25:45.360817Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.363199Z", "completed_at": "2024-08-13T21:25:45.363208Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018543004989624023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_final_order_amount__True__0.285227b4ad", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.354782Z", "completed_at": "2024-08-13T21:25:45.362595Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.374275Z", "completed_at": "2024-08-13T21:25:45.374285Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.029007673263549805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_market_id__True__0.57e7a4e22d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.370200Z", "completed_at": "2024-08-13T21:25:45.376460Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.378888Z", "completed_at": "2024-08-13T21:25:45.378896Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018954038619995117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_block_number.0da3f5f83c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.364079Z", "completed_at": "2024-08-13T21:25:45.377605Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.380440Z", "completed_at": "2024-08-13T21:25:45.380447Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021148204803466797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_price__True__0.a69aaf95b9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.383817Z", "completed_at": "2024-08-13T21:25:45.394075Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.400038Z", "completed_at": "2024-08-13T21:25:45.400046Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021889925003051758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_block_timestamp.d6a06e33d2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.388576Z", "completed_at": "2024-08-13T21:25:45.395395Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.405043Z", "completed_at": "2024-08-13T21:25:45.405051Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02533411979675293, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_collected_fees.f0d64ac401", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.395960Z", "completed_at": "2024-08-13T21:25:45.406825Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.409455Z", "completed_at": "2024-08-13T21:25:45.409462Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02160024642944336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_contract.901410d0f9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.400943Z", "completed_at": "2024-08-13T21:25:45.408239Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.410953Z", "completed_at": "2024-08-13T21:25:45.410960Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018396377563476562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_event_name.b99840eec6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.414319Z", "completed_at": "2024-08-13T21:25:45.426306Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.432264Z", "completed_at": "2024-08-13T21:25:45.432272Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0235440731048584, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_id.bee9f4adc9", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.420794Z", "completed_at": "2024-08-13T21:25:45.427644Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.437202Z", "completed_at": "2024-08-13T21:25:45.437211Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02699589729309082, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_market_id.ea53981200", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.428181Z", "completed_at": "2024-08-13T21:25:45.438961Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.441585Z", "completed_at": "2024-08-13T21:25:45.441593Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02152848243713379, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_order_type.0e7f500a0a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.433136Z", "completed_at": "2024-08-13T21:25:45.441011Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.443661Z", "completed_at": "2024-08-13T21:25:45.443668Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018886804580688477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_price.a8065724a1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.445719Z", "completed_at": "2024-08-13T21:25:45.456078Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.458501Z", "completed_at": "2024-08-13T21:25:45.458512Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018181800842285156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_settler.32eafc3529", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.451227Z", "completed_at": "2024-08-13T21:25:45.457970Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.469441Z", "completed_at": "2024-08-13T21:25:45.469449Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02709197998046875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_transaction_hash.cc03e5396c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.459401Z", "completed_at": "2024-08-13T21:25:45.472066Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.474644Z", "completed_at": "2024-08-13T21:25:45.474654Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02421116828918457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_order_settled_base_mainnet_id.3552e2a2e6", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.464988Z", "completed_at": "2024-08-13T21:25:45.473401Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.476130Z", "completed_at": "2024-08-13T21:25:45.476140Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020802974700927734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_order_settled_base_sepolia_event_name__OrderSettled.177309ebc4", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.478280Z", "completed_at": "2024-08-13T21:25:45.489606Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.492037Z", "completed_at": "2024-08-13T21:25:45.492048Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01935100555419922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_collected_fees__True__0.7f14aa7a7b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.483748Z", "completed_at": "2024-08-13T21:25:45.490871Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.497351Z", "completed_at": "2024-08-13T21:25:45.497364Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02348947525024414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_final_order_amount__True__0.db1eb9bae2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.492911Z", "completed_at": "2024-08-13T21:25:45.504798Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.507194Z", "completed_at": "2024-08-13T21:25:45.507203Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019135475158691406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_market_id__True__0.57c7ca8b8a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.498323Z", "completed_at": "2024-08-13T21:25:45.505383Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.508051Z", "completed_at": "2024-08-13T21:25:45.508059Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019212722778320312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_price__True__0.be79188042", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.517255Z", "completed_at": "2024-08-13T21:25:45.523668Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.529553Z", "completed_at": "2024-08-13T21:25:45.529563Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023134469985961914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_block_timestamp.2af878ee49", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.511409Z", "completed_at": "2024-08-13T21:25:45.524279Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.530641Z", "completed_at": "2024-08-13T21:25:45.530649Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024800777435302734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_block_number.65da819fda", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.525387Z", "completed_at": "2024-08-13T21:25:45.536669Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.538716Z", "completed_at": "2024-08-13T21:25:45.538726Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.017357349395751953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_collected_fees.ce03171f19", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.531565Z", "completed_at": "2024-08-13T21:25:45.539595Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.542041Z", "completed_at": "2024-08-13T21:25:45.542049Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019990205764770508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_contract.70a66ec745", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.543488Z", "completed_at": "2024-08-13T21:25:45.559947Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.562460Z", "completed_at": "2024-08-13T21:25:45.562468Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02452707290649414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_event_name.78cc82e3ab", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.549046Z", "completed_at": "2024-08-13T21:25:45.561357Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.563516Z", "completed_at": "2024-08-13T21:25:45.563524Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023448467254638672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_id.41dd4b147f", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.554854Z", "completed_at": "2024-08-13T21:25:45.564348Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.570732Z", "completed_at": "2024-08-13T21:25:45.570741Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02317667007446289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_market_id.08f8f7cfee", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.564916Z", "completed_at": "2024-08-13T21:25:45.572408Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.574859Z", "completed_at": "2024-08-13T21:25:45.574866Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020911693572998047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_order_type.aba0efecf9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.576926Z", "completed_at": "2024-08-13T21:25:45.587604Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.593674Z", "completed_at": "2024-08-13T21:25:45.593683Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021974802017211914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_price.5e737efecc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.581975Z", "completed_at": "2024-08-13T21:25:45.593130Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.598835Z", "completed_at": "2024-08-13T21:25:45.598845Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025975704193115234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_settler.3cce2227a9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.588297Z", "completed_at": "2024-08-13T21:25:45.599897Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.602619Z", "completed_at": "2024-08-13T21:25:45.602627Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026392459869384766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_transaction_hash.db4a8fd73d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.594634Z", "completed_at": "2024-08-13T21:25:45.602049Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.604749Z", "completed_at": "2024-08-13T21:25:45.604757Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017911672592163086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_order_settled_base_sepolia_id.d146f45657", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.614646Z", "completed_at": "2024-08-13T21:25:45.621388Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.631540Z", "completed_at": "2024-08-13T21:25:45.631555Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02756643295288086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_collected_fees__True__0.ffa72f24d6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.608701Z", "completed_at": "2024-08-13T21:25:45.630895Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.633488Z", "completed_at": "2024-08-13T21:25:45.633497Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.030093908309936523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_synth_bought_arbitrum_mainnet_event_name__SynthBought.6968f2e38e", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.621997Z", "completed_at": "2024-08-13T21:25:45.632911Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.635739Z", "completed_at": "2024-08-13T21:25:45.635747Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027752399444580078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_price__True__0.2666787a3a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.626423Z", "completed_at": "2024-08-13T21:25:45.634433Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.637329Z", "completed_at": "2024-08-13T21:25:45.637337Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018265962600708008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_synth_market_id__True__0.39b07cbd1a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.643280Z", "completed_at": "2024-08-13T21:25:45.663563Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.665050Z", "completed_at": "2024-08-13T21:25:45.665062Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026970624923706055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_block_number.3db00f8fd2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.648326Z", "completed_at": "2024-08-13T21:25:45.664221Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.667026Z", "completed_at": "2024-08-13T21:25:45.667034Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027637720108032227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp.1e3c9accd9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.659252Z", "completed_at": "2024-08-13T21:25:45.665912Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.668626Z", "completed_at": "2024-08-13T21:25:45.668634Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026095867156982422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_contract.7f6d914e0b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.653184Z", "completed_at": "2024-08-13T21:25:45.666475Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.669484Z", "completed_at": "2024-08-13T21:25:45.669492Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.028123855590820312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_collected_fees.975bb20444", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.675965Z", "completed_at": "2024-08-13T21:25:45.693807Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.696755Z", "completed_at": "2024-08-13T21:25:45.696763Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0258634090423584, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_event_name.aa51f8b10f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.681284Z", "completed_at": "2024-08-13T21:25:45.694937Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.697621Z", "completed_at": "2024-08-13T21:25:45.697630Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024754762649536133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_id.94c6a2689e", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.685438Z", "completed_at": "2024-08-13T21:25:45.695609Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.698486Z", "completed_at": "2024-08-13T21:25:45.698493Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024460792541503906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_price.b7069dc105", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.689588Z", "completed_at": "2024-08-13T21:25:45.696209Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.699362Z", "completed_at": "2024-08-13T21:25:45.699372Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02474498748779297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_referrer.d5123874c5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.707699Z", "completed_at": "2024-08-13T21:25:45.726363Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.728371Z", "completed_at": "2024-08-13T21:25:45.728381Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025538921356201172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id.11b8c58586", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.713364Z", "completed_at": "2024-08-13T21:25:45.727055Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.729815Z", "completed_at": "2024-08-13T21:25:45.729825Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026325702667236328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash.46c5786b65", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.717446Z", "completed_at": "2024-08-13T21:25:45.727789Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.730690Z", "completed_at": "2024-08-13T21:25:45.730697Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02657794952392578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_bought_arbitrum_mainnet_id.97a98f064e", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.721465Z", "completed_at": "2024-08-13T21:25:45.729243Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.732267Z", "completed_at": "2024-08-13T21:25:45.732275Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027564048767089844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_synth_bought_arbitrum_sepolia_event_name__SynthBought.134dc8cabd", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.739441Z", "completed_at": "2024-08-13T21:25:45.758983Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.761084Z", "completed_at": "2024-08-13T21:25:45.761092Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026684045791625977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_collected_fees__True__0.e69ec41d5e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.744433Z", "completed_at": "2024-08-13T21:25:45.759867Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.762024Z", "completed_at": "2024-08-13T21:25:45.762032Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026286602020263672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_price__True__0.d95f1532c7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.748818Z", "completed_at": "2024-08-13T21:25:45.760519Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.763485Z", "completed_at": "2024-08-13T21:25:45.763493Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027128219604492188, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_synth_market_id__True__0.869a31cec1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.754817Z", "completed_at": "2024-08-13T21:25:45.762877Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.765714Z", "completed_at": "2024-08-13T21:25:45.765722Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02818441390991211, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_block_number.1414f728f0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.772081Z", "completed_at": "2024-08-13T21:25:45.785256Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.790742Z", "completed_at": "2024-08-13T21:25:45.790754Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02359175682067871, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp.af0cba6258", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.776229Z", "completed_at": "2024-08-13T21:25:45.790017Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.792329Z", "completed_at": "2024-08-13T21:25:45.792337Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02456498146057129, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_collected_fees.32235682bf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.780925Z", "completed_at": "2024-08-13T21:25:45.791695Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.794488Z", "completed_at": "2024-08-13T21:25:45.794498Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025437355041503906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_contract.2c9cdafac9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.785836Z", "completed_at": "2024-08-13T21:25:45.793878Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.796746Z", "completed_at": "2024-08-13T21:25:45.796754Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02596735954284668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_event_name.a810bafafd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.801391Z", "completed_at": "2024-08-13T21:25:45.813228Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.822853Z", "completed_at": "2024-08-13T21:25:45.822862Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026836156845092773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_id.ed20008417", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.808443Z", "completed_at": "2024-08-13T21:25:45.822155Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.824066Z", "completed_at": "2024-08-13T21:25:45.824074Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02588486671447754, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_price.9dde4ea814", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.813800Z", "completed_at": "2024-08-13T21:25:45.825033Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.827539Z", "completed_at": "2024-08-13T21:25:45.827546Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02744889259338379, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_referrer.c39eda4686", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.818021Z", "completed_at": "2024-08-13T21:25:45.825568Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.828407Z", "completed_at": "2024-08-13T21:25:45.828418Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021448135375976562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id.92397dca4f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.838581Z", "completed_at": "2024-08-13T21:25:45.850463Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.856140Z", "completed_at": "2024-08-13T21:25:45.856152Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02639913558959961, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_bought_arbitrum_sepolia_id.3ade424d59", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.834228Z", "completed_at": "2024-08-13T21:25:45.851018Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.857115Z", "completed_at": "2024-08-13T21:25:45.857124Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027945756912231445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash.b57c5b3476", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.844311Z", "completed_at": "2024-08-13T21:25:45.857932Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.860677Z", "completed_at": "2024-08-13T21:25:45.860685Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02777862548828125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_synth_bought_base_mainnet_event_name__SynthBought.7302486ec0", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.851643Z", "completed_at": "2024-08-13T21:25:45.859444Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.862162Z", "completed_at": "2024-08-13T21:25:45.862169Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02865767478942871, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_collected_fees__True__0.3fcb3fda3a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.866899Z", "completed_at": "2024-08-13T21:25:45.882037Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.887677Z", "completed_at": "2024-08-13T21:25:45.887689Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026244401931762695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_price__True__0.e25fbf2240", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.871917Z", "completed_at": "2024-08-13T21:25:45.886809Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.889826Z", "completed_at": "2024-08-13T21:25:45.889833Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026919841766357422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_synth_market_id__True__0.e3b9a2a2bf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.877949Z", "completed_at": "2024-08-13T21:25:45.888670Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.891401Z", "completed_at": "2024-08-13T21:25:45.891408Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02522134780883789, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_block_number.afabe746ef", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.882761Z", "completed_at": "2024-08-13T21:25:45.889256Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:45.892260Z", "completed_at": "2024-08-13T21:25:45.892267Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021065711975097656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_block_timestamp.5044e48413", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.898741Z", "completed_at": "2024-08-13T21:25:46.065980Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.071965Z", "completed_at": "2024-08-13T21:25:46.071980Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.1783161163330078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_collected_fees.d9c17c84f7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:45.905566Z", "completed_at": "2024-08-13T21:25:46.071295Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.073546Z", "completed_at": "2024-08-13T21:25:46.073554Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.17783832550048828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_contract.d6d311c160", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.061915Z", "completed_at": "2024-08-13T21:25:46.072865Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.076152Z", "completed_at": "2024-08-13T21:25:46.076161Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.17929601669311523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_event_name.8a35f2634d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.066747Z", "completed_at": "2024-08-13T21:25:46.074429Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.078025Z", "completed_at": "2024-08-13T21:25:46.078034Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.18059039115905762, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_id.f9e555c962", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.084474Z", "completed_at": "2024-08-13T21:25:46.098456Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.105270Z", "completed_at": "2024-08-13T21:25:46.105282Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026156187057495117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_price.f59f9c339a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.089350Z", "completed_at": "2024-08-13T21:25:46.104593Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.106829Z", "completed_at": "2024-08-13T21:25:46.106837Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02611994743347168, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_referrer.3b61ce852c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.094162Z", "completed_at": "2024-08-13T21:25:46.106180Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.108981Z", "completed_at": "2024-08-13T21:25:46.108991Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026424407958984375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_synth_market_id.32145e8cb4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.099232Z", "completed_at": "2024-08-13T21:25:46.107703Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.110524Z", "completed_at": "2024-08-13T21:25:46.110535Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026759624481201172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_transaction_hash.1e8279de09", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.116991Z", "completed_at": "2024-08-13T21:25:46.131452Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.137283Z", "completed_at": "2024-08-13T21:25:46.137295Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02596569061279297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_bought_base_mainnet_id.e00678ebae", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.121768Z", "completed_at": "2024-08-13T21:25:46.136588Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.139479Z", "completed_at": "2024-08-13T21:25:46.139488Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026885509490966797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_synth_bought_base_sepolia_event_name__SynthBought.3932e43413", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.127007Z", "completed_at": "2024-08-13T21:25:46.138303Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.141006Z", "completed_at": "2024-08-13T21:25:46.141014Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025928258895874023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_collected_fees__True__0.1b65c16e7a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.132231Z", "completed_at": "2024-08-13T21:25:46.138904Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.141856Z", "completed_at": "2024-08-13T21:25:46.141863Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02558445930480957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_price__True__0.1dfcf66dee", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.148373Z", "completed_at": "2024-08-13T21:25:46.163552Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.169712Z", "completed_at": "2024-08-13T21:25:46.169725Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026416778564453125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_synth_market_id__True__0.2be12779d3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.154001Z", "completed_at": "2024-08-13T21:25:46.168614Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.170699Z", "completed_at": "2024-08-13T21:25:46.170708Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02537989616394043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_block_number.b137c20668", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.159563Z", "completed_at": "2024-08-13T21:25:46.169175Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.172176Z", "completed_at": "2024-08-13T21:25:46.172183Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025681495666503906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_block_timestamp.b2a61f5718", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.164251Z", "completed_at": "2024-08-13T21:25:46.171616Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.174376Z", "completed_at": "2024-08-13T21:25:46.174383Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027252674102783203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_collected_fees.9d30351609", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.180624Z", "completed_at": "2024-08-13T21:25:46.193612Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.200464Z", "completed_at": "2024-08-13T21:25:46.200475Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02466583251953125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_contract.4678866b0c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.184652Z", "completed_at": "2024-08-13T21:25:46.199862Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.201989Z", "completed_at": "2024-08-13T21:25:46.201996Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025563955307006836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_event_name.cacb370344", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.189280Z", "completed_at": "2024-08-13T21:25:46.201365Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.204143Z", "completed_at": "2024-08-13T21:25:46.204153Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0264737606048584, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_id.942697f903", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.194290Z", "completed_at": "2024-08-13T21:25:46.203525Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.206276Z", "completed_at": "2024-08-13T21:25:46.206283Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026885271072387695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_price.d27790b16d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.210863Z", "completed_at": "2024-08-13T21:25:46.225000Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.230637Z", "completed_at": "2024-08-13T21:25:46.230647Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02510809898376465, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_referrer.4756917b09", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.216261Z", "completed_at": "2024-08-13T21:25:46.229813Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.232454Z", "completed_at": "2024-08-13T21:25:46.232464Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024740219116210938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_synth_market_id.b1c1943367", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.221015Z", "completed_at": "2024-08-13T21:25:46.231780Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.234534Z", "completed_at": "2024-08-13T21:25:46.234542Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024940967559814453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_transaction_hash.368cb3f67e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.225863Z", "completed_at": "2024-08-13T21:25:46.233334Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.236103Z", "completed_at": "2024-08-13T21:25:46.236111Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021311044692993164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_bought_base_sepolia_id.17a8acaf0c", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.241887Z", "completed_at": "2024-08-13T21:25:46.260455Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.261880Z", "completed_at": "2024-08-13T21:25:46.261891Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0250394344329834, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_spot_markets_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_markets_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.245620Z", "completed_at": "2024-08-13T21:25:46.261071Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.262832Z", "completed_at": "2024-08-13T21:25:46.262841Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02467966079711914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_synth_registered_arbitrum_mainnet_event_name__SynthRegistered.dab3843a60", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.256473Z", "completed_at": "2024-08-13T21:25:46.263841Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.266511Z", "completed_at": "2024-08-13T21:25:46.266519Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02531266212463379, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_block_number.c19306427b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.251937Z", "completed_at": "2024-08-13T21:25:46.265003Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.268019Z", "completed_at": "2024-08-13T21:25:46.268027Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02796769142150879, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_arbitrum_mainnet_synth_market_id__True__0.03490626a4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.272556Z", "completed_at": "2024-08-13T21:25:46.286974Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.293931Z", "completed_at": "2024-08-13T21:25:46.293943Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026665210723876953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp.155e02a96a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.277217Z", "completed_at": "2024-08-13T21:25:46.287719Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.295501Z", "completed_at": "2024-08-13T21:25:46.295509Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02674722671508789, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_contract.dc09abd1d6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.282884Z", "completed_at": "2024-08-13T21:25:46.294908Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.297201Z", "completed_at": "2024-08-13T21:25:46.297209Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025351524353027344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_event_name.aa6a178336", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.288368Z", "completed_at": "2024-08-13T21:25:46.298028Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.300604Z", "completed_at": "2024-08-13T21:25:46.300612Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024091720581054688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_id.456af96984", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.304527Z", "completed_at": "2024-08-13T21:25:46.319382Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.324351Z", "completed_at": "2024-08-13T21:25:46.324360Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025149822235107422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id.b02a502d7f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.309877Z", "completed_at": "2024-08-13T21:25:46.325197Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.327719Z", "completed_at": "2024-08-13T21:25:46.327727Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026344776153564453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_synth_token_address.e815b8c9d4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.314310Z", "completed_at": "2024-08-13T21:25:46.325805Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.328574Z", "completed_at": "2024-08-13T21:25:46.328581Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026030540466308594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_transaction_hash.ae02976291", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.320214Z", "completed_at": "2024-08-13T21:25:46.327075Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.330044Z", "completed_at": "2024-08-13T21:25:46.330051Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02088618278503418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_registered_arbitrum_mainnet_id.d4fd9eb0ba", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.334687Z", "completed_at": "2024-08-13T21:25:46.350545Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.355603Z", "completed_at": "2024-08-13T21:25:46.355614Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026310205459594727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_spot_markets_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_markets_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.346272Z", "completed_at": "2024-08-13T21:25:46.356599Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.358688Z", "completed_at": "2024-08-13T21:25:46.358696Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02470874786376953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_arbitrum_sepolia_synth_market_id__True__0.adc193de63", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.340394Z", "completed_at": "2024-08-13T21:25:46.357220Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.360269Z", "completed_at": "2024-08-13T21:25:46.360277Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02688765525817871, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_synth_registered_arbitrum_sepolia_event_name__SynthRegistered.66b8fe9ef2", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.351189Z", "completed_at": "2024-08-13T21:25:46.359674Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.362404Z", "completed_at": "2024-08-13T21:25:46.362413Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02469491958618164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_block_number.e17831aecf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.366424Z", "completed_at": "2024-08-13T21:25:46.376582Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.381996Z", "completed_at": "2024-08-13T21:25:46.382006Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021007299423217773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp.8ad856419d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.372523Z", "completed_at": "2024-08-13T21:25:46.382967Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.390346Z", "completed_at": "2024-08-13T21:25:46.390354Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025882959365844727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_contract.13305b5b4f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.377712Z", "completed_at": "2024-08-13T21:25:46.389716Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.392515Z", "completed_at": "2024-08-13T21:25:46.392525Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02678513526916504, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_event_name.5caf84c585", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.383564Z", "completed_at": "2024-08-13T21:25:46.391936Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.394608Z", "completed_at": "2024-08-13T21:25:46.394617Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0234832763671875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_id.ae9e680918", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.396834Z", "completed_at": "2024-08-13T21:25:46.403472Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.409449Z", "completed_at": "2024-08-13T21:25:46.409460Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01823139190673828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id.41d8ffc96a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.404622Z", "completed_at": "2024-08-13T21:25:46.419536Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.422204Z", "completed_at": "2024-08-13T21:25:46.422213Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026070594787597656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_synth_token_address.30dd706c48", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.410360Z", "completed_at": "2024-08-13T21:25:46.421068Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.423654Z", "completed_at": "2024-08-13T21:25:46.423662Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022195100784301758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_transaction_hash.211b9e6913", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.414742Z", "completed_at": "2024-08-13T21:25:46.421607Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.424489Z", "completed_at": "2024-08-13T21:25:46.424496Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021759986877441406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_registered_arbitrum_sepolia_id.a09499cc92", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.426008Z", "completed_at": "2024-08-13T21:25:46.432486Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.434731Z", "completed_at": "2024-08-13T21:25:46.434741Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.014371395111083984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_spot_markets_base_mainnet", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_spot_markets_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.441406Z", "completed_at": "2024-08-13T21:25:46.451270Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.453737Z", "completed_at": "2024-08-13T21:25:46.453745Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022635936737060547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_base_mainnet_synth_market_id__True__0.289066bb62", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.435655Z", "completed_at": "2024-08-13T21:25:46.451993Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.454640Z", "completed_at": "2024-08-13T21:25:46.454650Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02427506446838379, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_synth_registered_base_mainnet_event_name__SynthRegistered.5528c05ba2", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.445808Z", "completed_at": "2024-08-13T21:25:46.453152Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.456114Z", "completed_at": "2024-08-13T21:25:46.456123Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024377107620239258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_base_mainnet_block_number.fb558416fb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.458364Z", "completed_at": "2024-08-13T21:25:46.465899Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.471712Z", "completed_at": "2024-08-13T21:25:46.471724Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019249439239501953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_base_mainnet_block_timestamp.9fcd6d9ec6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.467649Z", "completed_at": "2024-08-13T21:25:46.483377Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.485429Z", "completed_at": "2024-08-13T21:25:46.485437Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02224874496459961, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_base_mainnet_contract.a1096e5fd9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.472615Z", "completed_at": "2024-08-13T21:25:46.484852Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.487492Z", "completed_at": "2024-08-13T21:25:46.487500Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02360677719116211, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_base_mainnet_event_name.6d850cc54d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.476746Z", "completed_at": "2024-08-13T21:25:46.486344Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.489064Z", "completed_at": "2024-08-13T21:25:46.489072Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024456262588500977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_base_mainnet_id.9f21a7f761", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.489915Z", "completed_at": "2024-08-13T21:25:46.497266Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.503073Z", "completed_at": "2024-08-13T21:25:46.503083Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019048213958740234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_base_mainnet_synth_market_id.97f70d1e33", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.498986Z", "completed_at": "2024-08-13T21:25:46.509530Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.515606Z", "completed_at": "2024-08-13T21:25:46.515617Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021054983139038086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_base_mainnet_synth_token_address.f2f086a15a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.504689Z", "completed_at": "2024-08-13T21:25:46.515005Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.517728Z", "completed_at": "2024-08-13T21:25:46.517735Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021750926971435547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_base_mainnet_transaction_hash.7e53d9e7f0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.510137Z", "completed_at": "2024-08-13T21:25:46.517160Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.523577Z", "completed_at": "2024-08-13T21:25:46.523587Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025878190994262695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_registered_base_mainnet_id.81eda4804d", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.519271Z", "completed_at": "2024-08-13T21:25:46.526550Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.528937Z", "completed_at": "2024-08-13T21:25:46.528946Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.014746904373168945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH bought AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n \n synth_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\n),\nsold AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n -1 * \n amount_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n bought\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n sold\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.530376Z", "completed_at": "2024-08-13T21:25:46.547270Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.549308Z", "completed_at": "2024-08-13T21:25:46.549319Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02424931526184082, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_synth_sold_arbitrum_mainnet_event_name__SynthSold.c2779b95d3", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.537502Z", "completed_at": "2024-08-13T21:25:46.548739Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.555123Z", "completed_at": "2024-08-13T21:25:46.555132Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02807760238647461, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_amount_returned__True__0.94e383949d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.542200Z", "completed_at": "2024-08-13T21:25:46.550151Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.556668Z", "completed_at": "2024-08-13T21:25:46.556675Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028436660766601562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_collected_fees__True__0.ebed4cb6c6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.550727Z", "completed_at": "2024-08-13T21:25:46.558324Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.560860Z", "completed_at": "2024-08-13T21:25:46.560867Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.014443159103393555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_price__True__0.736ec6a18f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.564088Z", "completed_at": "2024-08-13T21:25:46.580417Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.586484Z", "completed_at": "2024-08-13T21:25:46.586494Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027700424194335938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_synth_market_id__True__0.502a7c73ae", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.569025Z", "completed_at": "2024-08-13T21:25:46.580964Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.587476Z", "completed_at": "2024-08-13T21:25:46.587487Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02738165855407715, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_amount_returned.a22fe1e87b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.573997Z", "completed_at": "2024-08-13T21:25:46.585812Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.588470Z", "completed_at": "2024-08-13T21:25:46.588480Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026314735412597656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_block_number.21c8144aca", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.581647Z", "completed_at": "2024-08-13T21:25:46.589315Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.591910Z", "completed_at": "2024-08-13T21:25:46.591917Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018840789794921875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp.ece96724ff", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.597500Z", "completed_at": "2024-08-13T21:25:46.611092Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.617134Z", "completed_at": "2024-08-13T21:25:46.617142Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024487018585205078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_collected_fees.ae5a9854f2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.601616Z", "completed_at": "2024-08-13T21:25:46.615990Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.618121Z", "completed_at": "2024-08-13T21:25:46.618129Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024865150451660156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_contract.7e747f7197", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.605871Z", "completed_at": "2024-08-13T21:25:46.616544Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.619580Z", "completed_at": "2024-08-13T21:25:46.619590Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025734663009643555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_event_name.77e48ea6b8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.611855Z", "completed_at": "2024-08-13T21:25:46.618978Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.621772Z", "completed_at": "2024-08-13T21:25:46.621780Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024968624114990234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_id.5672923066", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.628116Z", "completed_at": "2024-08-13T21:25:46.647276Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.649376Z", "completed_at": "2024-08-13T21:25:46.649388Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026175737380981445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_price.83b6e6b427", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.633736Z", "completed_at": "2024-08-13T21:25:46.648129Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.650839Z", "completed_at": "2024-08-13T21:25:46.650847Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027007341384887695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_referrer.fc97629e01", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.638397Z", "completed_at": "2024-08-13T21:25:46.648730Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.651730Z", "completed_at": "2024-08-13T21:25:46.651737Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02663874626159668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id.0a9309e0fe", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.642939Z", "completed_at": "2024-08-13T21:25:46.650296Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.653272Z", "completed_at": "2024-08-13T21:25:46.653279Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02646923065185547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash.b35ac6eb10", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.660249Z", "completed_at": "2024-08-13T21:25:46.678383Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.680236Z", "completed_at": "2024-08-13T21:25:46.680245Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024883270263671875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_sold_arbitrum_mainnet_id.77e9d1569f", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.668143Z", "completed_at": "2024-08-13T21:25:46.679628Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.682256Z", "completed_at": "2024-08-13T21:25:46.682264Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02503228187561035, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_synth_registered_base_sepolia_event_name__SynthRegistered.560c96fe92", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.674078Z", "completed_at": "2024-08-13T21:25:46.681134Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.683842Z", "completed_at": "2024-08-13T21:25:46.683850Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02546834945678711, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_base_sepolia_synth_market_id__True__0.e252f6d23b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.665084Z", "completed_at": "2024-08-13T21:25:46.681719Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.684700Z", "completed_at": "2024-08-13T21:25:46.684707Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.028069019317626953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_spot_markets_base_sepolia", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_spot_markets_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.691362Z", "completed_at": "2024-08-13T21:25:46.709403Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.710952Z", "completed_at": "2024-08-13T21:25:46.710961Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024836063385009766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_base_sepolia_block_number.bb37a01e8d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.696772Z", "completed_at": "2024-08-13T21:25:46.710254Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.712495Z", "completed_at": "2024-08-13T21:25:46.712503Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024367570877075195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_base_sepolia_block_timestamp.79c2f95be5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.700942Z", "completed_at": "2024-08-13T21:25:46.711891Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.714568Z", "completed_at": "2024-08-13T21:25:46.714578Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02510356903076172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_base_sepolia_contract.4039370624", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.704997Z", "completed_at": "2024-08-13T21:25:46.713307Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.716142Z", "completed_at": "2024-08-13T21:25:46.716151Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026086807250976562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_base_sepolia_event_name.40165b8566", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.721964Z", "completed_at": "2024-08-13T21:25:46.737187Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.742995Z", "completed_at": "2024-08-13T21:25:46.743006Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02613544464111328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_base_sepolia_id.82e3f87ac4", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.728419Z", "completed_at": "2024-08-13T21:25:46.742309Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.744587Z", "completed_at": "2024-08-13T21:25:46.744594Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026383399963378906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_base_sepolia_synth_market_id.5a96ef8d3b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.733146Z", "completed_at": "2024-08-13T21:25:46.743955Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.746733Z", "completed_at": "2024-08-13T21:25:46.746743Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0266416072845459, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_base_sepolia_synth_token_address.9a1399c63c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.737983Z", "completed_at": "2024-08-13T21:25:46.746126Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.748978Z", "completed_at": "2024-08-13T21:25:46.748985Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02771902084350586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_base_sepolia_transaction_hash.0cea3ca1bf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.753639Z", "completed_at": "2024-08-13T21:25:46.764086Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.774959Z", "completed_at": "2024-08-13T21:25:46.774967Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026735305786132812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_registered_base_sepolia_id.59dadce592", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.758949Z", "completed_at": "2024-08-13T21:25:46.775858Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.777647Z", "completed_at": "2024-08-13T21:25:46.777655Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027242422103881836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH bought AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n \n synth_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\n),\nsold AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n -1 * \n amount_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n bought\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n sold\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.764665Z", "completed_at": "2024-08-13T21:25:46.778497Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.781049Z", "completed_at": "2024-08-13T21:25:46.781057Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.028682947158813477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_synth_sold_arbitrum_sepolia_event_name__SynthSold.fe13707237", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.770483Z", "completed_at": "2024-08-13T21:25:46.779735Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.782742Z", "completed_at": "2024-08-13T21:25:46.782750Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025098323822021484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_amount_returned__True__0.491570b785", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.784916Z", "completed_at": "2024-08-13T21:25:46.796368Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.798201Z", "completed_at": "2024-08-13T21:25:46.798208Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019179582595825195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_collected_fees__True__0.18ef00cae1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.792076Z", "completed_at": "2024-08-13T21:25:46.799137Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.808855Z", "completed_at": "2024-08-13T21:25:46.808867Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0253293514251709, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_price__True__0.9416491d1c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.799689Z", "completed_at": "2024-08-13T21:25:46.810630Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.813036Z", "completed_at": "2024-08-13T21:25:46.813044Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02249884605407715, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_synth_market_id__True__0.2196afe46e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.804028Z", "completed_at": "2024-08-13T21:25:46.811237Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.813886Z", "completed_at": "2024-08-13T21:25:46.813893Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022577524185180664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_amount_returned.31fa2e2854", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.815374Z", "completed_at": "2024-08-13T21:25:46.828330Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.830157Z", "completed_at": "2024-08-13T21:25:46.830164Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020257949829101562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_block_number.9eb624134f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.824299Z", "completed_at": "2024-08-13T21:25:46.835121Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.840681Z", "completed_at": "2024-08-13T21:25:46.840689Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026057720184326172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp.5734b00c78", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.831083Z", "completed_at": "2024-08-13T21:25:46.841598Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.844153Z", "completed_at": "2024-08-13T21:25:46.844162Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02139878273010254, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_collected_fees.0c503232cc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.835733Z", "completed_at": "2024-08-13T21:25:46.842845Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.845597Z", "completed_at": "2024-08-13T21:25:46.845606Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02207469940185547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_contract.d5f31e0816", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.847777Z", "completed_at": "2024-08-13T21:25:46.854535Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.860648Z", "completed_at": "2024-08-13T21:25:46.860656Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018488407135009766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_event_name.333367310e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.855119Z", "completed_at": "2024-08-13T21:25:46.867266Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.872763Z", "completed_at": "2024-08-13T21:25:46.872772Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02641892433166504, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_id.415e7f2126", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.861610Z", "completed_at": "2024-08-13T21:25:46.873658Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.876292Z", "completed_at": "2024-08-13T21:25:46.876303Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02320718765258789, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_price.1a5abe8024", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.867847Z", "completed_at": "2024-08-13T21:25:46.875668Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.878357Z", "completed_at": "2024-08-13T21:25:46.878367Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024494409561157227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_referrer.31558bcae3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.879913Z", "completed_at": "2024-08-13T21:25:46.890175Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.892288Z", "completed_at": "2024-08-13T21:25:46.892300Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01807093620300293, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id.2629bdcd49", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.886089Z", "completed_at": "2024-08-13T21:25:46.893140Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.899030Z", "completed_at": "2024-08-13T21:25:46.899039Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02140951156616211, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash.da63dad649", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.894257Z", "completed_at": "2024-08-13T21:25:46.904935Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.907599Z", "completed_at": "2024-08-13T21:25:46.907609Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02233743667602539, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_sold_arbitrum_sepolia_id.dd4ab72a64", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.899937Z", "completed_at": "2024-08-13T21:25:46.906998Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.914892Z", "completed_at": "2024-08-13T21:25:46.914900Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02413797378540039, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_spot_atomics_base_mainnet", "compiled": true, "compiled_code": "WITH bought AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n \n synth_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\n),\nsold AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n -1 * \n amount_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n bought\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n sold\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.909076Z", "completed_at": "2024-08-13T21:25:46.917834Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.924338Z", "completed_at": "2024-08-13T21:25:46.924348Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02013421058654785, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_synth_sold_base_mainnet_event_name__SynthSold.b1a44748ed", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.919368Z", "completed_at": "2024-08-13T21:25:46.927190Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.937203Z", "completed_at": "2024-08-13T21:25:46.937213Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028844594955444336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_amount_returned__True__0.250710e6f1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.927829Z", "completed_at": "2024-08-13T21:25:46.938887Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.945370Z", "completed_at": "2024-08-13T21:25:46.945379Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0267791748046875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_collected_fees__True__0.6cc814f854", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.932185Z", "completed_at": "2024-08-13T21:25:46.944653Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.946971Z", "completed_at": "2024-08-13T21:25:46.946979Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023359060287475586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_price__True__0.994b9376fd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.940280Z", "completed_at": "2024-08-13T21:25:46.947866Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.950318Z", "completed_at": "2024-08-13T21:25:46.950328Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.013965606689453125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_synth_market_id__True__0.3ec6dae33c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.951909Z", "completed_at": "2024-08-13T21:25:46.958577Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.969433Z", "completed_at": "2024-08-13T21:25:46.969441Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02327704429626465, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_amount_returned.989a4131c2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.959785Z", "completed_at": "2024-08-13T21:25:46.971864Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.977858Z", "completed_at": "2024-08-13T21:25:46.977869Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02671360969543457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_block_number.148bf58e52", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.965366Z", "completed_at": "2024-08-13T21:25:46.972523Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.978736Z", "completed_at": "2024-08-13T21:25:46.978744Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02281355857849121, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_block_timestamp.1713f1d130", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.973121Z", "completed_at": "2024-08-13T21:25:46.980325Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.986332Z", "completed_at": "2024-08-13T21:25:46.986340Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02726459503173828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_collected_fees.99a85c53ea", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.982261Z", "completed_at": "2024-08-13T21:25:46.989375Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:46.991662Z", "completed_at": "2024-08-13T21:25:46.991669Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014525890350341797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_contract.46ddd59981", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.992513Z", "completed_at": "2024-08-13T21:25:47.002403Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.009842Z", "completed_at": "2024-08-13T21:25:47.009850Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022699594497680664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_event_name.f76ff966dc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:46.996594Z", "completed_at": "2024-08-13T21:25:47.008679Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.010803Z", "completed_at": "2024-08-13T21:25:47.010810Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022977828979492188, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_id.763b711f62", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.002960Z", "completed_at": "2024-08-13T21:25:47.012311Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.018303Z", "completed_at": "2024-08-13T21:25:47.018311Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027380704879760742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_price.3d1a702fbb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.014228Z", "completed_at": "2024-08-13T21:25:47.021317Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.023671Z", "completed_at": "2024-08-13T21:25:47.023678Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014556646347045898, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_referrer.ee678360be", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.024517Z", "completed_at": "2024-08-13T21:25:47.038513Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.040619Z", "completed_at": "2024-08-13T21:25:47.040629Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02151966094970703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_synth_market_id.b7dab5388d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.028581Z", "completed_at": "2024-08-13T21:25:47.039263Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.042055Z", "completed_at": "2024-08-13T21:25:47.042062Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022247791290283203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_transaction_hash.6957d51d9c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.034352Z", "completed_at": "2024-08-13T21:25:47.041521Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.044179Z", "completed_at": "2024-08-13T21:25:47.044187Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021262168884277344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_sold_base_mainnet_id.4cbe90534a", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.045711Z", "completed_at": "2024-08-13T21:25:47.052728Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.060571Z", "completed_at": "2024-08-13T21:25:47.060581Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020795583724975586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_spot_atomics_base_sepolia", "compiled": true, "compiled_code": "WITH bought AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n \n synth_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\n),\nsold AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n -1 * \n amount_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n bought\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n sold\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.054505Z", "completed_at": "2024-08-13T21:25:47.071960Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.074437Z", "completed_at": "2024-08-13T21:25:47.074446Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024577617645263672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_synth_sold_base_sepolia_event_name__SynthSold.bc9ca74c87", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.062034Z", "completed_at": "2024-08-13T21:25:47.073702Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.076537Z", "completed_at": "2024-08-13T21:25:47.076545Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025205612182617188, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_amount_returned__True__0.400f957fc7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.067456Z", "completed_at": "2024-08-13T21:25:47.076003Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.082555Z", "completed_at": "2024-08-13T21:25:47.082567Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02937626838684082, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_collected_fees__True__0.0a04ec9ef2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.078076Z", "completed_at": "2024-08-13T21:25:47.085974Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.088635Z", "completed_at": "2024-08-13T21:25:47.088642Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.016042470932006836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_price__True__0.cedd17dbea", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.090069Z", "completed_at": "2024-08-13T21:25:47.106073Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.109042Z", "completed_at": "2024-08-13T21:25:47.109053Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02464747428894043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_synth_market_id__True__0.5175d72781", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.095977Z", "completed_at": "2024-08-13T21:25:47.107905Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.110491Z", "completed_at": "2024-08-13T21:25:47.110501Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02380824089050293, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_amount_returned.c33656b778", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.100294Z", "completed_at": "2024-08-13T21:25:47.108493Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.111390Z", "completed_at": "2024-08-13T21:25:47.111397Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023458480834960938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_block_number.17e7ff9528", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.112933Z", "completed_at": "2024-08-13T21:25:47.120013Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.122254Z", "completed_at": "2024-08-13T21:25:47.122262Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015680551528930664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_block_timestamp.f3d45165ff", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.123675Z", "completed_at": "2024-08-13T21:25:47.137908Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.139796Z", "completed_at": "2024-08-13T21:25:47.139805Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021305322647094727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_collected_fees.8ad9625fb0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.127807Z", "completed_at": "2024-08-13T21:25:47.138470Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.141201Z", "completed_at": "2024-08-13T21:25:47.141209Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021921634674072266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_contract.8d370e2248", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.132674Z", "completed_at": "2024-08-13T21:25:47.140620Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.146904Z", "completed_at": "2024-08-13T21:25:47.146915Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02646613121032715, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_event_name.24601a4262", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.142055Z", "completed_at": "2024-08-13T21:25:47.149846Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.152279Z", "completed_at": "2024-08-13T21:25:47.152287Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01519465446472168, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_id.c2f7e77070", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.153683Z", "completed_at": "2024-08-13T21:25:47.169652Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.172304Z", "completed_at": "2024-08-13T21:25:47.172314Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023813486099243164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_price.88b1a85b40", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.160659Z", "completed_at": "2024-08-13T21:25:47.171210Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.177244Z", "completed_at": "2024-08-13T21:25:47.177257Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026923179626464844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_referrer.51ef2f8d16", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.164805Z", "completed_at": "2024-08-13T21:25:47.171767Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.178258Z", "completed_at": "2024-08-13T21:25:47.178266Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026682138442993164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_synth_market_id.25c988c205", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.173168Z", "completed_at": "2024-08-13T21:25:47.180625Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.183076Z", "completed_at": "2024-08-13T21:25:47.183084Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014277219772338867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_transaction_hash.a13ba6bde1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.186910Z", "completed_at": "2024-08-13T21:25:47.202890Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.208602Z", "completed_at": "2024-08-13T21:25:47.208612Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026847362518310547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_sold_base_sepolia_id.d31e78319f", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.190978Z", "completed_at": "2024-08-13T21:25:47.207947Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.210112Z", "completed_at": "2024-08-13T21:25:47.210119Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027741432189941406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_synth_unwrapped_arbitrum_mainnet_event_name__SynthUnwrapped.0156eda083", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.196274Z", "completed_at": "2024-08-13T21:25:47.209429Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.212266Z", "completed_at": "2024-08-13T21:25:47.212273Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02840876579284668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped__True__0.dfb2bf555e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.203655Z", "completed_at": "2024-08-13T21:25:47.211630Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.214396Z", "completed_at": "2024-08-13T21:25:47.214403Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018923044204711914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_fees_collected__True__0.caa0ab5069", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.219021Z", "completed_at": "2024-08-13T21:25:47.233585Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.239224Z", "completed_at": "2024-08-13T21:25:47.239235Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025553464889526367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id__True__0.c8e2a0ce2e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.224636Z", "completed_at": "2024-08-13T21:25:47.238537Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.240765Z", "completed_at": "2024-08-13T21:25:47.240772Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024872303009033203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped.6338d14461", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.229417Z", "completed_at": "2024-08-13T21:25:47.240133Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.242906Z", "completed_at": "2024-08-13T21:25:47.242914Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025165796279907227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number.6c4594ed9b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.234399Z", "completed_at": "2024-08-13T21:25:47.242371Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.245084Z", "completed_at": "2024-08-13T21:25:47.245092Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0217587947845459, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp.7eb830695e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.249661Z", "completed_at": "2024-08-13T21:25:47.261280Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.270354Z", "completed_at": "2024-08-13T21:25:47.270367Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026061534881591797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_contract.df671e35b9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.256558Z", "completed_at": "2024-08-13T21:25:47.271388Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.274079Z", "completed_at": "2024-08-13T21:25:47.274086Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027574539184570312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name.15be4b2d2e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.261843Z", "completed_at": "2024-08-13T21:25:47.272292Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.274945Z", "completed_at": "2024-08-13T21:25:47.274955Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02660822868347168, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected.82edb6c70c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.266064Z", "completed_at": "2024-08-13T21:25:47.273448Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.276472Z", "completed_at": "2024-08-13T21:25:47.276482Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021234750747680664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_id.c93a8c455f", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.281195Z", "completed_at": "2024-08-13T21:25:47.287982Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.302356Z", "completed_at": "2024-08-13T21:25:47.302366Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02663278579711914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id.597a45b266", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.292580Z", "completed_at": "2024-08-13T21:25:47.303760Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.305727Z", "completed_at": "2024-08-13T21:25:47.305736Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02525162696838379, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_unwrapped_arbitrum_mainnet_id.81790072c1", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.288521Z", "completed_at": "2024-08-13T21:25:47.305083Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.307839Z", "completed_at": "2024-08-13T21:25:47.307847Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027965307235717773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash.266bb54277", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.298035Z", "completed_at": "2024-08-13T21:25:47.306627Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.309381Z", "completed_at": "2024-08-13T21:25:47.309389Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024172306060791016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_synth_unwrapped_arbitrum_sepolia_event_name__SynthUnwrapped.20624d41fd", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.312782Z", "completed_at": "2024-08-13T21:25:47.319756Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.329690Z", "completed_at": "2024-08-13T21:25:47.329703Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022603273391723633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped__True__0.2d01453854", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.320340Z", "completed_at": "2024-08-13T21:25:47.334919Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.337020Z", "completed_at": "2024-08-13T21:25:47.337029Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02561330795288086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_fees_collected__True__0.f01b734c27", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.325325Z", "completed_at": "2024-08-13T21:25:47.336350Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.338562Z", "completed_at": "2024-08-13T21:25:47.338570Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021417617797851562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id__True__0.6744618704", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.330789Z", "completed_at": "2024-08-13T21:25:47.339418Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.341928Z", "completed_at": "2024-08-13T21:25:47.341936Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023574352264404297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped.4d83dd17da", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.343435Z", "completed_at": "2024-08-13T21:25:47.351721Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.361101Z", "completed_at": "2024-08-13T21:25:47.361110Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023293495178222656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number.bfaa7aabea", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.352924Z", "completed_at": "2024-08-13T21:25:47.363625Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.369530Z", "completed_at": "2024-08-13T21:25:47.369538Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026855945587158203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp.2897aa2af1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.357060Z", "completed_at": "2024-08-13T21:25:47.364276Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.370410Z", "completed_at": "2024-08-13T21:25:47.370418Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021400928497314453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_contract.9a67446eba", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.364833Z", "completed_at": "2024-08-13T21:25:47.371990Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.378036Z", "completed_at": "2024-08-13T21:25:47.378049Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02588200569152832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name.e2e470100a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.373923Z", "completed_at": "2024-08-13T21:25:47.381230Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.383556Z", "completed_at": "2024-08-13T21:25:47.383563Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.014752864837646484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected.342d8ecaba", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.388506Z", "completed_at": "2024-08-13T21:25:47.399762Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.402325Z", "completed_at": "2024-08-13T21:25:47.402334Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02277207374572754, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id.0f2f845893", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.384411Z", "completed_at": "2024-08-13T21:25:47.401085Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.403787Z", "completed_at": "2024-08-13T21:25:47.403797Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024920225143432617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_id.885fac7a78", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.395639Z", "completed_at": "2024-08-13T21:25:47.401781Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.404660Z", "completed_at": "2024-08-13T21:25:47.404667Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02184009552001953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash.5b5d8f1737", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.406218Z", "completed_at": "2024-08-13T21:25:47.413207Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.415533Z", "completed_at": "2024-08-13T21:25:47.415541Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.015130281448364258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_unwrapped_arbitrum_sepolia_id.5985d5d1de", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.416942Z", "completed_at": "2024-08-13T21:25:47.432405Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.434791Z", "completed_at": "2024-08-13T21:25:47.434801Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023072481155395508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_synth_unwrapped_base_mainnet_event_name__SynthUnwrapped.a1713eb60e", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.421273Z", "completed_at": "2024-08-13T21:25:47.432967Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.435724Z", "completed_at": "2024-08-13T21:25:47.435732Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02325892448425293, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_amount_unwrapped__True__0.2e78bc25a2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.426814Z", "completed_at": "2024-08-13T21:25:47.434216Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.442442Z", "completed_at": "2024-08-13T21:25:47.442451Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028797626495361328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_fees_collected__True__0.48d9a0e389", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.436573Z", "completed_at": "2024-08-13T21:25:47.445537Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.447976Z", "completed_at": "2024-08-13T21:25:47.447984Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.016516685485839844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_synth_market_id__True__0.de01d6cd38", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.451201Z", "completed_at": "2024-08-13T21:25:47.464449Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.466914Z", "completed_at": "2024-08-13T21:25:47.466922Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020915985107421875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped.025e49370b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.455288Z", "completed_at": "2024-08-13T21:25:47.465791Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.471893Z", "completed_at": "2024-08-13T21:25:47.471901Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02528214454650879, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_block_number.81e8f4c2ea", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.459407Z", "completed_at": "2024-08-13T21:25:47.466379Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.472775Z", "completed_at": "2024-08-13T21:25:47.472784Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025549650192260742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_block_timestamp.0e8329af5c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.467827Z", "completed_at": "2024-08-13T21:25:47.475189Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.477660Z", "completed_at": "2024-08-13T21:25:47.477670Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.014283895492553711, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_contract.cba8e61baa", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.481535Z", "completed_at": "2024-08-13T21:25:47.496934Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.502305Z", "completed_at": "2024-08-13T21:25:47.502316Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026012420654296875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_event_name.dbfac4a471", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.485705Z", "completed_at": "2024-08-13T21:25:47.497538Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.503984Z", "completed_at": "2024-08-13T21:25:47.503994Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02705526351928711, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_fees_collected.cd35bec369", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.492001Z", "completed_at": "2024-08-13T21:25:47.503374Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.506240Z", "completed_at": "2024-08-13T21:25:47.506248Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027816295623779297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_id.cd459ace96", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.498195Z", "completed_at": "2024-08-13T21:25:47.505696Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.508414Z", "completed_at": "2024-08-13T21:25:47.508424Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.017186880111694336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_synth_market_id.47983f606b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.513060Z", "completed_at": "2024-08-13T21:25:47.523405Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.534830Z", "completed_at": "2024-08-13T21:25:47.534838Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027132749557495117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_transaction_hash.e27a71ff2d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.518456Z", "completed_at": "2024-08-13T21:25:47.534189Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.536608Z", "completed_at": "2024-08-13T21:25:47.536618Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026735544204711914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_unwrapped_base_mainnet_id.1256b6907b", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.523959Z", "completed_at": "2024-08-13T21:25:47.536049Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.538698Z", "completed_at": "2024-08-13T21:25:47.538705Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026953697204589844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_synth_unwrapped_base_sepolia_event_name__SynthUnwrapped.8dae19258e", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.528393Z", "completed_at": "2024-08-13T21:25:47.537506Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.540264Z", "completed_at": "2024-08-13T21:25:47.540271Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023183584213256836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_amount_unwrapped__True__0.8e197e25e9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.545973Z", "completed_at": "2024-08-13T21:25:47.560172Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.565772Z", "completed_at": "2024-08-13T21:25:47.565780Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024784088134765625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_fees_collected__True__0.e56453f4c6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.550979Z", "completed_at": "2024-08-13T21:25:47.564969Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.567419Z", "completed_at": "2024-08-13T21:25:47.567428Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025148391723632812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_synth_market_id__True__0.a469219bab", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.556111Z", "completed_at": "2024-08-13T21:25:47.566797Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.569486Z", "completed_at": "2024-08-13T21:25:47.569493Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02535867691040039, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped.1a220b9007", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.560863Z", "completed_at": "2024-08-13T21:25:47.568262Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.571006Z", "completed_at": "2024-08-13T21:25:47.571013Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02575230598449707, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_block_number.5cfd06abfe", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.576793Z", "completed_at": "2024-08-13T21:25:47.592091Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.597633Z", "completed_at": "2024-08-13T21:25:47.597643Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025885820388793945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_block_timestamp.41ba03a5b2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.581607Z", "completed_at": "2024-08-13T21:25:47.596809Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.599277Z", "completed_at": "2024-08-13T21:25:47.599286Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02619647979736328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_contract.87983c1fa3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.588081Z", "completed_at": "2024-08-13T21:25:47.598561Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.601372Z", "completed_at": "2024-08-13T21:25:47.601380Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026465415954589844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_event_name.b17d6e42c7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.592832Z", "completed_at": "2024-08-13T21:25:47.600162Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.602898Z", "completed_at": "2024-08-13T21:25:47.602906Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02679610252380371, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_fees_collected.c3d167c521", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.608672Z", "completed_at": "2024-08-13T21:25:47.622601Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.630450Z", "completed_at": "2024-08-13T21:25:47.630459Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026784896850585938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_id.6b02b454d5", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.613460Z", "completed_at": "2024-08-13T21:25:47.629159Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.631483Z", "completed_at": "2024-08-13T21:25:47.631491Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026514768600463867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_synth_market_id.214a3db22f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.618345Z", "completed_at": "2024-08-13T21:25:47.629871Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.632885Z", "completed_at": "2024-08-13T21:25:47.632892Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026120662689208984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_transaction_hash.2ea11780cc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.623447Z", "completed_at": "2024-08-13T21:25:47.632289Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.635146Z", "completed_at": "2024-08-13T21:25:47.635155Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027174949645996094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_unwrapped_base_sepolia_id.74a8e666e5", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.641494Z", "completed_at": "2024-08-13T21:25:47.659491Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.662303Z", "completed_at": "2024-08-13T21:25:47.662314Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02574920654296875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH wraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n amount_wrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\n),\nunwraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n -1 * \n amount_unwrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n wraps\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n unwraps\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_wrapper_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.645391Z", "completed_at": "2024-08-13T21:25:47.660403Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.663246Z", "completed_at": "2024-08-13T21:25:47.663254Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026068449020385742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_synth_wrapped_arbitrum_mainnet_event_name__SynthWrapped.c2a7fae75f", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.655064Z", "completed_at": "2024-08-13T21:25:47.661160Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.664171Z", "completed_at": "2024-08-13T21:25:47.664182Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023946523666381836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_synth_market_id__True__0.69e1aef58d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.650394Z", "completed_at": "2024-08-13T21:25:47.661762Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.665092Z", "completed_at": "2024-08-13T21:25:47.665100Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02663135528564453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_fees_collected__True__0.8427a98042", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.673723Z", "completed_at": "2024-08-13T21:25:47.692319Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.693807Z", "completed_at": "2024-08-13T21:25:47.693817Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02495265007019043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_block_number.388f222586", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.678079Z", "completed_at": "2024-08-13T21:25:47.693166Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.695329Z", "completed_at": "2024-08-13T21:25:47.695339Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025832653045654297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp.62e5fb2f2c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.687986Z", "completed_at": "2024-08-13T21:25:47.694720Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.697386Z", "completed_at": "2024-08-13T21:25:47.697393Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026668787002563477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_event_name.a537b3bcc9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.683944Z", "completed_at": "2024-08-13T21:25:47.696140Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.698919Z", "completed_at": "2024-08-13T21:25:47.698926Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02881312370300293, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_contract.12b8537d63", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.704679Z", "completed_at": "2024-08-13T21:25:47.718395Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.725438Z", "completed_at": "2024-08-13T21:25:47.725448Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025742053985595703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected.ab1cc1a24e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.709463Z", "completed_at": "2024-08-13T21:25:47.724329Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.726897Z", "completed_at": "2024-08-13T21:25:47.726905Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02589869499206543, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_id.e6be3c26ab", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.714264Z", "completed_at": "2024-08-13T21:25:47.726348Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.729176Z", "completed_at": "2024-08-13T21:25:47.729183Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02637481689453125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id.22e9bbcaaf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.719229Z", "completed_at": "2024-08-13T21:25:47.728625Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.731348Z", "completed_at": "2024-08-13T21:25:47.731357Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02736520767211914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash.470b375862", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.735918Z", "completed_at": "2024-08-13T21:25:47.745840Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.755984Z", "completed_at": "2024-08-13T21:25:47.755995Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025404691696166992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_wrapped_arbitrum_mainnet_id.4240a5b9ed", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.741203Z", "completed_at": "2024-08-13T21:25:47.755298Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.757857Z", "completed_at": "2024-08-13T21:25:47.757866Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025067567825317383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH wraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n amount_wrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\n),\nunwraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n -1 * \n amount_unwrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n wraps\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n unwraps\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_wrapper_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.750788Z", "completed_at": "2024-08-13T21:25:47.757234Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.759976Z", "completed_at": "2024-08-13T21:25:47.759984Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02006673812866211, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_fees_collected__True__0.9f8402c770", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.746411Z", "completed_at": "2024-08-13T21:25:47.758670Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.761550Z", "completed_at": "2024-08-13T21:25:47.761557Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026943683624267578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_synth_wrapped_arbitrum_sepolia_event_name__SynthWrapped.a482cbf84f", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.767571Z", "completed_at": "2024-08-13T21:25:47.786970Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.789808Z", "completed_at": "2024-08-13T21:25:47.789818Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02733135223388672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_synth_market_id__True__0.ca19b05f78", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.772561Z", "completed_at": "2024-08-13T21:25:47.787992Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.790697Z", "completed_at": "2024-08-13T21:25:47.790704Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02691507339477539, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_block_number.c861cf7b58", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.778761Z", "completed_at": "2024-08-13T21:25:47.788681Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.791582Z", "completed_at": "2024-08-13T21:25:47.791592Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025927305221557617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp.cc2e2e7857", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.783002Z", "completed_at": "2024-08-13T21:25:47.789262Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.792463Z", "completed_at": "2024-08-13T21:25:47.792470Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02563762664794922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_contract.410ac0c77b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.800769Z", "completed_at": "2024-08-13T21:25:47.819802Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.822287Z", "completed_at": "2024-08-13T21:25:47.822296Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026365041732788086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_event_name.e16041e32c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.804873Z", "completed_at": "2024-08-13T21:25:47.820429Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.823190Z", "completed_at": "2024-08-13T21:25:47.823198Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026637554168701172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected.8c22c01d20", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.809562Z", "completed_at": "2024-08-13T21:25:47.821144Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.824049Z", "completed_at": "2024-08-13T21:25:47.824058Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026895761489868164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_id.ec9012b5a4", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.813732Z", "completed_at": "2024-08-13T21:25:47.821718Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.824908Z", "completed_at": "2024-08-13T21:25:47.824917Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027146577835083008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id.f1fccfdd91", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.833360Z", "completed_at": "2024-08-13T21:25:47.850246Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.852314Z", "completed_at": "2024-08-13T21:25:47.852322Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023946523666381836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash.60e01a101a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.837457Z", "completed_at": "2024-08-13T21:25:47.850987Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.853825Z", "completed_at": "2024-08-13T21:25:47.853833Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02485060691833496, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_wrapped_arbitrum_sepolia_id.25ef0efbd8", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.841654Z", "completed_at": "2024-08-13T21:25:47.851721Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.854690Z", "completed_at": "2024-08-13T21:25:47.854700Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025110244750976562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_spot_wrapper_base_mainnet", "compiled": true, "compiled_code": "WITH wraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n amount_wrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\n),\nunwraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n -1 * \n amount_unwrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n wraps\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n unwraps\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_spot_wrapper_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.845620Z", "completed_at": "2024-08-13T21:25:47.853248Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.856359Z", "completed_at": "2024-08-13T21:25:47.856368Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026178598403930664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_synth_wrapped_base_mainnet_event_name__SynthWrapped.e81f79edcb", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.863773Z", "completed_at": "2024-08-13T21:25:47.882903Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.884049Z", "completed_at": "2024-08-13T21:25:47.884058Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025293350219726562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_fees_collected__True__0.88e8d792fd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.868801Z", "completed_at": "2024-08-13T21:25:47.884926Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.886294Z", "completed_at": "2024-08-13T21:25:47.886301Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026172876358032227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_synth_market_id__True__0.3d7fa017bf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.874648Z", "completed_at": "2024-08-13T21:25:47.887177Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.889637Z", "completed_at": "2024-08-13T21:25:47.889645Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02890467643737793, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_block_number.4bf40252e1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.878874Z", "completed_at": "2024-08-13T21:25:47.888367Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.891063Z", "completed_at": "2024-08-13T21:25:47.891072Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02918243408203125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_block_timestamp.66ddebcfe0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.893220Z", "completed_at": "2024-08-13T21:25:47.900140Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.905914Z", "completed_at": "2024-08-13T21:25:47.905922Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018233776092529297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_contract.33e8d1917b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.900691Z", "completed_at": "2024-08-13T21:25:47.910965Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.918094Z", "completed_at": "2024-08-13T21:25:47.918105Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026261091232299805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_event_name.1f22f5789b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.906917Z", "completed_at": "2024-08-13T21:25:47.918921Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.921536Z", "completed_at": "2024-08-13T21:25:47.921545Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022923946380615234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_fees_collected.9a641530e9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.911685Z", "completed_at": "2024-08-13T21:25:47.920254Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.922960Z", "completed_at": "2024-08-13T21:25:47.922970Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023563385009765625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_id.7d79ad852d", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.925131Z", "completed_at": "2024-08-13T21:25:47.932053Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.937807Z", "completed_at": "2024-08-13T21:25:47.937814Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018280029296875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_synth_market_id.e2b2f4733f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.932594Z", "completed_at": "2024-08-13T21:25:47.942821Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.947970Z", "completed_at": "2024-08-13T21:25:47.947981Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024232149124145508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_transaction_hash.9cbd57629d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.938769Z", "completed_at": "2024-08-13T21:25:47.948954Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.951461Z", "completed_at": "2024-08-13T21:25:47.951471Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02091526985168457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_wrapped_base_mainnet_id.77a4ae72ae", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.943529Z", "completed_at": "2024-08-13T21:25:47.950812Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.953536Z", "completed_at": "2024-08-13T21:25:47.953544Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022220611572265625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n \n amount / 1e18\n AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_reward_distributors\"\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.955079Z", "completed_at": "2024-08-13T21:25:47.968241Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.970753Z", "completed_at": "2024-08-13T21:25:47.970763Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02133464813232422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_distributor_address.700581d5a6", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor_address\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_reward_distributors\"\nwhere distributor_address is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.961889Z", "completed_at": "2024-08-13T21:25:47.970220Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.979123Z", "completed_at": "2024-08-13T21:25:47.979131Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02631068229675293, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_token_symbol.a65060c57e", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_reward_distributors\"\nwhere token_symbol is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.971690Z", "completed_at": "2024-08-13T21:25:47.981756Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.984168Z", "completed_at": "2024-08-13T21:25:47.984176Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023148536682128906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_prices_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH all_prices AS (\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_tokens\"\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.974972Z", "completed_at": "2024-08-13T21:25:47.982339Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:47.985026Z", "completed_at": "2024-08-13T21:25:47.985033Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017549991607666016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_arbitrum_mainnet_tokens_token_address.08d3db4ee2", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_address\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_tokens\"\nwhere token_address is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.988570Z", "completed_at": "2024-08-13T21:25:47.998709Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.004908Z", "completed_at": "2024-08-13T21:25:48.004916Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022095203399658203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_arbitrum_mainnet_tokens_token_symbol.619d115f2e", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_tokens\"\nwhere token_symbol is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.992689Z", "completed_at": "2024-08-13T21:25:48.004253Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.011866Z", "completed_at": "2024-08-13T21:25:48.011874Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.028404712677001953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_spot_wrapper_base_sepolia", "compiled": true, "compiled_code": "WITH wraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n amount_wrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\n),\nunwraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n -1 * \n amount_unwrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n wraps\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n unwraps\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_spot_wrapper_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:47.999966Z", "completed_at": "2024-08-13T21:25:48.013417Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.016416Z", "completed_at": "2024-08-13T21:25:48.016424Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020008325576782227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_spot_synth_wrapped_base_sepolia_event_name__SynthWrapped.031ffbb73f", "compiled": true, "compiled_code": "\n \n \n\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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.005785Z", "completed_at": "2024-08-13T21:25:48.015630Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.018470Z", "completed_at": "2024-08-13T21:25:48.018478Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021304845809936523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_fees_collected__True__0.c2a49865fe", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.020617Z", "completed_at": "2024-08-13T21:25:48.031274Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.033210Z", "completed_at": "2024-08-13T21:25:48.033217Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018296003341674805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_synth_market_id__True__0.2dfd67bc58", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.026405Z", "completed_at": "2024-08-13T21:25:48.034033Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.043691Z", "completed_at": "2024-08-13T21:25:48.043702Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02651357650756836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_block_number.6d42ca2157", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.038714Z", "completed_at": "2024-08-13T21:25:48.045547Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.047988Z", "completed_at": "2024-08-13T21:25:48.047995Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01748943328857422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_contract.d4446f0372", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.034626Z", "completed_at": "2024-08-13T21:25:48.046134Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.048847Z", "completed_at": "2024-08-13T21:25:48.048857Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023164987564086914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_block_timestamp.5b4c2eecf8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.050317Z", "completed_at": "2024-08-13T21:25:48.057256Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.064642Z", "completed_at": "2024-08-13T21:25:48.064650Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019864320755004883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_event_name.fe439b73da", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.058432Z", "completed_at": "2024-08-13T21:25:48.070459Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.076680Z", "completed_at": "2024-08-13T21:25:48.076690Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02707958221435547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_fees_collected.b6fac60b85", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.066228Z", "completed_at": "2024-08-13T21:25:48.076139Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.078351Z", "completed_at": "2024-08-13T21:25:48.078360Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02184319496154785, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_id.8905f554af", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.071912Z", "completed_at": "2024-08-13T21:25:48.079232Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.081748Z", "completed_at": "2024-08-13T21:25:48.081758Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024034500122070312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_synth_market_id.601db0f648", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.083529Z", "completed_at": "2024-08-13T21:25:48.091394Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.100904Z", "completed_at": "2024-08-13T21:25:48.100917Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02344036102294922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_transaction_hash.7672de0496", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.092767Z", "completed_at": "2024-08-13T21:25:48.102714Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.110866Z", "completed_at": "2024-08-13T21:25:48.110875Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02817058563232422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_wrapped_base_sepolia_id.159b2de78a", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.097081Z", "completed_at": "2024-08-13T21:25:48.103300Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.111790Z", "completed_at": "2024-08-13T21:25:48.111797Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023817777633666992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n \n amount / 1e18\n AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_reward_distributors\"\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.104532Z", "completed_at": "2024-08-13T21:25:48.114144Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.116848Z", "completed_at": "2024-08-13T21:25:48.116856Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025018692016601562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_distributor_address.6379395bc6", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor_address\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_reward_distributors\"\nwhere distributor_address is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.118288Z", "completed_at": "2024-08-13T21:25:48.128524Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.134134Z", "completed_at": "2024-08-13T21:25:48.134146Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021578073501586914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_token_symbol.62adebb178", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_reward_distributors\"\nwhere token_symbol is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.124546Z", "completed_at": "2024-08-13T21:25:48.139336Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.141338Z", "completed_at": "2024-08-13T21:25:48.141346Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025211095809936523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_prices_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH all_prices AS (\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_tokens\"\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.129131Z", "completed_at": "2024-08-13T21:25:48.139880Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.142263Z", "completed_at": "2024-08-13T21:25:48.142273Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024672985076904297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_arbitrum_sepolia_tokens_token_address.9daa149fb1", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_address\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_tokens\"\nwhere token_address is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.135291Z", "completed_at": "2024-08-13T21:25:48.143119Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.145821Z", "completed_at": "2024-08-13T21:25:48.145829Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.017987728118896484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_arbitrum_sepolia_tokens_token_symbol.17ecd3a7d8", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_tokens\"\nwhere token_symbol is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.149158Z", "completed_at": "2024-08-13T21:25:48.160494Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.165986Z", "completed_at": "2024-08-13T21:25:48.165998Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022416114807128906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_base_mainnet", "compiled": true, "compiled_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n \n amount / 1e18\n AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"base_mainnet_reward_distributors\"\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.154802Z", "completed_at": "2024-08-13T21:25:48.166875Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.172976Z", "completed_at": "2024-08-13T21:25:48.172985Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025801897048950195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_base_mainnet_reward_distributors_distributor_address.d0aab9bee0", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor_address\nfrom \"analytics\".\"prod_seeds\".\"base_mainnet_reward_distributors\"\nwhere distributor_address is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.161090Z", "completed_at": "2024-08-13T21:25:48.171627Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.174152Z", "completed_at": "2024-08-13T21:25:48.174161Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026381731033325195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_base_mainnet_reward_distributors_token_symbol.d94311a8fc", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"base_mainnet_reward_distributors\"\nwhere token_symbol is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.167572Z", "completed_at": "2024-08-13T21:25:48.175663Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.178106Z", "completed_at": "2024-08-13T21:25:48.178114Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02411031723022461, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_base_mainnet_tokens_token_address.47a3f5acd2", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_address\nfrom \"analytics\".\"prod_seeds\".\"base_mainnet_tokens\"\nwhere token_address is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.180204Z", "completed_at": "2024-08-13T21:25:48.186809Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.195992Z", "completed_at": "2024-08-13T21:25:48.196003Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021033048629760742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_base_mainnet_tokens_token_symbol.77007fd576", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"base_mainnet_tokens\"\nwhere token_symbol is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.187516Z", "completed_at": "2024-08-13T21:25:48.202274Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.204785Z", "completed_at": "2024-08-13T21:25:48.204794Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025937795639038086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_base_sepolia", "compiled": true, "compiled_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n \n amount / 1e18\n AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"base_sepolia_reward_distributors\"\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.191090Z", "completed_at": "2024-08-13T21:25:48.203555Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.205767Z", "completed_at": "2024-08-13T21:25:48.205775Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02627849578857422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_base_sepolia_reward_distributors_distributor_address.08551b149c", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor_address\nfrom \"analytics\".\"prod_seeds\".\"base_sepolia_reward_distributors\"\nwhere distributor_address is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.197166Z", "completed_at": "2024-08-13T21:25:48.206680Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.209447Z", "completed_at": "2024-08-13T21:25:48.209455Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023360013961791992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_base_sepolia_reward_distributors_token_symbol.37319f3c5c", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"base_sepolia_reward_distributors\"\nwhere token_symbol is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.212803Z", "completed_at": "2024-08-13T21:25:48.223151Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.228128Z", "completed_at": "2024-08-13T21:25:48.228138Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0209805965423584, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_base_sepolia_tokens_token_address.73f3c4e0ef", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_address\nfrom \"analytics\".\"prod_seeds\".\"base_sepolia_tokens\"\nwhere token_address is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.218968Z", "completed_at": "2024-08-13T21:25:48.229008Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.234360Z", "completed_at": "2024-08-13T21:25:48.234368Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023593664169311523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_base_sepolia_tokens_token_symbol.1afdd41b38", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"base_sepolia_tokens\"\nwhere token_symbol is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.223741Z", "completed_at": "2024-08-13T21:25:48.233009Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.235380Z", "completed_at": "2024-08-13T21:25:48.235390Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02396869659423828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_eth_mainnet", "compiled": true, "compiled_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n \n amount / 1e18\n AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"eth_mainnet_reward_distributors\"\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.229702Z", "completed_at": "2024-08-13T21:25:48.238214Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.240864Z", "completed_at": "2024-08-13T21:25:48.240872Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022736787796020508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_prices_eth_mainnet", "compiled": true, "compiled_code": "WITH all_prices AS (\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"eth_mainnet_tokens\"\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_prices_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.241712Z", "completed_at": "2024-08-13T21:25:48.255862Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.257924Z", "completed_at": "2024-08-13T21:25:48.257933Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0217592716217041, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_buyback_daily_base_sepolia", "compiled": true, "compiled_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_buyback_daily_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.247012Z", "completed_at": "2024-08-13T21:25:48.257328Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.260008Z", "completed_at": "2024-08-13T21:25:48.260018Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0204617977142334, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_buyback_hourly_base_sepolia", "compiled": true, "compiled_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_buyback_hourly_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.251741Z", "completed_at": "2024-08-13T21:25:48.259426Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.266176Z", "completed_at": "2024-08-13T21:25:48.266184Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026034832000732422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0.21bd52e738", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.261597Z", "completed_at": "2024-08-13T21:25:48.269399Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.271785Z", "completed_at": "2024-08-13T21:25:48.271793Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.015414237976074219, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_snx_price__True__0.fedfb306c2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.273220Z", "completed_at": "2024-08-13T21:25:48.287873Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.289928Z", "completed_at": "2024-08-13T21:25:48.289938Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022237539291381836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0.7426b61d1a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.282941Z", "completed_at": "2024-08-13T21:25:48.289316Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.297003Z", "completed_at": "2024-08-13T21:25:48.297012Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025940656661987305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_base_sepolia_id.03ec6b8e04", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.278734Z", "completed_at": "2024-08-13T21:25:48.290772Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.298612Z", "completed_at": "2024-08-13T21:25:48.298620Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.028748750686645508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_base_sepolia_buyer.e7ec385108", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.291370Z", "completed_at": "2024-08-13T21:25:48.300928Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.303421Z", "completed_at": "2024-08-13T21:25:48.303431Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.016268253326416016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_base_sepolia_snx.39b0dcead2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.305479Z", "completed_at": "2024-08-13T21:25:48.315643Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.321660Z", "completed_at": "2024-08-13T21:25:48.321671Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02141118049621582, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_base_sepolia_snx_price.361a60f2b3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.310860Z", "completed_at": "2024-08-13T21:25:48.321084Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.326668Z", "completed_at": "2024-08-13T21:25:48.326676Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024563312530517578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_base_sepolia_ts.f6314da709", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.316357Z", "completed_at": "2024-08-13T21:25:48.327522Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.330203Z", "completed_at": "2024-08-13T21:25:48.330212Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02599024772644043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_base_sepolia_usd.427a3c3ca1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.322641Z", "completed_at": "2024-08-13T21:25:48.329669Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.332320Z", "completed_at": "2024-08-13T21:25:48.332328Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.017370223999023438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_buyback_base_sepolia_id.ce5fc96649", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.336333Z", "completed_at": "2024-08-13T21:25:48.346055Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.355873Z", "completed_at": "2024-08-13T21:25:48.355883Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024944782257080078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_buyback_daily_base_mainnet", "compiled": true, "compiled_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_buyback_daily_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.339423Z", "completed_at": "2024-08-13T21:25:48.350719Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.356925Z", "completed_at": "2024-08-13T21:25:48.356932Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02531909942626953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_buyback_hourly_base_mainnet", "compiled": true, "compiled_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_buyback_hourly_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.346634Z", "completed_at": "2024-08-13T21:25:48.358632Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.361583Z", "completed_at": "2024-08-13T21:25:48.361593Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025969266891479492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0.ffcae6ef8f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.351422Z", "completed_at": "2024-08-13T21:25:48.359306Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.362458Z", "completed_at": "2024-08-13T21:25:48.362465Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018604040145874023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_snx_price__True__0.4ab5da9346", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.366433Z", "completed_at": "2024-08-13T21:25:48.377280Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.388630Z", "completed_at": "2024-08-13T21:25:48.388638Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027942657470703125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0.e9e29cece7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.371938Z", "completed_at": "2024-08-13T21:25:48.382129Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.389612Z", "completed_at": "2024-08-13T21:25:48.389619Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026340961456298828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_base_mainnet_buyer.996c564c05", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.377974Z", "completed_at": "2024-08-13T21:25:48.390479Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.393128Z", "completed_at": "2024-08-13T21:25:48.393136Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02266073226928711, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_base_mainnet_id.fbad84fb48", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.382819Z", "completed_at": "2024-08-13T21:25:48.392514Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.395243Z", "completed_at": "2024-08-13T21:25:48.395253Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024016618728637695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_base_mainnet_snx.75b728a26f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.399189Z", "completed_at": "2024-08-13T21:25:48.409508Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.418872Z", "completed_at": "2024-08-13T21:25:48.418882Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02501678466796875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_base_mainnet_snx_price.e23de62b78", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.403257Z", "completed_at": "2024-08-13T21:25:48.414210Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.419972Z", "completed_at": "2024-08-13T21:25:48.419979Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025472164154052734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_base_mainnet_ts.42175c7800", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.410136Z", "completed_at": "2024-08-13T21:25:48.421593Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.424142Z", "completed_at": "2024-08-13T21:25:48.424150Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02568817138671875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_base_mainnet_usd.2e04e1ae30", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.414876Z", "completed_at": "2024-08-13T21:25:48.422913Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.425604Z", "completed_at": "2024-08-13T21:25:48.425611Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01841425895690918, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_buyback_base_mainnet_id.f0c25ee329", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.428966Z", "completed_at": "2024-08-13T21:25:48.446549Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.452227Z", "completed_at": "2024-08-13T21:25:48.452239Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.028855323791503906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_fct_core_migration_eth_mainnet_collateral_type__0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F.a38946ae0c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.434116Z", "completed_at": "2024-08-13T21:25:48.451408Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.453953Z", "completed_at": "2024-08-13T21:25:48.453961Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.029059648513793945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_eth_mainnet_collateral_amount__True__0.049cad30eb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.442182Z", "completed_at": "2024-08-13T21:25:48.453259Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.456153Z", "completed_at": "2024-08-13T21:25:48.456161Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022897720336914062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_eth_mainnet_pool_id__True__1__1.451aedc606", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.447342Z", "completed_at": "2024-08-13T21:25:48.454846Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.457754Z", "completed_at": "2024-08-13T21:25:48.457762Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.017834186553955078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_account_id.afcffa2df1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.463707Z", "completed_at": "2024-08-13T21:25:48.477642Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.484735Z", "completed_at": "2024-08-13T21:25:48.484742Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026224613189697266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_block_number.9a454098b0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.468507Z", "completed_at": "2024-08-13T21:25:48.484064Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.486308Z", "completed_at": "2024-08-13T21:25:48.486315Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02642822265625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_collateral_amount.0b05c3add8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.473377Z", "completed_at": "2024-08-13T21:25:48.485651Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.488474Z", "completed_at": "2024-08-13T21:25:48.488482Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026721954345703125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_collateral_type.d3ff39474d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.478299Z", "completed_at": "2024-08-13T21:25:48.487937Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.490616Z", "completed_at": "2024-08-13T21:25:48.490623Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027654170989990234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_debt_amount.8b36e762c2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.495265Z", "completed_at": "2024-08-13T21:25:48.505509Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.514978Z", "completed_at": "2024-08-13T21:25:48.514991Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025136232376098633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_pool_id.f0e6b5266e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.500682Z", "completed_at": "2024-08-13T21:25:48.514388Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.516229Z", "completed_at": "2024-08-13T21:25:48.516237Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024138450622558594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_staker.745012ec35", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.506063Z", "completed_at": "2024-08-13T21:25:48.517774Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.520342Z", "completed_at": "2024-08-13T21:25:48.520350Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026371479034423828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_transaction_hash.15435ec6a4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.510293Z", "completed_at": "2024-08-13T21:25:48.518440Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.521197Z", "completed_at": "2024-08-13T21:25:48.521207Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02194380760192871, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_ts.4a5f6995ac", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.525240Z", "completed_at": "2024-08-13T21:25:48.538318Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.548438Z", "completed_at": "2024-08-13T21:25:48.548450Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.028847455978393555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_amount_delegated__True__0.f003c4fdae", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.530937Z", "completed_at": "2024-08-13T21:25:48.543334Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.549650Z", "completed_at": "2024-08-13T21:25:48.549660Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02769756317138672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_pool_id__True__0.aa7ddfc925", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.538900Z", "completed_at": "2024-08-13T21:25:48.550641Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.553270Z", "completed_at": "2024-08-13T21:25:48.553279Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023720979690551758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_account_id.bd5bdf25e3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.544029Z", "completed_at": "2024-08-13T21:25:48.552000Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.554785Z", "completed_at": "2024-08-13T21:25:48.554795Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024602890014648438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_amount_delegated.56c41128cd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.559546Z", "completed_at": "2024-08-13T21:25:48.570512Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.582070Z", "completed_at": "2024-08-13T21:25:48.582083Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.028022050857543945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_collateral_type.2ce3f7a9bb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.564715Z", "completed_at": "2024-08-13T21:25:48.575364Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.583169Z", "completed_at": "2024-08-13T21:25:48.583181Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02757573127746582, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id.54d8a339d7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.571144Z", "completed_at": "2024-08-13T21:25:48.584024Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.586699Z", "completed_at": "2024-08-13T21:25:48.586709Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027965307235717773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_ts.47ea299d3f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.575975Z", "completed_at": "2024-08-13T21:25:48.585473Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.588265Z", "completed_at": "2024-08-13T21:25:48.588276Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024288415908813477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_mainnet_pool_id__True__0.cc3901412b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.592939Z", "completed_at": "2024-08-13T21:25:48.608327Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.614309Z", "completed_at": "2024-08-13T21:25:48.614322Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02681899070739746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_collateral_type.d924f2d2aa", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.598233Z", "completed_at": "2024-08-13T21:25:48.613577Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.616064Z", "completed_at": "2024-08-13T21:25:48.616075Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027025222778320312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id.fe0fca7194", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.604202Z", "completed_at": "2024-08-13T21:25:48.615375Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.617768Z", "completed_at": "2024-08-13T21:25:48.617776Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025557518005371094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_ts.5d96538438", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.608987Z", "completed_at": "2024-08-13T21:25:48.618600Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.621247Z", "completed_at": "2024-08-13T21:25:48.621256Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023914337158203125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_amount_delegated__True__0.b9f7312790", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.625263Z", "completed_at": "2024-08-13T21:25:48.643201Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.649597Z", "completed_at": "2024-08-13T21:25:48.649608Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02981257438659668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_pool_id__True__0.8b1dae49a3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.631217Z", "completed_at": "2024-08-13T21:25:48.643831Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.650550Z", "completed_at": "2024-08-13T21:25:48.650562Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028533220291137695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_account_id.a6811a48a4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.637627Z", "completed_at": "2024-08-13T21:25:48.648851Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.651591Z", "completed_at": "2024-08-13T21:25:48.651600Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.028316497802734375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_amount_delegated.f883895d2a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.644479Z", "completed_at": "2024-08-13T21:25:48.652490Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.655192Z", "completed_at": "2024-08-13T21:25:48.655200Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024779558181762695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_collateral_type.c996bc8d62", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.661014Z", "completed_at": "2024-08-13T21:25:48.675331Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.831413Z", "completed_at": "2024-08-13T21:25:48.831429Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.1755046844482422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id.0a7b37ae8c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.669553Z", "completed_at": "2024-08-13T21:25:48.828602Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.833013Z", "completed_at": "2024-08-13T21:25:48.833020Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.17580008506774902, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_sepolia_pool_id__True__0.72a7f44e62", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.665334Z", "completed_at": "2024-08-13T21:25:48.832423Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.834699Z", "completed_at": "2024-08-13T21:25:48.834707Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.17810750007629395, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_ts.143d36cd88", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.675983Z", "completed_at": "2024-08-13T21:25:48.835569Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.838170Z", "completed_at": "2024-08-13T21:25:48.838177Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.17787933349609375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_collateral_type.866b468c25", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.842118Z", "completed_at": "2024-08-13T21:25:48.856419Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.858372Z", "completed_at": "2024-08-13T21:25:48.858381Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021577119827270508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id.58ecabbbb6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.847777Z", "completed_at": "2024-08-13T21:25:48.857736Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.864236Z", "completed_at": "2024-08-13T21:25:48.864244Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025287628173828125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_ts.f1e8f35f9b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.852044Z", "completed_at": "2024-08-13T21:25:48.863565Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.865873Z", "completed_at": "2024-08-13T21:25:48.865880Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02571392059326172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_amount_delegated__True__0.5d186a76ca", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.859308Z", "completed_at": "2024-08-13T21:25:48.866743Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.869330Z", "completed_at": "2024-08-13T21:25:48.869340Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02229595184326172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_pool_id__True__0.a18d31544f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.873249Z", "completed_at": "2024-08-13T21:25:48.888579Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.890004Z", "completed_at": "2024-08-13T21:25:48.890013Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022061824798583984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_account_id.64d4657b45", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.884267Z", "completed_at": "2024-08-13T21:25:48.890888Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.896815Z", "completed_at": "2024-08-13T21:25:48.896823Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02552008628845215, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_collateral_type.01ebd9c59e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.878578Z", "completed_at": "2024-08-13T21:25:48.895502Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.897787Z", "completed_at": "2024-08-13T21:25:48.897795Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027693748474121094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_amount_delegated.c0cf7fdd11", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.891514Z", "completed_at": "2024-08-13T21:25:48.899303Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.901783Z", "completed_at": "2024-08-13T21:25:48.901791Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023942947387695312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_pool_id.c2b6448825", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.903860Z", "completed_at": "2024-08-13T21:25:48.910486Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.920230Z", "completed_at": "2024-08-13T21:25:48.920245Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02163982391357422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_ts.3412be3139", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.911034Z", "completed_at": "2024-08-13T21:25:48.926809Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.928868Z", "completed_at": "2024-08-13T21:25:48.928879Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02634453773498535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_base_mainnet_pool_id__True__0.4d81a0e2e0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.915380Z", "completed_at": "2024-08-13T21:25:48.928183Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.930902Z", "completed_at": "2024-08-13T21:25:48.930910Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027748584747314453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_collateral_type.49ff2a0118", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.921345Z", "completed_at": "2024-08-13T21:25:48.929769Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.932452Z", "completed_at": "2024-08-13T21:25:48.932460Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022716283798217773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_pool_id.d338258729", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.935801Z", "completed_at": "2024-08-13T21:25:48.942380Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.952399Z", "completed_at": "2024-08-13T21:25:48.952410Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02220916748046875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_ts.2ed20ab777", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.942951Z", "completed_at": "2024-08-13T21:25:48.958440Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.960992Z", "completed_at": "2024-08-13T21:25:48.961000Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026597976684570312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_amount_delegated__True__0.2258d23e98", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.947995Z", "completed_at": "2024-08-13T21:25:48.959212Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.961863Z", "completed_at": "2024-08-13T21:25:48.961871Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022108078002929688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_pool_id__True__0.508b8be78d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.953421Z", "completed_at": "2024-08-13T21:25:48.960460Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.963312Z", "completed_at": "2024-08-13T21:25:48.963320Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0222928524017334, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_account_id.71a1fd9dac", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.965510Z", "completed_at": "2024-08-13T21:25:48.972560Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.974875Z", "completed_at": "2024-08-13T21:25:48.974885Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.015160322189331055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_amount_delegated.07444b44f4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.981410Z", "completed_at": "2024-08-13T21:25:48.990898Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.993210Z", "completed_at": "2024-08-13T21:25:48.993218Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02208542823791504, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_pool_id.8eb393e4f4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.975776Z", "completed_at": "2024-08-13T21:25:48.991478Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.994082Z", "completed_at": "2024-08-13T21:25:48.994093Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02361297607421875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_collateral_type.dc085beb88", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.985536Z", "completed_at": "2024-08-13T21:25:48.992634Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:48.995574Z", "completed_at": "2024-08-13T21:25:48.995584Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023738861083984375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_ts.4b517eadb1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:48.997808Z", "completed_at": "2024-08-13T21:25:49.005047Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.007319Z", "completed_at": "2024-08-13T21:25:49.007327Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.015355110168457031, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_base_sepolia_pool_id__True__0.6f4bec67e8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.012251Z", "completed_at": "2024-08-13T21:25:49.023028Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.025479Z", "completed_at": "2024-08-13T21:25:49.025488Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021877527236938477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_pool_id.03e5ee04d2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.008174Z", "completed_at": "2024-08-13T21:25:49.023701Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.026350Z", "completed_at": "2024-08-13T21:25:49.026360Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02347874641418457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_collateral_type.6d78a9fae0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.016363Z", "completed_at": "2024-08-13T21:25:49.024262Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.027253Z", "completed_at": "2024-08-13T21:25:49.027260Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022909879684448242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_ts.29b697c43e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.030702Z", "completed_at": "2024-08-13T21:25:49.038209Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.047876Z", "completed_at": "2024-08-13T21:25:49.047884Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023140430450439453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_amount_delegated__True__0.854bbca778", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.043682Z", "completed_at": "2024-08-13T21:25:49.053932Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.056536Z", "completed_at": "2024-08-13T21:25:49.056548Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020915508270263672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_account_id.9b9eed26fe", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.039368Z", "completed_at": "2024-08-13T21:25:49.055413Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.057975Z", "completed_at": "2024-08-13T21:25:49.057984Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023019075393676758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_pool_id__True__0.35dc5bbd4b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.048754Z", "completed_at": "2024-08-13T21:25:49.056005Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.058826Z", "completed_at": "2024-08-13T21:25:49.058834Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022587060928344727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_amount_delegated.7c91dafbd8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.060400Z", "completed_at": "2024-08-13T21:25:49.067659Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.069936Z", "completed_at": "2024-08-13T21:25:49.069944Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.015294551849365234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_collateral_type.f9b6e0e993", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.076876Z", "completed_at": "2024-08-13T21:25:49.086645Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.088632Z", "completed_at": "2024-08-13T21:25:49.088641Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021759510040283203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_ts.a916375fbd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.071390Z", "completed_at": "2024-08-13T21:25:49.087231Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.090055Z", "completed_at": "2024-08-13T21:25:49.090065Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023914337158203125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_pool_id.f6076a6b8b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.081829Z", "completed_at": "2024-08-13T21:25:49.089474Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.092220Z", "completed_at": "2024-08-13T21:25:49.092228Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024131059646606445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_eth_mainnet_pool_id__True__0.8087f39696", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.093838Z", "completed_at": "2024-08-13T21:25:49.100736Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.106723Z", "completed_at": "2024-08-13T21:25:49.106733Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018996715545654297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_collateral_type.687e523e9a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.102487Z", "completed_at": "2024-08-13T21:25:49.113363Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.121374Z", "completed_at": "2024-08-13T21:25:49.121384Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023415565490722656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_pool_id.38ebfdf86f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.108386Z", "completed_at": "2024-08-13T21:25:49.120835Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.123539Z", "completed_at": "2024-08-13T21:25:49.123547Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024196624755859375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_ts.4c81cbc76a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.114045Z", "completed_at": "2024-08-13T21:25:49.122918Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.129433Z", "completed_at": "2024-08-13T21:25:49.129442Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02825760841369629, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_fct_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.0bf85002ba", "compiled": true, "compiled_code": "\n \n \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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.125051Z", "completed_at": "2024-08-13T21:25:49.132601Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.134999Z", "completed_at": "2024-08-13T21:25:49.135009Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.014954090118408203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_arbitrum_mainnet_market_id__True__0.23d58ffdfe", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.136455Z", "completed_at": "2024-08-13T21:25:49.150906Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.153563Z", "completed_at": "2024-08-13T21:25:49.153571Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022426843643188477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_collateral_type.85f2ad0cb4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.142126Z", "completed_at": "2024-08-13T21:25:49.152469Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.155043Z", "completed_at": "2024-08-13T21:25:49.155050Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02196502685546875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_credit_capacity.03f2d72a75", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.146615Z", "completed_at": "2024-08-13T21:25:49.153019Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.155945Z", "completed_at": "2024-08-13T21:25:49.155954Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021662235260009766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_event_name.5590c6c9b0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.157482Z", "completed_at": "2024-08-13T21:25:49.164442Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.166753Z", "completed_at": "2024-08-13T21:25:49.166763Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.015366315841674805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_id.322013511a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.168200Z", "completed_at": "2024-08-13T21:25:49.183870Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.185756Z", "completed_at": "2024-08-13T21:25:49.185765Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022791624069213867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_market_id.286e3a43cf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.173880Z", "completed_at": "2024-08-13T21:25:49.184466Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.187184Z", "completed_at": "2024-08-13T21:25:49.187191Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023461341857910156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance.c0d40f9ece", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.178805Z", "completed_at": "2024-08-13T21:25:49.186582Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.193049Z", "completed_at": "2024-08-13T21:25:49.193057Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.028147459030151367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_token_amount.74526c215d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.188020Z", "completed_at": "2024-08-13T21:25:49.195411Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.197824Z", "completed_at": "2024-08-13T21:25:49.197834Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01470804214477539, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_transaction_hash.aa748b5290", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.199893Z", "completed_at": "2024-08-13T21:25:49.215268Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.217418Z", "completed_at": "2024-08-13T21:25:49.217427Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02281641960144043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_ts.b5fc2ec12e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.205275Z", "completed_at": "2024-08-13T21:25:49.218250Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.224153Z", "completed_at": "2024-08-13T21:25:49.224161Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027609825134277344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_core_market_updated_arbitrum_mainnet_id.1caa9c591c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.210168Z", "completed_at": "2024-08-13T21:25:49.224978Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.228089Z", "completed_at": "2024-08-13T21:25:49.228096Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.029515743255615234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_fct_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.ea1df73130", "compiled": true, "compiled_code": "\n \n \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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.218929Z", "completed_at": "2024-08-13T21:25:49.227447Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.230185Z", "completed_at": "2024-08-13T21:25:49.230194Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020827293395996094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_arbitrum_sepolia_market_id__True__0.95e420ef94", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.231733Z", "completed_at": "2024-08-13T21:25:49.242630Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.244640Z", "completed_at": "2024-08-13T21:25:49.244648Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019063949584960938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_collateral_type.d8f0899c66", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.238158Z", "completed_at": "2024-08-13T21:25:49.246082Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.255722Z", "completed_at": "2024-08-13T21:25:49.255732Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026286840438842773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_credit_capacity.9862e1aaee", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.246650Z", "completed_at": "2024-08-13T21:25:49.257341Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.259835Z", "completed_at": "2024-08-13T21:25:49.259845Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022542953491210938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_event_name.4419326334", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.251609Z", "completed_at": "2024-08-13T21:25:49.258031Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.260707Z", "completed_at": "2024-08-13T21:25:49.260714Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.017587661743164062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_id.378db4cf74", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.262166Z", "completed_at": "2024-08-13T21:25:49.271236Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.277240Z", "completed_at": "2024-08-13T21:25:49.277252Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020633935928344727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_market_id.2752afabd6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.271838Z", "completed_at": "2024-08-13T21:25:49.282260Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.288226Z", "completed_at": "2024-08-13T21:25:49.288234Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02678513526916504, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance.62f7b3daca", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.282984Z", "completed_at": "2024-08-13T21:25:49.289993Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.292367Z", "completed_at": "2024-08-13T21:25:49.292376Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021839141845703125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_transaction_hash.45d8547f52", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.278246Z", "completed_at": "2024-08-13T21:25:49.290544Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.293232Z", "completed_at": "2024-08-13T21:25:49.293239Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02339768409729004, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_token_amount.4d14e4bb21", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.294703Z", "completed_at": "2024-08-13T21:25:49.301856Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.308091Z", "completed_at": "2024-08-13T21:25:49.308100Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018925189971923828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_ts.b76a8ffb56", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.303054Z", "completed_at": "2024-08-13T21:25:49.315621Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.321525Z", "completed_at": "2024-08-13T21:25:49.321536Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027580976486206055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_core_market_updated_arbitrum_sepolia_id.8dc27d8b84", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.309609Z", "completed_at": "2024-08-13T21:25:49.322540Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.325109Z", "completed_at": "2024-08-13T21:25:49.325116Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024004697799682617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_fct_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.b6908f0c03", "compiled": true, "compiled_code": "\n \n \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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.316974Z", "completed_at": "2024-08-13T21:25:49.324534Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.327206Z", "completed_at": "2024-08-13T21:25:49.327214Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0248873233795166, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_base_mainnet_market_id__True__0.2ed4a3f792", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.328765Z", "completed_at": "2024-08-13T21:25:49.339839Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.342272Z", "completed_at": "2024-08-13T21:25:49.342280Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019266843795776367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_collateral_type.b71240306c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.334901Z", "completed_at": "2024-08-13T21:25:49.341738Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.351557Z", "completed_at": "2024-08-13T21:25:49.351567Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025122404098510742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_credit_capacity.303317e986", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.347283Z", "completed_at": "2024-08-13T21:25:49.354228Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.356645Z", "completed_at": "2024-08-13T21:25:49.356655Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.017635822296142578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_id.a50a975385", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.343153Z", "completed_at": "2024-08-13T21:25:49.354770Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.357527Z", "completed_at": "2024-08-13T21:25:49.357537Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023436307907104492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_event_name.38e05844e8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.360930Z", "completed_at": "2024-08-13T21:25:49.373017Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.378789Z", "completed_at": "2024-08-13T21:25:49.378797Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023488759994506836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_market_id.c97cd708fa", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.366539Z", "completed_at": "2024-08-13T21:25:49.374183Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.383869Z", "completed_at": "2024-08-13T21:25:49.383877Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027948856353759766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_net_issuance.2d64ab52f8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.374751Z", "completed_at": "2024-08-13T21:25:49.386328Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.388871Z", "completed_at": "2024-08-13T21:25:49.388881Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0182344913482666, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_token_amount.ead854df90", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.379747Z", "completed_at": "2024-08-13T21:25:49.387687Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.390308Z", "completed_at": "2024-08-13T21:25:49.390318Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01885080337524414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_transaction_hash.87848e2a26", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.392495Z", "completed_at": "2024-08-13T21:25:49.402902Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.405317Z", "completed_at": "2024-08-13T21:25:49.405328Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018471240997314453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_ts.f35cfffa6d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.397303Z", "completed_at": "2024-08-13T21:25:49.404209Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.412012Z", "completed_at": "2024-08-13T21:25:49.412024Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023883342742919922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_core_market_updated_base_mainnet_id.ec01754a17", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.406177Z", "completed_at": "2024-08-13T21:25:49.419197Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.421623Z", "completed_at": "2024-08-13T21:25:49.421631Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020374298095703125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_fct_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.f97649ec10", "compiled": true, "compiled_code": "\n \n \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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.412923Z", "completed_at": "2024-08-13T21:25:49.421040Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.423638Z", "completed_at": "2024-08-13T21:25:49.423645Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021489858627319336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_base_sepolia_market_id__True__0.9ac29d575a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.429321Z", "completed_at": "2024-08-13T21:25:49.436563Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.442333Z", "completed_at": "2024-08-13T21:25:49.442342Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021970033645629883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_credit_capacity.1096ceee18", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.425158Z", "completed_at": "2024-08-13T21:25:49.437712Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.447399Z", "completed_at": "2024-08-13T21:25:49.447407Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027698993682861328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_collateral_type.5333cf7124", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.438282Z", "completed_at": "2024-08-13T21:25:49.449112Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.451712Z", "completed_at": "2024-08-13T21:25:49.451720Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.017412424087524414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_event_name.027b71247d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.443268Z", "completed_at": "2024-08-13T21:25:49.450430Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.453189Z", "completed_at": "2024-08-13T21:25:49.453196Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.017994403839111328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_id.34d77ebc84", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.456566Z", "completed_at": "2024-08-13T21:25:49.469186Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.478586Z", "completed_at": "2024-08-13T21:25:49.478600Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027667760848999023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_market_id.e1e1cc407f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.462839Z", "completed_at": "2024-08-13T21:25:49.473906Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.479747Z", "completed_at": "2024-08-13T21:25:49.479757Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027280092239379883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_net_issuance.094fc9701e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.469798Z", "completed_at": "2024-08-13T21:25:49.481463Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.483999Z", "completed_at": "2024-08-13T21:25:49.484007Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021892070770263672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_token_amount.dfd33d6c7e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.474542Z", "completed_at": "2024-08-13T21:25:49.482106Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.484881Z", "completed_at": "2024-08-13T21:25:49.484891Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018017292022705078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_transaction_hash.8b87578f5d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.488916Z", "completed_at": "2024-08-13T21:25:49.499407Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.506518Z", "completed_at": "2024-08-13T21:25:49.506526Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023244142532348633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_ts.9f306426fd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.494394Z", "completed_at": "2024-08-13T21:25:49.507463Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.513309Z", "completed_at": "2024-08-13T21:25:49.513320Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027673006057739258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_core_market_updated_base_sepolia_id.469dae108f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.500651Z", "completed_at": "2024-08-13T21:25:49.514160Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.516750Z", "completed_at": "2024-08-13T21:25:49.516760Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02384185791015625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_fct_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.f0e721a249", "compiled": true, "compiled_code": "\n \n \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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.508015Z", "completed_at": "2024-08-13T21:25:49.516138Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.518835Z", "completed_at": "2024-08-13T21:25:49.518842Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02528214454650879, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_eth_mainnet_market_id__True__0.32701334f3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.520479Z", "completed_at": "2024-08-13T21:25:49.531340Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.533786Z", "completed_at": "2024-08-13T21:25:49.533796Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01905202865600586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_collateral_type.fbe59aeb13", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.526565Z", "completed_at": "2024-08-13T21:25:49.533228Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.542885Z", "completed_at": "2024-08-13T21:25:49.542893Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024789810180664062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_credit_capacity.bc652bf021", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.538742Z", "completed_at": "2024-08-13T21:25:49.544816Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.547263Z", "completed_at": "2024-08-13T21:25:49.547272Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.016654253005981445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_id.7444e98615", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.534649Z", "completed_at": "2024-08-13T21:25:49.545975Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.548739Z", "completed_at": "2024-08-13T21:25:49.548751Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023030996322631836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_event_name.e682d1b7d5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.552285Z", "completed_at": "2024-08-13T21:25:49.564216Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.570101Z", "completed_at": "2024-08-13T21:25:49.570114Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023634910583496094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_market_id.9fbceacdbc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.558654Z", "completed_at": "2024-08-13T21:25:49.565472Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.575114Z", "completed_at": "2024-08-13T21:25:49.575127Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027129411697387695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_net_issuance.95ea8efb4e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.566063Z", "completed_at": "2024-08-13T21:25:49.576961Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.579535Z", "completed_at": "2024-08-13T21:25:49.579544Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021713733673095703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_token_amount.fe11f0ce69", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.571041Z", "completed_at": "2024-08-13T21:25:49.578330Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.580999Z", "completed_at": "2024-08-13T21:25:49.581009Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01837015151977539, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_transaction_hash.f31c00e39e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.584404Z", "completed_at": "2024-08-13T21:25:49.594700Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.602238Z", "completed_at": "2024-08-13T21:25:49.602247Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023487091064453125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_ts.950a116067", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.589117Z", "completed_at": "2024-08-13T21:25:49.595266Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.603204Z", "completed_at": "2024-08-13T21:25:49.603212Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022909879684448242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_core_market_updated_eth_mainnet_id.d5c16089e9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.596396Z", "completed_at": "2024-08-13T21:25:49.608954Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.611557Z", "completed_at": "2024-08-13T21:25:49.611568Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0231626033782959, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_arbitrum_mainnet_id__True__0.913c01840d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.604073Z", "completed_at": "2024-08-13T21:25:49.610966Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.613637Z", "completed_at": "2024-08-13T21:25:49.613645Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020575523376464844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_block_number.7aac324156", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.615777Z", "completed_at": "2024-08-13T21:25:49.626575Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.628462Z", "completed_at": "2024-08-13T21:25:49.628470Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018225908279418945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_created_ts.b08fc3c233", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.621692Z", "completed_at": "2024-08-13T21:25:49.633448Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.639469Z", "completed_at": "2024-08-13T21:25:49.639478Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027170896530151367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_id.61336667c3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.629439Z", "completed_at": "2024-08-13T21:25:49.640387Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.642871Z", "completed_at": "2024-08-13T21:25:49.642879Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0222775936126709, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_owner.4cc2187f96", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.634042Z", "completed_at": "2024-08-13T21:25:49.642275Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.644965Z", "completed_at": "2024-08-13T21:25:49.644973Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01917576789855957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_arbitrum_sepolia_id__True__0.d4e586601a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.646470Z", "completed_at": "2024-08-13T21:25:49.658945Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.661411Z", "completed_at": "2024-08-13T21:25:49.661419Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02050042152404785, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_block_number.8044e9af90", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.654156Z", "completed_at": "2024-08-13T21:25:49.660831Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.670344Z", "completed_at": "2024-08-13T21:25:49.670356Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026136398315429688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_created_ts.56d3c1e25b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.662278Z", "completed_at": "2024-08-13T21:25:49.673586Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.675952Z", "completed_at": "2024-08-13T21:25:49.675963Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02271246910095215, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_id.0242b18493", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.666316Z", "completed_at": "2024-08-13T21:25:49.674172Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.676850Z", "completed_at": "2024-08-13T21:25:49.676858Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01864147186279297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_owner.5ee993817b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.678264Z", "completed_at": "2024-08-13T21:25:49.689625Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.692098Z", "completed_at": "2024-08-13T21:25:49.692106Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019211769104003906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_base_mainnet_id__True__0.2b14986ce3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.684248Z", "completed_at": "2024-08-13T21:25:49.690923Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.698512Z", "completed_at": "2024-08-13T21:25:49.698522Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023909330368041992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pools_base_mainnet_block_number.cc61b3ca43", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.692961Z", "completed_at": "2024-08-13T21:25:49.705196Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.707657Z", "completed_at": "2024-08-13T21:25:49.707665Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019362688064575195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pools_base_mainnet_created_ts.a07bb6b8fe", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.699449Z", "completed_at": "2024-08-13T21:25:49.706392Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.709080Z", "completed_at": "2024-08-13T21:25:49.709088Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0201263427734375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pools_base_mainnet_id.1f1f3ad095", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.711169Z", "completed_at": "2024-08-13T21:25:49.722485Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.728500Z", "completed_at": "2024-08-13T21:25:49.728511Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02280139923095703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pools_base_mainnet_owner.a2cfe04f87", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.716033Z", "completed_at": "2024-08-13T21:25:49.723070Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.729532Z", "completed_at": "2024-08-13T21:25:49.729541Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022683382034301758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_base_sepolia_id__True__0.6010b3107d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.724262Z", "completed_at": "2024-08-13T21:25:49.736190Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.738783Z", "completed_at": "2024-08-13T21:25:49.738792Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018476247787475586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pools_base_sepolia_block_number.68462f9c7c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.730444Z", "completed_at": "2024-08-13T21:25:49.738175Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.740891Z", "completed_at": "2024-08-13T21:25:49.740901Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019861936569213867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pools_base_sepolia_created_ts.ddc75dd279", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.742413Z", "completed_at": "2024-08-13T21:25:49.754590Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.756900Z", "completed_at": "2024-08-13T21:25:49.756910Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020101547241210938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pools_base_sepolia_id.b91a0ef35b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.748267Z", "completed_at": "2024-08-13T21:25:49.755163Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.757760Z", "completed_at": "2024-08-13T21:25:49.757767Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02026963233947754, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pools_base_sepolia_owner.e551fe7bc6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.758603Z", "completed_at": "2024-08-13T21:25:49.769100Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.771528Z", "completed_at": "2024-08-13T21:25:49.771535Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018605947494506836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0.e529c0ad91", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.762711Z", "completed_at": "2024-08-13T21:25:49.770335Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.772946Z", "completed_at": "2024-08-13T21:25:49.772953Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01905965805053711, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pools_eth_mainnet_block_number.d5795e3469", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.773786Z", "completed_at": "2024-08-13T21:25:49.784426Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.786852Z", "completed_at": "2024-08-13T21:25:49.786860Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018557071685791016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pools_eth_mainnet_created_ts.85e7c6f7d7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.778766Z", "completed_at": "2024-08-13T21:25:49.785762Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.788309Z", "completed_at": "2024-08-13T21:25:49.788317Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01867079734802246, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pools_eth_mainnet_id.ac06cb59ca", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.789139Z", "completed_at": "2024-08-13T21:25:49.801357Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.803727Z", "completed_at": "2024-08-13T21:25:49.803735Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020038366317749023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pools_eth_mainnet_owner.13db5fad75", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.795453Z", "completed_at": "2024-08-13T21:25:49.803142Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.809271Z", "completed_at": "2024-08-13T21:25:49.809283Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02428412437438965, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_arbitrum_mainnet_pool_id__True__0.411a2ea602", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.805142Z", "completed_at": "2024-08-13T21:25:49.816002Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.818429Z", "completed_at": "2024-08-13T21:25:49.818437Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.017983675003051758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_account_id.2adc95113c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.810945Z", "completed_at": "2024-08-13T21:25:49.817847Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.820469Z", "completed_at": "2024-08-13T21:25:49.820479Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018626928329467773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_amount.375d9b98af", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.822497Z", "completed_at": "2024-08-13T21:25:49.832582Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.834934Z", "completed_at": "2024-08-13T21:25:49.834942Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0184938907623291, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_block_number.954a0fdf17", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.826721Z", "completed_at": "2024-08-13T21:25:49.833822Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.836411Z", "completed_at": "2024-08-13T21:25:49.836418Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01922893524169922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type.ba8bb06771", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.837261Z", "completed_at": "2024-08-13T21:25:49.848690Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.851167Z", "completed_at": "2024-08-13T21:25:49.851175Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019591331481933594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_pool_id.0706d99bc3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.843640Z", "completed_at": "2024-08-13T21:25:49.850561Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.853163Z", "completed_at": "2024-08-13T21:25:49.853173Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020090579986572266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash.6a8e54c252", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.854689Z", "completed_at": "2024-08-13T21:25:49.864949Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.867295Z", "completed_at": "2024-08-13T21:25:49.867304Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018148422241210938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_ts.6d52d9f09c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.858841Z", "completed_at": "2024-08-13T21:25:49.866131Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.868717Z", "completed_at": "2024-08-13T21:25:49.868725Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01882648468017578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_base_mainnet_pool_id__True__0.5e68f64c49", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.869564Z", "completed_at": "2024-08-13T21:25:49.880813Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.883075Z", "completed_at": "2024-08-13T21:25:49.883083Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019176244735717773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_account_id.4f9de5ef81", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.874437Z", "completed_at": "2024-08-13T21:25:49.881948Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.889593Z", "completed_at": "2024-08-13T21:25:49.889603Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024168014526367188, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_amount.29761360a6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.883984Z", "completed_at": "2024-08-13T21:25:49.897007Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.899378Z", "completed_at": "2024-08-13T21:25:49.899386Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020083904266357422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_block_number.6ae22c8ac4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.890553Z", "completed_at": "2024-08-13T21:25:49.898214Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.900795Z", "completed_at": "2024-08-13T21:25:49.900802Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020702362060546875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_collateral_type.72fe90c3b9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.901651Z", "completed_at": "2024-08-13T21:25:49.913249Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.915620Z", "completed_at": "2024-08-13T21:25:49.915629Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019301891326904297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_pool_id.01d3ed0f62", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.906687Z", "completed_at": "2024-08-13T21:25:49.914429Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.920633Z", "completed_at": "2024-08-13T21:25:49.920641Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02311992645263672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_transaction_hash.0764eca614", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.916494Z", "completed_at": "2024-08-13T21:25:49.928816Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.931786Z", "completed_at": "2024-08-13T21:25:49.931796Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02011585235595703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_ts.2b8d4be103", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.921508Z", "completed_at": "2024-08-13T21:25:49.930266Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.933399Z", "completed_at": "2024-08-13T21:25:49.933407Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020830392837524414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_arbitrum_sepolia_pool_id__True__0.0ec85b0399", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.935852Z", "completed_at": "2024-08-13T21:25:49.948001Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.950304Z", "completed_at": "2024-08-13T21:25:49.950312Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020835399627685547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_account_id.45720a8ffb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.942357Z", "completed_at": "2024-08-13T21:25:49.949216Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.955273Z", "completed_at": "2024-08-13T21:25:49.955282Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024569272994995117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_amount.43a9be48cb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.951182Z", "completed_at": "2024-08-13T21:25:49.961946Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.964423Z", "completed_at": "2024-08-13T21:25:49.964431Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018105506896972656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_block_number.7b40b6a61f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.956348Z", "completed_at": "2024-08-13T21:25:49.963238Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.965893Z", "completed_at": "2024-08-13T21:25:49.965901Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018672466278076172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type.aef6de9ec1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.968017Z", "completed_at": "2024-08-13T21:25:49.978486Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.980881Z", "completed_at": "2024-08-13T21:25:49.980889Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018355607986450195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_pool_id.2084f5f832", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.972878Z", "completed_at": "2024-08-13T21:25:49.980295Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.991898Z", "completed_at": "2024-08-13T21:25:49.991910Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02821207046508789, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash.333c0c5e61", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.981750Z", "completed_at": "2024-08-13T21:25:49.994407Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.996955Z", "completed_at": "2024-08-13T21:25:49.996962Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020052433013916016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_ts.94cc660ca9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:49.987525Z", "completed_at": "2024-08-13T21:25:49.996372Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:49.998973Z", "completed_at": "2024-08-13T21:25:49.998983Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02134227752685547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_base_sepolia_pool_id__True__0.e99f9bdac0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.000552Z", "completed_at": "2024-08-13T21:25:50.010977Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.013257Z", "completed_at": "2024-08-13T21:25:50.013267Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018321752548217773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_account_id.aa037160fb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.004696Z", "completed_at": "2024-08-13T21:25:50.011551Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.014125Z", "completed_at": "2024-08-13T21:25:50.014132Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018463134765625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_amount.5be777c996", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.014965Z", "completed_at": "2024-08-13T21:25:50.025716Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.028017Z", "completed_at": "2024-08-13T21:25:50.028027Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018691062927246094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_block_number.2f1e619103", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.019078Z", "completed_at": "2024-08-13T21:25:50.026261Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.028893Z", "completed_at": "2024-08-13T21:25:50.028901Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018653154373168945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_collateral_type.3b36d49350", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.030306Z", "completed_at": "2024-08-13T21:25:50.042353Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.044821Z", "completed_at": "2024-08-13T21:25:50.044829Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019923686981201172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_pool_id.5d2388a5a0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.037376Z", "completed_at": "2024-08-13T21:25:50.044276Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.050329Z", "completed_at": "2024-08-13T21:25:50.050342Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023654937744140625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_transaction_hash.79420348fa", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.046248Z", "completed_at": "2024-08-13T21:25:50.057495Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.059425Z", "completed_at": "2024-08-13T21:25:50.059433Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.017914772033691406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_ts.be998526ed", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.052206Z", "completed_at": "2024-08-13T21:25:50.060315Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.062675Z", "completed_at": "2024-08-13T21:25:50.062682Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01985001564025879, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_eth_mainnet_pool_id__True__0.c3af88d954", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.063585Z", "completed_at": "2024-08-13T21:25:50.074110Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.081536Z", "completed_at": "2024-08-13T21:25:50.081546Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023604869842529297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_account_id.d686918ab7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.067813Z", "completed_at": "2024-08-13T21:25:50.074658Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.082430Z", "completed_at": "2024-08-13T21:25:50.082438Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023783206939697266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_amount.4a0d8649af", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.075868Z", "completed_at": "2024-08-13T21:25:50.084716Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.090903Z", "completed_at": "2024-08-13T21:25:50.090911Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019144296646118164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_block_number.76ac645e79", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.086016Z", "completed_at": "2024-08-13T21:25:50.093081Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.099086Z", "completed_at": "2024-08-13T21:25:50.099129Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023993730545043945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_collateral_type.9e0a6d3551", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.094919Z", "completed_at": "2024-08-13T21:25:50.106196Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.108729Z", "completed_at": "2024-08-13T21:25:50.108737Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018685340881347656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_pool_id.fd6c3981fe", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.101076Z", "completed_at": "2024-08-13T21:25:50.108185Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.114476Z", "completed_at": "2024-08-13T21:25:50.114484Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022769451141357422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_transaction_hash.801e733838", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.109603Z", "completed_at": "2024-08-13T21:25:50.120870Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.122991Z", "completed_at": "2024-08-13T21:25:50.123001Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022681236267089844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_ts.5f32fba981", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.116209Z", "completed_at": "2024-08-13T21:25:50.123830Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.126248Z", "completed_at": "2024-08-13T21:25:50.126256Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018814802169799805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_amount__True__0.031c10a818", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.127693Z", "completed_at": "2024-08-13T21:25:50.140945Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.147262Z", "completed_at": "2024-08-13T21:25:50.147276Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02517390251159668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_collateral_value__True__0.ffab802571", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.135758Z", "completed_at": "2024-08-13T21:25:50.146629Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.148918Z", "completed_at": "2024-08-13T21:25:50.148926Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02460479736328125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_pool_id__True__0.3c62ac166d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.142440Z", "completed_at": "2024-08-13T21:25:50.154650Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.156966Z", "completed_at": "2024-08-13T21:25:50.156974Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02276444435119629, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_amount.43a56286ca", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.150548Z", "completed_at": "2024-08-13T21:25:50.157887Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.160397Z", "completed_at": "2024-08-13T21:25:50.160407Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018839359283447266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_block_number.fc803534fc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.161847Z", "completed_at": "2024-08-13T21:25:50.173304Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.181502Z", "completed_at": "2024-08-13T21:25:50.181514Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025419235229492188, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_collateral_type.e2cbb7867d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.167581Z", "completed_at": "2024-08-13T21:25:50.179168Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.182389Z", "completed_at": "2024-08-13T21:25:50.182397Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02406597137451172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_collateral_value.b35c2ac09a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.174005Z", "completed_at": "2024-08-13T21:25:50.187573Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.189637Z", "completed_at": "2024-08-13T21:25:50.189646Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023617982864379883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_contract_address.f7e3ffefb9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.183413Z", "completed_at": "2024-08-13T21:25:50.191245Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.193627Z", "completed_at": "2024-08-13T21:25:50.193634Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020985841751098633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_pool_id.1ea1a9fb17", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.195699Z", "completed_at": "2024-08-13T21:25:50.206118Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.212472Z", "completed_at": "2024-08-13T21:25:50.212481Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022017240524291992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_ts.878073b7e8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.200611Z", "completed_at": "2024-08-13T21:25:50.211877Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.218172Z", "completed_at": "2024-08-13T21:25:50.218184Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026517391204833984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_hourly_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.206807Z", "completed_at": "2024-08-13T21:25:50.217569Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.219993Z", "completed_at": "2024-08-13T21:25:50.220001Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025052309036254883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_arbitrum_mainnet_pool_id__True__0.15db752b00", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.213501Z", "completed_at": "2024-08-13T21:25:50.220911Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.223973Z", "completed_at": "2024-08-13T21:25:50.223981Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018625497817993164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_block_number.f6d01f24fd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.227888Z", "completed_at": "2024-08-13T21:25:50.243519Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.245563Z", "completed_at": "2024-08-13T21:25:50.245572Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023286104202270508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_collateral_type.a3b9300e6c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.235001Z", "completed_at": "2024-08-13T21:25:50.244953Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.251184Z", "completed_at": "2024-08-13T21:25:50.251196Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02649378776550293, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_debt.5ff363252c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.239350Z", "completed_at": "2024-08-13T21:25:50.246403Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.252835Z", "completed_at": "2024-08-13T21:25:50.252846Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0269317626953125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_pool_id.dc562b5c31", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.246998Z", "completed_at": "2024-08-13T21:25:50.255188Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.257648Z", "completed_at": "2024-08-13T21:25:50.257657Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023377418518066406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_ts.aac8a7264c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.259711Z", "completed_at": "2024-08-13T21:25:50.270561Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.278359Z", "completed_at": "2024-08-13T21:25:50.278367Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023895263671875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_hourly_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.265193Z", "completed_at": "2024-08-13T21:25:50.277779Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.284110Z", "completed_at": "2024-08-13T21:25:50.284120Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027727842330932617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_arbitrum_sepolia_pool_id__True__0.ec7d22b029", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.271129Z", "completed_at": "2024-08-13T21:25:50.283558Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.286652Z", "completed_at": "2024-08-13T21:25:50.286660Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.028253555297851562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_block_number.9fe11ea9dd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.279436Z", "completed_at": "2024-08-13T21:25:50.286107Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.288858Z", "completed_at": "2024-08-13T21:25:50.288867Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019195556640625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_collateral_type.a6fdff57f4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.293479Z", "completed_at": "2024-08-13T21:25:50.308566Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.314654Z", "completed_at": "2024-08-13T21:25:50.314665Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026594877243041992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_debt.652029afcf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.299321Z", "completed_at": "2024-08-13T21:25:50.313847Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.316369Z", "completed_at": "2024-08-13T21:25:50.316379Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026099443435668945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_pool_id.4539ef9df3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.304334Z", "completed_at": "2024-08-13T21:25:50.315694Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.318059Z", "completed_at": "2024-08-13T21:25:50.318067Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02586221694946289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_ts.0ce19a05b3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.309356Z", "completed_at": "2024-08-13T21:25:50.318879Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.321467Z", "completed_at": "2024-08-13T21:25:50.321474Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023654937744140625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_base_mainnet_market_id__True__0.58f61a0590", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.325352Z", "completed_at": "2024-08-13T21:25:50.341100Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.342677Z", "completed_at": "2024-08-13T21:25:50.342687Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022649765014648438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_pnl_base_mainnet_market_id.915c961b40", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.336802Z", "completed_at": "2024-08-13T21:25:50.343570Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.350077Z", "completed_at": "2024-08-13T21:25:50.350085Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02667093276977539, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_issuance_hourly_base_mainnet", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_hourly_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.332467Z", "completed_at": "2024-08-13T21:25:50.344170Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.350955Z", "completed_at": "2024-08-13T21:25:50.350962Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028739452362060547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_pnl_base_mainnet_ts.aa0943ea1a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.344708Z", "completed_at": "2024-08-13T21:25:50.351958Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.354644Z", "completed_at": "2024-08-13T21:25:50.354654Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022927045822143555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_base_mainnet_pool_id__True__0.a1f5ec7b1b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.358136Z", "completed_at": "2024-08-13T21:25:50.368564Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.375581Z", "completed_at": "2024-08-13T21:25:50.375593Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023197412490844727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_debt_base_mainnet_block_number.dd32fc50c6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.364379Z", "completed_at": "2024-08-13T21:25:50.376462Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.382687Z", "completed_at": "2024-08-13T21:25:50.382699Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02667403221130371, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_debt_base_mainnet_collateral_type.92a752ffea", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.369125Z", "completed_at": "2024-08-13T21:25:50.381316Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.383725Z", "completed_at": "2024-08-13T21:25:50.383734Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0270540714263916, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_debt_base_mainnet_debt.5b37c10505", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.377133Z", "completed_at": "2024-08-13T21:25:50.384547Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.387074Z", "completed_at": "2024-08-13T21:25:50.387082Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023560523986816406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_debt_base_mainnet_pool_id.8e9e20797d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.390405Z", "completed_at": "2024-08-13T21:25:50.400538Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.406245Z", "completed_at": "2024-08-13T21:25:50.406256Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02122640609741211, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_debt_base_mainnet_ts.f49a23ebcd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.396516Z", "completed_at": "2024-08-13T21:25:50.407144Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.413225Z", "completed_at": "2024-08-13T21:25:50.413236Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024825096130371094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_issuance_hourly_base_sepolia", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_hourly_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.401101Z", "completed_at": "2024-08-13T21:25:50.411930Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.414206Z", "completed_at": "2024-08-13T21:25:50.414216Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02520298957824707, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_base_sepolia_pool_id__True__0.0228ac48ff", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.407814Z", "completed_at": "2024-08-13T21:25:50.415117Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.417727Z", "completed_at": "2024-08-13T21:25:50.417735Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02201056480407715, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_debt_base_sepolia_block_number.d6752d8232", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.421119Z", "completed_at": "2024-08-13T21:25:50.432861Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.438479Z", "completed_at": "2024-08-13T21:25:50.438490Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022936344146728516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_debt_base_sepolia_collateral_type.5daff7c138", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.428772Z", "completed_at": "2024-08-13T21:25:50.439393Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.445439Z", "completed_at": "2024-08-13T21:25:50.445448Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026324748992919922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_debt_base_sepolia_debt.235edf4e17", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.433523Z", "completed_at": "2024-08-13T21:25:50.444199Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.446409Z", "completed_at": "2024-08-13T21:25:50.446419Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02669692039489746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_debt_base_sepolia_pool_id.bb5f56d624", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.440082Z", "completed_at": "2024-08-13T21:25:50.447299Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.449797Z", "completed_at": "2024-08-13T21:25:50.449804Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021833419799804688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_debt_base_sepolia_ts.955bd8bfe6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.453137Z", "completed_at": "2024-08-13T21:25:50.469329Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.470711Z", "completed_at": "2024-08-13T21:25:50.470719Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022954702377319336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_base_sepolia_market_id__True__0.2546d9a255", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.463589Z", "completed_at": "2024-08-13T21:25:50.471703Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.477450Z", "completed_at": "2024-08-13T21:25:50.477458Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025698184967041016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_pnl_base_sepolia_ts.74b2ae0437", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.459463Z", "completed_at": "2024-08-13T21:25:50.472284Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.478308Z", "completed_at": "2024-08-13T21:25:50.478318Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027162551879882812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_pnl_base_sepolia_market_id.f6d4268d28", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.472847Z", "completed_at": "2024-08-13T21:25:50.479918Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.482403Z", "completed_at": "2024-08-13T21:25:50.482410Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023787498474121094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_migration_hourly_eth_mainnet", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nmigration AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(debt_amount) AS hourly_debt_migrated\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n m.hourly_debt_migrated,\n 0\n ) AS hourly_debt_migrated\nFROM\n dim\n LEFT JOIN migration m\n ON dim.pool_id = m.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n m.collateral_type\n )\n AND dim.ts = m.ts", "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_hourly_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.484494Z", "completed_at": "2024-08-13T21:25:50.491337Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.500926Z", "completed_at": "2024-08-13T21:25:50.500937Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021728515625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_issuance_hourly_eth_mainnet", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\"\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_hourly_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.491882Z", "completed_at": "2024-08-13T21:25:50.506225Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.508695Z", "completed_at": "2024-08-13T21:25:50.508704Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025521278381347656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_eth_mainnet_pool_id__True__0.9ab83c23dd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.496269Z", "completed_at": "2024-08-13T21:25:50.507680Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.510754Z", "completed_at": "2024-08-13T21:25:50.510761Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026972055435180664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_block_number.d707149fdd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.502065Z", "completed_at": "2024-08-13T21:25:50.509529Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.512294Z", "completed_at": "2024-08-13T21:25:50.512302Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021744251251220703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_collateral_type.2f39d51963", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.515671Z", "completed_at": "2024-08-13T21:25:50.528354Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.533908Z", "completed_at": "2024-08-13T21:25:50.533918Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023891448974609375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_debt.100ad3cae1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.524256Z", "completed_at": "2024-08-13T21:25:50.534878Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.540850Z", "completed_at": "2024-08-13T21:25:50.540861Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026657581329345703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_pool_id.088122bb77", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.529573Z", "completed_at": "2024-08-13T21:25:50.541792Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.544386Z", "completed_at": "2024-08-13T21:25:50.544396Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02286553382873535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_ts.0a20d36f28", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.535485Z", "completed_at": "2024-08-13T21:25:50.543764Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.546442Z", "completed_at": "2024-08-13T21:25:50.546449Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023685455322265625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_amount_deposited.e481f3fc24", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.548022Z", "completed_at": "2024-08-13T21:25:50.559635Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.561572Z", "completed_at": "2024-08-13T21:25:50.561582Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01923060417175293, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_collateral_type.6824e3181d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.554693Z", "completed_at": "2024-08-13T21:25:50.562405Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.574356Z", "completed_at": "2024-08-13T21:25:50.574364Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028637170791625977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_ts.e1e47715a3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.562974Z", "completed_at": "2024-08-13T21:25:50.576136Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.578599Z", "completed_at": "2024-08-13T21:25:50.578607Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024750232696533203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_amount_deposited.feb182d7c0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.569199Z", "completed_at": "2024-08-13T21:25:50.578015Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.584379Z", "completed_at": "2024-08-13T21:25:50.584390Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025461912155151367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_collateral_type.05d462c474", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.580114Z", "completed_at": "2024-08-13T21:25:50.587420Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.593350Z", "completed_at": "2024-08-13T21:25:50.593359Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01791238784790039, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_ts.33284497f5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.588602Z", "completed_at": "2024-08-13T21:25:50.595538Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.605045Z", "completed_at": "2024-08-13T21:25:50.605058Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025686264038085938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_amount_deposited.9fabc246a7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.600942Z", "completed_at": "2024-08-13T21:25:50.607871Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.610150Z", "completed_at": "2024-08-13T21:25:50.610160Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01752471923828125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_ts.4e638376c4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.596772Z", "completed_at": "2024-08-13T21:25:50.608434Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.611023Z", "completed_at": "2024-08-13T21:25:50.611030Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02318859100341797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_collateral_type.63ab148d0c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.611910Z", "completed_at": "2024-08-13T21:25:50.624224Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.626754Z", "completed_at": "2024-08-13T21:25:50.626763Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020801305770874023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_amount_deposited.c9a6a6e3d1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.619977Z", "completed_at": "2024-08-13T21:25:50.626205Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.628802Z", "completed_at": "2024-08-13T21:25:50.628808Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0193631649017334, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_collateral_type.98bdc1fe0e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.634549Z", "completed_at": "2024-08-13T21:25:50.641293Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.643634Z", "completed_at": "2024-08-13T21:25:50.643643Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01828479766845703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited.b943283ec6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.630369Z", "completed_at": "2024-08-13T21:25:50.641910Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.644496Z", "completed_at": "2024-08-13T21:25:50.644507Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01978278160095215, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_ts.706747681b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.645387Z", "completed_at": "2024-08-13T21:25:50.655504Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.657919Z", "completed_at": "2024-08-13T21:25:50.657928Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018300294876098633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_collateral_type.217e5cb420", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.649600Z", "completed_at": "2024-08-13T21:25:50.656733Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.659384Z", "completed_at": "2024-08-13T21:25:50.659392Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018865346908569336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_ts.61a1043b04", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.661500Z", "completed_at": "2024-08-13T21:25:50.674660Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.680573Z", "completed_at": "2024-08-13T21:25:50.680583Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024575471878051758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_accounts_base_mainnet_created_ts.cc57ba5d93", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.668256Z", "completed_at": "2024-08-13T21:25:50.675295Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.681631Z", "completed_at": "2024-08-13T21:25:50.681639Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024430513381958008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_accounts_base_mainnet_id.cf1e1e2af0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.676458Z", "completed_at": "2024-08-13T21:25:50.687435Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.690018Z", "completed_at": "2024-08-13T21:25:50.690029Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.017768383026123047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_accounts_base_mainnet_owner.b581a2df74", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.682500Z", "completed_at": "2024-08-13T21:25:50.689449Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.692153Z", "completed_at": "2024-08-13T21:25:50.692161Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019091367721557617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_perp_accounts_base_mainnet_id.2a6de2d0f2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.694232Z", "completed_at": "2024-08-13T21:25:50.705438Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.713055Z", "completed_at": "2024-08-13T21:25:50.713066Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024341583251953125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_accounts_base_sepolia_created_ts.00ac8e7106", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.699828Z", "completed_at": "2024-08-13T21:25:50.706640Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.717986Z", "completed_at": "2024-08-13T21:25:50.717999Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027237653732299805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_accounts_base_sepolia_id.e4031edaa1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.707247Z", "completed_at": "2024-08-13T21:25:50.719759Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.722403Z", "completed_at": "2024-08-13T21:25:50.722413Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023468971252441406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_accounts_base_sepolia_owner.578268eb9a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.713942Z", "completed_at": "2024-08-13T21:25:50.721204Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.723962Z", "completed_at": "2024-08-13T21:25:50.723972Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01990199089050293, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_perp_accounts_base_sepolia_id.1ca885b5ec", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.727347Z", "completed_at": "2024-08-13T21:25:50.738692Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.748215Z", "completed_at": "2024-08-13T21:25:50.748225Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02654266357421875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_base_mainnet_total_reward__True__0.a35af51633", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.732400Z", "completed_at": "2024-08-13T21:25:50.739329Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.749107Z", "completed_at": "2024-08-13T21:25:50.749118Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025866031646728516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_account_id.dd5099ce59", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.744120Z", "completed_at": "2024-08-13T21:25:50.751012Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.753478Z", "completed_at": "2024-08-13T21:25:50.753485Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017108917236328125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_ts.5a3efee9f7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.739888Z", "completed_at": "2024-08-13T21:25:50.751625Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.754366Z", "completed_at": "2024-08-13T21:25:50.754376Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02270054817199707, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_total_reward.2a8b87e55c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.758418Z", "completed_at": "2024-08-13T21:25:50.771615Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.781046Z", "completed_at": "2024-08-13T21:25:50.781060Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.028337478637695312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_base_sepolia_total_reward__True__0.42888d54ae", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.765991Z", "completed_at": "2024-08-13T21:25:50.780487Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.782305Z", "completed_at": "2024-08-13T21:25:50.782313Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02713465690612793, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_account_id.f56cf61194", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.772294Z", "completed_at": "2024-08-13T21:25:50.783304Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.785806Z", "completed_at": "2024-08-13T21:25:50.785818Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02128887176513672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_total_reward.24d48c7864", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.776401Z", "completed_at": "2024-08-13T21:25:50.785206Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.787964Z", "completed_at": "2024-08-13T21:25:50.787972Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022780418395996094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_ts.c34644894f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.792062Z", "completed_at": "2024-08-13T21:25:50.803340Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.814917Z", "completed_at": "2024-08-13T21:25:50.814929Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.028354644775390625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_fct_perp_collateral_modified_base_mainnet_event_name__CollateralModified.00f5016782", "compiled": true, "compiled_code": "\n \n \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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.796612Z", "completed_at": "2024-08-13T21:25:50.803937Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.816015Z", "completed_at": "2024-08-13T21:25:50.816023Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.028772592544555664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_base_mainnet_synth_market_id__True__0.644f81887d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.810472Z", "completed_at": "2024-08-13T21:25:50.817929Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.820388Z", "completed_at": "2024-08-13T21:25:50.820395Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019389629364013672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_block_timestamp.7c5c8a362c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.804470Z", "completed_at": "2024-08-13T21:25:50.818483Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.821240Z", "completed_at": "2024-08-13T21:25:50.821248Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.029892683029174805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_block_number.45b34bf575", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.825186Z", "completed_at": "2024-08-13T21:25:50.835667Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.841222Z", "completed_at": "2024-08-13T21:25:50.841236Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021595478057861328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_contract.f078950840", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.830694Z", "completed_at": "2024-08-13T21:25:50.842181Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.847879Z", "completed_at": "2024-08-13T21:25:50.847890Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025914430618286133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_event_name.44267a4fa1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.836966Z", "completed_at": "2024-08-13T21:25:50.848735Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.851366Z", "completed_at": "2024-08-13T21:25:50.851373Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022078514099121094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_id.efa9bbeec9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.842769Z", "completed_at": "2024-08-13T21:25:50.850754Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.853368Z", "completed_at": "2024-08-13T21:25:50.853376Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02338123321533203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_sender.b3270f32cc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.854871Z", "completed_at": "2024-08-13T21:25:50.867329Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.869349Z", "completed_at": "2024-08-13T21:25:50.869359Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020037412643432617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_synth_market_id.3a3dffb920", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.862893Z", "completed_at": "2024-08-13T21:25:50.870254Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.876239Z", "completed_at": "2024-08-13T21:25:50.876247Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02361154556274414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_transaction_hash.8cc455d504", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.871409Z", "completed_at": "2024-08-13T21:25:50.882218Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.884830Z", "completed_at": "2024-08-13T21:25:50.884840Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02274298667907715, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_perp_collateral_modified_base_mainnet_id.9010e87027", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.877170Z", "completed_at": "2024-08-13T21:25:50.884293Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.890704Z", "completed_at": "2024-08-13T21:25:50.890713Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022773265838623047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_fct_perp_collateral_modified_base_sepolia_event_name__CollateralModified.f6430341ee", "compiled": true, "compiled_code": "\n \n \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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.886310Z", "completed_at": "2024-08-13T21:25:50.898540Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.900570Z", "completed_at": "2024-08-13T21:25:50.900580Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01903390884399414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_base_sepolia_synth_market_id__True__0.6fb45ff630", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.894454Z", "completed_at": "2024-08-13T21:25:50.901416Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.909204Z", "completed_at": "2024-08-13T21:25:50.909212Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023607492446899414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_block_number.36ad8cb4d3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.902549Z", "completed_at": "2024-08-13T21:25:50.914961Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.917526Z", "completed_at": "2024-08-13T21:25:50.917536Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023862361907958984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_block_timestamp.983f4f7464", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.910118Z", "completed_at": "2024-08-13T21:25:50.916946Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.923116Z", "completed_at": "2024-08-13T21:25:50.923124Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02396392822265625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_contract.e1b2d1c3f1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.919009Z", "completed_at": "2024-08-13T21:25:50.926813Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.932818Z", "completed_at": "2024-08-13T21:25:50.932826Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01853203773498535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_event_name.0d3e82bc99", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.927429Z", "completed_at": "2024-08-13T21:25:50.934340Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.944331Z", "completed_at": "2024-08-13T21:25:50.944343Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026045560836791992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_id.04ae0ab4fd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.934930Z", "completed_at": "2024-08-13T21:25:50.946007Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.948549Z", "completed_at": "2024-08-13T21:25:50.948559Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02240896224975586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_sender.36cb6d7913", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.939949Z", "completed_at": "2024-08-13T21:25:50.947401Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.950019Z", "completed_at": "2024-08-13T21:25:50.950030Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018616676330566406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_synth_market_id.a933a52d36", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.950889Z", "completed_at": "2024-08-13T21:25:50.959610Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.965405Z", "completed_at": "2024-08-13T21:25:50.965413Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020174264907836914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_transaction_hash.834ecbfe7f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.960160Z", "completed_at": "2024-08-13T21:25:50.971254Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.977119Z", "completed_at": "2024-08-13T21:25:50.977127Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02781200408935547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_perp_collateral_modified_base_sepolia_id.a5b1b5d44a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.966972Z", "completed_at": "2024-08-13T21:25:50.978688Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.981216Z", "completed_at": "2024-08-13T21:25:50.981226Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02239227294921875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_fct_perp_interest_charged_base_mainnet_event_name__InterestCharged.b8b39fbb4d", "compiled": true, "compiled_code": "\n \n \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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.972591Z", "completed_at": "2024-08-13T21:25:50.980649Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.987033Z", "completed_at": "2024-08-13T21:25:50.987041Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02296757698059082, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_account_id__True__0.d4da8249b8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.982685Z", "completed_at": "2024-08-13T21:25:50.990132Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:50.996266Z", "completed_at": "2024-08-13T21:25:50.996274Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01832723617553711, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_interest__True__0.b25a9c1b50", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.991385Z", "completed_at": "2024-08-13T21:25:50.998420Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.009474Z", "completed_at": "2024-08-13T21:25:51.009484Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02752399444580078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_account_id.2830ac0b93", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:50.999670Z", "completed_at": "2024-08-13T21:25:51.012036Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.014398Z", "completed_at": "2024-08-13T21:25:51.014405Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023786544799804688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_block_number.47e9d47bb4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.005377Z", "completed_at": "2024-08-13T21:25:51.012605Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.015288Z", "completed_at": "2024-08-13T21:25:51.015298Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019887685775756836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_block_timestamp.60136d09c1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.016166Z", "completed_at": "2024-08-13T21:25:51.027061Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.029590Z", "completed_at": "2024-08-13T21:25:51.029599Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019202470779418945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_contract.8e7dd8a6ef", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.022351Z", "completed_at": "2024-08-13T21:25:51.029036Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.035149Z", "completed_at": "2024-08-13T21:25:51.035158Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021472692489624023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_event_name.eaf9eac9c3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.031022Z", "completed_at": "2024-08-13T21:25:51.042306Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.044805Z", "completed_at": "2024-08-13T21:25:51.044815Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018419742584228516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_id.a798ff42d8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.036776Z", "completed_at": "2024-08-13T21:25:51.044238Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.052253Z", "completed_at": "2024-08-13T21:25:51.052261Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024645566940307617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_interest.073a973712", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.046221Z", "completed_at": "2024-08-13T21:25:51.058793Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.061272Z", "completed_at": "2024-08-13T21:25:51.061280Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019690752029418945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_transaction_hash.f85d4df49f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.053790Z", "completed_at": "2024-08-13T21:25:51.060738Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.063305Z", "completed_at": "2024-08-13T21:25:51.063313Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02043318748474121, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_perp_interest_charged_base_mainnet_id.31ca39738f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.064871Z", "completed_at": "2024-08-13T21:25:51.076167Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.078436Z", "completed_at": "2024-08-13T21:25:51.078444Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019158363342285156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_fct_perp_interest_charged_base_sepolia_event_name__InterestCharged.ff861d06a4", "compiled": true, "compiled_code": "\n \n \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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.069244Z", "completed_at": "2024-08-13T21:25:51.076695Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.079329Z", "completed_at": "2024-08-13T21:25:51.079340Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01933908462524414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_account_id__True__0.3edc04f3c6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.080206Z", "completed_at": "2024-08-13T21:25:51.090475Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.092850Z", "completed_at": "2024-08-13T21:25:51.092858Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018361568450927734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_interest__True__0.cbe80d3cfc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.084602Z", "completed_at": "2024-08-13T21:25:51.091015Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.093712Z", "completed_at": "2024-08-13T21:25:51.093722Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018284320831298828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_account_id.86fbe78f66", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.097083Z", "completed_at": "2024-08-13T21:25:51.108793Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.111765Z", "completed_at": "2024-08-13T21:25:51.111774Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020273923873901367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_block_number.b5c567e21f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.102957Z", "completed_at": "2024-08-13T21:25:51.110430Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.116772Z", "completed_at": "2024-08-13T21:25:51.116780Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02465343475341797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_block_timestamp.0a73b599b9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.112634Z", "completed_at": "2024-08-13T21:25:51.123387Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.125875Z", "completed_at": "2024-08-13T21:25:51.125882Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01869678497314453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_contract.d0f4674d07", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.117634Z", "completed_at": "2024-08-13T21:25:51.124714Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.127336Z", "completed_at": "2024-08-13T21:25:51.127344Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019536972045898438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_event_name.237b079041", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.129415Z", "completed_at": "2024-08-13T21:25:51.139856Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.142182Z", "completed_at": "2024-08-13T21:25:51.142190Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01825118064880371, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_id.eb661d1506", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.134235Z", "completed_at": "2024-08-13T21:25:51.141054Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.149048Z", "completed_at": "2024-08-13T21:25:51.149059Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02388930320739746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_interest.201254f262", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.143019Z", "completed_at": "2024-08-13T21:25:51.155638Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.158067Z", "completed_at": "2024-08-13T21:25:51.158075Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019855976104736328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_transaction_hash.aaef59efbb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.149937Z", "completed_at": "2024-08-13T21:25:51.156911Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.159536Z", "completed_at": "2024-08-13T21:25:51.159546Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02045416831970215, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_perp_interest_charged_base_sepolia_id.53669ecac5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.161666Z", "completed_at": "2024-08-13T21:25:51.174436Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.180089Z", "completed_at": "2024-08-13T21:25:51.180100Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023925304412841797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_liq_position_base_mainnet", "compiled": true, "compiled_code": "WITH liquidations AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n account_id,\n market_id,\n \n amount_liquidated / 1e18\n AS amount_liquidated,\n \n current_position_size / 1e18\n AS position_size\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\n),\nmarkets AS (\n SELECT\n id,\n market_symbol\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\"\n)\nSELECT\n l.id,\n l.ts,\n l.block_number,\n l.transaction_hash,\n CAST(\n l.account_id AS text\n ) AS account_id,\n l.market_id,\n m.market_symbol,\n l.amount_liquidated,\n l.position_size\nFROM\n liquidations l\n LEFT JOIN markets m\n ON l.market_id = m.id", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.166297Z", "completed_at": "2024-08-13T21:25:51.175000Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.180967Z", "completed_at": "2024-08-13T21:25:51.180977Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023720502853393555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_market_history_base_mainnet", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n mu.id,\n mu.block_timestamp AS ts,\n mu.block_number,\n mu.transaction_hash,\n m.id AS market_id,\n m.market_symbol,\n \n price / 1e18\n AS price,\n \n skew / 1e18\n AS skew,\n \n size / 1e18\n AS SIZE,\n \n size_delta / 1e18\n AS size_delta,\n \n current_funding_rate / 1e18\n AS funding_rate,\n \n current_funding_velocity / 1e18\n AS funding_velocity,\n \n interest_rate / 1e18\n AS interest_rate,\n \n current_funding_rate / 1e18\n * 365.25 AS funding_rate_apr,\n \n current_funding_rate / 1e18\n * 365.25 + \n interest_rate / 1e18\n AS long_rate_apr,\n \n current_funding_rate / 1e18\n * -1 * 365.25 + \n interest_rate / 1e18\n AS short_rate_apr\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\n mu\n LEFT JOIN \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\"\n m\n ON mu.market_id = m.id\n)\nSELECT\n *,\n SIZE * price AS size_usd,\n (\n SIZE + skew\n ) * price / 2 AS long_oi,\n (\n SIZE - skew\n ) * price / 2 AS short_oi,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE + skew) * price / 2) / (\n SIZE * price\n )\n END AS long_oi_pct,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE - skew) * price / 2) / (\n SIZE * price\n )\n END AS short_oi_pct\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.176184Z", "completed_at": "2024-08-13T21:25:51.188402Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.191667Z", "completed_at": "2024-08-13T21:25:51.191676Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01945805549621582, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_orders_base_mainnet", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n oc.id,\n oc.block_timestamp AS ts,\n oc.block_number,\n oc.transaction_hash,\n oc.contract,\n oc.market_id,\n markets.market_symbol,\n CAST(\n oc.account_id AS text\n ) AS account_id,\n oc.order_type,\n \n oc.size_delta / 1e18\n AS SIZE,\n \n oc.acceptable_price / 1e18\n AS acceptable_price,\n oc.settlement_time,\n oc.expiration_time,\n \n LEFT(\n REGEXP_REPLACE(\n encode(\n DECODE(REPLACE(oc.tracking_code, '0x', ''), 'hex'),\n 'escape'\n ) :: text,\n '\\\\000',\n '',\n 'g'\n ),\n 20\n )\n AS tracking_code,\n oc.sender\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\n oc\n LEFT JOIN \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\" AS markets\n ON oc.market_id = markets.id\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_orders_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.181928Z", "completed_at": "2024-08-13T21:25:51.190453Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.193175Z", "completed_at": "2024-08-13T21:25:51.193182Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020225048065185547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_trades_base_mainnet", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pos.id,\n pos.block_timestamp AS ts,\n pos.block_number,\n pos.transaction_hash,\n pos.contract,\n pos.market_id,\n markets.market_symbol,\n CAST(\n pos.account_id AS text\n ) AS account_id,\n \n fill_price / 1e18\n AS fill_price,\n \n pnl / 1e18\n AS pnl,\n \n accrued_funding / 1e18\n AS accrued_funding,\n \n size_delta / 1e18\n AS trade_size,\n \n new_size / 1e18\n AS position_size,\n \n total_fees / 1e18\n AS total_fees,\n \n referral_fees / 1e18\n AS referral_fees,\n \n collected_fees / 1e18\n AS collected_fees,\n \n settlement_reward / 1e18\n AS settlement_reward,\n \n LEFT(\n REGEXP_REPLACE(\n encode(\n DECODE(REPLACE(tracking_code, '0x', ''), 'hex'),\n 'escape'\n ) :: text,\n '\\\\000',\n '',\n 'g'\n ),\n 20\n )\n AS tracking_code,\n pos.settler\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\" AS pos\n LEFT JOIN \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\" AS markets\n ON pos.market_id = markets.id\n)\nSELECT\n *,\n ABS(\n fill_price * trade_size\n ) AS notional_trade_size,\n fill_price * position_size AS notional_position_size,\n total_fees - referral_fees - collected_fees - settlement_reward AS lp_fees,\n total_fees - settlement_reward AS exchange_fees\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.196897Z", "completed_at": "2024-08-13T21:25:51.209840Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.215679Z", "completed_at": "2024-08-13T21:25:51.215691Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024810075759887695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_base_mainnet_id__True__0.ac58557180", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.204262Z", "completed_at": "2024-08-13T21:25:51.215060Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.220770Z", "completed_at": "2024-08-13T21:25:51.220781Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02832341194152832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_markets_base_mainnet_block_number.6792b019f1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.211080Z", "completed_at": "2024-08-13T21:25:51.221842Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.224471Z", "completed_at": "2024-08-13T21:25:51.224479Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02092432975769043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_markets_base_mainnet_created_ts.b73d9a0c8a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.216570Z", "completed_at": "2024-08-13T21:25:51.223894Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.226739Z", "completed_at": "2024-08-13T21:25:51.226747Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01853466033935547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_markets_base_mainnet_id.bd1fc06532", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.234782Z", "completed_at": "2024-08-13T21:25:51.240720Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.247843Z", "completed_at": "2024-08-13T21:25:51.247851Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02181243896484375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_markets_base_mainnet_market_symbol.c8dc99abfc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.230670Z", "completed_at": "2024-08-13T21:25:51.241845Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.254694Z", "completed_at": "2024-08-13T21:25:51.254702Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02928471565246582, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_markets_base_mainnet_market_name.303acf9a19", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.242399Z", "completed_at": "2024-08-13T21:25:51.256596Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.259169Z", "completed_at": "2024-08-13T21:25:51.259177Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.029200077056884766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_liq_position_base_sepolia", "compiled": true, "compiled_code": "WITH liquidations AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n account_id,\n market_id,\n \n amount_liquidated / 1e18\n AS amount_liquidated,\n \n current_position_size / 1e18\n AS position_size\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\n),\nmarkets AS (\n SELECT\n id,\n market_symbol\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\"\n)\nSELECT\n l.id,\n l.ts,\n l.block_number,\n l.transaction_hash,\n CAST(\n l.account_id AS text\n ) AS account_id,\n l.market_id,\n m.market_symbol,\n l.amount_liquidated,\n l.position_size\nFROM\n liquidations l\n LEFT JOIN markets m\n ON l.market_id = m.id", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.248708Z", "completed_at": "2024-08-13T21:25:51.257263Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.260030Z", "completed_at": "2024-08-13T21:25:51.260041Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02099013328552246, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_market_history_base_sepolia", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n mu.id,\n mu.block_timestamp AS ts,\n mu.block_number,\n mu.transaction_hash,\n m.id AS market_id,\n m.market_symbol,\n \n price / 1e18\n AS price,\n \n skew / 1e18\n AS skew,\n \n size / 1e18\n AS SIZE,\n \n size_delta / 1e18\n AS size_delta,\n \n current_funding_rate / 1e18\n AS funding_rate,\n \n current_funding_velocity / 1e18\n AS funding_velocity,\n \n interest_rate / 1e18\n AS interest_rate,\n \n current_funding_rate / 1e18\n * 365.25 AS funding_rate_apr,\n \n current_funding_rate / 1e18\n * 365.25 + \n interest_rate / 1e18\n AS long_rate_apr,\n \n current_funding_rate / 1e18\n * -1 * 365.25 + \n interest_rate / 1e18\n AS short_rate_apr\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\n mu\n LEFT JOIN \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\"\n m\n ON mu.market_id = m.id\n)\nSELECT\n *,\n SIZE * price AS size_usd,\n (\n SIZE + skew\n ) * price / 2 AS long_oi,\n (\n SIZE - skew\n ) * price / 2 AS short_oi,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE + skew) * price / 2) / (\n SIZE * price\n )\n END AS long_oi_pct,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE - skew) * price / 2) / (\n SIZE * price\n )\n END AS short_oi_pct\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.264841Z", "completed_at": "2024-08-13T21:25:51.276343Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.282646Z", "completed_at": "2024-08-13T21:25:51.282655Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02422785758972168, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_orders_base_sepolia", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n oc.id,\n oc.block_timestamp AS ts,\n oc.block_number,\n oc.transaction_hash,\n oc.contract,\n oc.market_id,\n markets.market_symbol,\n CAST(\n oc.account_id AS text\n ) AS account_id,\n oc.order_type,\n \n oc.size_delta / 1e18\n AS SIZE,\n \n oc.acceptable_price / 1e18\n AS acceptable_price,\n oc.settlement_time,\n oc.expiration_time,\n \n LEFT(\n REGEXP_REPLACE(\n encode(\n DECODE(REPLACE(oc.tracking_code, '0x', ''), 'hex'),\n 'escape'\n ) :: text,\n '\\\\000',\n '',\n 'g'\n ),\n 20\n )\n AS tracking_code,\n oc.sender\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\n oc\n LEFT JOIN \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\" AS markets\n ON oc.market_id = markets.id\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_orders_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.270098Z", "completed_at": "2024-08-13T21:25:51.281944Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.289158Z", "completed_at": "2024-08-13T21:25:51.289166Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.028363466262817383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_trades_base_sepolia", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pos.id,\n pos.block_timestamp AS ts,\n pos.block_number,\n pos.transaction_hash,\n pos.contract,\n pos.market_id,\n markets.market_symbol,\n CAST(\n pos.account_id AS text\n ) AS account_id,\n \n fill_price / 1e18\n AS fill_price,\n \n pnl / 1e18\n AS pnl,\n \n accrued_funding / 1e18\n AS accrued_funding,\n \n size_delta / 1e18\n AS trade_size,\n \n new_size / 1e18\n AS position_size,\n \n total_fees / 1e18\n AS total_fees,\n \n referral_fees / 1e18\n AS referral_fees,\n \n collected_fees / 1e18\n AS collected_fees,\n \n settlement_reward / 1e18\n AS settlement_reward,\n \n LEFT(\n REGEXP_REPLACE(\n encode(\n DECODE(REPLACE(tracking_code, '0x', ''), 'hex'),\n 'escape'\n ) :: text,\n '\\\\000',\n '',\n 'g'\n ),\n 20\n )\n AS tracking_code,\n pos.settler\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\" AS pos\n LEFT JOIN \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\" AS markets\n ON pos.market_id = markets.id\n)\nSELECT\n *,\n ABS(\n fill_price * trade_size\n ) AS notional_trade_size,\n fill_price * position_size AS notional_position_size,\n total_fees - referral_fees - collected_fees - settlement_reward AS lp_fees,\n total_fees - settlement_reward AS exchange_fees\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.277607Z", "completed_at": "2024-08-13T21:25:51.290076Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.293750Z", "completed_at": "2024-08-13T21:25:51.293759Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02504754066467285, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_base_sepolia_id__True__0.8545400fda", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.283554Z", "completed_at": "2024-08-13T21:25:51.293073Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.295903Z", "completed_at": "2024-08-13T21:25:51.295910Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02656245231628418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_markets_base_sepolia_block_number.5b8bc4dbc4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.299939Z", "completed_at": "2024-08-13T21:25:51.310366Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.319926Z", "completed_at": "2024-08-13T21:25:51.319939Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025406360626220703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_markets_base_sepolia_created_ts.ec1571d5b3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.304088Z", "completed_at": "2024-08-13T21:25:51.315069Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.320931Z", "completed_at": "2024-08-13T21:25:51.320941Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025758028030395508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_markets_base_sepolia_id.908ad69766", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.310968Z", "completed_at": "2024-08-13T21:25:51.321910Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.324502Z", "completed_at": "2024-08-13T21:25:51.324512Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025284767150878906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_markets_base_sepolia_market_name.47a0ccb5b2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.315790Z", "completed_at": "2024-08-13T21:25:51.323276Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.325978Z", "completed_at": "2024-08-13T21:25:51.325987Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01782822608947754, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_markets_base_sepolia_market_symbol.e4e36d90ae", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.330621Z", "completed_at": "2024-08-13T21:25:51.343015Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.353846Z", "completed_at": "2024-08-13T21:25:51.353859Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028637170791625977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_fct_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired.1769035769", "compiled": true, "compiled_code": "\n \n \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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.335766Z", "completed_at": "2024-08-13T21:25:51.348401Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.355068Z", "completed_at": "2024-08-13T21:25:51.355076Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.028354406356811523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_account_id__True__0.0f31e1095c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.343828Z", "completed_at": "2024-08-13T21:25:51.356784Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.359519Z", "completed_at": "2024-08-13T21:25:51.359528Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.029630422592163086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_market_id__True__0.59d73bf004", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.349337Z", "completed_at": "2024-08-13T21:25:51.357536Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.360407Z", "completed_at": "2024-08-13T21:25:51.360415Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025543689727783203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_account_id.e7aae917c2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.364437Z", "completed_at": "2024-08-13T21:25:51.375619Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.381791Z", "completed_at": "2024-08-13T21:25:51.381801Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023077964782714844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_block_number.89b98bd9a2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.370335Z", "completed_at": "2024-08-13T21:25:51.381104Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.388942Z", "completed_at": "2024-08-13T21:25:51.388953Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027786970138549805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_block_timestamp.da7b51b840", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.376874Z", "completed_at": "2024-08-13T21:25:51.389783Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.392426Z", "completed_at": "2024-08-13T21:25:51.392433Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023604154586791992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_contract.bd6be0f02f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.382707Z", "completed_at": "2024-08-13T21:25:51.391793Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.394522Z", "completed_at": "2024-08-13T21:25:51.394531Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02493453025817871, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_event_name.473a967d1d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.398540Z", "completed_at": "2024-08-13T21:25:51.409118Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.418865Z", "completed_at": "2024-08-13T21:25:51.418880Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025729894638061523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_id.627b6b6b63", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.402698Z", "completed_at": "2024-08-13T21:25:51.409724Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.420016Z", "completed_at": "2024-08-13T21:25:51.420024Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02621293067932129, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_market_id.8bf9effd5e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.410269Z", "completed_at": "2024-08-13T21:25:51.421259Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.423829Z", "completed_at": "2024-08-13T21:25:51.423837Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026005983352661133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_transaction_hash.573aaff2f5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.414746Z", "completed_at": "2024-08-13T21:25:51.422480Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.425323Z", "completed_at": "2024-08-13T21:25:51.425330Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018635034561157227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_perp_previous_order_expired_base_mainnet_id.220846a37a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.429936Z", "completed_at": "2024-08-13T21:25:51.599291Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.609409Z", "completed_at": "2024-08-13T21:25:51.609423Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.1848757266998291, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.accepted_values_fct_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired.e124d4bad8", "compiled": true, "compiled_code": "\n \n \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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.435355Z", "completed_at": "2024-08-13T21:25:51.604589Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.610607Z", "completed_at": "2024-08-13T21:25:51.610615Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.1845381259918213, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_account_id__True__0.b2f7060dcd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.599992Z", "completed_at": "2024-08-13T21:25:51.611530Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.614237Z", "completed_at": "2024-08-13T21:25:51.614245Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.185014009475708, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_market_id__True__0.b23f5ced4b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.605134Z", "completed_at": "2024-08-13T21:25:51.612938Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.615770Z", "completed_at": "2024-08-13T21:25:51.615777Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.18127846717834473, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_account_id.e2bf90a189", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.620346Z", "completed_at": "2024-08-13T21:25:51.631021Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.642234Z", "completed_at": "2024-08-13T21:25:51.642244Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02724766731262207, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_block_number.1ff7a5705c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.625306Z", "completed_at": "2024-08-13T21:25:51.635926Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.643278Z", "completed_at": "2024-08-13T21:25:51.643286Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026759624481201172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_block_timestamp.4b41a82d13", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.631745Z", "completed_at": "2024-08-13T21:25:51.644259Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.646834Z", "completed_at": "2024-08-13T21:25:51.646844Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027203083038330078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_contract.b0da841bdf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.636600Z", "completed_at": "2024-08-13T21:25:51.644874Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.647738Z", "completed_at": "2024-08-13T21:25:51.647745Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023153305053710938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_event_name.daad0addfa", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.653465Z", "completed_at": "2024-08-13T21:25:51.667453Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.672859Z", "completed_at": "2024-08-13T21:25:51.672870Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024395465850830078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_id.480d04976b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.657545Z", "completed_at": "2024-08-13T21:25:51.668129Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.674304Z", "completed_at": "2024-08-13T21:25:51.674311Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025211811065673828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_market_id.17181fe5f1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.663157Z", "completed_at": "2024-08-13T21:25:51.673731Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.676679Z", "completed_at": "2024-08-13T21:25:51.676687Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02451610565185547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_transaction_hash.e1f21d4fd3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.668770Z", "completed_at": "2024-08-13T21:25:51.676113Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.678864Z", "completed_at": "2024-08-13T21:25:51.678873Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026094436645507812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_perp_previous_order_expired_base_sepolia_id.38211e4c5d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.683513Z", "completed_at": "2024-08-13T21:25:51.699811Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.705350Z", "completed_at": "2024-08-13T21:25:51.705358Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027216196060180664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_arbitrum_mainnet_id__True__0.fc6e00e4d7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.689202Z", "completed_at": "2024-08-13T21:25:51.704764Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.706920Z", "completed_at": "2024-08-13T21:25:51.706930Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026584863662719727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_block_number.8e6492baa4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.695667Z", "completed_at": "2024-08-13T21:25:51.706270Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.709212Z", "completed_at": "2024-08-13T21:25:51.709220Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027028322219848633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_created_ts.d20eea3054", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.700613Z", "completed_at": "2024-08-13T21:25:51.708648Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.711408Z", "completed_at": "2024-08-13T21:25:51.711418Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023610830307006836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_id.0f47b50907", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.716009Z", "completed_at": "2024-08-13T21:25:51.726458Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.736744Z", "completed_at": "2024-08-13T21:25:51.736754Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026126384735107422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_token_address.19fe19c198", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.721254Z", "completed_at": "2024-08-13T21:25:51.737833Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.740571Z", "completed_at": "2024-08-13T21:25:51.740581Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027726411819458008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_arbitrum_sepolia_id__True__0.181ee7b620", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.727002Z", "completed_at": "2024-08-13T21:25:51.739443Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.742046Z", "completed_at": "2024-08-13T21:25:51.742056Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027376413345336914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_block_number.50ad9758fc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.731261Z", "completed_at": "2024-08-13T21:25:51.740004Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.742914Z", "completed_at": "2024-08-13T21:25:51.742921Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02293682098388672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_created_ts.d5e3080b9d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.747043Z", "completed_at": "2024-08-13T21:25:51.753689Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.763304Z", "completed_at": "2024-08-13T21:25:51.763314Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021999120712280273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_id.8e20da3df9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.754824Z", "completed_at": "2024-08-13T21:25:51.768503Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.770656Z", "completed_at": "2024-08-13T21:25:51.770668Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02434539794921875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_token_address.1b182f5b09", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.758907Z", "completed_at": "2024-08-13T21:25:51.770072Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.772769Z", "completed_at": "2024-08-13T21:25:51.772777Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021741628646850586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_base_mainnet_id__True__0.51d4e415e8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.764221Z", "completed_at": "2024-08-13T21:25:51.772185Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.774920Z", "completed_at": "2024-08-13T21:25:51.774929Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023199081420898438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_markets_base_mainnet_block_number.dd426b1fb6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.777104Z", "completed_at": "2024-08-13T21:25:51.784072Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.791275Z", "completed_at": "2024-08-13T21:25:51.791284Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019766569137573242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_markets_base_mainnet_created_ts.746ff1f9ce", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.785219Z", "completed_at": "2024-08-13T21:25:51.800546Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.802914Z", "completed_at": "2024-08-13T21:25:51.802922Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02653050422668457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_markets_base_mainnet_id.b85cc0ba41", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.796258Z", "completed_at": "2024-08-13T21:25:51.802321Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.804950Z", "completed_at": "2024-08-13T21:25:51.804958Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021596193313598633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_arbitrum_mainnet_synth_market_id__True__0.a856a28abf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.792144Z", "completed_at": "2024-08-13T21:25:51.803768Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.806449Z", "completed_at": "2024-08-13T21:25:51.806457Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024471759796142578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_markets_base_mainnet_token_address.454ffd144a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.809935Z", "completed_at": "2024-08-13T21:25:51.820727Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.826232Z", "completed_at": "2024-08-13T21:25:51.826243Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022000551223754883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_amount.2a29d582dd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.816658Z", "completed_at": "2024-08-13T21:25:51.832525Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.834727Z", "completed_at": "2024-08-13T21:25:51.834739Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026208162307739258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_block_number.4090627930", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.822081Z", "completed_at": "2024-08-13T21:25:51.834041Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.836372Z", "completed_at": "2024-08-13T21:25:51.836381Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0224759578704834, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_id.58d62fa75b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.827159Z", "completed_at": "2024-08-13T21:25:51.837233Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.839789Z", "completed_at": "2024-08-13T21:25:51.839797Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024627208709716797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_price.8c5fac0d4b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.841259Z", "completed_at": "2024-08-13T21:25:51.848715Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.858432Z", "completed_at": "2024-08-13T21:25:51.858444Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02286529541015625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_referrer.8f3d6e7ca8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.854173Z", "completed_at": "2024-08-13T21:25:51.865228Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.867218Z", "completed_at": "2024-08-13T21:25:51.867230Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02163100242614746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_ts.8faded4450", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.849858Z", "completed_at": "2024-08-13T21:25:51.866476Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.869206Z", "completed_at": "2024-08-13T21:25:51.869214Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.028671979904174805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id.3ce730fbe0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.860970Z", "completed_at": "2024-08-13T21:25:51.868068Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.870752Z", "completed_at": "2024-08-13T21:25:51.870760Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021605968475341797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash.fc4480c793", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.871645Z", "completed_at": "2024-08-13T21:25:51.878594Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.880924Z", "completed_at": "2024-08-13T21:25:51.880932Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015146255493164062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_spot_atomics_arbitrum_mainnet_id.103cfc1fee", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.881773Z", "completed_at": "2024-08-13T21:25:51.898228Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.900229Z", "completed_at": "2024-08-13T21:25:51.900239Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02380228042602539, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_base_sepolia_id__True__0.f6b3a1dac3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.893133Z", "completed_at": "2024-08-13T21:25:51.899639Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.905810Z", "completed_at": "2024-08-13T21:25:51.905822Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026187419891357422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_markets_base_sepolia_created_ts.69423c5ddb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.888242Z", "completed_at": "2024-08-13T21:25:51.901073Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.907597Z", "completed_at": "2024-08-13T21:25:51.907608Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.029763221740722656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_markets_base_sepolia_block_number.25cd7e84c0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.901655Z", "completed_at": "2024-08-13T21:25:51.909289Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.911817Z", "completed_at": "2024-08-13T21:25:51.911824Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014350414276123047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_markets_base_sepolia_id.a355928e0f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.920091Z", "completed_at": "2024-08-13T21:25:51.931906Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.937882Z", "completed_at": "2024-08-13T21:25:51.937890Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02678084373474121, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_arbitrum_sepolia_synth_market_id__True__0.783d66767d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.915033Z", "completed_at": "2024-08-13T21:25:51.932458Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.938766Z", "completed_at": "2024-08-13T21:25:51.938774Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02901148796081543, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_markets_base_sepolia_token_address.af639aa1d2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.925268Z", "completed_at": "2024-08-13T21:25:51.937182Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.939766Z", "completed_at": "2024-08-13T21:25:51.939774Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0266420841217041, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_amount.08628c0e8d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.933141Z", "completed_at": "2024-08-13T21:25:51.941280Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.943932Z", "completed_at": "2024-08-13T21:25:51.943940Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019487619400024414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_block_number.8b344f291a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.948384Z", "completed_at": "2024-08-13T21:25:51.962521Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.968294Z", "completed_at": "2024-08-13T21:25:51.968302Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025088787078857422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_id.491922c0de", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.953074Z", "completed_at": "2024-08-13T21:25:51.963056Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.969170Z", "completed_at": "2024-08-13T21:25:51.969180Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02449822425842285, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_price.685e079a35", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.957139Z", "completed_at": "2024-08-13T21:25:51.963637Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.970040Z", "completed_at": "2024-08-13T21:25:51.970047Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02476811408996582, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_referrer.ab47b8a4dc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.964216Z", "completed_at": "2024-08-13T21:25:51.971759Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:51.974351Z", "completed_at": "2024-08-13T21:25:51.974358Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021996736526489258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id.b6c3e19705", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.978852Z", "completed_at": "2024-08-13T21:25:51.994289Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.000112Z", "completed_at": "2024-08-13T21:25:52.000121Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026506662368774414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_ts.892f2a57c7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.985134Z", "completed_at": "2024-08-13T21:25:51.999485Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.001738Z", "completed_at": "2024-08-13T21:25:52.001746Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026609182357788086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash.e8c13a9755", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.989258Z", "completed_at": "2024-08-13T21:25:52.001199Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.003966Z", "completed_at": "2024-08-13T21:25:52.003974Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02823185920715332, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_spot_atomics_arbitrum_sepolia_id.ac19d3d198", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:51.995173Z", "completed_at": "2024-08-13T21:25:52.002670Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.005526Z", "completed_at": "2024-08-13T21:25:52.005534Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02112889289855957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_base_mainnet_synth_market_id__True__0.09c446094a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.016075Z", "completed_at": "2024-08-13T21:25:52.026901Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.032229Z", "completed_at": "2024-08-13T21:25:52.032238Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02463531494140625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_block_number.f27d399305", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.011378Z", "completed_at": "2024-08-13T21:25:52.027524Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.033155Z", "completed_at": "2024-08-13T21:25:52.033163Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026886940002441406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_amount.f9fe9bd5d8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.020993Z", "completed_at": "2024-08-13T21:25:52.033987Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.036744Z", "completed_at": "2024-08-13T21:25:52.036752Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027283906936645508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_id.627bbbf01f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.028066Z", "completed_at": "2024-08-13T21:25:52.035454Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.038212Z", "completed_at": "2024-08-13T21:25:52.038219Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027571678161621094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_price.425623addf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.042759Z", "completed_at": "2024-08-13T21:25:52.053023Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.063087Z", "completed_at": "2024-08-13T21:25:52.063123Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025660037994384766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_referrer.ab87d661dd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.047490Z", "completed_at": "2024-08-13T21:25:52.062338Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.064432Z", "completed_at": "2024-08-13T21:25:52.064441Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025488853454589844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_synth_market_id.6f09447421", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.058071Z", "completed_at": "2024-08-13T21:25:52.065282Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.067863Z", "completed_at": "2024-08-13T21:25:52.067873Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021134138107299805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_tx_hash.95b2db0403", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.053719Z", "completed_at": "2024-08-13T21:25:52.066475Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.069346Z", "completed_at": "2024-08-13T21:25:52.069353Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027301311492919922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_ts.8e16294c15", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.073905Z", "completed_at": "2024-08-13T21:25:52.086528Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.095960Z", "completed_at": "2024-08-13T21:25:52.095974Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02736949920654297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_spot_atomics_base_mainnet_id.43d4b7c878", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.080689Z", "completed_at": "2024-08-13T21:25:52.091280Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.097011Z", "completed_at": "2024-08-13T21:25:52.097021Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026924610137939453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_base_sepolia_synth_market_id__True__0.391b470dd2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.087149Z", "completed_at": "2024-08-13T21:25:52.098017Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.100649Z", "completed_at": "2024-08-13T21:25:52.100658Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027454614639282227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_amount.81264c756d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.091845Z", "completed_at": "2024-08-13T21:25:52.099443Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.102106Z", "completed_at": "2024-08-13T21:25:52.102116Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02219247817993164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_block_number.16d75a4323", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.106720Z", "completed_at": "2024-08-13T21:25:52.117440Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.128516Z", "completed_at": "2024-08-13T21:25:52.128524Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02712535858154297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_id.dfc0db9ed4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.111635Z", "completed_at": "2024-08-13T21:25:52.123775Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.129624Z", "completed_at": "2024-08-13T21:25:52.129632Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026764631271362305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_price.ce30d003ce", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.118110Z", "completed_at": "2024-08-13T21:25:52.131369Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.133841Z", "completed_at": "2024-08-13T21:25:52.133849Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027838706970214844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_referrer.7533de1c2b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.124433Z", "completed_at": "2024-08-13T21:25:52.132654Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.135362Z", "completed_at": "2024-08-13T21:25:52.135370Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02456045150756836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_synth_market_id.e8f636df14", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.138707Z", "completed_at": "2024-08-13T21:25:52.149206Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.155022Z", "completed_at": "2024-08-13T21:25:52.155032Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021956682205200195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_ts.4bca6422cc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.143582Z", "completed_at": "2024-08-13T21:25:52.150463Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.160758Z", "completed_at": "2024-08-13T21:25:52.160766Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02615952491760254, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_tx_hash.6d969998c6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.151006Z", "completed_at": "2024-08-13T21:25:52.162653Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.165163Z", "completed_at": "2024-08-13T21:25:52.165171Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022413969039916992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_spot_atomics_base_sepolia_id.6c8ed0bc2a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.155979Z", "completed_at": "2024-08-13T21:25:52.164569Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.167218Z", "completed_at": "2024-08-13T21:25:52.167228Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019654273986816406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_synth_supply_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_wrapper_arbitrum_mainnet\"\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_synth_supply_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.169346Z", "completed_at": "2024-08-13T21:25:52.181959Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.184501Z", "completed_at": "2024-08-13T21:25:52.184509Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020662784576416016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_mainnet_synth_market_id__True__0.f6decdacf4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.177104Z", "completed_at": "2024-08-13T21:25:52.183949Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.193615Z", "completed_at": "2024-08-13T21:25:52.193626Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027701139450073242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped.f91b4eedc8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.185374Z", "completed_at": "2024-08-13T21:25:52.196111Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.198514Z", "completed_at": "2024-08-13T21:25:52.198522Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02214813232421875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_block_number.d1c04e4c89", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.189445Z", "completed_at": "2024-08-13T21:25:52.196694Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.199398Z", "completed_at": "2024-08-13T21:25:52.199409Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018247365951538086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_id.4d99f875a3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.202734Z", "completed_at": "2024-08-13T21:25:52.213116Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.220369Z", "completed_at": "2024-08-13T21:25:52.220382Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02321338653564453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id.f0195bb21f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.206822Z", "completed_at": "2024-08-13T21:25:52.214314Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.225390Z", "completed_at": "2024-08-13T21:25:52.225402Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027607202529907227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_ts.91d9f782bb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.214866Z", "completed_at": "2024-08-13T21:25:52.227401Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.229957Z", "completed_at": "2024-08-13T21:25:52.229967Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019056081771850586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash.4401566d1f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.221287Z", "completed_at": "2024-08-13T21:25:52.228691Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.231647Z", "completed_at": "2024-08-13T21:25:52.231657Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020151138305664062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_spot_wrapper_arbitrum_mainnet_id.2107017636", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.235286Z", "completed_at": "2024-08-13T21:25:52.246393Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.252626Z", "completed_at": "2024-08-13T21:25:52.252640Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023447751998901367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_synth_supply_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_wrapper_arbitrum_sepolia\"\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_synth_supply_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.240593Z", "completed_at": "2024-08-13T21:25:52.247676Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.257860Z", "completed_at": "2024-08-13T21:25:52.257869Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027128934860229492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_sepolia_synth_market_id__True__0.38952f7e02", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.248282Z", "completed_at": "2024-08-13T21:25:52.259796Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.262335Z", "completed_at": "2024-08-13T21:25:52.262343Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02247309684753418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped.77a6a551fc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.253704Z", "completed_at": "2024-08-13T21:25:52.261187Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.263843Z", "completed_at": "2024-08-13T21:25:52.263851Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018968820571899414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_block_number.11ac634180", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.267170Z", "completed_at": "2024-08-13T21:25:52.279902Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.289253Z", "completed_at": "2024-08-13T21:25:52.289263Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027669191360473633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_id.e4af3a2e01", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.273579Z", "completed_at": "2024-08-13T21:25:52.280437Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.290195Z", "completed_at": "2024-08-13T21:25:52.290202Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027070045471191406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id.73a4297f2a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.285069Z", "completed_at": "2024-08-13T21:25:52.291949Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.294471Z", "completed_at": "2024-08-13T21:25:52.294479Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01680469512939453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash.bc4c1e86f4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.281010Z", "completed_at": "2024-08-13T21:25:52.293904Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.296516Z", "completed_at": "2024-08-13T21:25:52.296524Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023667335510253906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_ts.cac57bdf22", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.298585Z", "completed_at": "2024-08-13T21:25:52.310189Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.318058Z", "completed_at": "2024-08-13T21:25:52.318067Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024836301803588867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_spot_wrapper_arbitrum_sepolia_id.ef7877efab", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.304196Z", "completed_at": "2024-08-13T21:25:52.317426Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.323151Z", "completed_at": "2024-08-13T21:25:52.323159Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02791285514831543, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_synth_supply_base_mainnet", "compiled": true, "compiled_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_spot_wrapper_base_mainnet\"\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_synth_supply_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.311571Z", "completed_at": "2024-08-13T21:25:52.324028Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.326223Z", "completed_at": "2024-08-13T21:25:52.326232Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02278876304626465, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_base_mainnet_synth_market_id__True__0.69216a8846", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.318932Z", "completed_at": "2024-08-13T21:25:52.327207Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.329670Z", "completed_at": "2024-08-13T21:25:52.329678Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020830869674682617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_amount_wrapped.957e1a74f3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.332977Z", "completed_at": "2024-08-13T21:25:52.346892Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.348842Z", "completed_at": "2024-08-13T21:25:52.348850Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021145105361938477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_block_number.9220599356", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.337052Z", "completed_at": "2024-08-13T21:25:52.347518Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.349783Z", "completed_at": "2024-08-13T21:25:52.349794Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021487951278686523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_id.b1091139a2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.342762Z", "completed_at": "2024-08-13T21:25:52.350618Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.356753Z", "completed_at": "2024-08-13T21:25:52.356761Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025208711624145508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_synth_market_id.4d8b77f2da", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.351232Z", "completed_at": "2024-08-13T21:25:52.358948Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.361397Z", "completed_at": "2024-08-13T21:25:52.361404Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019598960876464844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_ts.b646319cc9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.368411Z", "completed_at": "2024-08-13T21:25:52.374864Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.380969Z", "completed_at": "2024-08-13T21:25:52.380977Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022707462310791016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_spot_wrapper_base_mainnet_id.c51e21223d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.362849Z", "completed_at": "2024-08-13T21:25:52.375445Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.381834Z", "completed_at": "2024-08-13T21:25:52.381844Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024237871170043945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_tx_hash.eb92a57d59", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.375998Z", "completed_at": "2024-08-13T21:25:52.387638Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.389755Z", "completed_at": "2024-08-13T21:25:52.389762Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027618885040283203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_amount__True__0.debd774d66", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.383304Z", "completed_at": "2024-08-13T21:25:52.391280Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.393708Z", "completed_at": "2024-08-13T21:25:52.393715Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01968550682067871, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_pool_id__True__0.071c26474c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.395897Z", "completed_at": "2024-08-13T21:25:52.406563Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.414213Z", "completed_at": "2024-08-13T21:25:52.414222Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023652315139770508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_amount.5d537baae4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.400963Z", "completed_at": "2024-08-13T21:25:52.413092Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.415209Z", "completed_at": "2024-08-13T21:25:52.415217Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023461580276489258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type.d5a70bb05b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.407235Z", "completed_at": "2024-08-13T21:25:52.420217Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.422299Z", "completed_at": "2024-08-13T21:25:52.422309Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027175426483154297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_distributor.78e1e8f668", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.416133Z", "completed_at": "2024-08-13T21:25:52.423164Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.426413Z", "completed_at": "2024-08-13T21:25:52.426422Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020641803741455078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_pool_id.ed851987e8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.433927Z", "completed_at": "2024-08-13T21:25:52.443575Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.450139Z", "completed_at": "2024-08-13T21:25:52.450149Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025238990783691406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_ts.19a49fa7ad", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.439656Z", "completed_at": "2024-08-13T21:25:52.448906Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.451193Z", "completed_at": "2024-08-13T21:25:52.451204Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022774457931518555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_prices_hourly_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_arbitrum_mainnet\"\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_hourly_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.429795Z", "completed_at": "2024-08-13T21:25:52.449444Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.452111Z", "completed_at": "2024-08-13T21:25:52.452121Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.028484344482421875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol.0fd511c8cb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.444412Z", "completed_at": "2024-08-13T21:25:52.452993Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.455811Z", "completed_at": "2024-08-13T21:25:52.455819Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017194271087646484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_arbitrum_mainnet_price__True__0.2dcde08f36", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.471892Z", "completed_at": "2024-08-13T21:25:52.477084Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.483490Z", "completed_at": "2024-08-13T21:25:52.483500Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025667905807495117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_arbitrum_mainnet_ts.2fbdc0fed9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.467686Z", "completed_at": "2024-08-13T21:25:52.482260Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.484499Z", "completed_at": "2024-08-13T21:25:52.484507Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02730083465576172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_arbitrum_mainnet_price.0a15cd9a88", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.461526Z", "completed_at": "2024-08-13T21:25:52.482869Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.485944Z", "completed_at": "2024-08-13T21:25:52.485954Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.029378890991210938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_arbitrum_mainnet_market_symbol.2c3e729969", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.477723Z", "completed_at": "2024-08-13T21:25:52.485389Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.488224Z", "completed_at": "2024-08-13T21:25:52.488232Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027397871017456055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_synth_supply_base_sepolia", "compiled": true, "compiled_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_spot_wrapper_base_sepolia\"\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_synth_supply_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.494825Z", "completed_at": "2024-08-13T21:25:52.510234Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.516395Z", "completed_at": "2024-08-13T21:25:52.516405Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02674722671508789, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_base_sepolia_synth_market_id__True__0.f4eedf4f3f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.499247Z", "completed_at": "2024-08-13T21:25:52.515130Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.517413Z", "completed_at": "2024-08-13T21:25:52.517421Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027147293090820312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_amount_wrapped.447890a6f4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.504116Z", "completed_at": "2024-08-13T21:25:52.515799Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.518863Z", "completed_at": "2024-08-13T21:25:52.518873Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02722620964050293, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_block_number.05149fa391", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.510829Z", "completed_at": "2024-08-13T21:25:52.518296Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.521218Z", "completed_at": "2024-08-13T21:25:52.521226Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02767324447631836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_id.6458cf0796", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.527612Z", "completed_at": "2024-08-13T21:25:52.540983Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.546243Z", "completed_at": "2024-08-13T21:25:52.546252Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023610591888427734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_synth_market_id.54687d51aa", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.531743Z", "completed_at": "2024-08-13T21:25:52.545534Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.547842Z", "completed_at": "2024-08-13T21:25:52.547850Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024553298950195312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_ts.8708b13a31", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.536501Z", "completed_at": "2024-08-13T21:25:52.547187Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.549955Z", "completed_at": "2024-08-13T21:25:52.549963Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02537250518798828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_tx_hash.0df62cff0d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.541536Z", "completed_at": "2024-08-13T21:25:52.549341Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.552206Z", "completed_at": "2024-08-13T21:25:52.552214Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025889873504638672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_spot_wrapper_base_sepolia_id.3a2fb8ee86", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.556768Z", "completed_at": "2024-08-13T21:25:52.569067Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.578546Z", "completed_at": "2024-08-13T21:25:52.578560Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027087688446044922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_amount__True__0.7328694eba", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.563945Z", "completed_at": "2024-08-13T21:25:52.577994Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.579826Z", "completed_at": "2024-08-13T21:25:52.579834Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026198625564575195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_pool_id__True__0.82e7a1605d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.573825Z", "completed_at": "2024-08-13T21:25:52.581541Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.584009Z", "completed_at": "2024-08-13T21:25:52.584019Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021409034729003906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type.9b8cfcd53f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.569646Z", "completed_at": "2024-08-13T21:25:52.582728Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.585480Z", "completed_at": "2024-08-13T21:25:52.585490Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.029979467391967773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_amount.2019cf2384", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.588900Z", "completed_at": "2024-08-13T21:25:52.599449Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.606925Z", "completed_at": "2024-08-13T21:25:52.606935Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023643970489501953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_distributor.575416cf09", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.593715Z", "completed_at": "2024-08-13T21:25:52.606388Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.612046Z", "completed_at": "2024-08-13T21:25:52.612056Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027309656143188477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_pool_id.7e25d73251", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.600740Z", "completed_at": "2024-08-13T21:25:52.612990Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.615678Z", "completed_at": "2024-08-13T21:25:52.615686Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022800683975219727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol.6e44e80815", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.607834Z", "completed_at": "2024-08-13T21:25:52.615075Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.617746Z", "completed_at": "2024-08-13T21:25:52.617754Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01993727684020996, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_ts.58ba7f8051", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.621758Z", "completed_at": "2024-08-13T21:25:52.631195Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.636963Z", "completed_at": "2024-08-13T21:25:52.636971Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020540237426757812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_prices_hourly_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_arbitrum_sepolia\"\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_hourly_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.625039Z", "completed_at": "2024-08-13T21:25:52.631779Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.637835Z", "completed_at": "2024-08-13T21:25:52.637843Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020793914794921875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_arbitrum_sepolia_price__True__0.cd20dabe63", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.632901Z", "completed_at": "2024-08-13T21:25:52.644482Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.647062Z", "completed_at": "2024-08-13T21:25:52.647070Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02604055404663086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_arbitrum_sepolia_market_symbol.5499da1cc7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.638711Z", "completed_at": "2024-08-13T21:25:52.646499Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.649074Z", "completed_at": "2024-08-13T21:25:52.649082Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019576549530029297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_arbitrum_sepolia_price.45fcd4b484", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.650581Z", "completed_at": "2024-08-13T21:25:52.662272Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.664756Z", "completed_at": "2024-08-13T21:25:52.664765Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019626617431640625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_arbitrum_sepolia_ts.a139176cd1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.656212Z", "completed_at": "2024-08-13T21:25:52.662844Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.665643Z", "completed_at": "2024-08-13T21:25:52.665650Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01985645294189453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_amount__True__0.5a5b31d40e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.667046Z", "completed_at": "2024-08-13T21:25:52.678922Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.681510Z", "completed_at": "2024-08-13T21:25:52.681521Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02032780647277832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_pool_id__True__0.f01ac775cc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.673084Z", "completed_at": "2024-08-13T21:25:52.680237Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.686815Z", "completed_at": "2024-08-13T21:25:52.686824Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023446321487426758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_amount.c7b92514fd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.682407Z", "completed_at": "2024-08-13T21:25:52.693411Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.695514Z", "completed_at": "2024-08-13T21:25:52.695522Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018056869506835938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_collateral_type.2f7e01ccd0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.687741Z", "completed_at": "2024-08-13T21:25:52.696335Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.698726Z", "completed_at": "2024-08-13T21:25:52.698736Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0205385684967041, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_distributor.5511d5880d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.699623Z", "completed_at": "2024-08-13T21:25:52.711200Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.713559Z", "completed_at": "2024-08-13T21:25:52.713567Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01949930191040039, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_pool_id.47db83edd0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.705430Z", "completed_at": "2024-08-13T21:25:52.711801Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.714418Z", "completed_at": "2024-08-13T21:25:52.714428Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019713401794433594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_token_symbol.1810912a65", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.715322Z", "completed_at": "2024-08-13T21:25:52.726086Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.728071Z", "completed_at": "2024-08-13T21:25:52.728079Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018552541732788086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_ts.af8563a243", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.721661Z", "completed_at": "2024-08-13T21:25:52.729515Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.735750Z", "completed_at": "2024-08-13T21:25:52.735759Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02293086051940918, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_amount__True__0.da53fcc671", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.736646Z", "completed_at": "2024-08-13T21:25:52.743884Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.751408Z", "completed_at": "2024-08-13T21:25:52.751418Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024161100387573242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_amount.e8cf1e51d5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.731359Z", "completed_at": "2024-08-13T21:25:52.744434Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.752301Z", "completed_at": "2024-08-13T21:25:52.752308Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02568840980529785, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_pool_id__True__0.bb2309b03e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.744999Z", "completed_at": "2024-08-13T21:25:52.757684Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.759942Z", "completed_at": "2024-08-13T21:25:52.759953Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01913142204284668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_collateral_type.fcdb4bc8d4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.753269Z", "completed_at": "2024-08-13T21:25:52.760856Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.763368Z", "completed_at": "2024-08-13T21:25:52.763376Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020162343978881836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_distributor.44cab292b1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.770817Z", "completed_at": "2024-08-13T21:25:52.780903Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.782850Z", "completed_at": "2024-08-13T21:25:52.782858Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020915985107421875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_token_symbol.7f69f8767a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.766609Z", "completed_at": "2024-08-13T21:25:52.781642Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.784344Z", "completed_at": "2024-08-13T21:25:52.784352Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023018836975097656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_pool_id.8de57769b7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.776675Z", "completed_at": "2024-08-13T21:25:52.783796Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.790407Z", "completed_at": "2024-08-13T21:25:52.790417Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025197267532348633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_ts.3bc8aeff42", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.785223Z", "completed_at": "2024-08-13T21:25:52.793465Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.795816Z", "completed_at": "2024-08-13T21:25:52.795824Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0201108455657959, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_amount__True__0.db5fff0dcd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.797219Z", "completed_at": "2024-08-13T21:25:52.812780Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.814383Z", "completed_at": "2024-08-13T21:25:52.814393Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022350788116455078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_pool_id__True__0.e03ffa9a09", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.804464Z", "completed_at": "2024-08-13T21:25:52.815267Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.817734Z", "completed_at": "2024-08-13T21:25:52.817742Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023813724517822266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_amount.313b524117", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.808648Z", "completed_at": "2024-08-13T21:25:52.816488Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.822690Z", "completed_at": "2024-08-13T21:25:52.822700Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027598142623901367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_collateral_type.6ac8e6e2aa", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.818597Z", "completed_at": "2024-08-13T21:25:52.825768Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.828200Z", "completed_at": "2024-08-13T21:25:52.828208Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.014826536178588867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_distributor.7111e37b09", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.829050Z", "completed_at": "2024-08-13T21:25:52.839376Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.846932Z", "completed_at": "2024-08-13T21:25:52.846942Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02327752113342285, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_pool_id.7fd59c6d8c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.835247Z", "completed_at": "2024-08-13T21:25:52.846375Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.848664Z", "completed_at": "2024-08-13T21:25:52.848673Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02180647850036621, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_token_symbol.4bbde77781", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.839929Z", "completed_at": "2024-08-13T21:25:52.849522Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.855062Z", "completed_at": "2024-08-13T21:25:52.855072Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027629852294921875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_ts.e44412832a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.850830Z", "completed_at": "2024-08-13T21:25:52.857577Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.859942Z", "completed_at": "2024-08-13T21:25:52.859949Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.014457464218139648, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_prices_hourly_eth_mainnet", "compiled": true, "compiled_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_prices_eth_mainnet\"\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_prices_hourly_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.861398Z", "completed_at": "2024-08-13T21:25:52.872808Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.878686Z", "completed_at": "2024-08-13T21:25:52.878694Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022650957107543945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0.4a537a60cd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.865715Z", "completed_at": "2024-08-13T21:25:52.877518Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.879785Z", "completed_at": "2024-08-13T21:25:52.879794Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022978782653808594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_eth_mainnet_market_symbol.f1f5318f4a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.873341Z", "completed_at": "2024-08-13T21:25:52.884842Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.887036Z", "completed_at": "2024-08-13T21:25:52.887043Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02637195587158203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_eth_mainnet_price.fff835950c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.880699Z", "completed_at": "2024-08-13T21:25:52.887987Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.890452Z", "completed_at": "2024-08-13T21:25:52.890460Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01847052574157715, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_eth_mainnet_ts.4a1a2f8c2d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.899939Z", "completed_at": "2024-08-13T21:25:52.910231Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.912110Z", "completed_at": "2024-08-13T21:25:52.912119Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023076295852661133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_usd_amount__True__0.f5fad30aa3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.893778Z", "completed_at": "2024-08-13T21:25:52.910781Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.913052Z", "completed_at": "2024-08-13T21:25:52.913061Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024624109268188477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_snx_amount__True__0.ab215eff09", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.905799Z", "completed_at": "2024-08-13T21:25:52.913876Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.920373Z", "completed_at": "2024-08-13T21:25:52.920381Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02799248695373535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_snx_amount__True__0.378a6852a6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.914446Z", "completed_at": "2024-08-13T21:25:52.922588Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.925011Z", "completed_at": "2024-08-13T21:25:52.925019Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020192861557006836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_usd_amount__True__0.e3dd96895e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.926530Z", "completed_at": "2024-08-13T21:25:52.937467Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.944963Z", "completed_at": "2024-08-13T21:25:52.944972Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02373528480529785, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount.c44f071e87", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.930762Z", "completed_at": "2024-08-13T21:25:52.938018Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.945836Z", "completed_at": "2024-08-13T21:25:52.945844Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023940324783325195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount.f40974a9be", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.938594Z", "completed_at": "2024-08-13T21:25:52.951739Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.954350Z", "completed_at": "2024-08-13T21:25:52.954358Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.028573036193847656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_snx_amount.113325e30a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.946784Z", "completed_at": "2024-08-13T21:25:52.953774Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.956452Z", "completed_at": "2024-08-13T21:25:52.956460Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01974797248840332, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_ts.0b8a36c44c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.958568Z", "completed_at": "2024-08-13T21:25:52.969202Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.971648Z", "completed_at": "2024-08-13T21:25:52.971659Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01859307289123535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_usd_amount.21bc5d392b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.964107Z", "completed_at": "2024-08-13T21:25:52.971066Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.981435Z", "completed_at": "2024-08-13T21:25:52.981443Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02627730369567871, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_snx_amount__True__0.6d52afd421", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.976878Z", "completed_at": "2024-08-13T21:25:52.984735Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.987066Z", "completed_at": "2024-08-13T21:25:52.987077Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0186617374420166, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_snx_amount__True__0.40ea0d5e88", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.972524Z", "completed_at": "2024-08-13T21:25:52.985906Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:52.988519Z", "completed_at": "2024-08-13T21:25:52.988530Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02514481544494629, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_usd_amount__True__0.e3d3aff3f1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.989391Z", "completed_at": "2024-08-13T21:25:53.001474Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.003951Z", "completed_at": "2024-08-13T21:25:53.003962Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019953012466430664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_usd_amount__True__0.89592b2e7d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:52.996003Z", "completed_at": "2024-08-13T21:25:53.002763Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.005405Z", "completed_at": "2024-08-13T21:25:53.005416Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02018260955810547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount.806ce65de6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.006276Z", "completed_at": "2024-08-13T21:25:53.016279Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.018855Z", "completed_at": "2024-08-13T21:25:53.018863Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018108129501342773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount.6347fe374e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.011193Z", "completed_at": "2024-08-13T21:25:53.018319Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.020899Z", "completed_at": "2024-08-13T21:25:53.020907Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018857479095458984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_snx_amount.a856b40de9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.022450Z", "completed_at": "2024-08-13T21:25:53.033033Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.035391Z", "completed_at": "2024-08-13T21:25:53.035399Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018656015396118164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_ts.39dec90aa4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.026532Z", "completed_at": "2024-08-13T21:25:53.033641Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.036250Z", "completed_at": "2024-08-13T21:25:53.036260Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0186769962310791, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_usd_amount.4f119280f7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.037121Z", "completed_at": "2024-08-13T21:25:53.050379Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.052696Z", "completed_at": "2024-08-13T21:25:53.052703Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02123284339904785, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_snx_amount__True__0.40e1988439", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.043000Z", "completed_at": "2024-08-13T21:25:53.050910Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.053555Z", "completed_at": "2024-08-13T21:25:53.053565Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021260976791381836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_usd_amount__True__0.2fdc7f3ac4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.054417Z", "completed_at": "2024-08-13T21:25:53.064922Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.067372Z", "completed_at": "2024-08-13T21:25:53.067380Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01848006248474121, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_snx_amount__True__0.4dc1a7a815", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.058754Z", "completed_at": "2024-08-13T21:25:53.066104Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.068818Z", "completed_at": "2024-08-13T21:25:53.068826Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01919388771057129, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_usd_amount__True__0.b33cfd2e0e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.070939Z", "completed_at": "2024-08-13T21:25:53.081313Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.083753Z", "completed_at": "2024-08-13T21:25:53.083760Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018387794494628906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount.d9cc05c370", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.075767Z", "completed_at": "2024-08-13T21:25:53.082612Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.090298Z", "completed_at": "2024-08-13T21:25:53.090306Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02372431755065918, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount.4602f5b0ec", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.084608Z", "completed_at": "2024-08-13T21:25:53.096870Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.099452Z", "completed_at": "2024-08-13T21:25:53.099460Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019611835479736328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_snx_amount.ea18aa299d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.091219Z", "completed_at": "2024-08-13T21:25:53.098864Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.101453Z", "completed_at": "2024-08-13T21:25:53.101460Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020862340927124023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_ts.14a31d2a6b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.102961Z", "completed_at": "2024-08-13T21:25:53.113894Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.116223Z", "completed_at": "2024-08-13T21:25:53.116233Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018781185150146484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_usd_amount.226e5c84b2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.107136Z", "completed_at": "2024-08-13T21:25:53.114452Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.117115Z", "completed_at": "2024-08-13T21:25:53.117123Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01896977424621582, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_snx_amount__True__0.0a50a1b2a1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.122378Z", "completed_at": "2024-08-13T21:25:53.129756Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.132088Z", "completed_at": "2024-08-13T21:25:53.132099Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01897907257080078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_snx_amount__True__0.34d4d71a42", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.117984Z", "completed_at": "2024-08-13T21:25:53.130327Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.132966Z", "completed_at": "2024-08-13T21:25:53.132973Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020749807357788086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_usd_amount__True__0.897d810e27", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.139863Z", "completed_at": "2024-08-13T21:25:53.146916Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.149243Z", "completed_at": "2024-08-13T21:25:53.149253Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020191669464111328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount.3f13efe309", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.133818Z", "completed_at": "2024-08-13T21:25:53.147567Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.150112Z", "completed_at": "2024-08-13T21:25:53.150119Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021836519241333008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_usd_amount__True__0.153efe66c5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.150959Z", "completed_at": "2024-08-13T21:25:53.160754Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.163168Z", "completed_at": "2024-08-13T21:25:53.163176Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017656326293945312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount.d705144302", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.155082Z", "completed_at": "2024-08-13T21:25:53.161960Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.164595Z", "completed_at": "2024-08-13T21:25:53.164602Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01833486557006836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_snx_amount.8e18aeb895", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.166673Z", "completed_at": "2024-08-13T21:25:53.177147Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.179504Z", "completed_at": "2024-08-13T21:25:53.179512Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018250226974487305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_ts.712dc7c106", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.171579Z", "completed_at": "2024-08-13T21:25:53.178347Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.186239Z", "completed_at": "2024-08-13T21:25:53.186249Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023827075958251953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_usd_amount.cbc2a221fa", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.180368Z", "completed_at": "2024-08-13T21:25:53.193058Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.195589Z", "completed_at": "2024-08-13T21:25:53.195597Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020020246505737305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id__True__0.24b97cc6ba", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.187137Z", "completed_at": "2024-08-13T21:25:53.194984Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.197608Z", "completed_at": "2024-08-13T21:25:53.197618Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02121424674987793, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_collateral_type.5b444b3e9d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.199155Z", "completed_at": "2024-08-13T21:25:53.210043Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.212359Z", "completed_at": "2024-08-13T21:25:53.212369Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01871347427368164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_hourly_issuance.dcbdd9b577", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.203531Z", "completed_at": "2024-08-13T21:25:53.210604Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.213243Z", "completed_at": "2024-08-13T21:25:53.213251Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01896047592163086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id.ad0bc3744f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.214095Z", "completed_at": "2024-08-13T21:25:53.225026Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.227374Z", "completed_at": "2024-08-13T21:25:53.227384Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01902461051940918, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts.9170e8931e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.218196Z", "completed_at": "2024-08-13T21:25:53.225586Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.228243Z", "completed_at": "2024-08-13T21:25:53.228250Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019003629684448242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id__True__0.1156081282", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.229662Z", "completed_at": "2024-08-13T21:25:53.242826Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.245257Z", "completed_at": "2024-08-13T21:25:53.245266Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02104473114013672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_collateral_type.56203ac00f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.236870Z", "completed_at": "2024-08-13T21:25:53.244107Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.250203Z", "completed_at": "2024-08-13T21:25:53.250212Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02417755126953125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_hourly_issuance.24747bdf20", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.246106Z", "completed_at": "2024-08-13T21:25:53.257068Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.259597Z", "completed_at": "2024-08-13T21:25:53.259605Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018217802047729492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id.cf6825af38", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.251280Z", "completed_at": "2024-08-13T21:25:53.258412Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.261049Z", "completed_at": "2024-08-13T21:25:53.261057Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018951416015625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts.1cc52a2fae", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.263166Z", "completed_at": "2024-08-13T21:25:53.273987Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.276299Z", "completed_at": "2024-08-13T21:25:53.276309Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018649816513061523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_base_mainnet_pool_id__True__0.82c0a98d47", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.268367Z", "completed_at": "2024-08-13T21:25:53.274606Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.277167Z", "completed_at": "2024-08-13T21:25:53.277174Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01831841468811035, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type.21efec6e56", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.278001Z", "completed_at": "2024-08-13T21:25:53.289500Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.291911Z", "completed_at": "2024-08-13T21:25:53.291919Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019509315490722656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance.1bde70000d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.283792Z", "completed_at": "2024-08-13T21:25:53.290739Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.293342Z", "completed_at": "2024-08-13T21:25:53.293349Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020207881927490234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_pool_id.03eddab767", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.295415Z", "completed_at": "2024-08-13T21:25:53.306091Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.308489Z", "completed_at": "2024-08-13T21:25:53.308497Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018505334854125977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_ts.af3f6a895d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.300205Z", "completed_at": "2024-08-13T21:25:53.307389Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.313494Z", "completed_at": "2024-08-13T21:25:53.313504Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022329092025756836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_base_sepolia_pool_id__True__0.9d327cf662", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.309355Z", "completed_at": "2024-08-13T21:25:53.320446Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.322825Z", "completed_at": "2024-08-13T21:25:53.322833Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01835036277770996, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type.1a6b56fdf4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.314555Z", "completed_at": "2024-08-13T21:25:53.321650Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.324301Z", "completed_at": "2024-08-13T21:25:53.324309Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019074201583862305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance.938e34bef0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.326323Z", "completed_at": "2024-08-13T21:25:53.338250Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.340668Z", "completed_at": "2024-08-13T21:25:53.340675Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019726276397705078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_pool_id.10ae437d68", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.332733Z", "completed_at": "2024-08-13T21:25:53.339579Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.345953Z", "completed_at": "2024-08-13T21:25:53.345963Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023868560791015625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_ts.27f6b37554", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.341525Z", "completed_at": "2024-08-13T21:25:53.352867Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.355415Z", "completed_at": "2024-08-13T21:25:53.355423Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01867842674255371, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated__True__0.2c5355cf5c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.346952Z", "completed_at": "2024-08-13T21:25:53.354831Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.357431Z", "completed_at": "2024-08-13T21:25:53.357440Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019834280014038086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_pool_id__True__0.a0670cc5c1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.359036Z", "completed_at": "2024-08-13T21:25:53.370404Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.377889Z", "completed_at": "2024-08-13T21:25:53.377900Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02445697784423828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_collateral_type.e0ef271f9a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.363276Z", "completed_at": "2024-08-13T21:25:53.371030Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.378779Z", "completed_at": "2024-08-13T21:25:53.378787Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024707794189453125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated.99b91b00b5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.372189Z", "completed_at": "2024-08-13T21:25:53.384817Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.386854Z", "completed_at": "2024-08-13T21:25:53.386864Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018652677536010742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_pool_id.55def21e95", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.379702Z", "completed_at": "2024-08-13T21:25:53.387720Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.390112Z", "completed_at": "2024-08-13T21:25:53.390119Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02104043960571289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_ts.a201c86ec0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.391607Z", "completed_at": "2024-08-13T21:25:53.402318Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.408515Z", "completed_at": "2024-08-13T21:25:53.408523Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022458791732788086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_eth_mainnet_pool_id__True__0.2f6d1cabb6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.397383Z", "completed_at": "2024-08-13T21:25:53.407859Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.410085Z", "completed_at": "2024-08-13T21:25:53.410094Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021903038024902344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type.04853a2f55", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.403641Z", "completed_at": "2024-08-13T21:25:53.411011Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.417222Z", "completed_at": "2024-08-13T21:25:53.417230Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021266937255859375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance.3ee79944a3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.412256Z", "completed_at": "2024-08-13T21:25:53.419499Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.421848Z", "completed_at": "2024-08-13T21:25:53.421858Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01906108856201172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id.0bd0e6635e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.429017Z", "completed_at": "2024-08-13T21:25:53.440052Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.441907Z", "completed_at": "2024-08-13T21:25:53.441917Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023213624954223633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_amount_liquidated__True__0.51c2fa3b3f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.423347Z", "completed_at": "2024-08-13T21:25:53.440625Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.443374Z", "completed_at": "2024-08-13T21:25:53.443382Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025372028350830078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_ts.d84f234266", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.435736Z", "completed_at": "2024-08-13T21:25:53.442781Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.449385Z", "completed_at": "2024-08-13T21:25:53.449393Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02678990364074707, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_market_id__True__0.149bc69560", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.444233Z", "completed_at": "2024-08-13T21:25:53.451700Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.454094Z", "completed_at": "2024-08-13T21:25:53.454104Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019231796264648438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_position_size__True__0.a626e988d4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.456171Z", "completed_at": "2024-08-13T21:25:53.466595Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.474115Z", "completed_at": "2024-08-13T21:25:53.474123Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023224353790283203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_account_id.f3ec9ddba7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.461606Z", "completed_at": "2024-08-13T21:25:53.473531Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.479256Z", "completed_at": "2024-08-13T21:25:53.479268Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026468753814697266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_amount_liquidated.893ef59124", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.467172Z", "completed_at": "2024-08-13T21:25:53.480275Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.482871Z", "completed_at": "2024-08-13T21:25:53.482878Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028027772903442383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_block_number.da16c5c256", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.475119Z", "completed_at": "2024-08-13T21:25:53.482317Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.485002Z", "completed_at": "2024-08-13T21:25:53.485011Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01929187774658203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_id.4311fef5a1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.493173Z", "completed_at": "2024-08-13T21:25:53.499469Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.508832Z", "completed_at": "2024-08-13T21:25:53.508843Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02457118034362793, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_market_symbol.a84ac24b5f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.489037Z", "completed_at": "2024-08-13T21:25:53.500052Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.509910Z", "completed_at": "2024-08-13T21:25:53.509919Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02623891830444336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_market_id.7f965252ed", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.504747Z", "completed_at": "2024-08-13T21:25:53.511084Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.513546Z", "completed_at": "2024-08-13T21:25:53.513553Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01640152931213379, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_transaction_hash.d54f66674c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.500624Z", "completed_at": "2024-08-13T21:25:53.512260Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.515013Z", "completed_at": "2024-08-13T21:25:53.515021Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026726961135864258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_position_size.dcfe3d8623", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.519584Z", "completed_at": "2024-08-13T21:25:53.531725Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.541079Z", "completed_at": "2024-08-13T21:25:53.541087Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026774883270263672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_ts.2dc7a4a976", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.526126Z", "completed_at": "2024-08-13T21:25:53.540482Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.542299Z", "completed_at": "2024-08-13T21:25:53.542308Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02651810646057129, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_perp_liq_position_base_mainnet_id.f46ba34fa7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.532314Z", "completed_at": "2024-08-13T21:25:53.543144Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.545655Z", "completed_at": "2024-08-13T21:25:53.545664Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026827573776245117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_prices_base_mainnet", "compiled": true, "compiled_code": "WITH all_prices AS (\n SELECT\n ts,\n NULL AS market_address,\n market_symbol,\n price\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\n UNION ALL\n SELECT\n ts,\n NULL AS market_address,\n 'SNX' AS market_symbol,\n snx_price AS price\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\n WHERE\n snx_price > 0\n UNION ALL\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"base_mainnet_tokens\"\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_prices_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.536246Z", "completed_at": "2024-08-13T21:25:53.543718Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.546521Z", "completed_at": "2024-08-13T21:25:53.546528Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021303892135620117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_market_id__True__0.c7e76b30aa", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.556736Z", "completed_at": "2024-08-13T21:25:53.572256Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.574843Z", "completed_at": "2024-08-13T21:25:53.574854Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026927471160888672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_rate.904532dfcd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.552622Z", "completed_at": "2024-08-13T21:25:53.572879Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.575782Z", "completed_at": "2024-08-13T21:25:53.575789Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.028473377227783203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_block_number.485f73c767", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.562397Z", "completed_at": "2024-08-13T21:25:53.573719Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.576633Z", "completed_at": "2024-08-13T21:25:53.576643Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025341033935546875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_rate_apr.50943753dc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.568240Z", "completed_at": "2024-08-13T21:25:53.574281Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.577512Z", "completed_at": "2024-08-13T21:25:53.577520Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025599002838134766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_velocity.0bd6fa06fa", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.589981Z", "completed_at": "2024-08-13T21:25:53.603120Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.604992Z", "completed_at": "2024-08-13T21:25:53.605004Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02341938018798828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_interest_rate.2c5e879eef", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.585819Z", "completed_at": "2024-08-13T21:25:53.603767Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.606460Z", "completed_at": "2024-08-13T21:25:53.606468Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02547931671142578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_id.c9dbfad377", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.594070Z", "completed_at": "2024-08-13T21:25:53.604381Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.607338Z", "completed_at": "2024-08-13T21:25:53.607346Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02513909339904785, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_long_rate_apr.785d324d07", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.598374Z", "completed_at": "2024-08-13T21:25:53.605928Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.608913Z", "completed_at": "2024-08-13T21:25:53.608921Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02607583999633789, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_id.cab90009a8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.615923Z", "completed_at": "2024-08-13T21:25:53.634988Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.637866Z", "completed_at": "2024-08-13T21:25:53.637875Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02691197395324707, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_symbol.c60910b39a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.626602Z", "completed_at": "2024-08-13T21:25:53.636101Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.638741Z", "completed_at": "2024-08-13T21:25:53.638749Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02587151527404785, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_short_rate_apr.a2f2135476", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.622518Z", "completed_at": "2024-08-13T21:25:53.636803Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.639649Z", "completed_at": "2024-08-13T21:25:53.639656Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027371644973754883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_price.acf046de31", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.630876Z", "completed_at": "2024-08-13T21:25:53.637335Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.640501Z", "completed_at": "2024-08-13T21:25:53.640509Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02642965316772461, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size.3bbf16be92", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.648811Z", "completed_at": "2024-08-13T21:25:53.667332Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.668847Z", "completed_at": "2024-08-13T21:25:53.668855Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024895191192626953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size_delta.c2cfd7a96f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.652898Z", "completed_at": "2024-08-13T21:25:53.668073Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.670893Z", "completed_at": "2024-08-13T21:25:53.670901Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02633213996887207, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size_usd.bc3090b261", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect size_usd\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere size_usd is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.663010Z", "completed_at": "2024-08-13T21:25:53.669785Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.672501Z", "completed_at": "2024-08-13T21:25:53.672508Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02665567398071289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_transaction_hash.d53db511d0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.657166Z", "completed_at": "2024-08-13T21:25:53.670360Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.673344Z", "completed_at": "2024-08-13T21:25:53.673351Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02814340591430664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_skew.a4d473f3fc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.679869Z", "completed_at": "2024-08-13T21:25:53.693870Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.698932Z", "completed_at": "2024-08-13T21:25:53.698945Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024198293685913086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_ts.d5f4e338d6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.689375Z", "completed_at": "2024-08-13T21:25:53.699911Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.702478Z", "completed_at": "2024-08-13T21:25:53.702488Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02456378936767578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_base_mainnet_market_id__True__0.2d585533fc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.685273Z", "completed_at": "2024-08-13T21:25:53.700542Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.703379Z", "completed_at": "2024-08-13T21:25:53.703386Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026633024215698242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_perp_market_history_base_mainnet_id.8b11f687f0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.694497Z", "completed_at": "2024-08-13T21:25:53.701908Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.704838Z", "completed_at": "2024-08-13T21:25:53.704845Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02629828453063965, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_orders_base_mainnet_account_id.08880589a0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.709531Z", "completed_at": "2024-08-13T21:25:53.717915Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.730833Z", "completed_at": "2024-08-13T21:25:53.730841Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026723861694335938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_orders_base_mainnet_block_number.3be9f0b718", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.718476Z", "completed_at": "2024-08-13T21:25:53.732838Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.735306Z", "completed_at": "2024-08-13T21:25:53.735314Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027089834213256836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_orders_base_mainnet_contract.6a5b003b92", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.722548Z", "completed_at": "2024-08-13T21:25:53.734167Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.736730Z", "completed_at": "2024-08-13T21:25:53.736737Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027895212173461914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_orders_base_mainnet_id.2c415fb4fb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.726630Z", "completed_at": "2024-08-13T21:25:53.734698Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.737585Z", "completed_at": "2024-08-13T21:25:53.737592Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022265911102294922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_orders_base_mainnet_market_id.5b936d3011", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.739162Z", "completed_at": "2024-08-13T21:25:53.746794Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.749110Z", "completed_at": "2024-08-13T21:25:53.749118Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01569533348083496, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_orders_base_mainnet_market_symbol.554f14b42b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.754138Z", "completed_at": "2024-08-13T21:25:53.765100Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.767009Z", "completed_at": "2024-08-13T21:25:53.767019Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021602869033813477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_orders_base_mainnet_ts.a61957fc22", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.749979Z", "completed_at": "2024-08-13T21:25:53.765776Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.768432Z", "completed_at": "2024-08-13T21:25:53.768440Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023704051971435547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_orders_base_mainnet_transaction_hash.71d76cac79", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.759839Z", "completed_at": "2024-08-13T21:25:53.767857Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.770537Z", "completed_at": "2024-08-13T21:25:53.770545Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02446436882019043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_perp_orders_base_mainnet_id.1b8b85dac5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.772144Z", "completed_at": "2024-08-13T21:25:53.779182Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.784067Z", "completed_at": "2024-08-13T21:25:53.784077Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.017867326736450195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_account_stats_hourly_base_mainnet", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n ts,\n account_id,\n total_fees,\n notional_trade_size,\n 1 AS trades,\n SUM(\n total_fees\n ) over (\n PARTITION BY account_id\n ORDER BY\n ts\n ) AS cumulative_fees,\n SUM(\n notional_trade_size\n ) over (\n PARTITION BY account_id\n ORDER BY\n ts\n ) AS cumulative_volume\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n),\nliq AS (\n SELECT\n ts,\n account_id,\n amount_liquidated,\n 1 AS liquidations\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\n),\ninc_trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n account_id,\n SUM(trades) AS trades,\n SUM(total_fees) AS fees,\n SUM(notional_trade_size) AS volume,\n MAX(cumulative_fees) AS cumulative_fees,\n MAX(cumulative_volume) AS cumulative_volume\n FROM\n trades\n GROUP BY\n 1,\n 2\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n account_id,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n liq\n GROUP BY\n 1,\n 2\n),\ninc AS (\n SELECT\n h.ts,\n h.account_id,\n COALESCE(\n h.trades,\n 0\n ) AS trades,\n COALESCE(\n h.fees,\n 0\n ) AS fees,\n COALESCE(\n h.volume,\n 0\n ) AS volume,\n COALESCE(\n l.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n l.liquidations,\n 0\n ) AS liquidations,\n COALESCE(\n h.cumulative_fees,\n 0\n ) AS cumulative_fees,\n COALESCE(\n h.cumulative_volume,\n 0\n ) AS cumulative_volume\n FROM\n inc_trades h\n LEFT JOIN inc_liq l\n ON h.ts = l.ts\n AND h.account_id = l.account_id\n)\nSELECT\n *\nFROM\n inc", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_account_stats_hourly_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.780312Z", "completed_at": "2024-08-13T21:25:53.792891Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.795810Z", "completed_at": "2024-08-13T21:25:53.795820Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02030038833618164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n settler,\n settlement_reward,\n notional_trade_size,\n 1 AS trades\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_reward) AS settlement_reward_total,\n SUM(notional_trade_size) AS notional_trade_size_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n settler AS keeper,\n SUM(trades) AS trades,\n SUM(settlement_reward) AS settlement_rewards,\n SUM(notional_trade_size) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_reward) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(notional_trade_size) / MAX(notional_trade_size_total) AS amount_settled_pct\nFROM\n trades\n JOIN total\n ON trades.ts = total.ts\nGROUP BY\n 1,\n 2", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_keeper_stats_hourly_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.785000Z", "completed_at": "2024-08-13T21:25:53.793900Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.796687Z", "completed_at": "2024-08-13T21:25:53.796694Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019594907760620117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_market_stats_hourly_base_mainnet", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n ts,\n market_symbol,\n exchange_fees,\n referral_fees,\n collected_fees,\n notional_trade_size,\n 1 AS trades\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n),\nliq AS (\n SELECT\n ts,\n market_symbol,\n amount_liquidated,\n 1 AS liquidations\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\n),\ninc_trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(notional_trade_size) AS volume\n FROM\n trades\n GROUP BY\n 1,\n 2\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n liq\n GROUP BY\n 1,\n 2\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n trades\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n trades\n ) AS m\n GROUP BY\n m.market_symbol\n),\ninc AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n COALESCE(\n h.trades,\n 0\n ) AS trades,\n COALESCE(\n h.exchange_fees,\n 0\n ) AS exchange_fees,\n COALESCE(\n h.referral_fees,\n 0\n ) AS referral_fees,\n COALESCE(\n h.collected_fees,\n 0\n ) AS collected_fees,\n COALESCE(\n h.volume,\n 0\n ) AS volume,\n COALESCE(\n l.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n l.liquidations,\n 0\n ) AS liquidations,\n SUM(\n h.exchange_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_exchange_fees,\n SUM(\n h.referral_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_referral_fees,\n SUM(\n h.collected_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_collected_fees,\n SUM(\n h.volume\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_volume\n FROM\n dim\n LEFT JOIN inc_trades h\n ON dim.ts = h.ts\n AND dim.market_symbol = h.market_symbol\n LEFT JOIN inc_liq l\n ON dim.ts = l.ts\n AND dim.market_symbol = l.market_symbol\n)\nSELECT\n *\nFROM\n inc", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_market_stats_hourly_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.788723Z", "completed_at": "2024-08-13T21:25:53.795254Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.798103Z", "completed_at": "2024-08-13T21:25:53.798111Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019685983657836914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(notional_trade_size) AS volume,\n SUM(1) AS trades\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n GROUP BY\n 1,\n 2\n),\naccounts AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n COUNT(\n DISTINCT account_id\n ) AS accounts\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n GROUP BY\n 1,\n 2\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(referral_fees) AS referral_fees_total,\n SUM(collected_fees) AS collected_fees_total,\n SUM(volume) AS volume_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n trades.tracking_code,\n trades.exchange_fees,\n trades.referral_fees,\n trades.collected_fees,\n trades.volume,\n trades.trades,\n accounts.accounts,\n CASE\n WHEN total.exchange_fees_total = 0 THEN 0\n ELSE trades.exchange_fees / total.exchange_fees_total\n END AS exchange_fees_share,\n CASE\n WHEN total.referral_fees_total = 0 THEN 0\n ELSE trades.referral_fees / total.referral_fees_total\n END AS referral_fees_share,\n CASE\n WHEN total.collected_fees_total = 0 THEN 0\n ELSE trades.collected_fees / total.collected_fees_total\n END AS collected_fees_share,\n CASE\n WHEN total.volume_total = 0 THEN 0\n ELSE trades.volume / total.volume_total\n END AS volume_share,\n CASE\n WHEN total.trades_total = 0 THEN 0\n ELSE trades.trades / total.trades_total\n END AS trades_share\nFROM\n trades\n JOIN accounts\n ON trades.ts = accounts.ts\n AND trades.tracking_code = accounts.tracking_code\n JOIN total\n ON trades.ts = total.ts", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_tracking_stats_hourly_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.800472Z", "completed_at": "2024-08-13T21:25:53.807902Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.810117Z", "completed_at": "2024-08-13T21:25:53.810126Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.015657424926757812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_collected_fees__True__0.cec844302b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.817393Z", "completed_at": "2024-08-13T21:25:53.827833Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.830186Z", "completed_at": "2024-08-13T21:25:53.830195Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02378225326538086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_fill_price__True__0.3edbbda7ae", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.810981Z", "completed_at": "2024-08-13T21:25:53.828413Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.831049Z", "completed_at": "2024-08-13T21:25:53.831056Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025312185287475586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_exchange_fees__True__0.43ef826334", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.821921Z", "completed_at": "2024-08-13T21:25:53.829651Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.832517Z", "completed_at": "2024-08-13T21:25:53.832524Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02534937858581543, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_lp_fees__True__0.67c14ce54a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.834732Z", "completed_at": "2024-08-13T21:25:53.842411Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.848529Z", "completed_at": "2024-08-13T21:25:53.848539Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0196688175201416, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_market_id__True__0.585f613862", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.844188Z", "completed_at": "2024-08-13T21:25:53.860992Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.863515Z", "completed_at": "2024-08-13T21:25:53.863524Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023761510848999023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_referral_fees__True__0.09a87481d6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.849604Z", "completed_at": "2024-08-13T21:25:53.861651Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.864413Z", "completed_at": "2024-08-13T21:25:53.864423Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02403569221496582, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_settlement_reward__True__0.56c953ccdc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.853946Z", "completed_at": "2024-08-13T21:25:53.862898Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.865843Z", "completed_at": "2024-08-13T21:25:53.865853Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02476024627685547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_total_fees__True__0.37a3c34f6a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.868075Z", "completed_at": "2024-08-13T21:25:53.875811Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.881914Z", "completed_at": "2024-08-13T21:25:53.881927Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019793033599853516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_account_id.8a94516fd9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.877583Z", "completed_at": "2024-08-13T21:25:53.892467Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.895235Z", "completed_at": "2024-08-13T21:25:53.895245Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02218317985534668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_accrued_funding.f6a962643b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.882965Z", "completed_at": "2024-08-13T21:25:53.893999Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.896720Z", "completed_at": "2024-08-13T21:25:53.896727Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02295517921447754, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_block_number.474b7643d0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.887333Z", "completed_at": "2024-08-13T21:25:53.894604Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.897568Z", "completed_at": "2024-08-13T21:25:53.897575Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023084163665771484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_collected_fees.1888a67b67", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.899113Z", "completed_at": "2024-08-13T21:25:53.906699Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.908986Z", "completed_at": "2024-08-13T21:25:53.908994Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.015738487243652344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_contract.8897e47e7e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.909851Z", "completed_at": "2024-08-13T21:25:53.925307Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.927224Z", "completed_at": "2024-08-13T21:25:53.927235Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022604703903198242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_exchange_fees.5a4c21716f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.916136Z", "completed_at": "2024-08-13T21:25:53.925992Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.928641Z", "completed_at": "2024-08-13T21:25:53.928649Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023304224014282227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_fill_price.e731328206", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.920169Z", "completed_at": "2024-08-13T21:25:53.928055Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.930743Z", "completed_at": "2024-08-13T21:25:53.930751Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0247650146484375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_id.35375a8491", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.932313Z", "completed_at": "2024-08-13T21:25:53.939619Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.945574Z", "completed_at": "2024-08-13T21:25:53.945583Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019171476364135742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_lp_fees.1da0034ac9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.940755Z", "completed_at": "2024-08-13T21:25:53.957258Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.958819Z", "completed_at": "2024-08-13T21:25:53.958827Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022547245025634766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_market_id.6ea4246016", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.946464Z", "completed_at": "2024-08-13T21:25:53.959700Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.962099Z", "completed_at": "2024-08-13T21:25:53.962107Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02450704574584961, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_market_symbol.e75d95d12c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.950714Z", "completed_at": "2024-08-13T21:25:53.960320Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.962985Z", "completed_at": "2024-08-13T21:25:53.962996Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02409672737121582, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_notional_position_size.549d1d1b0b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.963893Z", "completed_at": "2024-08-13T21:25:53.970608Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.976595Z", "completed_at": "2024-08-13T21:25:53.976604Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01859593391418457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_notional_trade_size.25efead997", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.972437Z", "completed_at": "2024-08-13T21:25:53.979566Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.989029Z", "completed_at": "2024-08-13T21:25:53.989040Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021193265914916992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_pnl.e87ee65983", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.980158Z", "completed_at": "2024-08-13T21:25:53.990806Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.996778Z", "completed_at": "2024-08-13T21:25:53.996786Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025679826736450195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_position_size.a687f5c9e4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.984233Z", "completed_at": "2024-08-13T21:25:53.991408Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:53.997878Z", "completed_at": "2024-08-13T21:25:53.997886Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026153087615966797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_referral_fees.8c5c0f55a4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:53.992647Z", "completed_at": "2024-08-13T21:25:54.000130Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.002603Z", "completed_at": "2024-08-13T21:25:54.002613Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.014313220977783203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_settlement_reward.c472f75c36", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.004117Z", "completed_at": "2024-08-13T21:25:54.015964Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.021426Z", "completed_at": "2024-08-13T21:25:54.021437Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02281355857849121, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_settler.cebd15f3ad", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.011846Z", "completed_at": "2024-08-13T21:25:54.022385Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.024387Z", "completed_at": "2024-08-13T21:25:54.024395Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022489309310913086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_total_fees.73178c801b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.017171Z", "completed_at": "2024-08-13T21:25:54.025205Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.031417Z", "completed_at": "2024-08-13T21:25:54.031428Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02802586555480957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_tracking_code.3b557b440d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.025799Z", "completed_at": "2024-08-13T21:25:54.033001Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.038969Z", "completed_at": "2024-08-13T21:25:54.038979Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022605419158935547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_trade_size.2a003017e9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.034812Z", "completed_at": "2024-08-13T21:25:54.046136Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.048114Z", "completed_at": "2024-08-13T21:25:54.048123Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0183260440826416, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_transaction_hash.b1e9287d28", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.042056Z", "completed_at": "2024-08-13T21:25:54.054677Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.056727Z", "completed_at": "2024-08-13T21:25:54.056735Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02330327033996582, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_ts.e5e75d9d71", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.049030Z", "completed_at": "2024-08-13T21:25:54.057538Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.063980Z", "completed_at": "2024-08-13T21:25:54.063991Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023470640182495117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_perp_trades_base_mainnet_id.b1b63119eb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.058119Z", "completed_at": "2024-08-13T21:25:54.066142Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.072483Z", "completed_at": "2024-08-13T21:25:54.072494Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025212526321411133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_amount_liquidated__True__0.2ed4eec011", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.067476Z", "completed_at": "2024-08-13T21:25:54.078540Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.080512Z", "completed_at": "2024-08-13T21:25:54.080521Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018095016479492188, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_market_id__True__0.def98e4452", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.074095Z", "completed_at": "2024-08-13T21:25:54.082028Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.088533Z", "completed_at": "2024-08-13T21:25:54.088541Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023073673248291016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_position_size__True__0.49ac413695", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.082604Z", "completed_at": "2024-08-13T21:25:54.090128Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.096415Z", "completed_at": "2024-08-13T21:25:54.096426Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023165464401245117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_account_id.8cf46dc9c7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.090713Z", "completed_at": "2024-08-13T21:25:54.098048Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.106159Z", "completed_at": "2024-08-13T21:25:54.106168Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024844884872436523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_amount_liquidated.a06e8cfcb4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.098614Z", "completed_at": "2024-08-13T21:25:54.111955Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.113924Z", "completed_at": "2024-08-13T21:25:54.113933Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024526596069335938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_block_number.1e9c90b546", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.107802Z", "completed_at": "2024-08-13T21:25:54.115462Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.121403Z", "completed_at": "2024-08-13T21:25:54.121411Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024073123931884766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_id.79b565b3e1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.116035Z", "completed_at": "2024-08-13T21:25:54.127218Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.129432Z", "completed_at": "2024-08-13T21:25:54.129440Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022398948669433594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_market_id.781f0844d8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.123046Z", "completed_at": "2024-08-13T21:25:54.130318Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.136491Z", "completed_at": "2024-08-13T21:25:54.136499Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02176642417907715, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_market_symbol.f750183220", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.131530Z", "completed_at": "2024-08-13T21:25:54.139312Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.145292Z", "completed_at": "2024-08-13T21:25:54.145302Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023038864135742188, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_position_size.75bf8c09a0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.139948Z", "completed_at": "2024-08-13T21:25:54.153236Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.159442Z", "completed_at": "2024-08-13T21:25:54.159450Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02866339683532715, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_transaction_hash.a0777a2fcc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.146251Z", "completed_at": "2024-08-13T21:25:54.158031Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.160415Z", "completed_at": "2024-08-13T21:25:54.160424Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02246880531311035, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_ts.57135ae312", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.153956Z", "completed_at": "2024-08-13T21:25:54.161280Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.163782Z", "completed_at": "2024-08-13T21:25:54.163790Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01922893524169922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_perp_liq_position_base_sepolia_id.115ce32bec", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.164657Z", "completed_at": "2024-08-13T21:25:54.172463Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.182304Z", "completed_at": "2024-08-13T21:25:54.182315Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023712158203125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_prices_base_sepolia", "compiled": true, "compiled_code": "WITH all_prices AS (\n SELECT\n ts,\n NULL AS market_address,\n market_symbol,\n price\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\n UNION ALL\n SELECT\n ts,\n NULL AS market_address,\n 'SNX' AS market_symbol,\n snx_price AS price\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\n WHERE\n snx_price > 0\n UNION ALL\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"base_sepolia_tokens\"\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_prices_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.173043Z", "completed_at": "2024-08-13T21:25:54.187647Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.189747Z", "completed_at": "2024-08-13T21:25:54.189755Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021277666091918945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_market_id__True__0.ee983a3e48", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.177432Z", "completed_at": "2024-08-13T21:25:54.188356Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.191440Z", "completed_at": "2024-08-13T21:25:54.191452Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022347211837768555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_block_number.2243d56672", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.183466Z", "completed_at": "2024-08-13T21:25:54.190855Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.193637Z", "completed_at": "2024-08-13T21:25:54.193646Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021904945373535156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_rate.8b0c11dd33", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.197772Z", "completed_at": "2024-08-13T21:25:54.210181Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.220039Z", "completed_at": "2024-08-13T21:25:54.220049Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027847766876220703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_rate_apr.d67d832c1f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.205431Z", "completed_at": "2024-08-13T21:25:54.219293Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.221233Z", "completed_at": "2024-08-13T21:25:54.221241Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025469064712524414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_velocity.e94823ecab", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.210784Z", "completed_at": "2024-08-13T21:25:54.222107Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.224689Z", "completed_at": "2024-08-13T21:25:54.224700Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027653217315673828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_id.5597cbd783", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.214987Z", "completed_at": "2024-08-13T21:25:54.223376Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.226182Z", "completed_at": "2024-08-13T21:25:54.226191Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022181987762451172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_interest_rate.7281d4e302", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.230829Z", "completed_at": "2024-08-13T21:25:54.241139Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.252124Z", "completed_at": "2024-08-13T21:25:54.252137Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02668905258178711, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_long_rate_apr.12346bb56d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.235659Z", "completed_at": "2024-08-13T21:25:54.247493Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.253143Z", "completed_at": "2024-08-13T21:25:54.253153Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026201486587524414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_id.bdbb4acce1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.241814Z", "completed_at": "2024-08-13T21:25:54.254068Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.256711Z", "completed_at": "2024-08-13T21:25:54.256720Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026608943939208984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_symbol.a5c87dfbbc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.248045Z", "completed_at": "2024-08-13T21:25:54.255391Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.258168Z", "completed_at": "2024-08-13T21:25:54.258178Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023328065872192383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_price.701866f2d6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.262753Z", "completed_at": "2024-08-13T21:25:54.277379Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.282887Z", "completed_at": "2024-08-13T21:25:54.282897Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025452852249145508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_short_rate_apr.8f7be1f404", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.267624Z", "completed_at": "2024-08-13T21:25:54.277999Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.284452Z", "completed_at": "2024-08-13T21:25:54.284462Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02553558349609375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size.4ba39d1f97", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.273284Z", "completed_at": "2024-08-13T21:25:54.283881Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.286683Z", "completed_at": "2024-08-13T21:25:54.286691Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024640321731567383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size_delta.a047554669", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.278651Z", "completed_at": "2024-08-13T21:25:54.286143Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.288857Z", "completed_at": "2024-08-13T21:25:54.288864Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022081851959228516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size_usd.38c4eef62e", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect size_usd\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere size_usd is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.293447Z", "completed_at": "2024-08-13T21:25:54.454786Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.460282Z", "completed_at": "2024-08-13T21:25:54.460294Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.17215490341186523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_skew.2239f848ce", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.445754Z", "completed_at": "2024-08-13T21:25:54.459630Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.461863Z", "completed_at": "2024-08-13T21:25:54.461871Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.17159819602966309, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_transaction_hash.692634d15d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.450776Z", "completed_at": "2024-08-13T21:25:54.461196Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.464058Z", "completed_at": "2024-08-13T21:25:54.464065Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.17189908027648926, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_ts.f38b043e70", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.455586Z", "completed_at": "2024-08-13T21:25:54.463506Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.466145Z", "completed_at": "2024-08-13T21:25:54.466152Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021851062774658203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_perp_market_history_base_sepolia_id.a6cd45bc6b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.470655Z", "completed_at": "2024-08-13T21:25:54.480985Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.491181Z", "completed_at": "2024-08-13T21:25:54.491195Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02577519416809082, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_base_sepolia_market_id__True__0.fe527d9b61", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.476326Z", "completed_at": "2024-08-13T21:25:54.492125Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.493639Z", "completed_at": "2024-08-13T21:25:54.493647Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026042938232421875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_orders_base_sepolia_account_id.75a8413527", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.486931Z", "completed_at": "2024-08-13T21:25:54.494469Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.497012Z", "completed_at": "2024-08-13T21:25:54.497020Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0221407413482666, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_orders_base_sepolia_contract.17d50e01a2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.481581Z", "completed_at": "2024-08-13T21:25:54.495769Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.498468Z", "completed_at": "2024-08-13T21:25:54.498475Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.029065370559692383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_orders_base_sepolia_block_number.46d5d3c316", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.500629Z", "completed_at": "2024-08-13T21:25:54.507416Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.513143Z", "completed_at": "2024-08-13T21:25:54.513150Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01806473731994629, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_orders_base_sepolia_id.8dca618afe", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.507976Z", "completed_at": "2024-08-13T21:25:54.523078Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.524751Z", "completed_at": "2024-08-13T21:25:54.524759Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025508642196655273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_orders_base_sepolia_market_id.9c18ced1ce", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.518810Z", "completed_at": "2024-08-13T21:25:54.526289Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.528653Z", "completed_at": "2024-08-13T21:25:54.528661Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02198004722595215, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_orders_base_sepolia_transaction_hash.650c93c367", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.514699Z", "completed_at": "2024-08-13T21:25:54.526814Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.529505Z", "completed_at": "2024-08-13T21:25:54.529514Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02356243133544922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_orders_base_sepolia_market_symbol.ccf5837d32", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.530951Z", "completed_at": "2024-08-13T21:25:54.539008Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.544822Z", "completed_at": "2024-08-13T21:25:54.544830Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019205808639526367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_orders_base_sepolia_ts.acaae19ba7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.540196Z", "completed_at": "2024-08-13T21:25:54.549802Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.554354Z", "completed_at": "2024-08-13T21:25:54.554368Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024140596389770508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_perp_orders_base_sepolia_id.55dad680ba", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.546304Z", "completed_at": "2024-08-13T21:25:54.555996Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.558497Z", "completed_at": "2024-08-13T21:25:54.558507Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02029728889465332, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_account_stats_hourly_base_sepolia", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n ts,\n account_id,\n total_fees,\n notional_trade_size,\n 1 AS trades,\n SUM(\n total_fees\n ) over (\n PARTITION BY account_id\n ORDER BY\n ts\n ) AS cumulative_fees,\n SUM(\n notional_trade_size\n ) over (\n PARTITION BY account_id\n ORDER BY\n ts\n ) AS cumulative_volume\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n),\nliq AS (\n SELECT\n ts,\n account_id,\n amount_liquidated,\n 1 AS liquidations\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\n),\ninc_trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n account_id,\n SUM(trades) AS trades,\n SUM(total_fees) AS fees,\n SUM(notional_trade_size) AS volume,\n MAX(cumulative_fees) AS cumulative_fees,\n MAX(cumulative_volume) AS cumulative_volume\n FROM\n trades\n GROUP BY\n 1,\n 2\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n account_id,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n liq\n GROUP BY\n 1,\n 2\n),\ninc AS (\n SELECT\n h.ts,\n h.account_id,\n COALESCE(\n h.trades,\n 0\n ) AS trades,\n COALESCE(\n h.fees,\n 0\n ) AS fees,\n COALESCE(\n h.volume,\n 0\n ) AS volume,\n COALESCE(\n l.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n l.liquidations,\n 0\n ) AS liquidations,\n COALESCE(\n h.cumulative_fees,\n 0\n ) AS cumulative_fees,\n COALESCE(\n h.cumulative_volume,\n 0\n ) AS cumulative_volume\n FROM\n inc_trades h\n LEFT JOIN inc_liq l\n ON h.ts = l.ts\n AND h.account_id = l.account_id\n)\nSELECT\n *\nFROM\n inc", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_account_stats_hourly_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.551295Z", "completed_at": "2024-08-13T21:25:54.557384Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.560096Z", "completed_at": "2024-08-13T21:25:54.560107Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02060675621032715, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n settler,\n settlement_reward,\n notional_trade_size,\n 1 AS trades\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_reward) AS settlement_reward_total,\n SUM(notional_trade_size) AS notional_trade_size_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n settler AS keeper,\n SUM(trades) AS trades,\n SUM(settlement_reward) AS settlement_rewards,\n SUM(notional_trade_size) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_reward) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(notional_trade_size) / MAX(notional_trade_size_total) AS amount_settled_pct\nFROM\n trades\n JOIN total\n ON trades.ts = total.ts\nGROUP BY\n 1,\n 2", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_keeper_stats_hourly_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.560958Z", "completed_at": "2024-08-13T21:25:54.567341Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.572625Z", "completed_at": "2024-08-13T21:25:54.572633Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017336368560791016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_market_stats_hourly_base_sepolia", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n ts,\n market_symbol,\n exchange_fees,\n referral_fees,\n collected_fees,\n notional_trade_size,\n 1 AS trades\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n),\nliq AS (\n SELECT\n ts,\n market_symbol,\n amount_liquidated,\n 1 AS liquidations\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\n),\ninc_trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(notional_trade_size) AS volume\n FROM\n trades\n GROUP BY\n 1,\n 2\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n liq\n GROUP BY\n 1,\n 2\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n trades\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n trades\n ) AS m\n GROUP BY\n m.market_symbol\n),\ninc AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n COALESCE(\n h.trades,\n 0\n ) AS trades,\n COALESCE(\n h.exchange_fees,\n 0\n ) AS exchange_fees,\n COALESCE(\n h.referral_fees,\n 0\n ) AS referral_fees,\n COALESCE(\n h.collected_fees,\n 0\n ) AS collected_fees,\n COALESCE(\n h.volume,\n 0\n ) AS volume,\n COALESCE(\n l.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n l.liquidations,\n 0\n ) AS liquidations,\n SUM(\n h.exchange_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_exchange_fees,\n SUM(\n h.referral_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_referral_fees,\n SUM(\n h.collected_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_collected_fees,\n SUM(\n h.volume\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_volume\n FROM\n dim\n LEFT JOIN inc_trades h\n ON dim.ts = h.ts\n AND dim.market_symbol = h.market_symbol\n LEFT JOIN inc_liq l\n ON dim.ts = l.ts\n AND dim.market_symbol = l.market_symbol\n)\nSELECT\n *\nFROM\n inc", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_market_stats_hourly_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.567902Z", "completed_at": "2024-08-13T21:25:54.574152Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.585821Z", "completed_at": "2024-08-13T21:25:54.585833Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02646613121032715, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_tracking_stats_hourly_base_sepolia", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(notional_trade_size) AS volume,\n SUM(1) AS trades\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n GROUP BY\n 1,\n 2\n),\naccounts AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n COUNT(\n DISTINCT account_id\n ) AS accounts\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n GROUP BY\n 1,\n 2\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(referral_fees) AS referral_fees_total,\n SUM(collected_fees) AS collected_fees_total,\n SUM(volume) AS volume_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n trades.tracking_code,\n trades.exchange_fees,\n trades.referral_fees,\n trades.collected_fees,\n trades.volume,\n trades.trades,\n accounts.accounts,\n CASE\n WHEN total.exchange_fees_total = 0 THEN 0\n ELSE trades.exchange_fees / total.exchange_fees_total\n END AS exchange_fees_share,\n CASE\n WHEN total.referral_fees_total = 0 THEN 0\n ELSE trades.referral_fees / total.referral_fees_total\n END AS referral_fees_share,\n CASE\n WHEN total.collected_fees_total = 0 THEN 0\n ELSE trades.collected_fees / total.collected_fees_total\n END AS collected_fees_share,\n CASE\n WHEN total.volume_total = 0 THEN 0\n ELSE trades.volume / total.volume_total\n END AS volume_share,\n CASE\n WHEN total.trades_total = 0 THEN 0\n ELSE trades.trades / total.trades_total\n END AS trades_share\nFROM\n trades\n JOIN accounts\n ON trades.ts = accounts.ts\n AND trades.tracking_code = accounts.tracking_code\n JOIN total\n ON trades.ts = total.ts", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_tracking_stats_hourly_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.574684Z", "completed_at": "2024-08-13T21:25:54.587513Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.590194Z", "completed_at": "2024-08-13T21:25:54.590202Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02364516258239746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_collected_fees__True__0.d4eb8f3a34", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.579933Z", "completed_at": "2024-08-13T21:25:54.589546Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.596159Z", "completed_at": "2024-08-13T21:25:54.596167Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024921894073486328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_exchange_fees__True__0.b3ce206dc8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.591828Z", "completed_at": "2024-08-13T21:25:54.599117Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.605461Z", "completed_at": "2024-08-13T21:25:54.605468Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01872992515563965, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_fill_price__True__0.b3d62542ac", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.600366Z", "completed_at": "2024-08-13T21:25:54.608299Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.618642Z", "completed_at": "2024-08-13T21:25:54.618652Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027533769607543945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_lp_fees__True__0.8a5e6825da", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.608909Z", "completed_at": "2024-08-13T21:25:54.620463Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.628022Z", "completed_at": "2024-08-13T21:25:54.628029Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02838921546936035, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_market_id__True__0.67a1e76900", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.613301Z", "completed_at": "2024-08-13T21:25:54.620995Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.628944Z", "completed_at": "2024-08-13T21:25:54.628955Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02428722381591797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_referral_fees__True__0.dc2313066f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.622274Z", "completed_at": "2024-08-13T21:25:54.631320Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.633718Z", "completed_at": "2024-08-13T21:25:54.633725Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015946626663208008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_settlement_reward__True__0.58cc15e824", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.635213Z", "completed_at": "2024-08-13T21:25:54.646305Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.651861Z", "completed_at": "2024-08-13T21:25:54.651873Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022136211395263672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_total_fees__True__0.68c3f148eb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.641626Z", "completed_at": "2024-08-13T21:25:54.652703Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.658833Z", "completed_at": "2024-08-13T21:25:54.658844Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02584552764892578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_account_id.74992c394c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.646899Z", "completed_at": "2024-08-13T21:25:54.658210Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.661035Z", "completed_at": "2024-08-13T21:25:54.661042Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02656245231628418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_accrued_funding.fb6b795bff", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.653374Z", "completed_at": "2024-08-13T21:25:54.660446Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.663136Z", "completed_at": "2024-08-13T21:25:54.663143Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017501354217529297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_block_number.36502e409b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.665253Z", "completed_at": "2024-08-13T21:25:54.672237Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.679559Z", "completed_at": "2024-08-13T21:25:54.679569Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019806385040283203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_collected_fees.ac78e5e098", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.673393Z", "completed_at": "2024-08-13T21:25:54.689451Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.691572Z", "completed_at": "2024-08-13T21:25:54.691581Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027030229568481445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_contract.92feeccb9f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.680442Z", "completed_at": "2024-08-13T21:25:54.690925Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.693596Z", "completed_at": "2024-08-13T21:25:54.693604Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023446321487426758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_exchange_fees.72c95e5df3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.684527Z", "completed_at": "2024-08-13T21:25:54.692442Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.695162Z", "completed_at": "2024-08-13T21:25:54.695170Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023652315139770508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_fill_price.3633433721", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.696023Z", "completed_at": "2024-08-13T21:25:54.702844Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.705190Z", "completed_at": "2024-08-13T21:25:54.705198Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.015011072158813477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_id.e94cf14cf4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.706037Z", "completed_at": "2024-08-13T21:25:54.721584Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.723726Z", "completed_at": "2024-08-13T21:25:54.723735Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023000478744506836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_lp_fees.08774e8672", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.710856Z", "completed_at": "2024-08-13T21:25:54.722958Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.725816Z", "completed_at": "2024-08-13T21:25:54.725825Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02368307113647461, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_market_id.3d4de88cac", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.715997Z", "completed_at": "2024-08-13T21:25:54.724554Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.727465Z", "completed_at": "2024-08-13T21:25:54.727472Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023546695709228516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_market_symbol.8c61ba2703", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.728318Z", "completed_at": "2024-08-13T21:25:54.735079Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.737420Z", "completed_at": "2024-08-13T21:25:54.737428Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.015244722366333008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_notional_position_size.1d9238ede6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.738272Z", "completed_at": "2024-08-13T21:25:54.752127Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.754189Z", "completed_at": "2024-08-13T21:25:54.754198Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021222352981567383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_notional_trade_size.e076755f6b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.743016Z", "completed_at": "2024-08-13T21:25:54.753462Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.756275Z", "completed_at": "2024-08-13T21:25:54.756283Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021918773651123047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_pnl.42b0678535", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.748003Z", "completed_at": "2024-08-13T21:25:54.755080Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.757787Z", "completed_at": "2024-08-13T21:25:54.757797Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02163386344909668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_position_size.d124874e35", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.758642Z", "completed_at": "2024-08-13T21:25:54.765504Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.767866Z", "completed_at": "2024-08-13T21:25:54.767874Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.015152454376220703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_referral_fees.12cd5804dd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.768710Z", "completed_at": "2024-08-13T21:25:54.783859Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.785981Z", "completed_at": "2024-08-13T21:25:54.785992Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022651195526123047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_settlement_reward.edb4d5c73f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.774862Z", "completed_at": "2024-08-13T21:25:54.785332Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.788038Z", "completed_at": "2024-08-13T21:25:54.788045Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023246049880981445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_settler.b1e9ff8b09", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.779741Z", "completed_at": "2024-08-13T21:25:54.786880Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.789548Z", "completed_at": "2024-08-13T21:25:54.789557Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022999048233032227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_total_fees.d6fd22951b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.790397Z", "completed_at": "2024-08-13T21:25:54.797896Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.804031Z", "completed_at": "2024-08-13T21:25:54.804045Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019536733627319336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_tracking_code.482af3b84b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.799697Z", "completed_at": "2024-08-13T21:25:54.810420Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.817588Z", "completed_at": "2024-08-13T21:25:54.817597Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02238917350769043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_trade_size.e5fc6afe64", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.805534Z", "completed_at": "2024-08-13T21:25:54.818418Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.820989Z", "completed_at": "2024-08-13T21:25:54.820999Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024377822875976562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_transaction_hash.4d4a1afa3d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.811066Z", "completed_at": "2024-08-13T21:25:54.820368Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.826606Z", "completed_at": "2024-08-13T21:25:54.826617Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028229236602783203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_ts.76a693976f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.821860Z", "completed_at": "2024-08-13T21:25:54.828866Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.835078Z", "completed_at": "2024-08-13T21:25:54.835113Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01834583282470703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_fct_perp_trades_base_sepolia_id.ceece98634", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.830711Z", "completed_at": "2024-08-13T21:25:54.837906Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.843841Z", "completed_at": "2024-08-13T21:25:54.843851Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01807427406311035, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_arbitrum_mainnet_synth_market_id__True__0.214f52024f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.839133Z", "completed_at": "2024-08-13T21:25:54.850536Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.856756Z", "completed_at": "2024-08-13T21:25:54.856767Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026801109313964844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_block_number.bf6d504d6f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.844830Z", "completed_at": "2024-08-13T21:25:54.856158Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.858412Z", "completed_at": "2024-08-13T21:25:54.858420Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022481918334960938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_supply.4f38308508", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.851317Z", "completed_at": "2024-08-13T21:25:54.859267Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.866811Z", "completed_at": "2024-08-13T21:25:54.866820Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02370142936706543, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id.9ef357e324", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.860507Z", "completed_at": "2024-08-13T21:25:54.869063Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.871463Z", "completed_at": "2024-08-13T21:25:54.871471Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.016117572784423828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_ts.3133817d65", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.877329Z", "completed_at": "2024-08-13T21:25:54.887853Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.889782Z", "completed_at": "2024-08-13T21:25:54.889793Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021425485610961914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_block_number.f392305688", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.872959Z", "completed_at": "2024-08-13T21:25:54.888528Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.891241Z", "completed_at": "2024-08-13T21:25:54.891248Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02357959747314453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_arbitrum_sepolia_synth_market_id__True__0.e33f94430c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.883783Z", "completed_at": "2024-08-13T21:25:54.890649Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.896856Z", "completed_at": "2024-08-13T21:25:54.896865Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02463817596435547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_supply.e3a1577f38", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.892088Z", "completed_at": "2024-08-13T21:25:54.899188Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.901650Z", "completed_at": "2024-08-13T21:25:54.901660Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018712520599365234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id.4a2d305755", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.903685Z", "completed_at": "2024-08-13T21:25:54.916030Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.922019Z", "completed_at": "2024-08-13T21:25:54.922028Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0236055850982666, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_ts.27dc7912ff", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.909121Z", "completed_at": "2024-08-13T21:25:54.921393Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.927653Z", "completed_at": "2024-08-13T21:25:54.927663Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027317285537719727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_base_mainnet_synth_market_id__True__0.cf8aff1a32", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.916575Z", "completed_at": "2024-08-13T21:25:54.927031Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.929325Z", "completed_at": "2024-08-13T21:25:54.929333Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026927471160888672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_synth_supply_base_mainnet_block_number.8686c78edf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.923028Z", "completed_at": "2024-08-13T21:25:54.930188Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.932748Z", "completed_at": "2024-08-13T21:25:54.932755Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.017522811889648438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_synth_supply_base_mainnet_supply.3f0fbdddb9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.936696Z", "completed_at": "2024-08-13T21:25:54.950434Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.953192Z", "completed_at": "2024-08-13T21:25:54.953201Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021849632263183594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_synth_supply_base_mainnet_synth_market_id.5a00a55aa2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.942168Z", "completed_at": "2024-08-13T21:25:54.952113Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.959876Z", "completed_at": "2024-08-13T21:25:54.959884Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02637505531311035, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_synth_supply_base_mainnet_ts.ab30396a5d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.946331Z", "completed_at": "2024-08-13T21:25:54.952644Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.960749Z", "completed_at": "2024-08-13T21:25:54.960760Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026092052459716797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_arbitrum_mainnet\"\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_hourly_arbitrum_mainnet\"\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.954055Z", "completed_at": "2024-08-13T21:25:54.963178Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.966064Z", "completed_at": "2024-08-13T21:25:54.966074Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02466869354248047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_arbitrum_mainnet_price__True__0.a6e6a0e3ce", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.969897Z", "completed_at": "2024-08-13T21:25:54.983769Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.989977Z", "completed_at": "2024-08-13T21:25:54.989986Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02558612823486328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol.b0ef15f205", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.974000Z", "completed_at": "2024-08-13T21:25:54.984359Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.990850Z", "completed_at": "2024-08-13T21:25:54.990861Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025534391403198242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_price.cc751acae1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.978793Z", "completed_at": "2024-08-13T21:25:54.989369Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.991865Z", "completed_at": "2024-08-13T21:25:54.991875Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025046586990356445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_ts.125ef9fa4d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:54.984993Z", "completed_at": "2024-08-13T21:25:54.992765Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:54.995368Z", "completed_at": "2024-08-13T21:25:54.995376Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.017318248748779297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_base_sepolia_synth_market_id__True__0.1c097f1721", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.001049Z", "completed_at": "2024-08-13T21:25:55.015831Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.021192Z", "completed_at": "2024-08-13T21:25:55.021205Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0251009464263916, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_synth_supply_base_sepolia_block_number.f0997efcd8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.005130Z", "completed_at": "2024-08-13T21:25:55.020529Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.022868Z", "completed_at": "2024-08-13T21:25:55.022875Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026123046875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_synth_supply_base_sepolia_supply.a13743a375", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.010625Z", "completed_at": "2024-08-13T21:25:55.022149Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.024997Z", "completed_at": "2024-08-13T21:25:55.025004Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027653217315673828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_synth_supply_base_sepolia_synth_market_id.75d7df8ce8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.016464Z", "completed_at": "2024-08-13T21:25:55.023735Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.026544Z", "completed_at": "2024-08-13T21:25:55.026551Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026201725006103516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_synth_supply_base_sepolia_ts.0e3cf0c2f2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.032412Z", "completed_at": "2024-08-13T21:25:55.053774Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.055899Z", "completed_at": "2024-08-13T21:25:55.055909Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02855205535888672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_arbitrum_sepolia\"\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_hourly_arbitrum_sepolia\"\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.037094Z", "completed_at": "2024-08-13T21:25:55.054397Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.056828Z", "completed_at": "2024-08-13T21:25:55.056836Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.028188705444335938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_arbitrum_sepolia_price__True__0.e322ab3e73", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.042317Z", "completed_at": "2024-08-13T21:25:55.055275Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.058188Z", "completed_at": "2024-08-13T21:25:55.058195Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027685880661010742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol.6b1d78c094", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.047650Z", "completed_at": "2024-08-13T21:25:55.057634Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.060738Z", "completed_at": "2024-08-13T21:25:55.060745Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.029034852981567383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_price.774a8eccfb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.071145Z", "completed_at": "2024-08-13T21:25:55.084602Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.086676Z", "completed_at": "2024-08-13T21:25:55.086685Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023919105529785156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_eth_mainnet\"\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN \"analytics\".\"prod_eth_mainnet\".\"fct_prices_hourly_eth_mainnet\"\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.080377Z", "completed_at": "2024-08-13T21:25:55.085498Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.088137Z", "completed_at": "2024-08-13T21:25:55.088145Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02234506607055664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_market_symbol.dad998df0c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.067077Z", "completed_at": "2024-08-13T21:25:55.086119Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.088995Z", "completed_at": "2024-08-13T21:25:55.089005Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026839494705200195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_ts.45b8cdbd25", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.075883Z", "completed_at": "2024-08-13T21:25:55.087550Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.090611Z", "completed_at": "2024-08-13T21:25:55.090618Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026551008224487305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_eth_mainnet_price__True__0.7cc073306d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.097886Z", "completed_at": "2024-08-13T21:25:55.115597Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.116623Z", "completed_at": "2024-08-13T21:25:55.116632Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023630380630493164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_price.f438a75278", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.102712Z", "completed_at": "2024-08-13T21:25:55.119047Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.121287Z", "completed_at": "2024-08-13T21:25:55.121294Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02701592445373535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_ts.6f3aced404", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.108222Z", "completed_at": "2024-08-13T21:25:55.119633Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.122147Z", "completed_at": "2024-08-13T21:25:55.122157Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027279376983642578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_prices_hourly_base_mainnet", "compiled": true, "compiled_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_prices_base_mainnet\"\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_prices_hourly_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.111434Z", "completed_at": "2024-08-13T21:25:55.120707Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.127050Z", "completed_at": "2024-08-13T21:25:55.127062Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.03105616569519043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0.4906889fd6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.123007Z", "completed_at": "2024-08-13T21:25:55.130977Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.133648Z", "completed_at": "2024-08-13T21:25:55.133656Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.015358209609985352, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_base_mainnet_market_symbol.dc8cb46b8c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.136949Z", "completed_at": "2024-08-13T21:25:55.151146Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.153494Z", "completed_at": "2024-08-13T21:25:55.153503Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022024154663085938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_base_mainnet_price.a6c62844d1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.145341Z", "completed_at": "2024-08-13T21:25:55.151818Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.154351Z", "completed_at": "2024-08-13T21:25:55.154361Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021667003631591797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_account_stats_daily_base_mainnet", "compiled": true, "compiled_code": "WITH daily AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n account_id,\n SUM(fees) AS fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_account_stats_hourly_base_mainnet\"\n GROUP BY\n 1,\n 2\n),\nstats AS (\n SELECT\n daily.*,\n SUM(fees) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_fees,\n SUM(volume) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_volume\n FROM\n daily\n)\nSELECT\n *\nFROM\n stats", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_account_stats_daily_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.141092Z", "completed_at": "2024-08-13T21:25:55.152965Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.158314Z", "completed_at": "2024-08-13T21:25:55.158326Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0262603759765625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_base_mainnet_ts.c885673fc8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.155263Z", "completed_at": "2024-08-13T21:25:55.161473Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.163857Z", "completed_at": "2024-08-13T21:25:55.163864Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.013996601104736328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_keeper_stats_daily_base_mainnet", "compiled": true, "compiled_code": "WITH hourly AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n keeper,\n settlement_rewards,\n amount_settled,\n trades\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_keeper_stats_hourly_base_mainnet\"\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_rewards) AS settlement_reward_total,\n SUM(amount_settled) AS amount_settled_total\n FROM\n hourly\n GROUP BY\n 1\n)\nSELECT\n hourly.ts,\n keeper,\n SUM(trades) AS trades,\n SUM(settlement_rewards) AS settlement_rewards,\n SUM(amount_settled) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_rewards) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(amount_settled) / MAX(amount_settled_total) AS amount_settled_pct\nFROM\n hourly\n JOIN total\n ON hourly.ts = total.ts\nGROUP BY\n 1,\n 2", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_keeper_stats_daily_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.170041Z", "completed_at": "2024-08-13T21:25:55.178100Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.180509Z", "completed_at": "2024-08-13T21:25:55.180517Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01798248291015625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_stats_hourly_base_mainnet", "compiled": true, "compiled_code": "WITH inc_market AS (\n SELECT\n ts,\n market_symbol,\n trades,\n exchange_fees,\n referral_fees,\n collected_fees,\n volume,\n liquidations,\n cumulative_exchange_fees,\n cumulative_referral_fees,\n cumulative_collected_fees,\n cumulative_volume\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_stats_hourly_base_mainnet\"\n),\nliq AS (\n SELECT\n ts,\n total_reward,\n 1 AS liquidated_accounts\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_account_base_mainnet\"\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(total_reward) AS liquidation_rewards,\n SUM(liquidated_accounts) AS liquidated_accounts\n FROM\n liq\n GROUP BY\n 1\n),\ninc_trade AS (\n SELECT\n ts,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(cumulative_exchange_fees) AS cumulative_exchange_fees,\n SUM(cumulative_referral_fees) AS cumulative_referral_fees,\n SUM(cumulative_collected_fees) AS cumulative_collected_fees,\n SUM(cumulative_volume) AS cumulative_volume\n FROM\n inc_market\n GROUP BY\n 1\n),\ninc AS (\n SELECT\n h.ts,\n h.trades,\n h.exchange_fees,\n h.referral_fees,\n h.collected_fees,\n h.volume,\n COALESCE(\n l.liquidation_rewards,\n 0\n ) AS liquidation_rewards,\n COALESCE(\n l.liquidated_accounts,\n 0\n ) AS liquidated_accounts,\n h.cumulative_exchange_fees,\n h.cumulative_referral_fees,\n h.cumulative_collected_fees,\n h.cumulative_volume\n FROM\n inc_trade h\n LEFT JOIN inc_liq l\n ON h.ts = l.ts\n)\nSELECT\n *\nFROM\n inc", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_stats_hourly_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.167033Z", "completed_at": "2024-08-13T21:25:55.178708Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.181376Z", "completed_at": "2024-08-13T21:25:55.181383Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01946401596069336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_market_stats_daily_base_mainnet", "compiled": true, "compiled_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_stats_hourly_base_mainnet\"\nGROUP BY\n 1,\n 2", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_market_stats_daily_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.173634Z", "completed_at": "2024-08-13T21:25:55.179978Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.185372Z", "completed_at": "2024-08-13T21:25:55.185381Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022234439849853516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_tracking_stats_daily_base_mainnet", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(trades) AS trades\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_tracking_stats_hourly_base_mainnet\"\n GROUP BY\n 1,\n 2\n),\naccounts AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n COUNT(\n DISTINCT account_id\n ) AS accounts\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n GROUP BY\n 1,\n 2\n),\ntotal AS (\n SELECT\n ts,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(referral_fees) AS referral_fees_total,\n SUM(collected_fees) AS collected_fees_total,\n SUM(volume) AS volume_total,\n SUM(trades) AS trades_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n trades.tracking_code,\n trades.exchange_fees,\n trades.referral_fees,\n trades.collected_fees,\n trades.volume,\n trades.trades,\n accounts.accounts,\n CASE\n WHEN total.exchange_fees_total = 0 THEN 0\n ELSE trades.exchange_fees / total.exchange_fees_total\n END AS exchange_fees_share,\n CASE\n WHEN total.referral_fees_total = 0 THEN 0\n ELSE trades.referral_fees / total.referral_fees_total\n END AS referral_fees_share,\n CASE\n WHEN total.collected_fees_total = 0 THEN 0\n ELSE trades.collected_fees / total.collected_fees_total\n END AS collected_fees_share,\n CASE\n WHEN total.volume_total = 0 THEN 0\n ELSE trades.volume / total.volume_total\n END AS volume_share,\n CASE\n WHEN total.trades_total = 0 THEN 0\n ELSE trades.trades / total.trades_total\n END AS trades_share\nFROM\n trades\n JOIN accounts\n ON trades.ts = accounts.ts\n AND trades.tracking_code = accounts.tracking_code\n JOIN total\n ON trades.ts = total.ts", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_tracking_stats_daily_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.182258Z", "completed_at": "2024-08-13T21:25:55.189253Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.191623Z", "completed_at": "2024-08-13T21:25:55.191630Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.014589548110961914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_prices_hourly_base_sepolia", "compiled": true, "compiled_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_prices_base_sepolia\"\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_prices_hourly_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.198530Z", "completed_at": "2024-08-13T21:25:55.209584Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.211980Z", "completed_at": "2024-08-13T21:25:55.211988Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02226877212524414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_base_sepolia_market_symbol.e2a8214091", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.193604Z", "completed_at": "2024-08-13T21:25:55.210810Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.216883Z", "completed_at": "2024-08-13T21:25:55.216891Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.028316736221313477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0.78bfe2f46a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.204479Z", "completed_at": "2024-08-13T21:25:55.211388Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.217755Z", "completed_at": "2024-08-13T21:25:55.217765Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02744317054748535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_base_sepolia_price.3c29a949cf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.212846Z", "completed_at": "2024-08-13T21:25:55.220128Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.222615Z", "completed_at": "2024-08-13T21:25:55.222622Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.014055967330932617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_base_sepolia_ts.2875b0c397", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.226488Z", "completed_at": "2024-08-13T21:25:55.237193Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.244034Z", "completed_at": "2024-08-13T21:25:55.244044Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022771596908569336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_account_stats_daily_base_sepolia", "compiled": true, "compiled_code": "WITH daily AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n account_id,\n SUM(fees) AS fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_account_stats_hourly_base_sepolia\"\n GROUP BY\n 1,\n 2\n),\nstats AS (\n SELECT\n daily.*,\n SUM(fees) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_fees,\n SUM(volume) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_volume\n FROM\n daily\n)\nSELECT\n *\nFROM\n stats", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_account_stats_daily_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.229588Z", "completed_at": "2024-08-13T21:25:55.237769Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.244929Z", "completed_at": "2024-08-13T21:25:55.244939Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02303338050842285, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_keeper_stats_daily_base_sepolia", "compiled": true, "compiled_code": "WITH hourly AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n keeper,\n settlement_rewards,\n amount_settled,\n trades\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_keeper_stats_hourly_base_sepolia\"\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_rewards) AS settlement_reward_total,\n SUM(amount_settled) AS amount_settled_total\n FROM\n hourly\n GROUP BY\n 1\n)\nSELECT\n hourly.ts,\n keeper,\n SUM(trades) AS trades,\n SUM(settlement_rewards) AS settlement_rewards,\n SUM(amount_settled) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_rewards) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(amount_settled) / MAX(amount_settled_total) AS amount_settled_pct\nFROM\n hourly\n JOIN total\n ON hourly.ts = total.ts\nGROUP BY\n 1,\n 2", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_keeper_stats_daily_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.233322Z", "completed_at": "2024-08-13T21:25:55.243364Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.245904Z", "completed_at": "2024-08-13T21:25:55.245914Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022487640380859375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_market_stats_daily_base_sepolia", "compiled": true, "compiled_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_stats_hourly_base_sepolia\"\nGROUP BY\n 1,\n 2", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_market_stats_daily_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.238456Z", "completed_at": "2024-08-13T21:25:55.246752Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.249359Z", "completed_at": "2024-08-13T21:25:55.249367Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.016756057739257812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_stats_hourly_base_sepolia", "compiled": true, "compiled_code": "WITH inc_market AS (\n SELECT\n ts,\n market_symbol,\n trades,\n exchange_fees,\n referral_fees,\n collected_fees,\n volume,\n liquidations,\n cumulative_exchange_fees,\n cumulative_referral_fees,\n cumulative_collected_fees,\n cumulative_volume\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_stats_hourly_base_sepolia\"\n),\nliq AS (\n SELECT\n ts,\n total_reward,\n 1 AS liquidated_accounts\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_account_base_sepolia\"\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(total_reward) AS liquidation_rewards,\n SUM(liquidated_accounts) AS liquidated_accounts\n FROM\n liq\n GROUP BY\n 1\n),\ninc_trade AS (\n SELECT\n ts,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(cumulative_exchange_fees) AS cumulative_exchange_fees,\n SUM(cumulative_referral_fees) AS cumulative_referral_fees,\n SUM(cumulative_collected_fees) AS cumulative_collected_fees,\n SUM(cumulative_volume) AS cumulative_volume\n FROM\n inc_market\n GROUP BY\n 1\n),\ninc AS (\n SELECT\n h.ts,\n h.trades,\n h.exchange_fees,\n h.referral_fees,\n h.collected_fees,\n h.volume,\n COALESCE(\n l.liquidation_rewards,\n 0\n ) AS liquidation_rewards,\n COALESCE(\n l.liquidated_accounts,\n 0\n ) AS liquidated_accounts,\n h.cumulative_exchange_fees,\n h.cumulative_referral_fees,\n h.cumulative_collected_fees,\n h.cumulative_volume\n FROM\n inc_trade h\n LEFT JOIN inc_liq l\n ON h.ts = l.ts\n)\nSELECT\n *\nFROM\n inc", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_stats_hourly_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.258563Z", "completed_at": "2024-08-13T21:25:55.266767Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.273002Z", "completed_at": "2024-08-13T21:25:55.273011Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022305965423583984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_hourly_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.261419Z", "completed_at": "2024-08-13T21:25:55.271775Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.273967Z", "completed_at": "2024-08-13T21:25:55.273974Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022637128829956055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed__True__0.7447bf410c", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_distributed >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.255086Z", "completed_at": "2024-08-13T21:25:55.272423Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.274871Z", "completed_at": "2024-08-13T21:25:55.274879Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024868488311767578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_tracking_stats_daily_base_sepolia", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(trades) AS trades\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_tracking_stats_hourly_base_sepolia\"\n GROUP BY\n 1,\n 2\n),\naccounts AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n COUNT(\n DISTINCT account_id\n ) AS accounts\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n GROUP BY\n 1,\n 2\n),\ntotal AS (\n SELECT\n ts,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(referral_fees) AS referral_fees_total,\n SUM(collected_fees) AS collected_fees_total,\n SUM(volume) AS volume_total,\n SUM(trades) AS trades_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n trades.tracking_code,\n trades.exchange_fees,\n trades.referral_fees,\n trades.collected_fees,\n trades.volume,\n trades.trades,\n accounts.accounts,\n CASE\n WHEN total.exchange_fees_total = 0 THEN 0\n ELSE trades.exchange_fees / total.exchange_fees_total\n END AS exchange_fees_share,\n CASE\n WHEN total.referral_fees_total = 0 THEN 0\n ELSE trades.referral_fees / total.referral_fees_total\n END AS referral_fees_share,\n CASE\n WHEN total.collected_fees_total = 0 THEN 0\n ELSE trades.collected_fees / total.collected_fees_total\n END AS collected_fees_share,\n CASE\n WHEN total.volume_total = 0 THEN 0\n ELSE trades.volume / total.volume_total\n END AS volume_share,\n CASE\n WHEN total.trades_total = 0 THEN 0\n ELSE trades.trades / total.trades_total\n END AS trades_share\nFROM\n trades\n JOIN accounts\n ON trades.ts = accounts.ts\n AND trades.tracking_code = accounts.tracking_code\n JOIN total\n ON trades.ts = total.ts", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_tracking_stats_daily_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.267534Z", "completed_at": "2024-08-13T21:25:55.275841Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.278653Z", "completed_at": "2024-08-13T21:25:55.278661Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02427196502685547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount__True__0.e75762e0c1", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.284412Z", "completed_at": "2024-08-13T21:25:55.300130Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.305891Z", "completed_at": "2024-08-13T21:25:55.305901Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026444435119628906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id__True__0.4ed8a94f92", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.288828Z", "completed_at": "2024-08-13T21:25:55.300939Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.307360Z", "completed_at": "2024-08-13T21:25:55.307368Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027281761169433594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_price__True__0.bd113fbed7", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.294568Z", "completed_at": "2024-08-13T21:25:55.306737Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.309626Z", "completed_at": "2024-08-13T21:25:55.309634Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02894735336303711, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd__True__0.034dbdbb73", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.301494Z", "completed_at": "2024-08-13T21:25:55.309067Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.311800Z", "completed_at": "2024-08-13T21:25:55.311810Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.028101444244384766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed.0abef6eb56", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_distributed\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\nwhere amount_distributed is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.316385Z", "completed_at": "2024-08-13T21:25:55.327015Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.337310Z", "completed_at": "2024-08-13T21:25:55.337319Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026255130767822266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_collateral_type.dee4fdda32", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.321935Z", "completed_at": "2024-08-13T21:25:55.338767Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.340847Z", "completed_at": "2024-08-13T21:25:55.340856Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027615070343017578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_distributor.a9383020e8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.327637Z", "completed_at": "2024-08-13T21:25:55.340188Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.342917Z", "completed_at": "2024-08-13T21:25:55.342925Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027829408645629883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount.1f06d81670", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_amount\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\nwhere hourly_amount is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.332132Z", "completed_at": "2024-08-13T21:25:55.342322Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.345136Z", "completed_at": "2024-08-13T21:25:55.345145Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024509668350219727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id.35527b8712", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.347330Z", "completed_at": "2024-08-13T21:25:55.354186Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.360468Z", "completed_at": "2024-08-13T21:25:55.360476Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018824100494384766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price.e94408c4a3", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\nwhere price is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.355372Z", "completed_at": "2024-08-13T21:25:55.369960Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.371643Z", "completed_at": "2024-08-13T21:25:55.371655Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02507472038269043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd.38626f59b3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.361341Z", "completed_at": "2024-08-13T21:25:55.373165Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.375622Z", "completed_at": "2024-08-13T21:25:55.375632Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023438692092895508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_token_symbol.0f93337098", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.365826Z", "completed_at": "2024-08-13T21:25:55.373733Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.376525Z", "completed_at": "2024-08-13T21:25:55.376533Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022991657257080078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts.22756175d0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.378012Z", "completed_at": "2024-08-13T21:25:55.384705Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.392361Z", "completed_at": "2024-08-13T21:25:55.392370Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019863367080688477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_hourly_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.385236Z", "completed_at": "2024-08-13T21:25:55.402019Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.404480Z", "completed_at": "2024-08-13T21:25:55.404487Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02719855308532715, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed__True__0.a2ebbe6544", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_distributed >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.393319Z", "completed_at": "2024-08-13T21:25:55.403839Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.406558Z", "completed_at": "2024-08-13T21:25:55.406567Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023260116577148438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount__True__0.b67f19c73b", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.397757Z", "completed_at": "2024-08-13T21:25:55.405395Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.408090Z", "completed_at": "2024-08-13T21:25:55.408101Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024130582809448242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id__True__0.dc85f8adb9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.411572Z", "completed_at": "2024-08-13T21:25:55.418455Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.428351Z", "completed_at": "2024-08-13T21:25:55.428359Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022513151168823242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_price__True__0.03fbb6a68c", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.419022Z", "completed_at": "2024-08-13T21:25:55.434720Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.437352Z", "completed_at": "2024-08-13T21:25:55.437363Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027259111404418945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd__True__0.1aeeb784bf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.423957Z", "completed_at": "2024-08-13T21:25:55.436813Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.439585Z", "completed_at": "2024-08-13T21:25:55.439593Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023771047592163086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed.92aa5d68ee", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_distributed\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\nwhere amount_distributed is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.429398Z", "completed_at": "2024-08-13T21:25:55.438985Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.441732Z", "completed_at": "2024-08-13T21:25:55.441740Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02469158172607422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_collateral_type.6bd3efb9ab", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.443910Z", "completed_at": "2024-08-13T21:25:55.450815Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.456901Z", "completed_at": "2024-08-13T21:25:55.456913Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018703699111938477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_distributor.57d35a371e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.452011Z", "completed_at": "2024-08-13T21:25:55.467155Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.468762Z", "completed_at": "2024-08-13T21:25:55.468771Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025572538375854492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount.a128c8eb69", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_amount\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\nwhere hourly_amount is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.457940Z", "completed_at": "2024-08-13T21:25:55.469609Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.472017Z", "completed_at": "2024-08-13T21:25:55.472025Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023235797882080078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id.c9c0638ac8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.462169Z", "completed_at": "2024-08-13T21:25:55.470212Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.472935Z", "completed_at": "2024-08-13T21:25:55.472943Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022866487503051758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price.8b9f940b5a", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\nwhere price is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.473815Z", "completed_at": "2024-08-13T21:25:55.480963Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.488574Z", "completed_at": "2024-08-13T21:25:55.488584Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020650863647460938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd.a4c3a5bd6d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.482758Z", "completed_at": "2024-08-13T21:25:55.491727Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.500342Z", "completed_at": "2024-08-13T21:25:55.500350Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02228569984436035, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_token_symbol.43135a2a58", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.496479Z", "completed_at": "2024-08-13T21:25:55.502702Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.509127Z", "completed_at": "2024-08-13T21:25:55.509137Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027112960815429688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_hourly_eth_mainnet", "compiled": true, "compiled_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_hourly_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.492308Z", "completed_at": "2024-08-13T21:25:55.503413Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.510102Z", "completed_at": "2024-08-13T21:25:55.510112Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02869248390197754, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts.408bc991e9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.503968Z", "completed_at": "2024-08-13T21:25:55.511682Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.518276Z", "completed_at": "2024-08-13T21:25:55.518286Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01868605613708496, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed__True__0.26815f50d4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.513834Z", "completed_at": "2024-08-13T21:25:55.521306Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.523690Z", "completed_at": "2024-08-13T21:25:55.523701Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015392541885375977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount__True__0.76ed6e76ab", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.529000Z", "completed_at": "2024-08-13T21:25:55.541089Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.542970Z", "completed_at": "2024-08-13T21:25:55.542978Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02318596839904785, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_price__True__0.3b4b47afcc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.524567Z", "completed_at": "2024-08-13T21:25:55.542268Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.545068Z", "completed_at": "2024-08-13T21:25:55.545076Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025910377502441406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_pool_id__True__0.0f059b9a12", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.536594Z", "completed_at": "2024-08-13T21:25:55.544525Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.551004Z", "completed_at": "2024-08-13T21:25:55.551014Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.028147459030151367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd__True__0.0d8876b70b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.546643Z", "completed_at": "2024-08-13T21:25:55.554826Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.557205Z", "completed_at": "2024-08-13T21:25:55.557213Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015656471252441406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed.3faeed6846", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.558055Z", "completed_at": "2024-08-13T21:25:55.573883Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.576306Z", "completed_at": "2024-08-13T21:25:55.576319Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023641586303710938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_collateral_type.22ec7c38ba", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.563185Z", "completed_at": "2024-08-13T21:25:55.574440Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.577202Z", "completed_at": "2024-08-13T21:25:55.577213Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02307868003845215, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor.a65a6d19bf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.568343Z", "completed_at": "2024-08-13T21:25:55.575749Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.584049Z", "completed_at": "2024-08-13T21:25:55.584059Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02813124656677246, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount.701c4a765f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.578079Z", "completed_at": "2024-08-13T21:25:55.587016Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.589488Z", "completed_at": "2024-08-13T21:25:55.589496Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.016559839248657227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id.69049a093a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.596903Z", "completed_at": "2024-08-13T21:25:55.606472Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.608985Z", "completed_at": "2024-08-13T21:25:55.608995Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0208132266998291, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd.84778cf230", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.592750Z", "completed_at": "2024-08-13T21:25:55.607805Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.613996Z", "completed_at": "2024-08-13T21:25:55.614008Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02646183967590332, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_price.89f536fe6c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.601194Z", "completed_at": "2024-08-13T21:25:55.608373Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.615038Z", "completed_at": "2024-08-13T21:25:55.615046Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026276350021362305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol.609ae29f03", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.609874Z", "completed_at": "2024-08-13T21:25:55.617402Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.619947Z", "completed_at": "2024-08-13T21:25:55.619954Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014539003372192383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts.667157dbf6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.627994Z", "completed_at": "2024-08-13T21:25:55.639644Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.645635Z", "completed_at": "2024-08-13T21:25:55.645647Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026438236236572266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_base_mainnet_price__True__0.1e768deaa2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.634681Z", "completed_at": "2024-08-13T21:25:55.640428Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.646579Z", "completed_at": "2024-08-13T21:25:55.646587Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025887012481689453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_hourly_base_mainnet_market_symbol.ffd656c11f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.623834Z", "completed_at": "2024-08-13T21:25:55.645029Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.647594Z", "completed_at": "2024-08-13T21:25:55.647602Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.029036760330200195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\"\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN \"analytics\".\"prod_base_mainnet\".\"fct_prices_hourly_base_mainnet\"\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.641019Z", "completed_at": "2024-08-13T21:25:55.649118Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.652075Z", "completed_at": "2024-08-13T21:25:55.652083Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018121957778930664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_hourly_base_mainnet_price.73bbfd891b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.656511Z", "completed_at": "2024-08-13T21:25:55.669657Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.677213Z", "completed_at": "2024-08-13T21:25:55.677221Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026142358779907227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_hourly_base_mainnet_ts.a2c68d326d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.664466Z", "completed_at": "2024-08-13T21:25:55.670191Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.678092Z", "completed_at": "2024-08-13T21:25:55.678100Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024668216705322266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_base_sepolia\"\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN \"analytics\".\"prod_base_sepolia\".\"fct_prices_hourly_base_sepolia\"\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.661273Z", "completed_at": "2024-08-13T21:25:55.676665Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.679052Z", "completed_at": "2024-08-13T21:25:55.679059Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026265382766723633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_stats_daily_base_mainnet", "compiled": true, "compiled_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(liquidation_rewards) AS liquidation_rewards,\n SUM(liquidated_accounts) AS liquidated_accounts,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_stats_hourly_base_mainnet\"\nGROUP BY\n 1", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_stats_daily_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.670782Z", "completed_at": "2024-08-13T21:25:55.679936Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.682834Z", "completed_at": "2024-08-13T21:25:55.682842Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022299528121948242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_base_sepolia_price__True__0.9b4c65b6bd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.688601Z", "completed_at": "2024-08-13T21:25:55.701488Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.705871Z", "completed_at": "2024-08-13T21:25:55.705880Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02225184440612793, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_hourly_base_sepolia_market_symbol.35c2706bfd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.692675Z", "completed_at": "2024-08-13T21:25:55.702199Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.707430Z", "completed_at": "2024-08-13T21:25:55.707438Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02319169044494629, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_hourly_base_sepolia_price.e263ee2224", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.696689Z", "completed_at": "2024-08-13T21:25:55.706794Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.709634Z", "completed_at": "2024-08-13T21:25:55.709644Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0247805118560791, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_prices_hourly_base_sepolia_ts.fc60cfbaeb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.702782Z", "completed_at": "2024-08-13T21:25:55.709032Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.711814Z", "completed_at": "2024-08-13T21:25:55.711822Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023924589157104492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_stats_daily_base_sepolia", "compiled": true, "compiled_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(liquidation_rewards) AS liquidation_rewards,\n SUM(liquidated_accounts) AS liquidated_accounts,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_stats_hourly_base_sepolia\"\nGROUP BY\n 1", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_stats_daily_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.716380Z", "completed_at": "2024-08-13T21:25:55.729701Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.739779Z", "completed_at": "2024-08-13T21:25:55.739787Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0286867618560791, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n ) AS p\nGROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_hourly_arbitrum_mainnet\"\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_hourly_arbitrum_mainnet\"\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.723170Z", "completed_at": "2024-08-13T21:25:55.739056Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.740938Z", "completed_at": "2024-08-13T21:25:55.740947Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02771282196044922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id__True__0.4d32e65287", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.734662Z", "completed_at": "2024-08-13T21:25:55.741779Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.744695Z", "completed_at": "2024-08-13T21:25:55.744703Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023005008697509766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_collateral_type.490293ba7d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.730251Z", "completed_at": "2024-08-13T21:25:55.742372Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.745548Z", "completed_at": "2024-08-13T21:25:55.745555Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.030440807342529297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd__True__0.d689f56d7e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.755395Z", "completed_at": "2024-08-13T21:25:55.765256Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.773296Z", "completed_at": "2024-08-13T21:25:55.773304Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026404380798339844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd.f0877fa7b3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.751293Z", "completed_at": "2024-08-13T21:25:55.765926Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.774787Z", "completed_at": "2024-08-13T21:25:55.774795Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.028490781784057617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id.3237fb1ab1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.761076Z", "completed_at": "2024-08-13T21:25:55.774230Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.776552Z", "completed_at": "2024-08-13T21:25:55.776562Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02661418914794922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts.55c84a8938", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.766523Z", "completed_at": "2024-08-13T21:25:55.777390Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.779971Z", "completed_at": "2024-08-13T21:25:55.779978Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.029408693313598633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n ) AS p\nGROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_hourly_arbitrum_sepolia\"\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_hourly_arbitrum_sepolia\"\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.784297Z", "completed_at": "2024-08-13T21:25:55.798547Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.800085Z", "completed_at": "2024-08-13T21:25:55.800096Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0215456485748291, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id__True__0.550e7516ff", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.789818Z", "completed_at": "2024-08-13T21:25:55.801120Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.807117Z", "completed_at": "2024-08-13T21:25:55.807128Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02639913558959961, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd__True__0.29163ebf9c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.794240Z", "completed_at": "2024-08-13T21:25:55.805707Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.808089Z", "completed_at": "2024-08-13T21:25:55.808096Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02618718147277832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_collateral_type.e8435924a6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.801691Z", "completed_at": "2024-08-13T21:25:55.809576Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.812140Z", "completed_at": "2024-08-13T21:25:55.812148Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023039579391479492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id.a84969537b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.814205Z", "completed_at": "2024-08-13T21:25:55.821034Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.833212Z", "completed_at": "2024-08-13T21:25:55.833220Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02432084083557129, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd.a8bf6b50cf", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.827216Z", "completed_at": "2024-08-13T21:25:55.838824Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.840891Z", "completed_at": "2024-08-13T21:25:55.840901Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027393341064453125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n ) AS p\n GROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_hourly_eth_mainnet\"\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_hourly_eth_mainnet\"\n),\nhourly_migration AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_debt_migrated\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_hourly_eth_mainnet\"\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n COALESCE(\n migration.hourly_debt_migrated,\n 0\n ) AS hourly_debt_migrated,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) + COALESCE(\n migration.hourly_debt_migrated,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl + COALESCE(migration.hourly_debt_migrated, 0)) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0) + COALESCE(migration.hourly_debt_migrated, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n LEFT JOIN hourly_migration migration\n ON pnl.ts = migration.ts\n AND pnl.pool_id = migration.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n migration.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n hourly_debt_migrated,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.821576Z", "completed_at": "2024-08-13T21:25:55.839518Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.842322Z", "completed_at": "2024-08-13T21:25:55.842330Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02942824363708496, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts.c0fe0cb40b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.834345Z", "completed_at": "2024-08-13T21:25:55.841781Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.845050Z", "completed_at": "2024-08-13T21:25:55.845059Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024785757064819336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_pool_id__True__0.208ead2f02", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.849125Z", "completed_at": "2024-08-13T21:25:55.859780Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.866612Z", "completed_at": "2024-08-13T21:25:55.866625Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02353048324584961, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_rewards_usd__True__0.2e789c32db", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.855560Z", "completed_at": "2024-08-13T21:25:55.867703Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.873703Z", "completed_at": "2024-08-13T21:25:55.873711Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026571273803710938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type.1949d93db9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.861030Z", "completed_at": "2024-08-13T21:25:55.873060Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.875383Z", "completed_at": "2024-08-13T21:25:55.875393Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02697277069091797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id.7f91755bfb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.868252Z", "completed_at": "2024-08-13T21:25:55.876225Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.878826Z", "completed_at": "2024-08-13T21:25:55.878834Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024688720703125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd.3095906515", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.880363Z", "completed_at": "2024-08-13T21:25:55.886456Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.891249Z", "completed_at": "2024-08-13T21:25:55.891257Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.016694307327270508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_ts.89ba67bb4f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.888222Z", "completed_at": "2024-08-13T21:25:55.902620Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.904630Z", "completed_at": "2024-08-13T21:25:55.904639Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02498626708984375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_hourly_base_mainnet", "compiled": true, "compiled_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.892133Z", "completed_at": "2024-08-13T21:25:55.903317Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.906052Z", "completed_at": "2024-08-13T21:25:55.906060Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02172064781188965, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed__True__0.f2c99e8638", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_distributed >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.898200Z", "completed_at": "2024-08-13T21:25:55.905477Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.908258Z", "completed_at": "2024-08-13T21:25:55.908267Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020758390426635742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount__True__0.edfffe8350", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.909964Z", "completed_at": "2024-08-13T21:25:55.918496Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.924579Z", "completed_at": "2024-08-13T21:25:55.924588Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02077317237854004, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_pool_id__True__0.59419d2477", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.920257Z", "completed_at": "2024-08-13T21:25:55.931587Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.937944Z", "completed_at": "2024-08-13T21:25:55.937953Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02221846580505371, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_price__True__0.5e57dd6ed8", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.926057Z", "completed_at": "2024-08-13T21:25:55.937383Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.939716Z", "completed_at": "2024-08-13T21:25:55.939727Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022659778594970703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd__True__0.2f31fe80de", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.932230Z", "completed_at": "2024-08-13T21:25:55.940860Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.947741Z", "completed_at": "2024-08-13T21:25:55.947749Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02879476547241211, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed.d339be6768", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_distributed\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\nwhere amount_distributed is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.942470Z", "completed_at": "2024-08-13T21:25:55.950576Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.952980Z", "completed_at": "2024-08-13T21:25:55.952990Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.016379833221435547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_collateral_type.52b0ac191f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.953843Z", "completed_at": "2024-08-13T21:25:55.970025Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.972023Z", "completed_at": "2024-08-13T21:25:55.972031Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023511648178100586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor.608c8d5a0a", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\nwhere distributor is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.958057Z", "completed_at": "2024-08-13T21:25:55.970728Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.973506Z", "completed_at": "2024-08-13T21:25:55.973514Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024276256561279297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount.294d780f70", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\nwhere hourly_amount is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.965826Z", "completed_at": "2024-08-13T21:25:55.972918Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.975665Z", "completed_at": "2024-08-13T21:25:55.975674Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023397207260131836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id.26caff37a4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.977204Z", "completed_at": "2024-08-13T21:25:55.984087Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:55.989901Z", "completed_at": "2024-08-13T21:25:55.989910Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018703699111938477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_price.f29ff11a01", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\nwhere price is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.985816Z", "completed_at": "2024-08-13T21:25:55.996596Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.002063Z", "completed_at": "2024-08-13T21:25:56.002070Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020879745483398438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd.2724c9008d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.991385Z", "completed_at": "2024-08-13T21:25:56.002887Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.005443Z", "completed_at": "2024-08-13T21:25:56.005451Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02280282974243164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_token_symbol.185f4e6438", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:55.997146Z", "completed_at": "2024-08-13T21:25:56.004181Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.010836Z", "completed_at": "2024-08-13T21:25:56.010846Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026309490203857422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_ts.b6c015406d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.006304Z", "completed_at": "2024-08-13T21:25:56.013876Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.016359Z", "completed_at": "2024-08-13T21:25:56.016369Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.015125513076782227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_hourly_base_sepolia", "compiled": true, "compiled_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_hourly_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.017232Z", "completed_at": "2024-08-13T21:25:56.032695Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.034373Z", "completed_at": "2024-08-13T21:25:56.034383Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02259230613708496, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed__True__0.45dd358d86", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_distributed >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.028440Z", "completed_at": "2024-08-13T21:25:56.035368Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.037747Z", "completed_at": "2024-08-13T21:25:56.037755Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022094249725341797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_pool_id__True__0.81592c4342", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.024004Z", "completed_at": "2024-08-13T21:25:56.035941Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.038618Z", "completed_at": "2024-08-13T21:25:56.038625Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023635387420654297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount__True__0.c330c461c1", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.039504Z", "completed_at": "2024-08-13T21:25:56.047250Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.053506Z", "completed_at": "2024-08-13T21:25:56.053514Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020172834396362305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_price__True__0.5d2650f33d", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.048428Z", "completed_at": "2024-08-13T21:25:56.060986Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.066748Z", "completed_at": "2024-08-13T21:25:56.066760Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023038148880004883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd__True__0.c0730ac36d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.055037Z", "completed_at": "2024-08-13T21:25:56.067905Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.070463Z", "completed_at": "2024-08-13T21:25:56.070471Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023920536041259766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed.c0f649a5e2", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_distributed\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\nwhere amount_distributed is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.062290Z", "completed_at": "2024-08-13T21:25:56.069909Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.072562Z", "completed_at": "2024-08-13T21:25:56.072572Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024842500686645508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_collateral_type.d1a6cde42d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.074131Z", "completed_at": "2024-08-13T21:25:56.084716Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.086694Z", "completed_at": "2024-08-13T21:25:56.086703Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01835179328918457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor.e0a88ca283", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.080264Z", "completed_at": "2024-08-13T21:25:56.088242Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.098117Z", "completed_at": "2024-08-13T21:25:56.098127Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026303529739379883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount.52789db2ec", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\nwhere hourly_amount is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.088810Z", "completed_at": "2024-08-13T21:25:56.099910Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.102508Z", "completed_at": "2024-08-13T21:25:56.102516Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023101806640625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id.be2709e1ec", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.093919Z", "completed_at": "2024-08-13T21:25:56.101873Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.110086Z", "completed_at": "2024-08-13T21:25:56.110094Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0249025821685791, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_price.f86d19c3a1", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\nwhere price is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.104025Z", "completed_at": "2024-08-13T21:25:56.113086Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.119399Z", "completed_at": "2024-08-13T21:25:56.119412Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020255565643310547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd.d3001484ac", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.114298Z", "completed_at": "2024-08-13T21:25:56.121655Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.131137Z", "completed_at": "2024-08-13T21:25:56.131146Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027838945388793945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_token_symbol.0efe3d5a1b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.122906Z", "completed_at": "2024-08-13T21:25:56.133582Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.136065Z", "completed_at": "2024-08-13T21:25:56.136074Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02251410484313965, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_ts.965132b4de", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.126992Z", "completed_at": "2024-08-13T21:25:56.134782Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.141496Z", "completed_at": "2024-08-13T21:25:56.141508Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02290511131286621, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_apr_arbitrum_mainnet", "compiled": true, "compiled_code": "\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.137253Z", "completed_at": "2024-08-13T21:25:56.149409Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.151498Z", "completed_at": "2024-08-13T21:25:56.151506Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019574880599975586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_reward_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.145063Z", "completed_at": "2024-08-13T21:25:56.152964Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.160990Z", "completed_at": "2024-08-13T21:25:56.160998Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02565455436706543, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value__True__0.2e110c1268", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.154755Z", "completed_at": "2024-08-13T21:25:56.167726Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.170283Z", "completed_at": "2024-08-13T21:25:56.170291Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02025008201599121, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct__True__1___1.5893ffde97", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.161873Z", "completed_at": "2024-08-13T21:25:56.169118Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.175530Z", "completed_at": "2024-08-13T21:25:56.175538Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02487802505493164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct__True__1__0.c0f135f71a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.171173Z", "completed_at": "2024-08-13T21:25:56.178520Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.184730Z", "completed_at": "2024-08-13T21:25:56.184738Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01857924461364746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id__True__0.82a420e70a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.179151Z", "completed_at": "2024-08-13T21:25:56.186899Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.196587Z", "completed_at": "2024-08-13T21:25:56.196597Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027050256729125977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd__True__0.636294733f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.192411Z", "completed_at": "2024-08-13T21:25:56.198427Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.200912Z", "completed_at": "2024-08-13T21:25:56.200921Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.016932010650634766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value.d293fcea90", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.188149Z", "completed_at": "2024-08-13T21:25:56.199672Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.202411Z", "completed_at": "2024-08-13T21:25:56.202418Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019032716751098633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type.5b16d63899", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.203309Z", "completed_at": "2024-08-13T21:25:56.216829Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.218803Z", "completed_at": "2024-08-13T21:25:56.218811Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02141284942626953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt.9ac5b9bf5c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.212723Z", "completed_at": "2024-08-13T21:25:56.219724Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.225790Z", "completed_at": "2024-08-13T21:25:56.225804Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02413654327392578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance.5511774a0b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.220893Z", "completed_at": "2024-08-13T21:25:56.231921Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.234474Z", "completed_at": "2024-08-13T21:25:56.234482Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02254343032836914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl.678864f7b5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.226717Z", "completed_at": "2024-08-13T21:25:56.233928Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.240472Z", "completed_at": "2024-08-13T21:25:56.240481Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023072004318237305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct.860b962ff4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.235998Z", "completed_at": "2024-08-13T21:25:56.243367Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.249507Z", "completed_at": "2024-08-13T21:25:56.249519Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018497228622436523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct.8068a50a34", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.244682Z", "completed_at": "2024-08-13T21:25:56.252524Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.263872Z", "completed_at": "2024-08-13T21:25:56.263880Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028595924377441406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct.2ba37617f1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.258970Z", "completed_at": "2024-08-13T21:25:56.265622Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.271615Z", "completed_at": "2024-08-13T21:25:56.271625Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022872447967529297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd.196b421cb3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.253090Z", "completed_at": "2024-08-13T21:25:56.266246Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.272586Z", "completed_at": "2024-08-13T21:25:56.272594Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02864360809326172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id.e6c4e35168", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.267516Z", "completed_at": "2024-08-13T21:25:56.274807Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.277303Z", "completed_at": "2024-08-13T21:25:56.277310Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.014333724975585938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts.b23b3c4ccc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.278755Z", "completed_at": "2024-08-13T21:25:56.289637Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.296186Z", "completed_at": "2024-08-13T21:25:56.296198Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022839784622192383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_apr_arbitrum_sepolia", "compiled": true, "compiled_code": "\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.284775Z", "completed_at": "2024-08-13T21:25:56.295640Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.303813Z", "completed_at": "2024-08-13T21:25:56.303821Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027228593826293945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_reward_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.290329Z", "completed_at": "2024-08-13T21:25:56.303255Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.305975Z", "completed_at": "2024-08-13T21:25:56.305983Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02792811393737793, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value__True__0.8f44ccf6a8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.297177Z", "completed_at": "2024-08-13T21:25:56.307537Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.310146Z", "completed_at": "2024-08-13T21:25:56.310154Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021203994750976562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct__True__1___1.758a1bd318", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.313490Z", "completed_at": "2024-08-13T21:25:56.327846Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.329876Z", "completed_at": "2024-08-13T21:25:56.329885Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02173900604248047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct__True__1__0.155d04b096", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.318417Z", "completed_at": "2024-08-13T21:25:56.329332Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.335447Z", "completed_at": "2024-08-13T21:25:56.335455Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02601933479309082, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id__True__0.2553f9acd9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.323525Z", "completed_at": "2024-08-13T21:25:56.330796Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.337015Z", "completed_at": "2024-08-13T21:25:56.337022Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025487661361694336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd__True__0.c70c3ef6d1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.331371Z", "completed_at": "2024-08-13T21:25:56.339357Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.341775Z", "completed_at": "2024-08-13T21:25:56.341782Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019141435623168945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type.ad28430a8b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.343839Z", "completed_at": "2024-08-13T21:25:56.355678Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.361713Z", "completed_at": "2024-08-13T21:25:56.361724Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02307915687561035, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value.4feda18e6e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.349353Z", "completed_at": "2024-08-13T21:25:56.361143Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.367531Z", "completed_at": "2024-08-13T21:25:56.367539Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027035951614379883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt.064b4f1aa0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.356275Z", "completed_at": "2024-08-13T21:25:56.366817Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.369207Z", "completed_at": "2024-08-13T21:25:56.369215Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026682138442993164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance.98a21247a9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.362713Z", "completed_at": "2024-08-13T21:25:56.370707Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.373262Z", "completed_at": "2024-08-13T21:25:56.373269Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018291234970092773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl.71c511680d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.376568Z", "completed_at": "2024-08-13T21:25:56.390571Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.392010Z", "completed_at": "2024-08-13T21:25:56.392018Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020766496658325195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct.cfa91548b1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.381268Z", "completed_at": "2024-08-13T21:25:56.392842Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.400358Z", "completed_at": "2024-08-13T21:25:56.400366Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027823209762573242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct.85b61a0a46", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.386421Z", "completed_at": "2024-08-13T21:25:56.399118Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.401344Z", "completed_at": "2024-08-13T21:25:56.401352Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02677464485168457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct.57d5efdf83", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.393452Z", "completed_at": "2024-08-13T21:25:56.402216Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.404807Z", "completed_at": "2024-08-13T21:25:56.404814Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019280195236206055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id.aa93d2af52", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.408134Z", "completed_at": "2024-08-13T21:25:56.422332Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.425020Z", "completed_at": "2024-08-13T21:25:56.425028Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022352933883666992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd.de45431bfe", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.414128Z", "completed_at": "2024-08-13T21:25:56.423904Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.430080Z", "completed_at": "2024-08-13T21:25:56.430090Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02397751808166504, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts.a70d2ff18c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.418227Z", "completed_at": "2024-08-13T21:25:56.424487Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.431009Z", "completed_at": "2024-08-13T21:25:56.431017Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024301528930664062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_apr_eth_mainnet", "compiled": true, "compiled_code": "\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n hourly_debt_migrated,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.hourly_debt_migrated AS hourly_debt_migrated,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_debt_migrated,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.425894Z", "completed_at": "2024-08-13T21:25:56.433422Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.436415Z", "completed_at": "2024-08-13T21:25:56.436425Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023127079010009766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_eth_mainnet", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_reward_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.440459Z", "completed_at": "2024-08-13T21:25:56.455962Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.457938Z", "completed_at": "2024-08-13T21:25:56.457946Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02340841293334961, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_collateral_value__True__0.aa5cf487aa", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.444798Z", "completed_at": "2024-08-13T21:25:56.457247Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.463727Z", "completed_at": "2024-08-13T21:25:56.463735Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.028045654296875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct__True__1___1.ad0a057625", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.451322Z", "completed_at": "2024-08-13T21:25:56.458808Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.465295Z", "completed_at": "2024-08-13T21:25:56.465302Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02812814712524414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct__True__1__0.b431022b52", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.459408Z", "completed_at": "2024-08-13T21:25:56.467016Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.469522Z", "completed_at": "2024-08-13T21:25:56.469530Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018981218338012695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_pool_id__True__0.ad130b0c2f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.472833Z", "completed_at": "2024-08-13T21:25:56.487134Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.489087Z", "completed_at": "2024-08-13T21:25:56.489095Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02159905433654785, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_rewards_usd__True__0.80c1c42490", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.477774Z", "completed_at": "2024-08-13T21:25:56.488402Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.496299Z", "completed_at": "2024-08-13T21:25:56.496307Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027503013610839844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type.8346dc5b9e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.482922Z", "completed_at": "2024-08-13T21:25:56.495128Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.497868Z", "completed_at": "2024-08-13T21:25:56.497876Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027034282684326172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value.bf72ec5191", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.490006Z", "completed_at": "2024-08-13T21:25:56.499487Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.501990Z", "completed_at": "2024-08-13T21:25:56.501998Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020084857940673828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_debt.34ed8f7e19", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.505290Z", "completed_at": "2024-08-13T21:25:56.519284Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.521262Z", "completed_at": "2024-08-13T21:25:56.521270Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021277666091918945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated.b2364c3711", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.510038Z", "completed_at": "2024-08-13T21:25:56.520604Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.526887Z", "completed_at": "2024-08-13T21:25:56.526895Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02561664581298828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance.d981b1941f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.515065Z", "completed_at": "2024-08-13T21:25:56.526224Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.528599Z", "completed_at": "2024-08-13T21:25:56.528607Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025269508361816406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl.aef91ccc24", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.522200Z", "completed_at": "2024-08-13T21:25:56.529410Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.532007Z", "completed_at": "2024-08-13T21:25:56.532017Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01784038543701172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct.d9b73c59f7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.535959Z", "completed_at": "2024-08-13T21:25:56.551251Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.553207Z", "completed_at": "2024-08-13T21:25:56.553215Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022630929946899414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct.d8b6a6177f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.541276Z", "completed_at": "2024-08-13T21:25:56.552546Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.558688Z", "completed_at": "2024-08-13T21:25:56.558696Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025917768478393555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct.b8f62bde16", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.547072Z", "completed_at": "2024-08-13T21:25:56.554112Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.560280Z", "completed_at": "2024-08-13T21:25:56.560288Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02633213996887207, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id.d4b3c4be36", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.554646Z", "completed_at": "2024-08-13T21:25:56.562612Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.565104Z", "completed_at": "2024-08-13T21:25:56.565114Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024544477462768555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd.8fd34c30e5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.567170Z", "completed_at": "2024-08-13T21:25:56.583186Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.585310Z", "completed_at": "2024-08-13T21:25:56.585318Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023392438888549805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_ts.2a846b2bb8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.572630Z", "completed_at": "2024-08-13T21:25:56.584706Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.592697Z", "completed_at": "2024-08-13T21:25:56.592707Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.028890371322631836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n ) AS p\nGROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_hourly_base_mainnet\"\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\"\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.578853Z", "completed_at": "2024-08-13T21:25:56.586139Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.594226Z", "completed_at": "2024-08-13T21:25:56.594236Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02837204933166504, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_pool_id__True__0.0fe5a5d2d6", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.586738Z", "completed_at": "2024-08-13T21:25:56.595922Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.598810Z", "completed_at": "2024-08-13T21:25:56.598818Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020845413208007812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_rewards_usd__True__0.e752fbfdf1", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\"\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.602131Z", "completed_at": "2024-08-13T21:25:56.615879Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.617847Z", "completed_at": "2024-08-13T21:25:56.617855Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02108907699584961, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type.9a0efdf293", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\"\nwhere collateral_type is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.607019Z", "completed_at": "2024-08-13T21:25:56.617191Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.623443Z", "completed_at": "2024-08-13T21:25:56.623455Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02538013458251953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_pool_id.cc4be6d53f", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\"\nwhere pool_id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.611873Z", "completed_at": "2024-08-13T21:25:56.622791Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.625176Z", "completed_at": "2024-08-13T21:25:56.625184Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025004863739013672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd.2d36098b0e", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\"\nwhere rewards_usd is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.618784Z", "completed_at": "2024-08-13T21:25:56.626060Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.628649Z", "completed_at": "2024-08-13T21:25:56.628657Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.017682790756225586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_ts.cb01f363c1", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\"\nwhere ts is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.632655Z", "completed_at": "2024-08-13T21:25:56.649895Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.651484Z", "completed_at": "2024-08-13T21:25:56.651492Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024251222610473633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n ) AS p\nGROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_hourly_base_sepolia\"\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_hourly_base_sepolia\"\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.639479Z", "completed_at": "2024-08-13T21:25:56.652336Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.658678Z", "completed_at": "2024-08-13T21:25:56.658686Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.029230356216430664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_pool_id__True__0.7fb80d19e2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.645495Z", "completed_at": "2024-08-13T21:25:56.657004Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.659728Z", "completed_at": "2024-08-13T21:25:56.659736Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0290985107421875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_rewards_usd__True__0.a1e92ad42f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.652972Z", "completed_at": "2024-08-13T21:25:56.661249Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.663736Z", "completed_at": "2024-08-13T21:25:56.663743Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02507185935974121, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type.ca06f7aa20", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.665782Z", "completed_at": "2024-08-13T21:25:56.676622Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.682252Z", "completed_at": "2024-08-13T21:25:56.682262Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021697521209716797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_pool_id.9e81c4a855", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.672544Z", "completed_at": "2024-08-13T21:25:56.683146Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.690973Z", "completed_at": "2024-08-13T21:25:56.690984Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026507854461669922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd.f98e64d589", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.677299Z", "completed_at": "2024-08-13T21:25:56.689712Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.692001Z", "completed_at": "2024-08-13T21:25:56.692011Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0269320011138916, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_ts.521c0d428a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.683831Z", "completed_at": "2024-08-13T21:25:56.692884Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.695386Z", "completed_at": "2024-08-13T21:25:56.695393Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023602008819580078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_collateral_value__True__0.ffb99e9e0a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.698668Z", "completed_at": "2024-08-13T21:25:56.709354Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.715229Z", "completed_at": "2024-08-13T21:25:56.715241Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021921634674072266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct__True__1___1.1b8022dfc1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.705056Z", "completed_at": "2024-08-13T21:25:56.716143Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.722626Z", "completed_at": "2024-08-13T21:25:56.722637Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02594923973083496, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct__True__1__0.f1335e174b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.710072Z", "completed_at": "2024-08-13T21:25:56.721243Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.723673Z", "completed_at": "2024-08-13T21:25:56.723683Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02639937400817871, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_pool_id__True__0.8a8c4f782b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.716783Z", "completed_at": "2024-08-13T21:25:56.724543Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.727061Z", "completed_at": "2024-08-13T21:25:56.727069Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022881507873535156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_rewards_usd__True__0.1ddf38024d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.730415Z", "completed_at": "2024-08-13T21:25:56.746355Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.747807Z", "completed_at": "2024-08-13T21:25:56.747818Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02281022071838379, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_24h.8106520838", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.736506Z", "completed_at": "2024-08-13T21:25:56.748738Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.754782Z", "completed_at": "2024-08-13T21:25:56.754791Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02637028694152832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_28d.964b18810e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.742294Z", "completed_at": "2024-08-13T21:25:56.753370Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.755804Z", "completed_at": "2024-08-13T21:25:56.755814Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026792049407958984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_7d.06f4c6a6e1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.749328Z", "completed_at": "2024-08-13T21:25:56.757273Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.759784Z", "completed_at": "2024-08-13T21:25:56.759794Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02408766746520996, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_24h.83d96a1a08", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.761849Z", "completed_at": "2024-08-13T21:25:56.768743Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.778333Z", "completed_at": "2024-08-13T21:25:56.778341Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02173161506652832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_28d.fa829d9ef7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.769323Z", "completed_at": "2024-08-13T21:25:56.784606Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.786965Z", "completed_at": "2024-08-13T21:25:56.786976Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026433706283569336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_7d.cf96fd9428", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.773436Z", "completed_at": "2024-08-13T21:25:56.786345Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.788620Z", "completed_at": "2024-08-13T21:25:56.788628Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02747821807861328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_collateral_type.063adda35b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.779514Z", "completed_at": "2024-08-13T21:25:56.789449Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.791940Z", "completed_at": "2024-08-13T21:25:56.791950Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023871660232543945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_collateral_value.21b8ffe226", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.793416Z", "completed_at": "2024-08-13T21:25:56.800118Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.809582Z", "completed_at": "2024-08-13T21:25:56.809590Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02171802520751953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance.e1798a309e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.801301Z", "completed_at": "2024-08-13T21:25:56.816126Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.818094Z", "completed_at": "2024-08-13T21:25:56.818102Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025394439697265625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl.3aeb9de820", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.805369Z", "completed_at": "2024-08-13T21:25:56.816754Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.819516Z", "completed_at": "2024-08-13T21:25:56.819526Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022113323211669922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_debt.3dc045078a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.812070Z", "completed_at": "2024-08-13T21:25:56.818923Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.821624Z", "completed_at": "2024-08-13T21:25:56.821631Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02104783058166504, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance.80329841e3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.823194Z", "completed_at": "2024-08-13T21:25:56.830095Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.837467Z", "completed_at": "2024-08-13T21:25:56.837477Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020301342010498047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl.cca97779a8", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.831855Z", "completed_at": "2024-08-13T21:25:56.844009Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.850048Z", "completed_at": "2024-08-13T21:25:56.850059Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022850751876831055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct.fb9fdebdde", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.839042Z", "completed_at": "2024-08-13T21:25:56.849465Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.852215Z", "completed_at": "2024-08-13T21:25:56.852223Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023553848266601562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct.c370595c99", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.844636Z", "completed_at": "2024-08-13T21:25:56.851669Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.857906Z", "completed_at": "2024-08-13T21:25:56.857914Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02738809585571289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_pool_id.6f62001f11", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.853764Z", "completed_at": "2024-08-13T21:25:56.860902Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.863369Z", "completed_at": "2024-08-13T21:25:56.863379Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014631032943725586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_rewards_usd.382bc038bb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.864809Z", "completed_at": "2024-08-13T21:25:56.881021Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.882986Z", "completed_at": "2024-08-13T21:25:56.882994Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023608684539794922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_ts.97e8b55304", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.870348Z", "completed_at": "2024-08-13T21:25:56.882332Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.888827Z", "completed_at": "2024-08-13T21:25:56.888835Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02741861343383789, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_apr_rewards_arbitrum_mainnet", "compiled": true, "compiled_code": "\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_reward_arbitrum_mainnet\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_rewards_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.874079Z", "completed_at": "2024-08-13T21:25:56.883932Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.890395Z", "completed_at": "2024-08-13T21:25:56.890403Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027801036834716797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_collateral_value__True__0.fdfbc111a3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.884470Z", "completed_at": "2024-08-13T21:25:56.892111Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.894605Z", "completed_at": "2024-08-13T21:25:56.894612Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015414953231811523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct__True__1___1.71d905126b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.897979Z", "completed_at": "2024-08-13T21:25:56.912660Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.914654Z", "completed_at": "2024-08-13T21:25:56.914662Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022083282470703125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct__True__1__0.573ad6f791", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.902933Z", "completed_at": "2024-08-13T21:25:56.914002Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.920314Z", "completed_at": "2024-08-13T21:25:56.920322Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026442527770996094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_pool_id__True__0.a2269ae87b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.908219Z", "completed_at": "2024-08-13T21:25:56.915590Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.921889Z", "completed_at": "2024-08-13T21:25:56.921897Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025886058807373047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_rewards_usd__True__0.16097a4425", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.916155Z", "completed_at": "2024-08-13T21:25:56.924241Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:56.926685Z", "completed_at": "2024-08-13T21:25:56.926692Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019397735595703125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_24h.70ceb15524", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.928743Z", "completed_at": "2024-08-13T21:25:57.087954Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.089978Z", "completed_at": "2024-08-13T21:25:57.089991Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.16644549369812012, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_28d.1273ef3c47", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:56.935696Z", "completed_at": "2024-08-13T21:25:57.089301Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.095623Z", "completed_at": "2024-08-13T21:25:57.095632Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.17022705078125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_7d.9df14e1133", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.083711Z", "completed_at": "2024-08-13T21:25:57.090925Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.097217Z", "completed_at": "2024-08-13T21:25:57.097224Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.1697533130645752, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_24h.cc6a60bf0d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.091489Z", "completed_at": "2024-08-13T21:25:57.098907Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.101403Z", "completed_at": "2024-08-13T21:25:57.101412Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018627643585205078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_28d.c90acf86f3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.104674Z", "completed_at": "2024-08-13T21:25:57.118536Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.120650Z", "completed_at": "2024-08-13T21:25:57.120659Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021286725997924805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_7d.d37e5ab6c3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.109406Z", "completed_at": "2024-08-13T21:25:57.119984Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.127446Z", "completed_at": "2024-08-13T21:25:57.127454Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02677011489868164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_collateral_type.a646b7cb26", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.114359Z", "completed_at": "2024-08-13T21:25:57.121576Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.129057Z", "completed_at": "2024-08-13T21:25:57.129065Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026360511779785156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_collateral_value.2ada9cf10f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.122107Z", "completed_at": "2024-08-13T21:25:57.131377Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.133795Z", "completed_at": "2024-08-13T21:25:57.133803Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020308494567871094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance.574d2a783c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.135821Z", "completed_at": "2024-08-13T21:25:57.151933Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.153854Z", "completed_at": "2024-08-13T21:25:57.153865Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023191213607788086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl.4b337f056f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.141097Z", "completed_at": "2024-08-13T21:25:57.153207Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.159330Z", "completed_at": "2024-08-13T21:25:57.159338Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026825904846191406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_debt.9b76325181", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.147678Z", "completed_at": "2024-08-13T21:25:57.154742Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.161015Z", "completed_at": "2024-08-13T21:25:57.161024Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026494503021240234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance.18ef26f177", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.155315Z", "completed_at": "2024-08-13T21:25:57.162608Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.165134Z", "completed_at": "2024-08-13T21:25:57.165142Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01827859878540039, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl.d189c809ff", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.168348Z", "completed_at": "2024-08-13T21:25:57.183164Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.185239Z", "completed_at": "2024-08-13T21:25:57.185247Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022097349166870117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct.e663f8a83d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.173044Z", "completed_at": "2024-08-13T21:25:57.184580Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.190704Z", "completed_at": "2024-08-13T21:25:57.190717Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026344776153564453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct.12f359d425", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.179181Z", "completed_at": "2024-08-13T21:25:57.190110Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.192651Z", "completed_at": "2024-08-13T21:25:57.192659Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026230812072753906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_pool_id.58add87a89", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.186154Z", "completed_at": "2024-08-13T21:25:57.193510Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.196059Z", "completed_at": "2024-08-13T21:25:57.196067Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017783641815185547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_rewards_usd.ae2ea707de", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.199925Z", "completed_at": "2024-08-13T21:25:57.213365Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.215494Z", "completed_at": "2024-08-13T21:25:57.215503Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020873546600341797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_ts.e6b3476db0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.205169Z", "completed_at": "2024-08-13T21:25:57.214881Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.222558Z", "completed_at": "2024-08-13T21:25:57.222570Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0257875919342041, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_apr_rewards_arbitrum_sepolia", "compiled": true, "compiled_code": "\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_reward_arbitrum_sepolia\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_rewards_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.208808Z", "completed_at": "2024-08-13T21:25:57.216323Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.224249Z", "completed_at": "2024-08-13T21:25:57.224260Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026291847229003906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_collateral_value__True__0.b44f8cd90f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.216923Z", "completed_at": "2024-08-13T21:25:57.225260Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.227840Z", "completed_at": "2024-08-13T21:25:57.227848Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023391246795654297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_pnl_pct__True__1___1.573c85fbab", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.231748Z", "completed_at": "2024-08-13T21:25:57.246632Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.252742Z", "completed_at": "2024-08-13T21:25:57.252752Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026332616806030273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_rewards_pct__True__1__0.a383e39737", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.237276Z", "completed_at": "2024-08-13T21:25:57.247593Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.253630Z", "completed_at": "2024-08-13T21:25:57.253638Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025026559829711914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_pool_id__True__0.2e06d77a8b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.241745Z", "completed_at": "2024-08-13T21:25:57.252169Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.254613Z", "completed_at": "2024-08-13T21:25:57.254622Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024838924407958984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_rewards_usd__True__0.0ccd0edcb4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.248161Z", "completed_at": "2024-08-13T21:25:57.255518Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.258118Z", "completed_at": "2024-08-13T21:25:57.258126Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021559715270996094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_24h.1e94a76b1e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.263821Z", "completed_at": "2024-08-13T21:25:57.278451Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.284298Z", "completed_at": "2024-08-13T21:25:57.284308Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025435447692871094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_28d.8dfb1e005a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.267966Z", "completed_at": "2024-08-13T21:25:57.279077Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.285184Z", "completed_at": "2024-08-13T21:25:57.285192Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025661706924438477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_7d.35bc5cfb13", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.273431Z", "completed_at": "2024-08-13T21:25:57.283749Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.286168Z", "completed_at": "2024-08-13T21:25:57.286176Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02606511116027832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_24h.b52a8fd842", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.279680Z", "completed_at": "2024-08-13T21:25:57.287084Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.289679Z", "completed_at": "2024-08-13T21:25:57.289686Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02655792236328125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_28d.053e0eda01", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.299375Z", "completed_at": "2024-08-13T21:25:57.308757Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.315504Z", "completed_at": "2024-08-13T21:25:57.315512Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024456501007080078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_collateral_type.0bc0302d7e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.303460Z", "completed_at": "2024-08-13T21:25:57.314849Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.317057Z", "completed_at": "2024-08-13T21:25:57.317065Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02540421485900879, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_collateral_value.14594eca47", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.295339Z", "completed_at": "2024-08-13T21:25:57.316345Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.319181Z", "completed_at": "2024-08-13T21:25:57.319189Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02876138687133789, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_7d.08d703cbb6", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.309400Z", "completed_at": "2024-08-13T21:25:57.317908Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.320722Z", "completed_at": "2024-08-13T21:25:57.320730Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026114225387573242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_cumulative_issuance.ab1f8da889", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.326544Z", "completed_at": "2024-08-13T21:25:57.340025Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.345618Z", "completed_at": "2024-08-13T21:25:57.345627Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024152278900146484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_cumulative_pnl.4a739c13a4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.331225Z", "completed_at": "2024-08-13T21:25:57.344901Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.347226Z", "completed_at": "2024-08-13T21:25:57.347234Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02445697784423828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_debt.14b9039622", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.336010Z", "completed_at": "2024-08-13T21:25:57.346529Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.349331Z", "completed_at": "2024-08-13T21:25:57.349338Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02471780776977539, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated.1606ded24b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.340800Z", "completed_at": "2024-08-13T21:25:57.348059Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.350882Z", "completed_at": "2024-08-13T21:25:57.350890Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0250856876373291, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_issuance.d21fe7e33b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.357219Z", "completed_at": "2024-08-13T21:25:57.372776Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.378270Z", "completed_at": "2024-08-13T21:25:57.378279Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026611328125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_pnl.6570b2bdb2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.362441Z", "completed_at": "2024-08-13T21:25:57.377512Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.379905Z", "completed_at": "2024-08-13T21:25:57.379913Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026952028274536133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct.b582b1f1e2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.368712Z", "completed_at": "2024-08-13T21:25:57.379170Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.382084Z", "completed_at": "2024-08-13T21:25:57.382091Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02730560302734375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct.284fa06b64", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.373512Z", "completed_at": "2024-08-13T21:25:57.381430Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.384259Z", "completed_at": "2024-08-13T21:25:57.384267Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02784895896911621, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_pool_id.c5e20f437d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.388799Z", "completed_at": "2024-08-13T21:25:57.402651Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.409272Z", "completed_at": "2024-08-13T21:25:57.409280Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025743484497070312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_rewards_usd.e91f21e2d5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.394213Z", "completed_at": "2024-08-13T21:25:57.408458Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.410865Z", "completed_at": "2024-08-13T21:25:57.410875Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02521061897277832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_ts.99cae9616f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.399040Z", "completed_at": "2024-08-13T21:25:57.410207Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.412635Z", "completed_at": "2024-08-13T21:25:57.412643Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025095701217651367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_apr_rewards_eth_mainnet", "compiled": true, "compiled_code": "\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_reward_eth_mainnet\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_rewards_eth_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.403377Z", "completed_at": "2024-08-13T21:25:57.413449Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.416038Z", "completed_at": "2024-08-13T21:25:57.416048Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02319502830505371, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_apr_base_mainnet", "compiled": true, "compiled_code": "\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.420375Z", "completed_at": "2024-08-13T21:25:57.434815Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.436352Z", "completed_at": "2024-08-13T21:25:57.436362Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02175116539001465, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_reward_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.430595Z", "completed_at": "2024-08-13T21:25:57.441625Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.443934Z", "completed_at": "2024-08-13T21:25:57.443942Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02599048614501953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct__True__1__0.24176cb1b5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.426154Z", "completed_at": "2024-08-13T21:25:57.442230Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.444863Z", "completed_at": "2024-08-13T21:25:57.444871Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.028077363967895508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_collateral_value__True__0.7bf7b1ccab", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.437341Z", "completed_at": "2024-08-13T21:25:57.445713Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.448271Z", "completed_at": "2024-08-13T21:25:57.448281Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02288365364074707, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_pool_id__True__0.4246141dca", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.451639Z", "completed_at": "2024-08-13T21:25:57.463547Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.468961Z", "completed_at": "2024-08-13T21:25:57.468969Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022786617279052734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_rewards_usd__True__0.65717bc033", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.458010Z", "completed_at": "2024-08-13T21:25:57.474041Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.476219Z", "completed_at": "2024-08-13T21:25:57.476227Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02662062644958496, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type.7d4e861773", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.464216Z", "completed_at": "2024-08-13T21:25:57.475578Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.478317Z", "completed_at": "2024-08-13T21:25:57.478327Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.028105974197387695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value.34ddcc2ccb", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.470013Z", "completed_at": "2024-08-13T21:25:57.477099Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.479851Z", "completed_at": "2024-08-13T21:25:57.479861Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022705078125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_debt.e2d08dec52", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.483273Z", "completed_at": "2024-08-13T21:25:57.490099Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.499670Z", "completed_at": "2024-08-13T21:25:57.499682Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022112607955932617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance.b0e645a132", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.490664Z", "completed_at": "2024-08-13T21:25:57.506002Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.508259Z", "completed_at": "2024-08-13T21:25:57.508268Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026410818099975586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl.6f321ca648", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.495537Z", "completed_at": "2024-08-13T21:25:57.509147Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.511761Z", "completed_at": "2024-08-13T21:25:57.511769Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024431943893432617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct.43ef5d27cc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.500800Z", "completed_at": "2024-08-13T21:25:57.511139Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.513771Z", "completed_at": "2024-08-13T21:25:57.513778Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025064706802368164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct.0d02b364b5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.515319Z", "completed_at": "2024-08-13T21:25:57.525581Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.527687Z", "completed_at": "2024-08-13T21:25:57.527698Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01796126365661621, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct.9656973b1c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.521560Z", "completed_at": "2024-08-13T21:25:57.528576Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.534543Z", "completed_at": "2024-08-13T21:25:57.534551Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02147841453552246, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_pool_id.7352d1abe5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.529676Z", "completed_at": "2024-08-13T21:25:57.540251Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.542786Z", "completed_at": "2024-08-13T21:25:57.542796Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022060632705688477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd.de69bca40d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.535467Z", "completed_at": "2024-08-13T21:25:57.542250Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.548317Z", "completed_at": "2024-08-13T21:25:57.548325Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022098779678344727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_ts.7c76badc22", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.544301Z", "completed_at": "2024-08-13T21:25:57.551972Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.559424Z", "completed_at": "2024-08-13T21:25:57.559433Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01990342140197754, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_apr_base_sepolia", "compiled": true, "compiled_code": "\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.552556Z", "completed_at": "2024-08-13T21:25:57.560965Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.571526Z", "completed_at": "2024-08-13T21:25:57.571538Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027947425842285156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_reward_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.561541Z", "completed_at": "2024-08-13T21:25:57.573200Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.575778Z", "completed_at": "2024-08-13T21:25:57.575786Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02448582649230957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_collateral_value__True__0.4f1a814d7b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.566797Z", "completed_at": "2024-08-13T21:25:57.574443Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.577253Z", "completed_at": "2024-08-13T21:25:57.577263Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019215822219848633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct__True__1__0.3ae208ff52", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.578122Z", "completed_at": "2024-08-13T21:25:57.585191Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.591416Z", "completed_at": "2024-08-13T21:25:57.591424Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01897144317626953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_pool_id__True__0.05c766378f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.585789Z", "completed_at": "2024-08-13T21:25:57.597097Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.604289Z", "completed_at": "2024-08-13T21:25:57.604297Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027759075164794922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_rewards_usd__True__0.9baf8da1f5", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.592981Z", "completed_at": "2024-08-13T21:25:57.605821Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.608396Z", "completed_at": "2024-08-13T21:25:57.608406Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02388453483581543, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type.1eca6afa4f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.598554Z", "completed_at": "2024-08-13T21:25:57.607831Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.613953Z", "completed_at": "2024-08-13T21:25:57.613961Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02396225929260254, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value.02a125e570", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.609869Z", "completed_at": "2024-08-13T21:25:57.617469Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.623458Z", "completed_at": "2024-08-13T21:25:57.623466Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01831817626953125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_debt.27270b83bd", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.618665Z", "completed_at": "2024-08-13T21:25:57.626226Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.635974Z", "completed_at": "2024-08-13T21:25:57.635982Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02681708335876465, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance.64beeb7093", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.626843Z", "completed_at": "2024-08-13T21:25:57.638396Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.644612Z", "completed_at": "2024-08-13T21:25:57.644620Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02671074867248535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl.1b2d20f29b", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.631002Z", "completed_at": "2024-08-13T21:25:57.643300Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.645601Z", "completed_at": "2024-08-13T21:25:57.645610Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022919178009033203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct.5e738de9f7", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.639081Z", "completed_at": "2024-08-13T21:25:57.646486Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.649023Z", "completed_at": "2024-08-13T21:25:57.649031Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.013848543167114258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct.d3c5df3f72", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.649926Z", "completed_at": "2024-08-13T21:25:57.658173Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.664032Z", "completed_at": "2024-08-13T21:25:57.664040Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020160913467407227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct.32d5d04358", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.659965Z", "completed_at": "2024-08-13T21:25:57.670438Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.676479Z", "completed_at": "2024-08-13T21:25:57.676487Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02103257179260254, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_pool_id.c9853b1694", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.664909Z", "completed_at": "2024-08-13T21:25:57.675266Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.677460Z", "completed_at": "2024-08-13T21:25:57.677467Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021397829055786133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd.3d8b12547d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.671162Z", "completed_at": "2024-08-13T21:25:57.678957Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.685418Z", "completed_at": "2024-08-13T21:25:57.685426Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026170969009399414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_ts.5acc26229f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.681020Z", "completed_at": "2024-08-13T21:25:57.688358Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.690677Z", "completed_at": "2024-08-13T21:25:57.690687Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01497507095336914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_collateral_value__True__0.09ad3e4f8e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.696109Z", "completed_at": "2024-08-13T21:25:57.708359Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.710322Z", "completed_at": "2024-08-13T21:25:57.710333Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023524761199951172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_pool_id__True__0.6f65c027c2", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.691612Z", "completed_at": "2024-08-13T21:25:57.708966Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.711831Z", "completed_at": "2024-08-13T21:25:57.711842Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02564072608947754, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_hourly_rewards_pct__True__1__0.615edfd299", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.703824Z", "completed_at": "2024-08-13T21:25:57.711264Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.713983Z", "completed_at": "2024-08-13T21:25:57.713991Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024017333984375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_rewards_usd__True__0.cd9a35763d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.715510Z", "completed_at": "2024-08-13T21:25:57.722476Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.728374Z", "completed_at": "2024-08-13T21:25:57.728382Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018936634063720703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_24h.5f87709afa", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.724218Z", "completed_at": "2024-08-13T21:25:57.738950Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.741073Z", "completed_at": "2024-08-13T21:25:57.741082Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021326065063476562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_28d.69fcad855f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.729820Z", "completed_at": "2024-08-13T21:25:57.740419Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.743085Z", "completed_at": "2024-08-13T21:25:57.743109Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02205967903137207, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_7d.8545f2f45f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.734827Z", "completed_at": "2024-08-13T21:25:57.741947Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.744658Z", "completed_at": "2024-08-13T21:25:57.744666Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021749019622802734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_24h.0d59b73826", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.745520Z", "completed_at": "2024-08-13T21:25:57.754669Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.760503Z", "completed_at": "2024-08-13T21:25:57.760511Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020870447158813477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_28d.384e146fdc", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.756423Z", "completed_at": "2024-08-13T21:25:57.766751Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.772913Z", "completed_at": "2024-08-13T21:25:57.772923Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021058082580566406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_7d.d068a55e21", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.761942Z", "completed_at": "2024-08-13T21:25:57.772337Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.774488Z", "completed_at": "2024-08-13T21:25:57.774495Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02119612693786621, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_collateral_type.6b18aa87ce", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.767473Z", "completed_at": "2024-08-13T21:25:57.775450Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.781467Z", "completed_at": "2024-08-13T21:25:57.781479Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026362895965576172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_collateral_value.ca0cfe00d9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.776686Z", "completed_at": "2024-08-13T21:25:57.784515Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.786802Z", "completed_at": "2024-08-13T21:25:57.786810Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.015201568603515625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_cumulative_issuance.6b5aeff994", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.791805Z", "completed_at": "2024-08-13T21:25:57.803015Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.805070Z", "completed_at": "2024-08-13T21:25:57.805078Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021982431411743164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_debt.3003bbaef9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.787692Z", "completed_at": "2024-08-13T21:25:57.803795Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.806519Z", "completed_at": "2024-08-13T21:25:57.806526Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0241696834564209, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_cumulative_pnl.0dfa79c775", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.798875Z", "completed_at": "2024-08-13T21:25:57.805936Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.808658Z", "completed_at": "2024-08-13T21:25:57.808667Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02256298065185547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_issuance.58d7e6392e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.810194Z", "completed_at": "2024-08-13T21:25:57.817595Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.823544Z", "completed_at": "2024-08-13T21:25:57.823552Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01930713653564453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_pnl.aace5f4a92", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.818770Z", "completed_at": "2024-08-13T21:25:57.832684Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.834184Z", "completed_at": "2024-08-13T21:25:57.834195Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02005171775817871, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_pnl_pct.709eae57a9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.824418Z", "completed_at": "2024-08-13T21:25:57.835751Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.838136Z", "completed_at": "2024-08-13T21:25:57.838146Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02262592315673828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_rewards_pct.e5170bb035", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.828565Z", "completed_at": "2024-08-13T21:25:57.836317Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.839023Z", "completed_at": "2024-08-13T21:25:57.839031Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022127628326416016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_pool_id.ec4f69201c", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.840509Z", "completed_at": "2024-08-13T21:25:57.848931Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.854826Z", "completed_at": "2024-08-13T21:25:57.854834Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019745826721191406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_rewards_usd.9770eed99e", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.850074Z", "completed_at": "2024-08-13T21:25:57.860055Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.865787Z", "completed_at": "2024-08-13T21:25:57.865800Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026020526885986328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_ts.fa672a8124", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.856408Z", "completed_at": "2024-08-13T21:25:57.866763Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.869358Z", "completed_at": "2024-08-13T21:25:57.869366Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021178007125854492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_apr_rewards_base_mainnet", "compiled": true, "compiled_code": "\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_reward_base_mainnet\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_apr_rewards_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.861297Z", "completed_at": "2024-08-13T21:25:57.868713Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.871441Z", "completed_at": "2024-08-13T21:25:57.871452Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022075891494750977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_collateral_value__True__0.50d2b91f46", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.873005Z", "completed_at": "2024-08-13T21:25:57.883976Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.885829Z", "completed_at": "2024-08-13T21:25:57.885837Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0185849666595459, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_hourly_rewards_pct__True__1__0.6c15e31d20", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.879539Z", "completed_at": "2024-08-13T21:25:57.887310Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.898600Z", "completed_at": "2024-08-13T21:25:57.898609Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027913570404052734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_pool_id__True__0.dca944c591", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.887888Z", "completed_at": "2024-08-13T21:25:57.900385Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.902870Z", "completed_at": "2024-08-13T21:25:57.902877Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024232149124145508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_rewards_usd__True__0.090c92559d", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.894471Z", "completed_at": "2024-08-13T21:25:57.902275Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.908465Z", "completed_at": "2024-08-13T21:25:57.908475Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024041175842285156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_24h.275116a918", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.904401Z", "completed_at": "2024-08-13T21:25:57.911313Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.917173Z", "completed_at": "2024-08-13T21:25:57.917181Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.017552852630615234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_28d.e099bf170a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.912537Z", "completed_at": "2024-08-13T21:25:57.919957Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.929369Z", "completed_at": "2024-08-13T21:25:57.929376Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025684595108032227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_7d.cfc4ec14a3", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.920566Z", "completed_at": "2024-08-13T21:25:57.931081Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.938451Z", "completed_at": "2024-08-13T21:25:57.938461Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02665090560913086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_24h.b04b5222f4", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.924649Z", "completed_at": "2024-08-13T21:25:57.932293Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.940138Z", "completed_at": "2024-08-13T21:25:57.940146Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0236661434173584, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_28d.1e8e0632e0", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.932901Z", "completed_at": "2024-08-13T21:25:57.942395Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.948334Z", "completed_at": "2024-08-13T21:25:57.948342Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019688844680786133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_7d.45a63722a9", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.944271Z", "completed_at": "2024-08-13T21:25:57.951199Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.957071Z", "completed_at": "2024-08-13T21:25:57.957081Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.017657041549682617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_collateral_type.7a5590eb90", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.952370Z", "completed_at": "2024-08-13T21:25:57.963588Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.969724Z", "completed_at": "2024-08-13T21:25:57.969734Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02617788314819336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_collateral_value.6b7be2743f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.957982Z", "completed_at": "2024-08-13T21:25:57.969099Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.971969Z", "completed_at": "2024-08-13T21:25:57.971977Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02286672592163086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_cumulative_issuance.5f3ec9bec1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.964269Z", "completed_at": "2024-08-13T21:25:57.971363Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.977881Z", "completed_at": "2024-08-13T21:25:57.977893Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021581411361694336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_cumulative_pnl.ce3ab4e606", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.973575Z", "completed_at": "2024-08-13T21:25:57.981640Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:57.984037Z", "completed_at": "2024-08-13T21:25:57.984049Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01565098762512207, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_debt.fadc5bb67a", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.984925Z", "completed_at": "2024-08-13T21:25:58.001064Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:58.002975Z", "completed_at": "2024-08-13T21:25:58.002983Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023505449295043945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_issuance.2fcf5254d1", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.991863Z", "completed_at": "2024-08-13T21:25:58.001671Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:58.004490Z", "completed_at": "2024-08-13T21:25:58.004497Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0235440731048584, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_pnl.75c8c54189", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:57.996848Z", "completed_at": "2024-08-13T21:25:58.003925Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:58.006594Z", "completed_at": "2024-08-13T21:25:58.006604Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02387547492980957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_pnl_pct.d827dc6b5f", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:58.008222Z", "completed_at": "2024-08-13T21:25:58.015610Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:58.021371Z", "completed_at": "2024-08-13T21:25:58.021380Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01923990249633789, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_rewards_pct.adeb7db337", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:58.016710Z", "completed_at": "2024-08-13T21:25:58.032810Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:58.035541Z", "completed_at": "2024-08-13T21:25:58.035550Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023345232009887695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_pool_id.a2ea5cc601", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:58.026444Z", "completed_at": "2024-08-13T21:25:58.034353Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:58.036991Z", "completed_at": "2024-08-13T21:25:58.036998Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02213430404663086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_ts.2cc1721326", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:58.022254Z", "completed_at": "2024-08-13T21:25:58.034958Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:58.037838Z", "completed_at": "2024-08-13T21:25:58.037846Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024333477020263672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_rewards_usd.0b9d66ba19", "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", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-08-13T21:25:58.038817Z", "completed_at": "2024-08-13T21:25:58.042796Z"}, {"name": "execute", "started_at": "2024-08-13T21:25:58.043519Z", "completed_at": "2024-08-13T21:25:58.043526Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.009922027587890625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_apr_rewards_base_sepolia", "compiled": true, "compiled_code": "\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_reward_base_sepolia\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_apr_rewards_base_sepolia\""}], "elapsed_time": 33.05347228050232, "args": {"use_colors": true, "send_anonymous_usage_stats": true, "quiet": false, "empty_catalog": false, "strict_mode": false, "source_freshness_run_project_hooks": false, "print": true, "indirect_selection": "eager", "write_json": true, "enable_legacy_logger": false, "compile": true, "static_parser": true, "which": "generate", "profile": "synthetix-host", "show_resource_report": false, "use_colors_file": true, "project_dir": "/home/runner/work/data/data/transformers/synthetix", "macro_debugging": false, "log_level": "info", "log_file_max_bytes": 10485760, "version_check": true, "partial_parse": true, "defer": false, "require_explicit_package_overrides_for_builtin_materializations": true, "log_level_file": "debug", "exclude": [], "select": [], "vars": {}, "log_path": "/home/runner/work/data/data/transformers/synthetix/logs", "favor_state": false, "log_format_file": "debug", "warn_error_options": {"include": [], "exclude": []}, "introspect": true, "require_resource_names_without_spaces": false, "cache_selected_only": false, "partial_parse_file_diff": true, "static": false, "invocation_command": "dbt docs generate --profiles-dir profiles --profile synthetix-host", "profiles_dir": "profiles", "printer_width": 80, "log_format": "default", "populate_cache": true}} \ No newline at end of file diff --git a/semantic_manifest.json b/semantic_manifest.json new file mode 100644 index 00000000..a40b829c --- /dev/null +++ b/semantic_manifest.json @@ -0,0 +1 @@ +{"semantic_models": [], "metrics": [], "project_configuration": {"time_spine_table_configurations": [], "metadata": null, "dsi_package_version": {"major_version": "0", "minor_version": "5", "patch_version": "1"}}, "saved_queries": []} \ No newline at end of file